NAR-Former: Neural Architecture Representation Learning towards Holistic Attributes Prediction
Yun Yi, Haokui Zhang, Wenze Hu, Nannan Wang, Xiaoyu Wang

TL;DR
NAR-Former introduces a transformer-based model that encodes neural network architectures to predict their attributes like accuracy and latency without full training, enabling efficient neural architecture evaluation.
Contribution
The paper presents a novel neural architecture representation learning method using a tokenizer and multi-stage fusion transformer for holistic attribute prediction.
Findings
Accurately predicts accuracy and latency of neural architectures.
Outperforms previous methods on NAS benchmarks.
Effective with fewer augmentation samples.
Abstract
With the wide and deep adoption of deep learning models in real applications, there is an increasing need to model and learn the representations of the neural networks themselves. These models can be used to estimate attributes of different neural network architectures such as the accuracy and latency, without running the actual training or inference tasks. In this paper, we propose a neural architecture representation model that can be used to estimate these attributes holistically. Specifically, we first propose a simple and effective tokenizer to encode both the operation and topology information of a neural network into a single sequence. Then, we design a multi-stage fusion transformer to build a compact vector representation from the converted sequence. For efficient model training, we further propose an information flow consistency augmentation and correspondingly design an…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Neural Network Applications · Adversarial Robustness in Machine Learning · Machine Learning in Materials Science
MethodsDifferentiable Architecture Search
