IEEE Circuits and Systems Magazine - Q2 2020 - 40

Inference
P1 (Interictal)

argmink
P2 (Ictal)

Associative Memory (AM)

Test
Train
/Test

En

E1

C1

C64

IM

'Elec n'

LBP

6 bit
'Elec 1'

Figure 11. The architecture for Laelaps with HD computing to detect and alarm seizure [43].

Nd
S

0.5 s
En

E1

C64
LBP

Feature Extraction

6 bit

IM
C1

HD Computing: Encoding and Associative Memory

0.5 s

Training Label {1/0}

Train

< 40 s

Demux

40 	

IEEE CIRCUITS AND SYSTEMS MAGAZINE 		

4) HD Computing Using Model Compression
As a mathematical framework, HD computing can be
an alternative for machine learning problems. This
was envisioned in [50]. Due to the high dimensionality, the inference of HD computing is quite expensive,
especially when it is applied to the embedded devices with limited r- esources. For example, the memory
is limited. Therefore, reducing the high dimensionality of hypervectors without sacrificing the accuracy
has been investigated in [51]. Thus, CompHD is a
general method that compresses the model size with
the minimal loss of accuracy. The addressed hypervectors are in {-1, 1}d. Instead of Hamming distance,
the similarity metric in CompHD is cosine similarity.
To reduce the HD model size, it is natural to use
low dimensional hypervectors. However, experimental results of three practical applications using different dimensionalities in HD classification
show that the e
- fficiency is improved by reducing
model size at the cost of accuracy.
To maintain high accuracy when reducing the
dimensionality, the proposed CompHD employs
the architecture shown in Fig. 12. With no reduction in model size, C i represents the class hypervector, Q represents the query hypervector,
where 1 # i # k. In CompHD, class hypervectors
and query hypervectors are compressed, which
means the original hypervectors are divided into
s segments. To store most of the information in
original hypervectors with the full size, using
Hadamard method [52], CompHD generates P 1,
P 2, f, Ps, which are in {-1, 1}D and are orthogonal to each other, where D = d/s. Specifically, the
compressed class hypervector C l and query hypervector Ql are calculated using multiplication
and addition in HD as described by Eq. (17). By
doing so, only little information is lost when we
compress the model size, and high accuracy can
be maintained.
	

Cl =

s

/ Pi C i,

i=1

Ql =

s

/ Pi Q i (17)

i=1

Their evaluation shows that, compared to the
original HD classification that purely reduces the
dimensionality with the compression factor s = 20,
the classification accuracy for the three applications is still in an acceptable range. In particular,
maintaining the same accuracy as the original,
CompHD can on average reduce model size by
69.7% while still achieving 74% energy improvement and 4.1# execution time speedup in the context of activity recognition, gesture recognition
and valve monitoring applications [51]. Therefore,
SECOND QUARTER 2020



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