IEEE Computational Intelligence Magazine - August 2021 - 36

operations in the neural architecture. The graph encoding scheme
represents the neural architecture by its adjacency matrix and the
one-hot encoding of each node.
In this paper, a new vector encoding scheme denoted as position-aware
path-based encoding is proposed. This encoding
scheme can identify different graphs more efficiently and recognize
the position of operations in the neural architecture. A graph
neural network is adopted to embed the neural architectures into
feature space. Since the graph encoding scheme cannot identify
isomorphic graphs [8], position-aware path-based encoding is
used to filter out isomorphic graphs. It is also utilized to calculate
the GED of different neural architectures.
C. Unsupervised Representation Learning for NAS
Unsupervised representation learning methods fall into two categories:
generative and discriminative [9]. The learning objective
of existing generative unsupervised learning methods for NAS,
arc2vec [8], and NASGEM [14] is to reconstruct the input neural
architectures using an encoder-decoder network, which has
little relevance to NAS. Moreover, arc2vec [8] adopts the variational
autoencoder [37] to embed the input neural architectures
into a high dimensional continuous feature space, and the feature
space is assumed to follow Gaussian distribution. Since there is
no guarantee that the real underlying distribution of the feature
space is Gaussian, this assumption may harm the representation
of neural architectures. NASGEM [14] adds a similarity loss to
improve the feature representation. However, the similarity loss
only considers the adjacency matrix of the input neural architecture
and ignores the node operations, resulting in the failure to
identify isomorphic graphs.
In this paper, two self-supervised learning methods are proposed
for NAS. The first one is inspired by unsupervised graph
representation learning. GMNs [38] adopts the graph neural network
as building blocks and presents a cross-graph attentionbased
mechanism to predict the similarity of the two input
graphs. SimGNN [39] takes two graphs as input, embeds the
graph and each node of the graph into the feature space using a
graph convolutional neural network, and then uses graph feature
similarity and node feature similarity to predict the similarity of
the input graphs. UGRAPHEMB [40] takes two graphs as input,
adopts the graph isomorphism network (GIN) [41] to embed the
input graphs into feature space, and utilizes a multi-scale node
attention mechanism to predict the similarity of the input graphs.
Our work is similar to UGRAPHEMB, but it designs a new
neural network model without using complex multi-scale node
attention and applies unsupervised learning to the field of neural
architecture representation learning.
The second method is inspired by contrastive learning for
image classification. The contrastive learning used in image classification
forces the image and its transformations to be similar in
the feature space [9], [10], [42]. Since there is no guarantee that a
neural architecture and its transformed form will have the same
performance metrics, it is not reasonable to directly apply contrastive
learning for image classification to the NAS domain. This
paper proposes
a new contrastive learning algorithm,
36 IEEE COMPUTATIONAL INTELLIGENCE MAGAZINE | AUGUST 2021
self-supervised central contrastive learning, to learn meaningful
representation of neural architectures. To the best of our knowledge,
this is the first study applying contrastive learning to the
NAS domain.
III. Methodology
To enhance the prediction performance of neural predictors, two
self-supervised representation learning methods are proposed to
improve the feature representation ability of the neural predictors.
A new neural architecture encoding scheme is designed to calculate
the GED of graphs in Section III-B. The self-supervised
regression learning that utilizes a carefully designed model with
two independent identical graph neural network branches to predict
the GED of neural architectures is discussed in Section III-C.
The self-supervised central contrastive learning is introduced in
Section III-D. The utilization of the pre-trained neural predictors
for the downstream search strategies is elaborated in Section III-E.
A. Problem Formulation
In a pre-defined search space S, a neural architecture s can be represented
as a DAG
sVEs S! ,
=^h
where Vvi iH:1
in s, Ev , v ,ij H1
= " , =
=
lated as
^h
yf ,s=t
(2)
where f is the neural predictor, and it takes a neural architecture s
as input and predicts the performance metric yt of s.
B. Position-Aware Path-Based Encoding
Since the proposed self-supervised learning methods utilize GED
to measure the similarity of different neural architectures, it is critical
to calculate GED effectively. This paper presents a new vector
encoding scheme, position-aware path-based encoding, which
improves path-based encoding [3] by recording the position of
each operation in the path. The scheme consists of two steps: generating
the position-aware path-based encoding vectors for the
input-to-output paths of the neural architecture, and concatenating
the vectors of all of the paths.
As shown in Eq. 1, a neural architecture can be defined by
DAG with its nodes representing the operations in the neural
architecture. DAG consists of an input node, some operation
nodes, and an output node connected in sequence. The adjacency
matrix of DAG is used to represent the connections of the different
nodes. Since each node in DAG has a fixed position, each
node is assigned with a unique index, which implies that each
operation associated with the node has a unique index.
NASBench-101 [17] is a widely used NAS search space. It
contains three different operations: convolution
33 ,#
,,
(1)
is the set of nodes representing operations
= " ij ,: is the set of edges describing the connection
of operations, and H is the number of nodes.
The prediction process of neural predictor can be formu

