NAR-Former: Neural Architecture Representation Learning Towards Holistic Attributes Prediction
Yun Yi, Haokui Zhang, Wenze Hu, Nannan Wang, Xiaoyu Wang
摘要
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 architecture consistency loss, which brings more benefits with less augmentation samples compared with previous random augmentation strategies. Experiment results on NAS-Bench-101, NAS-Bench-201, DARTS search space and NNLQP show that our proposed framework can be used to predict the aforementioned latency and accuracy attributes of both cell architectures and whole deep neural networks, and achieves promising performance. Code is available at https://github.com/yuny220/NAR-Former .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- CARL: Causality-Guided Architecture Representation Learning for an Interpretable Performance Predictor 引用了 NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Search
- CARL: Causality-Guided Architecture Representation Learning for an Interpretable Performance Predictor 引用了 BANANAS: Bayesian Optimization with Neural Architectures for Neural Architecture Search
- NN-Former: Rethinking Graph Structure in Neural Architecture Representation 引用了 NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Search
- NN-Former: Rethinking Graph Structure in Neural Architecture Representation 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- NN-Former: Rethinking Graph Structure in Neural Architecture Representation 引用了 BANANAS: Bayesian Optimization with Neural Architectures for Neural Architecture Search
- NN-Former: Rethinking Graph Structure in Neural Architecture Representation 引用了 Once-for-All: Train One Network and Specialize it for Efficient Deployment
- NN-Former: Rethinking Graph Structure in Neural Architecture Representation 引用了 NAR-Former V2: Rethinking Transformer for Universal Neural Network Representation Learning
- HyperNAS: Enhancing Architecture Representation for NAS Predictor via Hypernetwork 引用了 NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Search
- HyperNAS: Enhancing Architecture Representation for NAS Predictor via Hypernetwork 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- HyperNAS: Enhancing Architecture Representation for NAS Predictor via Hypernetwork 引用了 BANANAS: Bayesian Optimization with Neural Architectures for Neural Architecture Search
- BANANAS: Bayesian Optimization with Neural Architectures for Neural Architecture Search 引用了 NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Search
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- NAR-Former V2: Rethinking Transformer for Universal Neural Network Representation Learning 引用了 NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Search
- NAR-Former V2: Rethinking Transformer for Universal Neural Network Representation Learning 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- NAR-Former V2: Rethinking Transformer for Universal Neural Network Representation Learning 引用了 BANANAS: Bayesian Optimization with Neural Architectures for Neural Architecture Search
- NAR-Former V2: Rethinking Transformer for Universal Neural Network Representation Learning 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Learning to Flow from Generative Pretext Tasks for Neural Architecture Encoding 引用了 NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Search
- Learning to Flow from Generative Pretext Tasks for Neural Architecture Encoding 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Learning to Flow from Generative Pretext Tasks for Neural Architecture Encoding 引用了 NAR-Former V2: Rethinking Transformer for Universal Neural Network Representation Learning
引用它的顶会 Paper7
- NAR-Former V2: Rethinking Transformer for Universal Neural Network Representation LearningYun Yi, Haokui Zhang, Rong Xiao, Nannan Wang 等NeurIPS 2023 · 8 次引用
- Learning to Flow from Generative Pretext Tasks for Neural Architecture EncodingSunwoo Kim, Hyunjin Hwang, Kijung ShinNeurIPS 2025 · 2 次引用
- CARL: Causality-Guided Architecture Representation Learning for an Interpretable Performance PredictorHan Ji, Yuqi Feng, Jiahao Fan, Yanan SunICCV 2025 · 1 次引用
- HyperNAS: Enhancing Architecture Representation for NAS Predictor via HypernetworkJindi Lv, Yuhao Zhou, Yuxin Tian, Qing Ye 等CVPR 2026 · 1 次引用
- NN-Former: Rethinking Graph Structure in Neural Architecture RepresentationRuihan Xu, Haokui Zhang, Yaowei Wang, Wei Zeng 等CVPR 2025
它引用的 Paper14
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Once-for-All: Train One Network and Specialize it for Efficient DeploymentHan Cai, Chuang Gan, Tianzhe Wang, Zhekai Zhang 等ICLR 2020 · 1,522 次引用
- NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture SearchXuanyi Dong, Yi YangICLR 2020 · 825 次引用
- BANANAS: Bayesian Optimization with Neural Architectures for Neural Architecture SearchColin White, Willie Neiswanger, Yash SavaniAAAI 2021 · 401 次引用
相关 Paper
- BRP-NAS: Prediction-based NAS using GCNsLukasz Dudziak, Thomas Chau, Mohamed S. Abdelfattah, Royson Lee 等NeurIPS 2020 · 233 次引用
- FlowerFormer: Empowering Neural Architecture Encoding Using a Flow-Aware Graph TransformerDongyeong Hwang, Hyunju Kim, Sunwoo Kim, Kijung ShinCVPR 2024
- PINAT: A Permutation INvariance Augmented Transformer for NAS PredictorShun Lu, Yu Hu, Peihao Wang, Yan Han 等AAAI 2023 · 31 次引用
- ReNAS: Relativistic Evaluation of Neural Architecture SearchYixing Xu, Yunhe Wang, Kai Han, Yehui Tang 等CVPR 2021
- Encodings for Prediction-based Neural Architecture SearchYash Akhauri, Mohamed S. AbdelfattahICML 2024 · 8 次引用
