IEEE Circuits and Systems Magazine - Q3 2020 - 31

In DSC, computation is performed on "single-bit" sequences, so a significant
improvement in hardware efficiency is achieved with a high accuracy.
the Sobol sequence helps improving the accuracy. Fig. 26
compares the convergence of -m isalignment during
the training of the adaptive filter using pseudorandom
and quasirandom numbers. 16-bit stochastic integrators are used in this experiment. The misalignment is
given by
Misalignment =

	

E[(w - ~t )2 ]
, (15)
E[w 2 ]

where w denotes the target value and ~t is the trained
result. It can be seen that the convergence speed of using these two types of random numbers is similar and
their misalignments both converge to around -52 dB.
VI. Hardware Efficiency Evaluation
Due to the extremely low sequence length used for encoding a value in DSC, the power consumption of DSC
circuits is much lower than conventional arithmetic circuits. Moreover, since each bit in a DSS is used to encode a number, DSC is more energy-efficient than CSC.
The gradient descent and ODE solver circuits are conTable II.
Hardware evaluation of the gradient descent circuit
array training a 784-128-128-10 neural network.
Metrics

DSC

Fixed-Point

-10

Step size

2

Epochs

20

2

-10

Ratio
-

20

-

1.6 # 10

6

4.7 # 10

6

1:3

EPO (fJ)

1.2 # 10

7

8

1:9.2

TPA (image/s/ nm 2 )

5.7 # 10 1

1.5

38:1

Aver. test Accu.

97.04%

97.49%

-

Min. time (ns)

1.1 # 10

Table III.
Hardware performance comparison of the ODE
solvers for (8).
Metric

DSC
2

Step size

Fixed-Point

-8

2

-8

Ratio
-

Iterations

3217

3217

-

Min. time (ns)

2573.59

8557.20

1:3.3

201.21

466.00

1:2.3

EPO (fJ)
2

TPA (word/μs/ nm )
RMSE

4.75
4.7 # 10

0.58
-3

3.6 # 10

8.2:1
-3

THIRD QUARTER 2020 		

-

sidered as examples to show the hardware efficiency.
Implemented in VHDL, the circuits are synthesized by
Synopsys Design Compiler with a 28-nm technology to
obtain the power consumption, maximum frequency
and hardware measurements. The minimum runtime,
energy per operation (EPO), throughput per area (TPA)
and accuracy are reported in Table II for the gradient
descent circuits and in Table III for ODE solvers.
As can be seen, with a slightly degraded accuracy,
the DSC circuits outperform conventional circuits using
a fixed-point representation in speed, energy efficiency and hardware efficiency. For the gradient descent
circuit, since the two RNGs can be shared among the
118,282 stochastic integrators (for 118,282 weights), the
improvement in hardware efficiency is even more significant than the ODE solver, for which one RNG is shared
between two stochastic integrators. However, since the
sharing of RNGs does not significantly affect the critical path, the performance improvements are similar for
these two circuits.
VII. Conclusion
In this article, a new type of stochastic computing, dynamic stochastic computing (DSC), is introduced to encode a varying signal by using a dynamically variable
binary bit stream, referred to as a dynamic stochastic
sequence (DSS). A DSC circuit can efficiently implement
an iterative accumulation-based algorithm. It is useful
in implementing the Euler method, training a neural
network and an adaptive filter, and IIR filtering. In those
applications, integrations are implemented by stochastic integrators that accumulate the stochastic bits in a
DSS. Since the computation is performed on single stochastic bits instead of conventional binary values or
long stochastic sequences, a significant improvement
in hardware efficiency is achieved with a high accuracy.
Acknowledgment
This work was supported by the Natural Sciences and
Engineering Research Council of Canada (NSERC) under
Projects RES0025211 and RES0048688.
Siting Liu received the B.Eng. and M.
Eng. degrees in electrical engineering
and automation from the Harbin Institute of Technology, Harbin, Heilongjiang, China, in 2012 and 2014, respectively, and the Ph.D. degree from the
IEEE CIRCUITS AND SYSTEMS MAGAZINE	

31



IEEE Circuits and Systems Magazine - Q3 2020

Table of Contents for the Digital Edition of IEEE Circuits and Systems Magazine - Q3 2020

