~/talk

The Linear Algebra of Deep Learning

Talkat Code Mesh LDN 2020 · 2020-11-05..11-06· [machine-learning]
slides:none on file

Argues that deep nets reduce to linear algebra and demonstrates two concrete speedups: using randomized SVD to compress large matrices by choosing target rank k and oversample p=k for a 2k approximation with error bounded by roughly the (k+1)th singular value (example: 1000×1000 satellite image rank 844 where k≈80 gives usable reconstructions), and turning convolutions into matrix multiplies via im2col and blocked GEMM with tiling/partitioning so GPUs/CPUs stay busy. Shows numpy SVD ~468 ms vs TensorFlow/randomized ≈13.8 ms and points to Intel MKL and cuBLAS implementations.

AI-written summary · about

  1. 0:00Intro
  2. 0:25ABOUT ME
  3. 4:07MATRIX MULTIPLICATION FUNDAMENTAL TASK
  4. 5:09TOP 10 ALGORITHMS OF THE 201 CENTURY.
  5. 6:43SINGULAR VALUE DECOMPOSITION
  6. 15:57RANDOMIZED SVD: Halko-Martinsson-Tropp
  7. 23:35SVD NAÏVE BENCHMARK r=15 np. linalg.svd 180 loops, best of 3: 468 ms per loop
  8. 26:45GEMM: COMPUTATION TIME
  9. 27:26GEMM: ARITHMETIC INTENSITY
  10. 28:46GEMM: CONVOLUTIONAL LAYERS
  11. 36:22GEMM: PARTITIONING
  12. 40:18REFERENCES
~/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.