~/talk

Fast Deep Learning with Categories

Talkat FHPNC 2023 · on Monday, 2023-09-04· [machine-learning, functional-programming]
slides:none on file

Builds a Haskell-to-GPU pipeline: plain Haskell neural nets get transformed by ConCat into categorical form, compiled to a reverse AD category using the Dual trick (no runtime tapes), then specialized back and lowered to Accelerate for CPU/GPU (and TF‑Lite for TPUs). Reports roughly 10x speedup moving from naive functional code to Accelerate on CPU, runs on edge devices, and handles autoencoders and convolutional nets. Main limits: a fragile GHC plugin, trouble with nested/higher‑order arrays, and pragmatic fixes in the ConCat + Accelerate pipeline.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Zens and anomaly detection context
  3. 3:30Edge computing constraints
  4. 5:37Derivatives in deep learning
  5. 8:05Haskell neural networks
  6. 12:22Derivatives and category theory
  7. 16:16Chain rule in categories
  8. 18:27Haskell derivatives implementation
  9. 20:13GHC plugin for transformations
  10. 23:27Accelerate for GPU
  11. 27:00Nested vectors challenges
  12. 31:54Optimizing computations
  13. 32:41Compiler pipeline results
  14. 35:19Reusable architecture benefits
  15. 36:21Caveats and limitations
  16. 38:07Q&A
~/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.