Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Linear Algebra at Large Scale
Search
Elizabeth Ramirez
April 27, 2018
Science
920
7
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Linear Algebra at Large Scale
Elizabeth Ramirez
April 27, 2018
More Decks by Elizabeth Ramirez
See All by Elizabeth Ramirez
Maritime Transportation from Space: The most important industry you know nothing about.
eramirem
0
50
LADL-Code Mesh V
eramirem
0
220
Transition Matrix Estimation in High Dimensional Time Series.
eramirem
0
290
The Linear Algebra of Deep Learning
eramirem
2
760
Linear Algebra for FE Developers
eramirem
1
640
Top 10: Los mejores algoritmos del Siglo XX
eramirem
0
490
Numerical Analysis for Orbit Propagation
eramirem
0
290
A New Approach to Linear Filtering and Prediction Problems
eramirem
0
1.6k
Kalman Filters for non-rocket science - PyCon 2016
eramirem
2
410
Other Decks in Science
See All in Science
TypeScript で WebAssembly を用いた 型安全なプラグイン設計
nagano
2
560
MATSUO Makiko
genomethica
0
160
データベース11: 正規化(1/2) - 望ましくない関係スキーマ
trycycle
PRO
0
1.2k
Testing the Longevity Bottleneck Hypothesis
chinson03
0
350
生成AIと司法書士の未来.pdf
tagtag
PRO
0
130
医療 LLM ベンチマークの現在地:多面的評価 と日本ローカライズ
analokmaus
1
560
AIを用いた PID制御で部屋 の温度制御をしてみた
nearme_tech
PRO
0
170
HajimetenoLT vol.17
hashimoto_kei
1
240
共生概念の整理と AIアライメントの構想
hiroakihamada
0
230
見上公一.pdf
genomethica
0
160
(メタ)科学コミュニケーターからみたAI for Scienceの同床異夢
rmaruy
0
250
水耕栽培:古代の知恵から宇宙農業まで
grow_design_lab
0
150
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
528
40k
How to Talk to Developers About Accessibility
jct
2
280
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
RailsConf 2023
tenderlove
30
1.5k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
620
Paper Plane
katiecoart
PRO
1
52k
Automating Front-end Workflow
addyosmani
1370
210k
Everyday Curiosity
cassininazir
0
250
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
630
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
1.9k
How to Ace a Technical Interview
jacobian
281
24k
Transcript
Linear Algebra at Large Scale Elizabeth Ramirez @eramirem
Computational Engineer We model complex systems on the planet, like
forestry and agriculture using satellite imagery.
None
Top 10 Algorithms of the 20th Century
Often the most expensive computations in large-scale codes. Curse of
Dimensionality
Linear Systems Nonlinear Systems Machine Learning Deep Learning
Most ubiquitous problem in Scientific Computing and Data Analysis
What solves? Systems of Equations Polynomial Interpolation Linear Least-Squares
What we know? Gaussian Elimination Complexity
HPC Alternative: Iterative Methods General Form
Jacobi Gauss-Seidel
Convergence of Basic Iterative Methods Spectral radius
Krylov Subspaces
Conjugate Gradient Method (CG) i) ii)
Conjugate Gradient (CG)
Bi-conjugate gradient (BiCG) Any linear system
Deep Learning Primitives Weights, inputs, outputs stored in tensors Matrix
Multiplication Convolution Inner Product Transposition Rectified Linear Unit (ReLu)
Matrix Multiplication Fundamental task Naive: Strassen:
Low-Rank Approximation Accelerates matrix multiplication, therefore, accelerates convolution. Requires SVD:
Low-Rank Multiplication:
Single Instruction Multiple Data (SIMD) Data-level parallelism Incompatible with code
designed for sequential processors Instruction set available in commercial CPUs and GPGPUs
Intel® Math Kernel Library (Intel® MKL) Improved Matrix Multiplication Performance
in LAPACK LU decomposition and inverse without pivoting Take advantage of SIMD instruction set In summary: High Performance Linear Algebra
None
References http://www.siam.org/pdf/news/637.pdf https://software.intel.com/en-us/mkl https://software.intel.com/en-us/articles/t ensorflow-optimizations-on-modern-intel-arc hitecture