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

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

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

arXiv:2607.13935 (cs)
[提交于 2026年7月15日]

标题:Backpropagation for Effectful Languages I: Finite Probability and Discrete Output Algebraic Effects

作者:Diogo Simm, Fernando Lucatelli Nunes, Matthijs Vákár
查看论文《Backpropagation for Effectful Languages I: Finite Probability and Discrete Output Algebraic Effects》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We analyse reverse-mode automatic differentiation (AD) for discrete probabilistic programs. Our construction is formulated in the framework of Combinatory Homomorphic Automatic Differentiation (CHAD), treating AD as a structure-preserving transformation of programs, guided by a denotational semantics. The main case study is the finite atomic distribution monad, whose computations have finite support and differentiable weights. The key point is that differentiating probabilistic programs requires cotangents to flow backwards not only through deterministic computations, but also through the probabilistic structure itself. We define the corresponding reverse-mode code transformation and prove its correctness, for handled real-output programs, by a categorical logical-relations argument. Although the paper focuses on finite discrete probability, the construction gives a reusable pattern for differentiating discrete-output algebraic effects, including finite multiset non-determinism (e.g., from fork-join parallelism), exceptions, and writer-style accumulation (e.g., for in-place accumulation of high-dimensional vectors). More broadly, we view this work as a foundational step towards extending CHAD to richer probabilistic languages and to other algebraic effects with handlers.
评论: 71 pages, submitted to POPL 2027
主题: 程序设计语言 (cs.PL); 计算机科学中的逻辑 (cs.LO); 范畴论 (math.CT); 概率论 (math.PR)
引用方式: arXiv:2607.13935 [cs.PL]
  (或者 arXiv:2607.13935v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2607.13935

提交历史

来自:Diogo Simm
[v1] 2026年7月15日 星期三 15:17:53 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-07
切换浏览方式为:
cs
cs.LO
math.CT
math.PR

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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