IEEE Circuits and Systems Magazine - Q2 2020 - 32

- ethods achieve high accuracy using complex models.
m
Training these models typically takes longer time and
requires more energy consumption. The models in HD
classification are simpler and can be trained in less
time with high energy efficiency. However, their accuracy is acceptable, though not as high as traditional
models. This is because the accuracy is dependent on
feature encoding which is not as well understood as
traditional classification.
B. Data Representation
Data points of HD computing correspond to hypervectors-vectors of bits, integers, real or complex numbers. These are roughly divided into two categories:
binary and non-binary. For non-binary hypervectors,
bipolar and integer hypervectors are more commonly
employed. Generally speaking, non-binary HD algorithms achieve higher accuracy, while the binary counterpart is more hardware-friendly and has higher efficiency (see also [11]).
C. Similarity Measurement
As shown in Table 2, two common similarity measurements are adopted in the existing HD algorithms, namely, cosine similarity and Hamming distance. Other similarity measures include dot product (e.g., in MAP) and
overlap (e.g., in BSDC).

For non-binary hypervectors, cosine similarity, defined by Eq. (1), is used to measure their similarity,
-focusing on the angle and ignoring the impact of the magnitude of hypervectors, where · denotes the magnitude. Unlike the inner product operation [12] of two vectors that affects magnitude and orientation, the cosine
similarity only depends on the orientation. In most HD
algorithms with non-binary hypervectors, cosine similarity is more often used than inner product. Moreover,
when cos (A, B) is close to 1, this implies an extremely
high level of similarity. For example, cos (A, B) = 1 indicates two hypervectors A and B are identical. When
they are at right angle, then cos (A, B) = 0, and the two
orthogonal vectors are considered dissimilar.
	

For binary hypervectors with dimensionality d, whose
components are either 0 or 1, normalized Hamming
distance calculated in Eq. (2) is used to measure their
similarity [8]. When the Hamming distance of two hypervectors is close to 0, then they are defined as similar.
For example, Ham (A, B ) = 0 indicates every single bit is
same at each position, and A and B are identical. When
Ham (A, B) = 0.5, A and B are orthogonal or dissimilar.
Ham (A, B) = 1 when A and B are diametrically opposed.
	

Table 2.
Similarity measurements in HD computing.
Measurement

Similar

Orthogonal

Hamming distance

0

0.5

Cosine similarity

1

0

90
d = 100
d = 500
d = 2,500
d = 10,000

80

Probability (%)

70
60
50
40
30
20
10
0

0

0.2
0.4
0.6
0.8
Normalized Hamming Distance

Figure 1. Orthogonality in high dimensions [1, 13, 14].
32 	

1

A·B (1)
A B

cos (A, B) =

d

Ham (A, B) = 1 / 1 A (i) ! B (i) (2)
d i= 1

One thing that should be emphasized is orthogonality in high dimensions. To put it simply, the randomly
generated hypervectors are nearly orthogonal to each
other when the dimensionality is in the thousands.
Take binary hypervectors as an example. Assume X
and Y are chosen independently and uniformly from
{0, 1} d and the probability p of any bit being 1 is 0.5.
Then Ham (X, Y ) is binomially distributed. Fig. 1 shows
the probability density function (PDF) of Ham (X, Y )
for 15,000 pairs of randomly selected binary vectors
with different dimensions d. As d increases, more vectors become orthogonal. Such orthogonality property
is of great interest because orthogonal hypervectors
are dissimilar. Moreover, operations performed on
these orthogonal hypervectors can form associations
or relations.
D. Data Transformation
Three types of operations, add-multiply-permute, are
employed in HD computing. The inverse operation for
multiplication is also referred to as release [14]. The
release operation is also used to denote inverse addition. Each operation processes and generates d-dimensional hypervectors. In the following, we -illustrate

IEEE CIRCUITS AND SYSTEMS MAGAZINE 		

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