Contents
IEEE Circuits and Systems Magazine - Q3 2020 - Cover1
IEEE Circuits and Systems Magazine - Q3 2020 - Cover2
IEEE Circuits and Systems Magazine - Q3 2020 - Contents
IEEE Circuits and Systems Magazine - Q3 2020 - 2
IEEE Circuits and Systems Magazine - Q3 2020 - 3
IEEE Circuits and Systems Magazine - Q3 2020 - 4
IEEE Circuits and Systems Magazine - Q3 2020 - 5
IEEE Circuits and Systems Magazine - Q3 2020 - 6
IEEE Circuits and Systems Magazine - Q3 2020 - 7
IEEE Circuits and Systems Magazine - Q3 2020 - 8
IEEE Circuits and Systems Magazine - Q3 2020 - 9
IEEE Circuits and Systems Magazine - Q3 2020 - 10
IEEE Circuits and Systems Magazine - Q3 2020 - 11
IEEE Circuits and Systems Magazine - Q3 2020 - 12
IEEE Circuits and Systems Magazine - Q3 2020 - 13
IEEE Circuits and Systems Magazine - Q3 2020 - 14
IEEE Circuits and Systems Magazine - Q3 2020 - 15
IEEE Circuits and Systems Magazine - Q3 2020 - 16
IEEE Circuits and Systems Magazine - Q3 2020 - 17
IEEE Circuits and Systems Magazine - Q3 2020 - 18
IEEE Circuits and Systems Magazine - Q3 2020 - 19
IEEE Circuits and Systems Magazine - Q3 2020 - 20
IEEE Circuits and Systems Magazine - Q3 2020 - 21
IEEE Circuits and Systems Magazine - Q3 2020 - 22
IEEE Circuits and Systems Magazine - Q3 2020 - 23
IEEE Circuits and Systems Magazine - Q3 2020 - 24
IEEE Circuits and Systems Magazine - Q3 2020 - 25
IEEE Circuits and Systems Magazine - Q3 2020 - 26
IEEE Circuits and Systems Magazine - Q3 2020 - 27
IEEE Circuits and Systems Magazine - Q3 2020 - 28
IEEE Circuits and Systems Magazine - Q3 2020 - 29
IEEE Circuits and Systems Magazine - Q3 2020 - 30
IEEE Circuits and Systems Magazine - Q3 2020 - 31
IEEE Circuits and Systems Magazine - Q3 2020 - 32
IEEE Circuits and Systems Magazine - Q3 2020 - 33
IEEE Circuits and Systems Magazine - Q3 2020 - 34
IEEE Circuits and Systems Magazine - Q3 2020 - 35
IEEE Circuits and Systems Magazine - Q3 2020 - 36
IEEE Circuits and Systems Magazine - Q3 2020 - 37
IEEE Circuits and Systems Magazine - Q3 2020 - 38
IEEE Circuits and Systems Magazine - Q3 2020 - 39
IEEE Circuits and Systems Magazine - Q3 2020 - 40
IEEE Circuits and Systems Magazine - Q3 2020 - 41
IEEE Circuits and Systems Magazine - Q3 2020 - 42
IEEE Circuits and Systems Magazine - Q3 2020 - 43
IEEE Circuits and Systems Magazine - Q3 2020 - 44
IEEE Circuits and Systems Magazine - Q3 2020 - 45
IEEE Circuits and Systems Magazine - Q3 2020 - 46
IEEE Circuits and Systems Magazine - Q3 2020 - 47
IEEE Circuits and Systems Magazine - Q3 2020 - 48
IEEE Circuits and Systems Magazine - Q3 2020 - 49
IEEE Circuits and Systems Magazine - Q3 2020 - 50
IEEE Circuits and Systems Magazine - Q3 2020 - 51
IEEE Circuits and Systems Magazine - Q3 2020 - 52
IEEE Circuits and Systems Magazine - Q3 2020 - 53
IEEE Circuits and Systems Magazine - Q3 2020 - 54
IEEE Circuits and Systems Magazine - Q3 2020 - 55
IEEE Circuits and Systems Magazine - Q3 2020 - 56
IEEE Circuits and Systems Magazine - Q3 2020 - 57
IEEE Circuits and Systems Magazine - Q3 2020 - 58
IEEE Circuits and Systems Magazine - Q3 2020 - 59
IEEE Circuits and Systems Magazine - Q3 2020 - 60
IEEE Circuits and Systems Magazine - Q3 2020 - 61
IEEE Circuits and Systems Magazine - Q3 2020 - 62
IEEE Circuits and Systems Magazine - Q3 2020 - 63
IEEE Circuits and Systems Magazine - Q3 2020 - 64
IEEE Circuits and Systems Magazine - Q3 2020 - 65
IEEE Circuits and Systems Magazine - Q3 2020 - 66
IEEE Circuits and Systems Magazine - Q3 2020 - 67
IEEE Circuits and Systems Magazine - Q3 2020 - 68
IEEE Circuits and Systems Magazine - Q3 2020 - Cover3
IEEE Circuits and Systems Magazine - Q3 2020 - 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