IEEE Circuits and Systems Magazine - Q2 2020 - 41

Single-pass training leads to low accuracy. To improve this, iterative training
might be one efficient solution. However, a lack of controllability of training
iterations in HD classification may result in slow training or divergence.
CompHD is suitable for low-power IoT devices to achieve
higher efficiency with a comparable accuracy.
5) Adaptive Efficient Training for HD Computing
Single-pass training leads to low accuracy. To improve
this, iterative training might be one efficient solution.
However, a lack of controllability of training iterations
in HD classification may result in slow training or divergence. To solve this training issue, [54] proposes a retraining approach, AdaptHD.
The basic idea is illustrated as follows: 1). Conduct
the initial training by using binary hypervectors to generate the non-binary class hypervectors. 2). Retrain the
class hypervectors by looking at the similarity of each
trained class hypervectors (C) with the training hypervector (H ). Update the model using Eq. (18) if the
current training -hypervector leads to a misclassification error. Otherwise there is no change. For example,
there is a mismatch if H i is supposed to belong to C correct
but is classified as C wrong, where C correct and C wrong denote different class hypervectors and H i represents the
ith training hypervector. 3). After convergence, which
means the last three iterations of retraining show less
than 0.1% accuracy change, then binarize the final
trained model for inference.
	

'

C wrong = C wrong - aH i,
(18)
C correct = C correct + aH i .

Cjd

Cjd-D

Cjd

Insights are gained by their results: 1). Small a needs
more iterations to get the near best accuracy. The smooth
curve indicates small a is better for fine-tuning. 2). Large
a gets to the near best accuracy much faster, but its high
fluctuation may lead to divergence. Based on these two
findings, AdaptHD uses large a first to get the near best
accuracy faster, then changes to smaller a for fine-tuning
until convergence. This is similar to adjusting the step
size in the normalized least mean square (LMS) algorithm
[55]. AdaptHD offers three types of adaptive methods:
■■ Iteration-dependent AdaptHD. The change of value
a depends on iterations. In the beginning, a starts
with a large a max . The learning rate a changes
based on the average error rate in the previous b
iterations. If error rate decreases, indicating convergence, then use smaller a; otherwise, increase a.
■■ Data-dependent AdaptHD. The value a differs in a
certain iteration for all data points, and it changes
depending on the similarity of the data point with
the class hypervectors. Large distance uses large
a to reduce the difference.
■■ Hybrid AdaptHD. Combining the two models, hybrid
AdaptHD can achieve high accuracy as iterationdependent AdaptHD and fast speedup as datadependent AdaptHD.
The evaluation shows that, compared to the existing
HD algorithm, their hybrid AdaptHD can achieve 6.9#
speedup and 6.3# energy-efficiency improvement.

Cj 1

hd-D

hd

hd

h1

First Segment

S-th Segment

First Segment

S-th Segment

Cjd

Cjd-D

Cjd

Cj 1

hd

hd-D

hd

h1

-1

+1

+1

-1

-1

+1

+1

-1

PS

P1
Compressed
Model C′

Cjd′

Cj ′1
(a)

PS

P1
Compressed
Query Q′

hD′

h1′
(b)

Figure 12. CompHD for (a) an HD model and (b) a query data [51].

SECOND QUARTER 2020 		

IEEE CIRCUITS AND SYSTEMS MAGAZINE	

41



IEEE Circuits and Systems Magazine - Q2 2020

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

Contents
IEEE Circuits and Systems Magazine - Q2 2020 - Cover1
IEEE Circuits and Systems Magazine - Q2 2020 - Cover2
IEEE Circuits and Systems Magazine - Q2 2020 - Contents
IEEE Circuits and Systems Magazine - Q2 2020 - 2
IEEE Circuits and Systems Magazine - Q2 2020 - 3
IEEE Circuits and Systems Magazine - Q2 2020 - 4
IEEE Circuits and Systems Magazine - Q2 2020 - 5
IEEE Circuits and Systems Magazine - Q2 2020 - 6
IEEE Circuits and Systems Magazine - Q2 2020 - 7
IEEE Circuits and Systems Magazine - Q2 2020 - 8
IEEE Circuits and Systems Magazine - Q2 2020 - 9
IEEE Circuits and Systems Magazine - Q2 2020 - 10
IEEE Circuits and Systems Magazine - Q2 2020 - 11
IEEE Circuits and Systems Magazine - Q2 2020 - 12
IEEE Circuits and Systems Magazine - Q2 2020 - 13
IEEE Circuits and Systems Magazine - Q2 2020 - 14
IEEE Circuits and Systems Magazine - Q2 2020 - 15
IEEE Circuits and Systems Magazine - Q2 2020 - 16
IEEE Circuits and Systems Magazine - Q2 2020 - 17
IEEE Circuits and Systems Magazine - Q2 2020 - 18
IEEE Circuits and Systems Magazine - Q2 2020 - 19
IEEE Circuits and Systems Magazine - Q2 2020 - 20
IEEE Circuits and Systems Magazine - Q2 2020 - 21
IEEE Circuits and Systems Magazine - Q2 2020 - 22
IEEE Circuits and Systems Magazine - Q2 2020 - 23
IEEE Circuits and Systems Magazine - Q2 2020 - 24
IEEE Circuits and Systems Magazine - Q2 2020 - 25
IEEE Circuits and Systems Magazine - Q2 2020 - 26
IEEE Circuits and Systems Magazine - Q2 2020 - 27
IEEE Circuits and Systems Magazine - Q2 2020 - 28
IEEE Circuits and Systems Magazine - Q2 2020 - 29
IEEE Circuits and Systems Magazine - Q2 2020 - 30
IEEE Circuits and Systems Magazine - Q2 2020 - 31
IEEE Circuits and Systems Magazine - Q2 2020 - 32
IEEE Circuits and Systems Magazine - Q2 2020 - 33
IEEE Circuits and Systems Magazine - Q2 2020 - 34
IEEE Circuits and Systems Magazine - Q2 2020 - 35
IEEE Circuits and Systems Magazine - Q2 2020 - 36
IEEE Circuits and Systems Magazine - Q2 2020 - 37
IEEE Circuits and Systems Magazine - Q2 2020 - 38
IEEE Circuits and Systems Magazine - Q2 2020 - 39
IEEE Circuits and Systems Magazine - Q2 2020 - 40
IEEE Circuits and Systems Magazine - Q2 2020 - 41
IEEE Circuits and Systems Magazine - Q2 2020 - 42
IEEE Circuits and Systems Magazine - Q2 2020 - 43
IEEE Circuits and Systems Magazine - Q2 2020 - 44
IEEE Circuits and Systems Magazine - Q2 2020 - 45
IEEE Circuits and Systems Magazine - Q2 2020 - 46
IEEE Circuits and Systems Magazine - Q2 2020 - 47
IEEE Circuits and Systems Magazine - Q2 2020 - 48
IEEE Circuits and Systems Magazine - Q2 2020 - Cover3
IEEE Circuits and Systems Magazine - Q2 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