Data-Parallel Differentiation by Optic Composition
summary
Provides a concrete open hypergraphs representation (struct-of-arrays with segmented arrays) and parallel algorithms for tensor and composition via concatenation plus connected‑components renumbering, claiming reverse derivatives by optic composition that map each primitive to a forward, reverse and residual part. Algorithm runs O(log n) on PRAM and O(n) sequentially; construction avoids inductive blowup by wiring leaves then connecting. Demonstration includes a differentiable array language able to train a small GPT (nanogPT) on GPU.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 2:06GPU data structures
- 5:17Tensor algorithms
- 7:23Acyclicity and FBIA
- 9:28Optic composition
- 12:23Differentiable array languages
- 13:04Q&A
related talks
18m(De/Re)-Composition of Data-Parallel Computations via Multi-Dimensional(…)
34mDifferentiable Functional Programming
16mTHC: Accelerating Distributed Deep Learning Using Tensor Homomorphic Compression
39mDifferentiable Functional Programming
29mParallelism-preserving automatic differentiation for second-order array languages
29mAutomatic Differentiation via Effects and Handlers in OCaml
30mData-Parallel Flattening by Expansion
29mReverse Automatic Differentiation for Accelerate (Extended Abstract)
