We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.PL

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Programming Languages

Title: Functorial String Diagrams for Reverse-Mode Automatic Differentiation

Abstract: 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.
Subjects: Programming Languages (cs.PL); Machine Learning (cs.LG)
ACM classes: I.2.5
Cite as: arXiv:2107.13433 [cs.PL]
  (or arXiv:2107.13433v1 [cs.PL] for this version)

Submission history

From: David Sprunger [view email]
[v1] Wed, 28 Jul 2021 15:25:32 GMT (26216kb,D)

Link back to: arXiv, form interface, contact.