Correctness of Automatic Differentiation via Diffeologies and Categorical Gluing

January 07, 2020 ยท Declared Dead ยท ๐Ÿ› Foundations of Software Science and Computation Structure

๐Ÿ‘ป CAUSE OF DEATH: Ghosted
No code link whatsoever

"No code URL or promise found in abstract"

Evidence collected by the PWNC Scanner

Authors Mathieu Huot, Sam Staton, Matthijs Vรกkรกr arXiv ID 2001.02209 Category cs.PL: Programming Languages Cross-listed cs.LO Citations 54 Venue Foundations of Software Science and Computation Structure Last Checked 1 month ago
Abstract
We present semantic correctness proofs of Automatic Differentiation (AD). We consider a forward-mode AD method on a higher order language with algebraic data types, and we characterise it as the unique structure preserving macro given a choice of derivatives for basic operations. We describe a rich semantics for differentiable programming, based on diffeological spaces. We show that it interprets our language, and we phrase what it means for the AD method to be correct with respect to this semantics. We show that our characterisation of AD gives rise to an elegant semantic proof of its correctness based on a gluing construction on diffeological spaces. We explain how this is, in essence, a logical relations argument. Finally, we sketch how the analysis extends to other AD methods by considering a continuation-based method.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

๐Ÿ“œ Similar Papers

In the same crypt โ€” Programming Languages

Died the same way โ€” ๐Ÿ‘ป Ghosted