IEEE Solid-State Circuits Magazine - Fall 2017 - 57

Deep Neural Network Topologies
Another crucial factor in the breakthrough of deep learning technology is the advent of new network
topologies. Classical neural networks-
which rely on so-called fully connected layers, with each neuron of
one layer connected to each neuron
of the next layer (Figure 1) -suffer
from a very large number of training
parameters. For a network with L
layers of N neurons each, L. (N 2 + N)
parameters must be trained. Knowing that N can easily reach the
order of a million (e.g., for images
with a million pixels), this large
parameter set becomes unpractical
and untrainable.
For many tasks (mainly in image
processing and computer vision),
convolutional neural networks (CNNs)
are more efficient. These CNNs, in spired by visual neuroscience, organize the data in every network layer
as three-dimensional (3-D) tensors.

To enable efficient evaluation of deep
neural networks, optimizations at both the
algorithmic and hardware level are required.
size H # H # C ) into a 3-D output tensor I (of size M # M # F ).
As illustrated in Figure 4, each
element of the output tensor O does
not need all elements of the input
tensor I to be computed. Instead, it

The first part of the network consists out of a sequence of convolutional layers and pooling layers,
replacing the traditional fully connected layers. A convolutional layer
transforms a 3-D input tensor O (of

Hand-Crafted
Features
28.2
25.8

Deep
Learning

ImageNet Challenge:
1,000 Classes
1.3 M Training Images/50 k
Validation/100-k Testing
Top 5 Classification Errors (%)

Eight Layers

16.4 Eight Layers
11.7

19 Layers
7.7

Human
5.1%

22 Layers
6.7

152 Layers

1

SV
Al RC
ex '1
N 2
et
IL
SV
R
C
'1
3
IL
SV
R
C
VG '14
G
IL
S
G V
oo R
gl C'1
eN 4
et
IL
SV
R RC
es '1
N 5
et

IL

'1
C
R
SV
IL

SV

R

C

'1

0

3.57

IL

modeling capacity to operate directly
on raw data. [Figure 2(b)]. Such "deep
learning networks" thus fulfilled
the role of both feature extractor
and classifier.
A deeper network can automatically learn the best possible features
during its training phase, instead of
relying on features hand-crafted by
humans. When inspecting trained
networks, one can see that a deep
neural network trains itself to extract
very coarse, low-level features in its
first layers and finer, higher-level
features in its intermediate layers
and then targets full objects in the
last layers [Figure 2(c)].
A network's ability to learn the
most optimal features significantly
boosted the classification accuracy
of such networks, resulting in their
true breakthrough: deep learning was
born. Over the last decade, deep learning has, as such, been able to move to
deeper and deeper network architectures, enabling tremendous improvements in achievable classification
accuracy, as illustrated by the results
from the yearly ImageNet challenge
(Figure 3) [2].

FIGURE 3: The classification results of the ImageNet challenge have seen enormous boosts
in accuracy since the appearance of deep learning submissions. (Data from [2].) ILSVRC: ImageNet Large-Scale Visual Recognition Challenge; AlexNet: a CNN named for Alex Krizhevsky;
VGG: a network from the Visual Geometry Group at Oxford University; ResNet: Residual Net.

Classification

Trained Feature Extraction
C

F

K
K

H

ReLU
Convolutional
Max-Pooling

M

Fully Connected
ReLU
Convolutional Max-Pooling Classification

Per Output Pixel of a Layer:
for (int f = 0; f < F; f++)
* Load C.K 2 Weights
for (int mx = 0; mx < M; my++)
* Load C.K 2 Inputs
for (int my = 0; my < M; mx++)
for (int c = 0; c < C; c++)
* Do C.K 2 MACs
for (int kx = 0; kx < K; kx++)
* One Output Store
for (int ky = 0; ky < K; ky++)
Repeat F.M 2 Times Per Layer
o [c ][mx][my] += w [f ][c ][kx][ky] . i [c ][mx + kx][my + ky]);
FIGURE 4: The topology and pseudocode of one layer of a typical CNN. The psuedocode is
for one layer of the network. MACs: multiply accumulation.

IEEE SOLID-STATE CIRCUITS MAGAZINE

FA L L 2 0 17

57



Table of Contents for the Digital Edition of IEEE Solid-State Circuits Magazine - Fall 2017

