Reverse AD at higher types: pure, principled and denotationally correct
From MaRDI portal
(Redirected from Publication:2233481)
Abstract: We show how to define forward- and reverse-mode automatic differentiation source-code transformations or on a standard higher-order functional language. The transformations generate purely functional code, and they are principled in the sense that their definition arises from a categorical universal property. We give a semantic proof of correctness of the transformations. In their most elegant formulation, the transformations generate code with linear types. However, we demonstrate how the transformations can be implemented in a standard functional language without sacrificing correctness. To do so, we make use of abstract data types to represent the required linear types, e.g. through the use of a basic module system.
Recommendations
Cites work
- scientific article; zbMATH DE number 3941502 (Why is no real title available?)
- scientific article; zbMATH DE number 3785819 (Why is no real title available?)
- scientific article; zbMATH DE number 3789519 (Why is no real title available?)
- scientific article; zbMATH DE number 193292 (Why is no real title available?)
- scientific article; zbMATH DE number 193320 (Why is no real title available?)
- scientific article; zbMATH DE number 1956503 (Why is no real title available?)
- scientific article; zbMATH DE number 2079022 (Why is no real title available?)
- scientific article; zbMATH DE number 1840601 (Why is no real title available?)
- scientific article; zbMATH DE number 2120508 (Why is no real title available?)
- scientific article; zbMATH DE number 7650831 (Why is no real title available?)
- A categorical semantics for linear logical frameworks
- A convenient differential category
- A linear logical framework
- An introduction to differential linear logic: proof-nets, models and antiderivatives
- Categorical combinators
- Correctness of automatic differentiation via diffeologies and categorical gluing
- Diffeology
- Differential Structure in Models of Multiplicative Biadditive Intuitionistic Linear Logic
- Enriching an Effect Calculus with Linear Types
- Nesting forward-mode AD in a functional framework
- On the versatility of open logical relations. Continuity, automatic differentiation, and a containment theorem
- Quasitoposes, Quasiadhesive Categories and Artin Glueing
- Reverse AD at higher types: pure, principled and denotationally correct
- Synthetic differential geometry
Cited in
(13)- scientific article; zbMATH DE number 7779290 (Why is no real title available?)
- is for Dialectica
- CHAD for expressive total languages
- Reverse AD at higher types: pure, principled and denotationally correct
- Automatic differentiation for ML-family languages: correctness via logical relations
- Verifying an Effect-Handler-Based Define-By-Run Reverse-Mode AD Library
- Monoidal closure of Grothendieck constructions via -tractable monoidal structures and Dialectica formulas
- Categorical semantics of a simple differential programming language
- Concrete categories and higher-order recursion. With applications including probability, differentiability, and full abstraction
- A simply typed -calculus of forward automatic differentiation
- Parallel dual-numbers reverse AD
- On formal certification of AD transformations
- Correctness of automatic differentiation via diffeologies and categorical gluing
This page was built for publication: Reverse AD at higher types: pure, principled and denotationally correct
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q2233481)