跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:1604.04729 (cs)
[提交于 2016年4月16日]

标题:SIMPL: A DSL for Automatic Specialization of Inference Algorithms

作者:Rohin Shah, Emina Torlak, Rastislav Bodik
查看论文《SIMPL: A DSL for Automatic Specialization of Inference Algorithms》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Inference algorithms in probabilistic programming languages (PPLs) can be thought of as interpreters, since an inference algorithm traverses a model given evidence to answer a query. As with interpreters, we can improve the efficiency of inference algorithms by compiling them once the model, evidence and query are known. We present SIMPL, a domain specific language for inference algorithms, which uses this idea in order to automatically specialize annotated inference algorithms. Due to the approach of specialization, unlike a traditional compiler, with SIMPL new inference algorithms can be added easily, and still be optimized using domain-specific information. We evaluate SIMPL and show that partial evaluation gives a 2-6x speedup, caching provides an additional 1-1.5x speedup, and generating C code yields an additional 13-20x speedup, for an overall speedup of 30-150x for several inference algorithms and models.
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:1604.04729 [cs.PL]
  (或者 arXiv:1604.04729v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1604.04729

提交历史

来自:Rohin Shah
[v1] 2016年4月16日 星期六 11:45:03 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2016-04
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站