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

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

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

arXiv:2207.00847 (cs)
[提交于 2022年7月5日]

标题:Combinatory Adjoints and Differentiation

作者:Martin Elsman, Fritz Henglein, Robin Kaarsgaard, Mikkel Kragh Mathiesen, Robert Schenck
查看论文《Combinatory Adjoints and Differentiation》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We develop a compositional approach for automatic and symbolic differentiation based on categorical constructions in functional analysis where derivatives are linear functions on abstract vectors rather than being limited to scalars, vectors, matrices or tensors represented as multi-dimensional arrays. We show that both symbolic and automatic differentiation can be performed using a differential calculus for generating linear functions representing Fr\'echet derivatives based on rules for primitive, constant, linear and bilinear functions as well as their sequential and parallel composition. Linear functions are represented in a combinatory domain-specific language. Finally, we provide a calculus for symbolically computing the adjoint of a derivative without using matrices, which are too inefficient to use on high-dimensional spaces. The resulting symbolic representation of a derivative retains the data-parallel operations from the input program. The combination of combinatory differentiation and computing formal adjoints turns out to be behaviorally equivalent to reverse-mode automatic differentiation. In particular, it provides opportunities for optimizations where matrices are too inefficient to represent linear functions.
评论: In Proceedings MSFP 2022, arXiv:2206.09534
主题: 程序设计语言 (cs.PL); 分布式、并行与集群计算 (cs.DC); 机器学习 (cs.LG); 符号计算 (cs.SC)
引用方式: arXiv:2207.00847 [cs.PL]
  (或者 arXiv:2207.00847v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2207.00847
期刊参考: EPTCS 360, 2022, pp. 1-26
相关 DOI: https://doi.org/10.4204/EPTCS.360.1

提交历史

来自:EPTCS
[v1] 2022年7月5日 星期二 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2022-07
切换浏览方式为:
cs
cs.DC
cs.LG
cs.SC

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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