Covariant Compositional Networks & GraphFlow Deep Learning Framework In C++/CUDA
Truong Son Hy Advisor: Prof. Risi Kondor
The University of Chicago
2018
Truong Son Hy (UChicago) Master Presentation 2018 1 / 48
Covariant Compositional Networks & GraphFlow Deep Learning - - PowerPoint PPT Presentation
Covariant Compositional Networks & GraphFlow Deep Learning Framework In C++/CUDA Truong Son Hy Advisor: Prof. Risi Kondor The University of Chicago 2018 Truong Son Hy (UChicago) Master Presentation 2018 1 / 48 Overview Introduction
Truong Son Hy (UChicago) Master Presentation 2018 1 / 48
Truong Son Hy (UChicago) Master Presentation 2018 2 / 48
Truong Son Hy (UChicago) Master Presentation 2018 3 / 48
Truong Son Hy (UChicago) Master Presentation 2018 4 / 48
1
2
3
Truong Son Hy (UChicago) Master Presentation 2018 5 / 48
Truong Son Hy (UChicago) Master Presentation 2018 6 / 48
Truong Son Hy (UChicago) Master Presentation 2018 7 / 48
1
2
3
4
5
Truong Son Hy (UChicago) Master Presentation 2018 8 / 48
Truong Son Hy (UChicago) Master Presentation 2018 9 / 48
1
2
3
Truong Son Hy (UChicago) Master Presentation 2018 10 / 48
1
2
3
Truong Son Hy (UChicago) Master Presentation 2018 11 / 48
Truong Son Hy (UChicago) Master Presentation 2018 12 / 48
v |×c, each row of this feature matrix corresponds to a vertex
Truong Son Hy (UChicago) Master Presentation 2018 13 / 48
Truong Son Hy (UChicago) Master Presentation 2018 14 / 48
v |×|P ℓ v |×c
Truong Son Hy (UChicago) Master Presentation 2018 15 / 48
Truong Son Hy (UChicago) Master Presentation 2018 16 / 48
1
2
3
Truong Son Hy (UChicago) Master Presentation 2018 17 / 48
v to compute F
v |×|P ℓ v |×(18c).
Truong Son Hy (UChicago) Master Presentation 2018 18 / 48
Truong Son Hy (UChicago) Master Presentation 2018 19 / 48
1
2
3
Truong Son Hy (UChicago) Master Presentation 2018 20 / 48
1
2
3
Truong Son Hy (UChicago) Master Presentation 2018 21 / 48
1
2
3
4
Truong Son Hy (UChicago) Master Presentation 2018 22 / 48
Truong Son Hy (UChicago) Master Presentation 2018 23 / 48
Truong Son Hy (UChicago) Master Presentation 2018 24 / 48
Truong Son Hy (UChicago) Master Presentation 2018 25 / 48
Truong Son Hy (UChicago) Master Presentation 2018 26 / 48
Truong Son Hy (UChicago) Master Presentation 2018 26 / 48
Truong Son Hy (UChicago) Master Presentation 2018 27 / 48
Truong Son Hy (UChicago) Master Presentation 2018 28 / 48
GraphFlow Neural Network Objects CNN LSTM/GRU RNN Graph Neural Network Dynamic Com- putation Graph Optimization Algorithms Momentum SGD Stochastic Gra- dient Descent Adam, AdaMax, AdaDelta Operators Tensor Contraction Convolution Matrix Multiplication Data Structures Matrix Vector Tensor
Truong Son Hy (UChicago) Master Presentation 2018 29 / 48
Graph 1 Graph 2 . . . Graph N
Thread 1 Thread 2 . . . Thread 8 Gradient 1 Gradient 2 . . . Gradient N Stochastic Gradient Descent
Truong Son Hy (UChicago) Master Presentation 2018 30 / 48
A B C AB ABC A B C A’s gradient B’s gradient C’ gradient AxBxC GPU Main memory Input Output
Matrix * A = new Matrix(m, n); Matrix * B = new Matrix(m, p); Matrix * C = new Matrix(p, q); MatMul * AB = new Matrix(A, B); MalMul * ABC = new Matrix(AB, C); ABC->upload(); ABC->forward(); ABC->backward(); ABC->download();
download upload forward backward Truong Son Hy (UChicago) Master Presentation 2018 31 / 48
Truong Son Hy (UChicago) Master Presentation 2018 32 / 48
Truong Son Hy (UChicago) Master Presentation 2018 33 / 48
Truong Son Hy (UChicago) Master Presentation 2018 34 / 48
Truong Son Hy (UChicago) Master Presentation 2018 35 / 48
1
2
Truong Son Hy (UChicago) Master Presentation 2018 36 / 48
Truong Son Hy (UChicago) Master Presentation 2018 37 / 48
Truong Son Hy (UChicago) Master Presentation 2018 38 / 48
Truong Son Hy (UChicago) Master Presentation 2018 39 / 48
Truong Son Hy (UChicago) Master Presentation 2018 40 / 48
Truong Son Hy (UChicago) Master Presentation 2018 41 / 48
e1 e2 e3 e4 e5 e6 (1) (2) (3) (4) (5) (3) (4) (1) (2) (5)
Truong Son Hy (UChicago) Master Presentation 2018 42 / 48
Truong Son Hy (UChicago) Master Presentation 2018 43 / 48
Truong Son Hy (UChicago) Master Presentation 2018 44 / 48
Truong Son Hy (UChicago) Master Presentation 2018 45 / 48
Truong Son Hy (UChicago) Master Presentation 2018 46 / 48
Device 1 Port 2 Interface 2 Device 2 Physical Link Port 1 Interface 1 contains contains traverses traverses connected connected
Truong Son Hy (UChicago) Master Presentation 2018 47 / 48
Truong Son Hy (UChicago) Master Presentation 2018 48 / 48