infogulchon Hacker News • Recommends
On “Differentiable Programming – A Simple Introduction”
#automaticdifferentiation#haskell#backpropagation
359K subscribers • 12 videos on Hallway
Advanced. Deep dive for people who know the field.
17K views8 years ago3 recommendations
AI and machine learningProgramming languagesNeural networks and deep learningFunctional programmingMath for machine learning
Conal Elliott presents a simple, generalized automatic differentiation algorithm derived from a natural specification without graphs or tapes.
Automatic differentiation (AD) in reverse mode (RAD) is a central component of deep learning and other uses of large-scale optimization. Commonly used RAD algorithms such as backpropagation, however, are complex and stateful, hindering deep understanding, improvement, and parallel execution. This paper develops a simple, generalized AD algorithm calculated from a simple, natural specification. The general algorithm is then specialized by varying the representation of derivatives. In particular, applying well-known constructions to a naive representation yields two RAD algorithms that are far simpler than previously known. In contrast to commonly used RAD implementations, the algorithms defined here involve no graphs, tapes, variables, partial derivatives, or mutation. They are inherently parallel-friendly, correct by construction, and usable directly from an existing programming language with no need for new data types or programming style, thanks to use of an AD-agnostic compiler plugin. See more at microsoft.com/en-us/research/video/the-simple-essence-of-aut…What people say. Recommended as a mathematically elegant approach to automatic differentiation that simplifies forward and reverse mode algorithms.
infogulchon Hacker News • Recommends
On “Differentiable Programming – A Simple Introduction”
infogulchon Hacker News • Recommends
On “Automatic Differentiation in Machine Learning: A Survey [pdf]”
noblethrasheron Hacker News • Recommends
On “Differentiable Programming Manifesto”
srikuon Hacker News • Recommends
On “Automatic Differentiation in 38 lines of Haskell”
bmc7505on Hacker News • Mentions
On “The Simple Essence of Automatic Differentiation [pdf]”
eli_gottliebon Hacker News • Mentions
On “Understanding Automatic Differentiation in 30 lines of Python”