IEEE Circuits and Systems Magazine - Q2 2023 - 15
where ww qj p and hh qi p . The
j =−
() +−
′ 1
i =−
() +−
′ 1
parameters p and q represent zero-padding size and
stride, respectively.
Fully connected layers apply a linear transformation
to an N -dimensional input vector x and compute a
M-dimensional output vector y :
yWxb
=+ .
(2)
where W and b represent the weight matrix and the
bias vector, respectively. In this section, we show how
these different tensor decomposition methods can be
applied to CNNs.
A. Tensor Train Decomposition
Tensor Train Decomposition can be applied to both the
convolutional layers and the fully connected layers of
CNNs. Let's first describe the implementation of TT-decomposition
on the fully connected layers.
Now consider the TT-representation of the weight ma=∏
k=1
trix W∈
R ×MN where Mmk
d
and νν ννtt ttd ()
W of size MN×
11 22
dd
and Nnk
d
=∏ k=1 . Define
two bijection mappings µµ µµtt ttd ()
() = () () ...12,, ,() that map the matrix
to a higher-order tensor W of size
() = () () ...12,, ,()
nm nm nm××... . The mapping µ ⋅() maps the row
index =...
12
=... of the matrix W into d -dimensional vec12
,,
,
kk and is indexed by
11
,
tt t
t
W µν µν
µν
,
() ()
,, ,M of the matrix W into a d -dimensional
vector-indices whose k -th dimensions are of
length mk. The mapping ν ⋅() maps the column index
tN
tor-indices whose k -th dimensions are of length nk.
Thus the k -th dimension of the reshaped d -dimensional
tensor W is of length nm
()
the tuple µν ()⋅kk⋅(),. Then the tensor W can be converted
using TT-decomposition:
W
()= ()
11 1 []
,, ,,()... dd
=G[]...() Gdd d tµν() ()
() () ()
() () ()
,.
The TT-format of the weight matrix transforms a d
dimensional tensor X (formed from the input vector x)
to the d -dimensional tensor Y (which can be used to
compute output vector y ). As illustrated in Fig. 10 from
[41], the linear transformation of a fully connected layer
can be computed in the TT-format:
YX
B
()... = []... [] ()...
1,,
iid
1111
jjd
,, ,, ,,
,,
+...(
...
1
∑GG
).
ij
iid
where B corresponds to the bias vector b in Eq. (2).
The ranks of the TT-format for the weight matrix depend
on the choice of the bijection mappings µ t() and ν t().
The computational complexity of the forward pass is
O(, ).
dr mM N
2 max{}
In machine learning, backpropagation is widely used
to train feed-forward neural networks based on the stochastic
gradient descent algorithm [24]. Backpropagation
computes the gradient of the loss-function L with
respect to all the parameters. Given the gradients with
respect to the layer's output ∂
∂
L
y , the backpropagation
applied to the fully connected layers computes the gradients
with respect to the input x, the weight matrix
W and bias vector b :
Figure 9. Original convolution layer with filter size of T × S
× D × D.
∂
∂
LL LL LL
x
=W
,, .
∂
∂
∂
=
∂
yW y
∂
∂
x
∂
∂
=
by
∂
∂
1
dd ddij jj
Figure 10. TT-format fully connected layer [41].
SECOND QUARTER 2023
IEEE CIRCUITS AND SYSTEMS MAGAZINE
15
IEEE Circuits and Systems Magazine - Q2 2023
Table of Contents for the Digital Edition of IEEE Circuits and Systems Magazine - Q2 2023
Contents
IEEE Circuits and Systems Magazine - Q2 2023 - Cover1
IEEE Circuits and Systems Magazine - Q2 2023 - Cover2
IEEE Circuits and Systems Magazine - Q2 2023 - Contents
IEEE Circuits and Systems Magazine - Q2 2023 - 2
IEEE Circuits and Systems Magazine - Q2 2023 - 3
IEEE Circuits and Systems Magazine - Q2 2023 - 4
IEEE Circuits and Systems Magazine - Q2 2023 - 5
IEEE Circuits and Systems Magazine - Q2 2023 - 6
IEEE Circuits and Systems Magazine - Q2 2023 - 7
IEEE Circuits and Systems Magazine - Q2 2023 - 8
IEEE Circuits and Systems Magazine - Q2 2023 - 9
IEEE Circuits and Systems Magazine - Q2 2023 - 10
IEEE Circuits and Systems Magazine - Q2 2023 - 11
IEEE Circuits and Systems Magazine - Q2 2023 - 12
IEEE Circuits and Systems Magazine - Q2 2023 - 13
IEEE Circuits and Systems Magazine - Q2 2023 - 14
IEEE Circuits and Systems Magazine - Q2 2023 - 15
IEEE Circuits and Systems Magazine - Q2 2023 - 16
IEEE Circuits and Systems Magazine - Q2 2023 - 17
IEEE Circuits and Systems Magazine - Q2 2023 - 18
IEEE Circuits and Systems Magazine - Q2 2023 - 19
IEEE Circuits and Systems Magazine - Q2 2023 - 20
IEEE Circuits and Systems Magazine - Q2 2023 - 21
IEEE Circuits and Systems Magazine - Q2 2023 - 22
IEEE Circuits and Systems Magazine - Q2 2023 - 23
IEEE Circuits and Systems Magazine - Q2 2023 - 24
IEEE Circuits and Systems Magazine - Q2 2023 - 25
IEEE Circuits and Systems Magazine - Q2 2023 - 26
IEEE Circuits and Systems Magazine - Q2 2023 - 27
IEEE Circuits and Systems Magazine - Q2 2023 - 28
IEEE Circuits and Systems Magazine - Q2 2023 - 29
IEEE Circuits and Systems Magazine - Q2 2023 - 30
IEEE Circuits and Systems Magazine - Q2 2023 - 31
IEEE Circuits and Systems Magazine - Q2 2023 - 32
IEEE Circuits and Systems Magazine - Q2 2023 - 33
IEEE Circuits and Systems Magazine - Q2 2023 - 34
IEEE Circuits and Systems Magazine - Q2 2023 - 35
IEEE Circuits and Systems Magazine - Q2 2023 - 36
IEEE Circuits and Systems Magazine - Q2 2023 - 37
IEEE Circuits and Systems Magazine - Q2 2023 - 38
IEEE Circuits and Systems Magazine - Q2 2023 - 39
IEEE Circuits and Systems Magazine - Q2 2023 - 40
IEEE Circuits and Systems Magazine - Q2 2023 - 41
IEEE Circuits and Systems Magazine - Q2 2023 - 42
IEEE Circuits and Systems Magazine - Q2 2023 - 43
IEEE Circuits and Systems Magazine - Q2 2023 - 44
IEEE Circuits and Systems Magazine - Q2 2023 - 45
IEEE Circuits and Systems Magazine - Q2 2023 - 46
IEEE Circuits and Systems Magazine - Q2 2023 - 47
IEEE Circuits and Systems Magazine - Q2 2023 - 48
IEEE Circuits and Systems Magazine - Q2 2023 - 49
IEEE Circuits and Systems Magazine - Q2 2023 - 50
IEEE Circuits and Systems Magazine - Q2 2023 - 51
IEEE Circuits and Systems Magazine - Q2 2023 - 52
IEEE Circuits and Systems Magazine - Q2 2023 - 53
IEEE Circuits and Systems Magazine - Q2 2023 - 54
IEEE Circuits and Systems Magazine - Q2 2023 - 55
IEEE Circuits and Systems Magazine - Q2 2023 - 56
IEEE Circuits and Systems Magazine - Q2 2023 - 57
IEEE Circuits and Systems Magazine - Q2 2023 - 58
IEEE Circuits and Systems Magazine - Q2 2023 - 59
IEEE Circuits and Systems Magazine - Q2 2023 - 60
IEEE Circuits and Systems Magazine - Q2 2023 - 61
IEEE Circuits and Systems Magazine - Q2 2023 - 62
IEEE Circuits and Systems Magazine - Q2 2023 - 63
IEEE Circuits and Systems Magazine - Q2 2023 - 64
IEEE Circuits and Systems Magazine - Q2 2023 - 65
IEEE Circuits and Systems Magazine - Q2 2023 - 66
IEEE Circuits and Systems Magazine - Q2 2023 - 67
IEEE Circuits and Systems Magazine - Q2 2023 - 68
IEEE Circuits and Systems Magazine - Q2 2023 - 69
IEEE Circuits and Systems Magazine - Q2 2023 - 70
IEEE Circuits and Systems Magazine - Q2 2023 - 71
IEEE Circuits and Systems Magazine - Q2 2023 - 72
IEEE Circuits and Systems Magazine - Q2 2023 - Cover3
IEEE Circuits and Systems Magazine - Q2 2023 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2023Q3
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2023Q2
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2023Q1
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2022Q4
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2022Q3
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2022Q2
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2022Q1
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2021Q4
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2021q3
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2021q2
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2021q1
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2020q4
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2020q3
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2020q2
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2020q1
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2019q4
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2019q3
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2019q2
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2019q1
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2018q4
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2018q3
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2018q2
https://www.nxtbook.com/nxtbooks/ieee/circuitsandsystems_2018q1
https://www.nxtbookmedia.com