[Paper Review] A Generic Graph-based Neural Architecture Encoding Scheme for Predictor-based NAS
This paper proposes GATES, a graph-based neural architecture encoding scheme that models operations as transformations of propagating information, mimicking actual data flow in neural architectures. By capturing the true computational behavior and naturally handling isomorphic architectures, GATES improves predictor generalization, leading to 551× higher sample efficiency in predictor-based NAS compared to random search and 59× improvement over evolutionary search.
This work proposes a novel Graph-based neural ArchiTecture Encoding Scheme, a.k.a. GATES, to improve the predictor-based neural architecture search. Specifically, different from existing graph-based schemes, GATES models the operations as the transformation of the propagating information, which mimics the actual data processing of neural architecture. GATES is a more reasonable modeling of the neural architectures, and can encode architectures from both the "operation on node" and "operation on edge" cell search spaces consistently. Experimental results on various search spaces confirm GATES's effectiveness in improving the performance predictor. Furthermore, equipped with the improved performance predictor, the sample efficiency of the predictor-based neural architecture search (NAS) flow is boosted. Codes are available at https://github.com/walkerning/aw_nas.
Motivation & Objective
- To address the limitations of existing neural architecture encoding schemes in representing neural architectures accurately.
- To improve the generalization ability of performance predictors in predictor-based neural architecture search (NAS).
- To enable consistent and effective encoding of architectures across both 'operation on node' (OON) and 'operation on edge' (OOE) search spaces.
- To enhance sample efficiency in NAS by leveraging a more representative and semantically meaningful architecture encoder.
- To provide a unified, computation-mimicking encoding scheme that naturally maps isomorphic architectures to identical representations.
Proposed method
- GATES models neural architectures as directed acyclic graphs (DAGs) where input features are propagated along edges, and operations are treated as transformations of these features.
- Each operation (e.g., Conv3x3, MaxPool) is modeled as a learnable transformation applied to the incoming feature tensor, rather than as a node attribute.
- The final output representation is derived from the aggregated features at the output nodes, forming a consistent embedding for the entire cell architecture.
- The encoding process inherently preserves isomorphism, ensuring that structurally equivalent architectures receive identical representations.
- A performance predictor is trained using GATES-encoded architectures, with hinge ranking loss to optimize for accurate relative performance ranking.
- The method is evaluated in both OON and OOE search spaces using random search and evolutionary algorithms as inner search strategies.
Experimental results
Research questions
- RQ1Can a graph-based encoding scheme that models operations as information transformations improve the generalization of performance predictors in NAS?
- RQ2How does GATES compare to sequence-based and conventional graph-based encoders in terms of predictor performance and sample efficiency?
- RQ3Does GATES consistently encode isomorphic architectures to the same representation, improving robustness and generalization?
- RQ4To what extent does using GATES in predictor-based NAS improve sample efficiency compared to baseline search strategies?
- RQ5Can GATES enable effective NAS in large or complex search spaces, such as the ENAS search space, with fewer evaluated architectures?
Key findings
- GATES-powered predictor-based NAS achieved a median of only 400 evaluated architectures before finding the best architecture, compared to 237,000 for evolutionary search and 220,400 for random search.
- The sample efficiency of GATES-powered NAS was 551.0× higher than random search and 59.25× higher than evolutionary algorithm under the same evaluation protocol.
- On the CIFAR-10 dataset, the NAS-discovered architecture using GATES achieved a test error of 2.58%, outperforming other methods with significantly fewer evaluated architectures (800 vs. 1000–27,000).
- When transferred to ImageNet, the GATES-discovered architecture achieved a top-1 error of 24.1% with only 5.6M parameters, demonstrating strong generalization and competitiveness.
- The ablation study confirmed that the sample ratio $ r $ must be carefully tuned, as both too small and too large values degrade performance due to poor exploration or exploitation.
- GATES demonstrated consistent improvements across both OON and OOE search spaces, confirming its generalizability and robustness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.