arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.13433cs.PLcs.LG
收藏

反模式自动微分的函子串图

Functorial String Diagrams for Reverse-Mode Automatic Differentiation

Huawei Research Centre(华为研究中心);University of Birmingham(伯明翰大学);University College London(伦敦大学学院)

Mario Alvarez-Picallo, Dan R. Ghica, David Sprunger, Fabio Zanasi

摘要:

我们加强了演算的弦图monoidal类别的层次特征,以捕捉封闭monoidal(和carnival封闭)的结构。使用这种新的语法,我们制定了一个自动微分算法(应用)简单类型的λ演算的风格[Pearlmutter和Siskind 2008],我们证明了它的可靠性。为了给出AD算法的有效而有原则的实现,我们定义了一个声音和完整的表示层次字符串图作为一类层次超图,我们称之为超网。

英文摘要:

We enhance the calculus of string diagrams for monoidal categories with hierarchical features in order to capture closed monoidal (and cartesian closed) structure. Using this new syntax we formulate an automatic differentiation algorithm for (applied) simply typed lambda calculus in the style of [Pearlmutter and Siskind 2008] and we prove for the first time its soundness. To give an efficient yet principled implementation of the AD algorithm we define a sound and complete representation of hierarchical string diagrams as a class of hierarchical hypergraphs we call hypernets.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