计算机科学 > 人工智能
[提交于 2016年6月30日]
标题:Swift: Compiled Inference for Probabilistic Programming Languages
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Yi Wu[v1] 2016年6月30日 星期四 08:30:54 UTC