Professional Documents
Culture Documents
Learning Platform
Md Johirul Islam
Department of Computer Science
Iowa State University
mislam@iastate.edu
March 3, 2016
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
2/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Two Goals:
I
Md Johirul Islam
3/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Work flow
Md Johirul Islam
4/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Work Flow
Md Johirul Islam
5/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Work Flow
I
Md Johirul Islam
6/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Work Flow
Md Johirul Islam
7/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
Logical Architecture
Parallelism
Communication
8/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Worker Group
I
I
I
I
I
Logical Architecture
Parallelism
Communication
Server Group
I
I
I
Md Johirul Islam
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Logical Architecture
Parallelism
Communication
Md Johirul Islam
10/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Logical Architecture
Parallelism
Communication
Md Johirul Islam
11/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Logical Architecture
Parallelism
Communication
Md Johirul Islam
12/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Logical Architecture
Parallelism
Communication
Md Johirul Islam
Message
Socket
13/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Logical Architecture
Parallelism
Communication
Md Johirul Islam
14/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
Logical Architecture
Parallelism
Communication
15/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
Logical Architecture
Parallelism
Communication
16/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
Logical Architecture
Parallelism
Communication
17/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
Logical Architecture
Parallelism
Communication
18/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
Logical Architecture
Parallelism
Communication
19/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
Logical Architecture
Parallelism
Communication
20/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Logical Architecture
Parallelism
Communication
Creating Address
Md Johirul Islam
21/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Logical Architecture
Parallelism
Communication
Create Address
Md Johirul Islam
22/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Logical Architecture
Parallelism
Communication
Sockets
Md Johirul Islam
23/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
Logical Architecture
Parallelism
Communication
24/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Logical Architecture
Parallelism
Communication
Poller
Md Johirul Islam
25/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Logical Architecture
Parallelism
Communication
Md Johirul Islam
26/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
Logical Architecture
Parallelism
Communication
27/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Logical Architecture
Parallelism
Communication
Md Johirul Islam
28/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
Logical Architecture
Parallelism
Communication
29/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
Logical Architecture
Parallelism
Communication
30/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Topology
Md Johirul Islam
31/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
Overview
Types of Topology
32/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
Overview
Types of Topology
33/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Topology
SandBlaster
Md Johirul Islam
34/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Topology
Md Johirul Islam
35/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Topology
AllReduce
Md Johirul Islam
36/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Topology
Md Johirul Islam
37/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Topology
Downpour
Md Johirul Islam
38/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Topology
Distributed Hogwild
Md Johirul Islam
39/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Topology
Md Johirul Islam
40/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
Overview
Types of Neural Network
Layer
Param
41/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Md Johirul Islam
42/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Feed Forward
Example: MLP,CNN
Md Johirul Islam
43/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Md Johirul Islam
44/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Energy Models
I
I
Md Johirul Islam
45/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
RNN Models
I
Md Johirul Islam
46/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Md Johirul Islam
47/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
Overview
Types of Neural Network
Layer
Param
48/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Built in Layers
I
Md Johirul Islam
49/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Input Layers
I
I
Md Johirul Islam
50/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Output Layers
I
This layer gets data from its source layer and converts it
into records of type RecordProto. Records are written as
(key,value) tuples into Store.
Md Johirul Islam
51/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Neuron Layer
I
I
Md Johirul Islam
52/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Loss layers
I
Md Johirul Islam
53/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
ConnectionLayer
Md Johirul Islam
54/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
Overview
Types of Neural Network
Layer
Param
55/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Fields:
Methods:
Md Johirul Islam
56/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Md Johirul Islam
57/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Md Johirul Islam
58/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Md Johirul Islam
59/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Md Johirul Islam
60/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Md Johirul Islam
61/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Md Johirul Islam
62/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Md Johirul Islam
63/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Overview
Types of Neural Network
Layer
Param
Md Johirul Islam
64/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
TrainOneBatch
Updater
Md Johirul Islam
65/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
TrainOneBatch
Updater
Md Johirul Islam
66/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
TrainOneBatch
Updater
Md Johirul Islam
67/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
TrainOneBatch
Updater
Md Johirul Islam
68/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
TrainOneBatch
Updater
Md Johirul Islam
69/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
TrainOneBatch
Updater
Learning Rate
I
Md Johirul Islam
70/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
TrainOneBatch
Updater
Md Johirul Islam
71/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
TrainOneBatch
Updater
Md Johirul Islam
72/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
TrainOneBatch
Updater
Md Johirul Islam
73/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
TrainOneBatch
Updater
Md Johirul Islam
74/75
Apache Singa
Overview
System Architecture
Distributed Training FrameWork
NeuralNet
Training
Summary
Md Johirul Islam
75/75
Apache Singa