~/talk

Differentiable Functional Programming

Talkat Scala Days Berlin 2018 · 2018-05-14..05-17· [machine-learning]
slides:none on file

Claim: deep learning is mostly function composition plus differentiation and is straightforward to implement computationally — a toy system can be built in days. Implements exact gradients with forward-mode dual numbers (easy, scales with input dimension) and reverse-mode via monads/continuations (preferred in deep nets, scales with output dimension). Shows Scala examples using Spire’s "jet" duals, reproduces matching gradients, and points to projects that compile/typesafe tensors: Nexus typed tensors and a staging approach (lanten) to emit GPU code. Typical networks run 30–60 layers.

AI-written summary · about

  1. 0:00Intro
  2. 2:56Parametrised functions Supervised learning Gradient descent
  3. 7:48Calculate gradient for current parameters
  4. 9:19Deep learning is supervised learning of parameterised functions by gradient descent
  5. 10:13Tensor multiplication and non-linearity
  6. 15:25Algorithms for calculating gradients
  7. 15:36Composition of Derivatives
  8. 17:06Mathematician's approach
  9. 18:25Programmer's approach
  10. 19:26Automatic differentiation approach
  11. 20:07Calculate with dual numbers
  12. 24:37Forward-mode scales in the size of the input dimension
  13. 25:12Chain rule doesn't care about order
  14. 30:13Tensor dimensions must agree
  15. 31:33Solution: expressive type systems
  16. 32:11Need compilation (to GPU) for performance
~/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.