NAR-Former V2: Rethinking Transformer for Universal Neural Network Representation Learning
Not on the map. Why?
Abstract (arXiv)
As more deep learning models are being applied in real-world applications, there is a growing need for modeling and learning the representations of neural networks themselves. An efficient representation can be used to predict target attributes of networks without the need for actual training and deployment procedures, facilitating efficient network deployment and design. Recently, inspired by the success of Transformer, some Transformer-based representation learning frameworks have been proposed and achieved promising performance in handling cell-structured models. However, graph neural network (GNN) based approaches still dominate the field of learning representation for the entire network. In this paper, we revisit Transformer and compare it with GNN to analyse their different architecture characteristics. We then propose a modified Transformer-based universal neural network representation learning model NAR-Former V2. It can learn efficient representations from both cell-structured networks and entire networks. Specifically, we first take the network as a graph and design a straightforward tokenizer to encode the network into a sequence. Then, we incorporate the inductive representation learning capability of GNN into Transformer, enabling Transformer to generalize better when encountering unseen architecture. Additionally, we introduce a series of simple yet effective modifications to enhance the ability of the Transformer in learning representation from graph structures. Our proposed method surpasses the GNN-based method NNLP by a significant margin in latency estimation on the NNLQP dataset. Furthermore, regarding accuracy prediction on the NASBench101 and NASBench201 datasets, our method achieves highly comparable performance to other state-of-the-art methods.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 41 of its 55 references that are in the map. First posted on arXiv 19 Jun 2023.
Builds on
41 of 55 references.
References · 41
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2022A ConvNet for the 2020scited by 3,545
- 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,838
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
- 2018Graph Convolutional Neural Networks for Web-Scale Recommender Systemscited by 1,133
- 2021Video Swin Transformercited by 1,090
29 more
- 2021Going deeper with Image Transformerscited by 759
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
- 2021MetaFormer Is Actually What You Need for Visioncited by 523
- 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
- 2017Progressive Neural Architecture Searchcited by 483
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
- 2020NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Searchcited by 412
- 2021Bottleneck Transformers for Visual Recognitioncited by 364
- 2019NAS-Bench-101: Towards Reproducible Neural Architecture Searchcited by 340
- 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
- 2019Learning Deep Transformer Models for Machine Translationcited by 309
- 2019BANANAS: Bayesian Optimization with Neural Architectures for Neural Architecture Searchcited by 175
- 2018Neural Architecture Optimizationcited by 164
- 2018DeepInf: Social Influence Prediction with Deep Learningcited by 128
- 2019Neural Predictor for Neural Architecture Searchcited by 116
- 2020BRP-NAS: Prediction-based NAS using GCNscited by 109
- 2021TransMix: Attend to Mix for Vision Transformerscited by 79
- 2020Graph Structure of Neural Networkscited by 67
- 2022Next-ViT: Next Generation Vision Transformer for Efficient Deployment in Realistic Industrial Scenarioscited by 65
- 2020Computing the Testing Error without a Testing Setcited by 54
- 2020A Generic Graph-based Neural Architecture Encoding Scheme for Predictor-based NAScited by 53
- 2019ReNAS:Relativistic Evaluation of Neural Architecture Searchcited by 35
- 2021Contrastive Neural Architecture Search with Neural Architecture Comparatorscited by 33
- 2022ParC-Net: Position Aware Circular Convolution with Merits from ConvNets and Transformercited by 28
- 2017Peephole: Predicting Network Performance Before Trainingcited by 22
- 2022NAR-Former: Neural Architecture Representation Learning towards Holistic Attributes Predictioncited by 12
- 2022Fcaformer: Forward Cross Attention in Hybrid Vision Transformercited by 7
- 2021Connecting Compression Spaces with Transformer for Approximate Nearest Neighbor Searchcited by 5
- 2022ParCNetV2: Oversized Kernel with Enhanced Attentioncited by 4
Built on by
Citing papers per year: 2025: 4; 2026: 2.
6 papers.
- 2025Biologically Plausible Brain Graph Transformercited by 9
- 2025NN-Former: Rethinking Graph Structure in Neural Architecture Representationcited by 2
- 2025Learning to Flow from Generative Pretext Tasks for Neural Architecture Encodingcited by 1
- 2025Language Embedding Meets Dynamic Graph: A New Exploration for Neural Architecture Representation Learningcited by 0
- 2026Node-wise Feature Encoding for Neural Performance Predictioncited by 0
- 2026RiPPLE: Cross-Space Performance Prediction from Early Training for Neural Architecture Searchcited by 0
- 2026RiPPLE: Cross-Space Performance Prediction from Early Training for Neural Architecture Search11 Sep 2026
- 2026Node-wise Feature Encoding for Neural Performance Prediction28 Aug 2026
- 2025Learning to Flow from Generative Pretext Tasks for Neural Architecture Encoding21 Oct 2025
- 2025NN-Former: Rethinking Graph Structure in Neural Architecture Representation1 Jul 2025
- 2025Language Embedding Meets Dynamic Graph: A New Exploration for Neural Architecture Representation Learning9 Jun 2025
- 2025Biologically Plausible Brain Graph Transformer13 Feb 2025