~/talk

You Only Linearize Once: Tangents Transpose to Gradients

links:none on file
links:none on file
links:none on file
slides:none on file

Claim: reverse-mode AD is exactly forward-mode AD followed by unzipping the forward result into nonlinear and linear parts and then transposition of that linear part, formalized as You Only Linearize Once. Work builds a Linear A language, a substructural linear type system, and a cost model; proves forward-mode output is linear, unzipping and transposition preserve work and correctness, and double-transpose is identity. Implementation experience in JAX and Dex shows fewer reverse rules required, checkpointing appears as a choice in unzipping, and the decomposition simplifies real systems.

AI-written summary · about

  1. 0:00Start
  2. 4:38It is complicated!
  3. 9:46Linear A
  4. 11:26Type system
  5. 12:33Structural and algebraic linearity
  6. 14:13Forward-mode autodiff (JVP)
  7. 15:50Unzipping
  8. 17:38Transposition
  9. 19:15Insight: checkpointing is not inherent to AD
  10. 20:30Insight: AD as a language design benchmark
  11. 20:58Insight: simplifying AD system implementations
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.