mlsanityData to 7 Oct 2026

Combinatory Adjoints and Differentiation

arXiv 2207.00847 ↗First posted 2 Jul 2022cs.PL cs.DC cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 11 of its 51 references that are in the map. First posted on arXiv 2 Jul 2022.

Builds on

11 of 51 references.

References · 11

  1. 2015Automatic differentiation in machine learning: a surveycited by 846
  2. 2016TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systemscited by 660
  3. 2014Caffe: Convolutional Architecture for Fast Feature Embeddingcited by 287
  4. 2018Don't Unroll Adjoint: Differentiating SSA-Form Programscited by 44
  5. 2018The simple essence of automatic differentiationcited by 22
  6. 2019Reverse derivative categoriescited by 15
  7. 2018Demystifying Differentiable Programming: Shift/Reset the Penultimate Backpropagatorcited by 14
  8. 2021Getting to the Point. Index Sets and Parallelism-Preserving Autodiff for Pointful Array Programmingcited by 10
  9. 2020Automatic Differentiation in PCFcited by 4
  10. 2018A Benchmark of Selected Algorithmic Differentiation Tools on Some Problems in Computer Vision and Machine Learningcited by 3
  11. 2020Reverse AD at Higher Types: Pure, Principled and Denotationally Correctcited by 3

Built on by

Not cited yet.