Skip to main content

Showing 1–4 of 4 results for author: Smeding, T

Searching in archive cs. Search in all archives.
.
  1. Efficient CHAD

    Authors: Tom Smeding, Matthijs Vákár

    Abstract: We show how the basic Combinatory Homomorphic Automatic Differentiation (CHAD) algorithm can be optimised, using well-known methods, to yield a simple, composable, and generally applicable reverse-mode automatic differentiation (AD) technique that has the correct computational complexity that we would expect of reverse-mode AD. Specifically, we show that the standard optimisations of sparse vector… ▽ More

    Submitted 20 October, 2023; v1 submitted 7 July, 2023; originally announced July 2023.

  2. arXiv:2207.03418  [pdf, other

    cs.PL

    Parallel Dual-Numbers Reverse AD

    Authors: Tom Smeding, Matthijs Vákár

    Abstract: Where dual-numbers forward-mode automatic differentiation (AD) pairs each scalar value with its tangent value, dual-numbers reverse-mode AD attempts to achieve reverse AD using a similarly simple idea: by pairing each scalar value with a backpropagator function. Its correctness and efficiency on higher-order input languages have been analysed by Brunel, Mazza and Pagani, but this analysis used a c… ▽ More

    Submitted 7 May, 2024; v1 submitted 7 July, 2022; originally announced July 2022.

    Comments: This is the journal version for JFP. For the shorter conference version (POPL'23), see arXiv:2207.03418v2. For an earlier preprint, see arXiv:2205.11368

  3. arXiv:2205.11368  [pdf, other

    cs.PL

    Dual-Numbers Reverse AD, Efficiently

    Authors: Tom Smeding, Matthijs Vákár

    Abstract: Where dual-numbers forward-mode automatic differentiation (AD) pairs each scalar value with its tangent derivative, dual-numbers /reverse-mode/ AD attempts to achieve reverse AD using a similarly simple idea: by pairing each scalar value with a backpropagator function. Its correctness and efficiency on higher-order input languages have been analysed by Brunel, Mazza and Pagani, but this analysis w… ▽ More

    Submitted 23 May, 2022; originally announced May 2022.

  4. arXiv:2103.15776  [pdf, ps, other

    cs.PL cs.LO

    CHAD: Combinatory Homomorphic Automatic Differentiation

    Authors: Matthijs Vákár, Tom Smeding

    Abstract: We introduce Combinatory Homomorphic Automatic Differentiation (CHAD), a principled, pure, provably correct define-then-run method for performing forward and reverse mode automatic differentiation (AD) on programming languages with expressive features. It implements AD as a compositional, type-respecting source-code transformation that generates purely functional code. This code transformation is… ▽ More

    Submitted 8 June, 2022; v1 submitted 29 March, 2021; originally announced March 2021.

    Comments: arXiv admin note: substantial text overlap with arXiv:2007.05283