首页> 外文会议>International Joint Conference on Artificial Intelligence >Swift: Compiled Inference for Probabilistic Programming Languages
【24h】

Swift: Compiled Inference for Probabilistic Programming Languages

机译:SWIFT:概率编制语言编译推断

获取原文

摘要

A probabilistic program defines a probability measure over its semantic structures. One common goal of probabilistic programming languages (PPLs) is to compute posterior probabilities for arbitrary models and queries, given observed evidence, using a generic inference engine. Most PPL inference engines - even the compiled ones - incur significant runtime interpretation overhead, especially for contingent and open-universe models. This paper describes Swift, a compiler for the BLOG PPL. Swift-generated code incorporates optimizations that eliminate interpretation overhead, maintain dynamic dependencies efficiently, and handle memory management for possible worlds of varying sizes. Experiments comparing Swift with other PPL engines on a variety of inference problems demonstrate speedups ranging from 12x to 326x.
机译:概率程序在其语义结构上定义了概率测量。概率编程语言(PPLS)的一个共同目标是使用通用推理引擎计算观察到的证据的任意模型和查询的后验概率。大多数PPL推理引擎 - 即使是编译的推动引擎 - 均产生重大的运行时间解释开销,尤其是针对偶然和开放式宇宙模型。本文介绍了Swift,博客PPL的编译器。 Swift生成的代码包含消除解释开销的优化,有效地维护动态依赖项,并处理可能的不同大小的世界的内存管理。与其他PPL发动机进行比较各种推理问题的实验证明了从12倍到326倍的加速。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号