~/talk

Non-local compiler transformations in the presence of dynamic dispatch

links:none on file
slides:none on file

Describes a concrete compiler approach: implement reverse-mode AD as a functor that returns the primal value plus an opaque closure residual (source-to-source), use ChainRules-style R-rules, and exploit an optical constructions isomorphism so higher-order derivatives reuse the same representation. Handles fully dynamic Julia (eval, exceptions), targets 4–5th derivatives in practice, and relies on opaque-closure semantics (typed by signature, ignore later method-table redefinitions) so the optimizer can collapse and inline the huge backward closures for production performance.

AI-written summary · about

  1. 0:00Introduction
  2. 0:42AD System Requirements
  3. 1:42Generality in AD Systems
  4. 4:23Flexibility and Custom Rules
  5. 5:34Performance Expectations
  6. 6:12Introducing Defrator.jl
  7. 8:09Differential Geometry Basics
  8. 10:37Tangent Bundles and Fields
  9. 12:43Pushforwards in Differentiation
  10. 15:39Pushforward in 2D
  11. 17:11Gradients and Vector Fields
  12. 20:08Cotangent Vectors and Pullbacks
  13. 22:37Composition of Functions
  14. 24:24Reverse Mode AD Abstraction
  15. 29:47Optics in Category Theory
  16. 32:25Reverse Mode and Optics
  17. 33:47Zygote and Compiler AD
  18. 35:27Higher-Order Optics
  19. 37:43Julia's Performance Model
  20. 40:10Opaque Closures
  21. 41:43Implementing Gradients
  22. 43:53Optic Isomorphisms
  23. 45:28System Summary and Future
  24. 46:30Q&A Session
~/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.