IEEE Solid-State Circuits Magazine - Fall 2017 - Cover1
IEEE Solid-State Circuits Magazine - Fall 2017 - Cover2
IEEE Solid-State Circuits Magazine - Fall 2017 - 1
IEEE Solid-State Circuits Magazine - Fall 2017 - 2
IEEE Solid-State Circuits Magazine - Fall 2017 - 3
IEEE Solid-State Circuits Magazine - Fall 2017 - 4
IEEE Solid-State Circuits Magazine - Fall 2017 - 5
IEEE Solid-State Circuits Magazine - Fall 2017 - 6
IEEE Solid-State Circuits Magazine - Fall 2017 - 7
IEEE Solid-State Circuits Magazine - Fall 2017 - 8
IEEE Solid-State Circuits Magazine - Fall 2017 - 9
IEEE Solid-State Circuits Magazine - Fall 2017 - 10
IEEE Solid-State Circuits Magazine - Fall 2017 - 11
IEEE Solid-State Circuits Magazine - Fall 2017 - 12
IEEE Solid-State Circuits Magazine - Fall 2017 - 13
IEEE Solid-State Circuits Magazine - Fall 2017 - 14
IEEE Solid-State Circuits Magazine - Fall 2017 - 15
IEEE Solid-State Circuits Magazine - Fall 2017 - 16
IEEE Solid-State Circuits Magazine - Fall 2017 - 17
IEEE Solid-State Circuits Magazine - Fall 2017 - 18
IEEE Solid-State Circuits Magazine - Fall 2017 - 19
IEEE Solid-State Circuits Magazine - Fall 2017 - 20
IEEE Solid-State Circuits Magazine - Fall 2017 - 21
IEEE Solid-State Circuits Magazine - Fall 2017 - 22
IEEE Solid-State Circuits Magazine - Fall 2017 - 23
IEEE Solid-State Circuits Magazine - Fall 2017 - 24
IEEE Solid-State Circuits Magazine - Fall 2017 - 25
IEEE Solid-State Circuits Magazine - Fall 2017 - 26
IEEE Solid-State Circuits Magazine - Fall 2017 - 27
IEEE Solid-State Circuits Magazine - Fall 2017 - 28
IEEE Solid-State Circuits Magazine - Fall 2017 - 29
IEEE Solid-State Circuits Magazine - Fall 2017 - 30
IEEE Solid-State Circuits Magazine - Fall 2017 - 31
IEEE Solid-State Circuits Magazine - Fall 2017 - 32
IEEE Solid-State Circuits Magazine - Fall 2017 - 33
IEEE Solid-State Circuits Magazine - Fall 2017 - 34
IEEE Solid-State Circuits Magazine - Fall 2017 - 35
IEEE Solid-State Circuits Magazine - Fall 2017 - 36
IEEE Solid-State Circuits Magazine - Fall 2017 - 37
IEEE Solid-State Circuits Magazine - Fall 2017 - 38
IEEE Solid-State Circuits Magazine - Fall 2017 - 39
IEEE Solid-State Circuits Magazine - Fall 2017 - 40
IEEE Solid-State Circuits Magazine - Fall 2017 - 41
IEEE Solid-State Circuits Magazine - Fall 2017 - 42
IEEE Solid-State Circuits Magazine - Fall 2017 - 43
IEEE Solid-State Circuits Magazine - Fall 2017 - 44
IEEE Solid-State Circuits Magazine - Fall 2017 - 45
IEEE Solid-State Circuits Magazine - Fall 2017 - 46
IEEE Solid-State Circuits Magazine - Fall 2017 - 47
IEEE Solid-State Circuits Magazine - Fall 2017 - 48
IEEE Solid-State Circuits Magazine - Fall 2017 - 49
IEEE Solid-State Circuits Magazine - Fall 2017 - 50
IEEE Solid-State Circuits Magazine - Fall 2017 - 51
IEEE Solid-State Circuits Magazine - Fall 2017 - 52
IEEE Solid-State Circuits Magazine - Fall 2017 - 53
IEEE Solid-State Circuits Magazine - Fall 2017 - 54
IEEE Solid-State Circuits Magazine - Fall 2017 - 55
IEEE Solid-State Circuits Magazine - Fall 2017 - 56
IEEE Solid-State Circuits Magazine - Fall 2017 - 57
IEEE Solid-State Circuits Magazine - Fall 2017 - 58
IEEE Solid-State Circuits Magazine - Fall 2017 - 59
IEEE Solid-State Circuits Magazine - Fall 2017 - 60
IEEE Solid-State Circuits Magazine - Fall 2017 - 61
IEEE Solid-State Circuits Magazine - Fall 2017 - 62
IEEE Solid-State Circuits Magazine - Fall 2017 - 63
IEEE Solid-State Circuits Magazine - Fall 2017 - 64
IEEE Solid-State Circuits Magazine - Fall 2017 - 65
IEEE Solid-State Circuits Magazine - Fall 2017 - 66
IEEE Solid-State Circuits Magazine - Fall 2017 - 67
IEEE Solid-State Circuits Magazine - Fall 2017 - 68
IEEE Solid-State Circuits Magazine - Fall 2017 - 69
IEEE Solid-State Circuits Magazine - Fall 2017 - 70
IEEE Solid-State Circuits Magazine - Fall 2017 - 71
IEEE Solid-State Circuits Magazine - Fall 2017 - 72
IEEE Solid-State Circuits Magazine - Fall 2017 - 73
IEEE Solid-State Circuits Magazine - Fall 2017 - 74
IEEE Solid-State Circuits Magazine - Fall 2017 - 75
IEEE Solid-State Circuits Magazine - Fall 2017 - 76
IEEE Solid-State Circuits Magazine - Fall 2017 - 77
IEEE Solid-State Circuits Magazine - Fall 2017 - 78
IEEE Solid-State Circuits Magazine - Fall 2017 - 79
IEEE Solid-State Circuits Magazine - Fall 2017 - 80
IEEE Solid-State Circuits Magazine - Fall 2017 - 81
IEEE Solid-State Circuits Magazine - Fall 2017 - 82
IEEE Solid-State Circuits Magazine - Fall 2017 - 83
IEEE Solid-State Circuits Magazine - Fall 2017 - 84
IEEE Solid-State Circuits Magazine - Fall 2017 - 85
IEEE Solid-State Circuits Magazine - Fall 2017 - 86
IEEE Solid-State Circuits Magazine - Fall 2017 - 87
IEEE Solid-State Circuits Magazine - Fall 2017 - 88
IEEE Solid-State Circuits Magazine - Fall 2017 - 89
IEEE Solid-State Circuits Magazine - Fall 2017 - 90
IEEE Solid-State Circuits Magazine - Fall 2017 - 91
IEEE Solid-State Circuits Magazine - Fall 2017 - 92
IEEE Solid-State Circuits Magazine - Fall 2017 - 93
IEEE Solid-State Circuits Magazine - Fall 2017 - 94
IEEE Solid-State Circuits Magazine - Fall 2017 - 95
IEEE Solid-State Circuits Magazine - Fall 2017 - 96
IEEE Solid-State Circuits Magazine - Fall 2017 - 97
IEEE Solid-State Circuits Magazine - Fall 2017 - 98
IEEE Solid-State Circuits Magazine - Fall 2017 - 99
IEEE Solid-State Circuits Magazine - Fall 2017 - 100
IEEE Solid-State Circuits Magazine - Fall 2017 - 101
IEEE Solid-State Circuits Magazine - Fall 2017 - 102
IEEE Solid-State Circuits Magazine - Fall 2017 - 103
IEEE Solid-State Circuits Magazine - Fall 2017 - 104
IEEE Solid-State Circuits Magazine - Fall 2017 - 105
IEEE Solid-State Circuits Magazine - Fall 2017 - 106
IEEE Solid-State Circuits Magazine - Fall 2017 - 107
IEEE Solid-State Circuits Magazine - Fall 2017 - 108
IEEE Solid-State Circuits Magazine - Fall 2017 - 109
IEEE Solid-State Circuits Magazine - Fall 2017 - 110
IEEE Solid-State Circuits Magazine - Fall 2017 - 111
IEEE Solid-State Circuits Magazine - Fall 2017 - 112
IEEE Solid-State Circuits Magazine - Fall 2017 - 113
IEEE Solid-State Circuits Magazine - Fall 2017 - 114
IEEE Solid-State Circuits Magazine - Fall 2017 - 115
IEEE Solid-State Circuits Magazine - Fall 2017 - 116
IEEE Solid-State Circuits Magazine - Fall 2017 - 117
IEEE Solid-State Circuits Magazine - Fall 2017 - 118
IEEE Solid-State Circuits Magazine - Fall 2017 - 119
IEEE Solid-State Circuits Magazine - Fall 2017 - 120
IEEE Solid-State Circuits Magazine - Fall 2017 - 121
IEEE Solid-State Circuits Magazine - Fall 2017 - 122
IEEE Solid-State Circuits Magazine - Fall 2017 - 123
IEEE Solid-State Circuits Magazine - Fall 2017 - 124
IEEE Solid-State Circuits Magazine - Fall 2017 - 125
IEEE Solid-State Circuits Magazine - Fall 2017 - 126
IEEE Solid-State Circuits Magazine - Fall 2017 - 127
IEEE Solid-State Circuits Magazine - Fall 2017 - 128
IEEE Solid-State Circuits Magazine - Fall 2017 - 129
IEEE Solid-State Circuits Magazine - Fall 2017 - 130
IEEE Solid-State Circuits Magazine - Fall 2017 - 131
IEEE Solid-State Circuits Magazine - Fall 2017 - 132
IEEE Solid-State Circuits Magazine - Fall 2017 - 133
IEEE Solid-State Circuits Magazine - Fall 2017 - 134
IEEE Solid-State Circuits Magazine - Fall 2017 - 135
IEEE Solid-State Circuits Magazine - Fall 2017 - 136
IEEE Solid-State Circuits Magazine - Fall 2017 - 137
IEEE Solid-State Circuits Magazine - Fall 2017 - 138
IEEE Solid-State Circuits Magazine - Fall 2017 - 139
IEEE Solid-State Circuits Magazine - Fall 2017 - 140
IEEE Solid-State Circuits Magazine - Fall 2017 - 141
IEEE Solid-State Circuits Magazine - Fall 2017 - 142
IEEE Solid-State Circuits Magazine - Fall 2017 - 143
IEEE Solid-State Circuits Magazine - Fall 2017 - 144
IEEE Solid-State Circuits Magazine - Fall 2017 - 145
IEEE Solid-State Circuits Magazine - Fall 2017 - 146
IEEE Solid-State Circuits Magazine - Fall 2017 - 147
IEEE Solid-State Circuits Magazine - Fall 2017 - 148
IEEE Solid-State Circuits Magazine - Fall 2017 - Cover3
IEEE Solid-State Circuits Magazine - Fall 2017 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/mssc_fall2023
https://www.nxtbook.com/nxtbooks/ieee/mssc_summer2023
https://www.nxtbook.com/nxtbooks/ieee/mssc_spring2023
https://www.nxtbook.com/nxtbooks/ieee/mssc_winter2023
https://www.nxtbook.com/nxtbooks/ieee/mssc_fall2022
https://www.nxtbook.com/nxtbooks/ieee/mssc_summer2022
https://www.nxtbook.com/nxtbooks/ieee/mssc_spring2022
https://www.nxtbook.com/nxtbooks/ieee/mssc_winter2022
https://www.nxtbook.com/nxtbooks/ieee/mssc_fall2021
https://www.nxtbook.com/nxtbooks/ieee/mssc_summer2021
https://www.nxtbook.com/nxtbooks/ieee/mssc_spring2021
https://www.nxtbook.com/nxtbooks/ieee/mssc_winter2021
https://www.nxtbook.com/nxtbooks/ieee/mssc_fall2020
https://www.nxtbook.com/nxtbooks/ieee/mssc_summer2020
https://www.nxtbook.com/nxtbooks/ieee/mssc_spring2020
https://www.nxtbook.com/nxtbooks/ieee/mssc_winter2020
https://www.nxtbook.com/nxtbooks/ieee/mssc_fall2019
https://www.nxtbook.com/nxtbooks/ieee/mssc_summer2019
https://www.nxtbook.com/nxtbooks/ieee/mssc_2019summer
https://www.nxtbook.com/nxtbooks/ieee/mssc_2019winter
https://www.nxtbook.com/nxtbooks/ieee/mssc_2018fall
https://www.nxtbook.com/nxtbooks/ieee/mssc_2018summer
https://www.nxtbook.com/nxtbooks/ieee/mssc_2018spring
https://www.nxtbook.com/nxtbooks/ieee/mssc_2018winter
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_winter2017
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_fall2017
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_summer2017
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_spring2017
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_winter2016
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_fall2016
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_summer2016
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_spring2016
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_winter2015
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_fall2015
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_summer2015
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_spring2015
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_winter2014
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_fall2014
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_summer2014
https://www.nxtbook.com/nxtbooks/ieee/solidstatecircuits_spring2014
https://www.nxtbookmedia.com