IEEE Computational Intelligence Magazine - August 2021

Table of Contents for the Digital Edition of IEEE Computational Intelligence Magazine - August 2021

Contents
IEEE Computational Intelligence Magazine - August 2021 - Cover1
IEEE Computational Intelligence Magazine - August 2021 - Cover2
IEEE Computational Intelligence Magazine - August 2021 - Contents
IEEE Computational Intelligence Magazine - August 2021 - 2
IEEE Computational Intelligence Magazine - August 2021 - 3
IEEE Computational Intelligence Magazine - August 2021 - 4
IEEE Computational Intelligence Magazine - August 2021 - 5
IEEE Computational Intelligence Magazine - August 2021 - 6
IEEE Computational Intelligence Magazine - August 2021 - 7
IEEE Computational Intelligence Magazine - August 2021 - 8
IEEE Computational Intelligence Magazine - August 2021 - 9
IEEE Computational Intelligence Magazine - August 2021 - 10
IEEE Computational Intelligence Magazine - August 2021 - 11
IEEE Computational Intelligence Magazine - August 2021 - 12
IEEE Computational Intelligence Magazine - August 2021 - 13
IEEE Computational Intelligence Magazine - August 2021 - 14
IEEE Computational Intelligence Magazine - August 2021 - 15
IEEE Computational Intelligence Magazine - August 2021 - 16
IEEE Computational Intelligence Magazine - August 2021 - 17
IEEE Computational Intelligence Magazine - August 2021 - 18
IEEE Computational Intelligence Magazine - August 2021 - 19
IEEE Computational Intelligence Magazine - August 2021 - 20
IEEE Computational Intelligence Magazine - August 2021 - 21
IEEE Computational Intelligence Magazine - August 2021 - 22
IEEE Computational Intelligence Magazine - August 2021 - 23
IEEE Computational Intelligence Magazine - August 2021 - 24
IEEE Computational Intelligence Magazine - August 2021 - 25
IEEE Computational Intelligence Magazine - August 2021 - 26
IEEE Computational Intelligence Magazine - August 2021 - 27
IEEE Computational Intelligence Magazine - August 2021 - 28
IEEE Computational Intelligence Magazine - August 2021 - 29
IEEE Computational Intelligence Magazine - August 2021 - 30
IEEE Computational Intelligence Magazine - August 2021 - 31
IEEE Computational Intelligence Magazine - August 2021 - 32
IEEE Computational Intelligence Magazine - August 2021 - 33
IEEE Computational Intelligence Magazine - August 2021 - 34
IEEE Computational Intelligence Magazine - August 2021 - 35
IEEE Computational Intelligence Magazine - August 2021 - 36
IEEE Computational Intelligence Magazine - August 2021 - 37
IEEE Computational Intelligence Magazine - August 2021 - 38
IEEE Computational Intelligence Magazine - August 2021 - 39
IEEE Computational Intelligence Magazine - August 2021 - 40
IEEE Computational Intelligence Magazine - August 2021 - 41
IEEE Computational Intelligence Magazine - August 2021 - 42
IEEE Computational Intelligence Magazine - August 2021 - 43
IEEE Computational Intelligence Magazine - August 2021 - 44
IEEE Computational Intelligence Magazine - August 2021 - 45
IEEE Computational Intelligence Magazine - August 2021 - 46
IEEE Computational Intelligence Magazine - August 2021 - 47
IEEE Computational Intelligence Magazine - August 2021 - 48
IEEE Computational Intelligence Magazine - August 2021 - 49
IEEE Computational Intelligence Magazine - August 2021 - 50
IEEE Computational Intelligence Magazine - August 2021 - 51
IEEE Computational Intelligence Magazine - August 2021 - 52
IEEE Computational Intelligence Magazine - August 2021 - 53
IEEE Computational Intelligence Magazine - August 2021 - 54
IEEE Computational Intelligence Magazine - August 2021 - 55
IEEE Computational Intelligence Magazine - August 2021 - 56
IEEE Computational Intelligence Magazine - August 2021 - 57
IEEE Computational Intelligence Magazine - August 2021 - 58
IEEE Computational Intelligence Magazine - August 2021 - 59
IEEE Computational Intelligence Magazine - August 2021 - 60
IEEE Computational Intelligence Magazine - August 2021 - 61
IEEE Computational Intelligence Magazine - August 2021 - 62
IEEE Computational Intelligence Magazine - August 2021 - 63
IEEE Computational Intelligence Magazine - August 2021 - 64
IEEE Computational Intelligence Magazine - August 2021 - 65
IEEE Computational Intelligence Magazine - August 2021 - 66
IEEE Computational Intelligence Magazine - August 2021 - 67
IEEE Computational Intelligence Magazine - August 2021 - 68
IEEE Computational Intelligence Magazine - August 2021 - 69
IEEE Computational Intelligence Magazine - August 2021 - 70
IEEE Computational Intelligence Magazine - August 2021 - 71
IEEE Computational Intelligence Magazine - August 2021 - 72
IEEE Computational Intelligence Magazine - August 2021 - 73
IEEE Computational Intelligence Magazine - August 2021 - 74
IEEE Computational Intelligence Magazine - August 2021 - 75
IEEE Computational Intelligence Magazine - August 2021 - 76
IEEE Computational Intelligence Magazine - August 2021 - 77
IEEE Computational Intelligence Magazine - August 2021 - 78
IEEE Computational Intelligence Magazine - August 2021 - 79
IEEE Computational Intelligence Magazine - August 2021 - 80
IEEE Computational Intelligence Magazine - August 2021 - 81
IEEE Computational Intelligence Magazine - August 2021 - 82
IEEE Computational Intelligence Magazine - August 2021 - 83
IEEE Computational Intelligence Magazine - August 2021 - 84
IEEE Computational Intelligence Magazine - August 2021 - 85
IEEE Computational Intelligence Magazine - August 2021 - 86
IEEE Computational Intelligence Magazine - August 2021 - 87
IEEE Computational Intelligence Magazine - August 2021 - 88
IEEE Computational Intelligence Magazine - August 2021 - 89
IEEE Computational Intelligence Magazine - August 2021 - 90
IEEE Computational Intelligence Magazine - August 2021 - 91
IEEE Computational Intelligence Magazine - August 2021 - 92
IEEE Computational Intelligence Magazine - August 2021 - 93
IEEE Computational Intelligence Magazine - August 2021 - 94
IEEE Computational Intelligence Magazine - August 2021 - 95
IEEE Computational Intelligence Magazine - August 2021 - 96
IEEE Computational Intelligence Magazine - August 2021 - Cover3
IEEE Computational Intelligence Magazine - August 2021 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202311
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202308
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202305
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202302
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202211
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202208
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202205
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202202
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202111
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202108
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202105
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202102
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202011
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202008
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202005
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202002
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201911
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201908
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201905
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201902
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201811
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201808
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201805
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201802
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter12
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall12
https://www.nxtbookmedia.com