HackerTube

The Simple Essence of Automatic Differentiation - Conal Elliott

Microsoft Research3 HN recommenders · recommended in 4 months, 2018–2023
YouTube
talk · advanced · evergreen · 2018–2023 on HN

Conal Elliott presents his paper on automatic differentiation, deriving a simple, generalized AD algorithm from a natural specification. Varying the representation of derivatives yields forward and reverse mode algorithms that avoid the complexity and statefu…

Cited as the more accessible companion to the paper, and as the most interesting treatment of AD via compiling to categories.

6 comments from Hacker News

@infogulch2022-04 · in “Differentiable Programming – A Simple Introduction”

The most interesting thing I've seen on AD is "The simple essence of automatic differentiation" (2018) [1]. See past discussion [2], and talk [3]. I think the main idea is that by compiling to categories and pairing up a function with its derivative, the pair becomes trivially composable in forward mode, and the whole structure is easily converted to reverse mode afterwards. [1]: link [2]: link [3]: Talk at Microsoft Research: ▶ this video Other presentations listed here: link

Strongly recommends View on HN
@sriku2022-09 · in “Automatic Differentiation in 38 lines of Haskell”

I'm yet to give reverse mode a second try, but my attempts at forward mode (linked in parent post) were on my own without the paper's help. There's a talk that Conal gives that makes the paper a bit more accessible - ▶ this video - but only a bit more. I know it'll take effort to wrap my head around the implementation details ... but the paper certainly helped clarify things I was stumbling around about.

Recommends View on HN
@noblethrasher2019-11 · in “Differentiable Programming Manifesto”

He also gave nice presentation on AD: ▶ this video (surprised that you didn't already mention it, considering the venue ;-))

Recommends View on HN
@infogulch2018-11 · in “Automatic Differentiation in Machine Learning: A Survey [pdf]”

Another paper related to AD was posted last month: The Simple Essence of Automatic Differentiation [0]. Video presentation [1]. I found it pretty awesome, just in case you hadn't seen it. [0]: https//news.ycombinator.com/item?id=18306860 [1]: ▶ this video

Recommends View on HN
@eli_gottlieb2023-08 · in “Understanding Automatic Differentiation in 30 lines of Python”

AD is just a Cartesian lens of Jacobians and total derivatives in the category of smooth functions, what's the problem? ▶ this video