mlsanityData to 7 Oct 2026

NAR-Former V2: Rethinking Transformer for Universal Neural Network Representation Learning

arXiv 2306.10792 ↗First posted 19 Jun 2023cs.LG cs.CVcited by 6

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  6. 2017Inductive Representation Learning on Large Graphscited by 6,284
  7. 2022A ConvNet for the 2020scited by 3,545
  8. 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,838
  9. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  10. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
  11. 2018Graph Convolutional Neural Networks for Web-Scale Recommender Systemscited by 1,133
  12. 2021Video Swin Transformercited by 1,090
29 more
  1. 2021Going deeper with Image Transformerscited by 759
  2. 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
  3. 2021MetaFormer Is Actually What You Need for Visioncited by 523
  4. 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
  5. 2017Progressive Neural Architecture Searchcited by 483
  6. 2022MaxViT: Multi-Axis Vision Transformercited by 476
  7. 2020NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Searchcited by 412
  8. 2021Bottleneck Transformers for Visual Recognitioncited by 364
  9. 2019NAS-Bench-101: Towards Reproducible Neural Architecture Searchcited by 340
  10. 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
  11. 2019Learning Deep Transformer Models for Machine Translationcited by 309
  12. 2019BANANAS: Bayesian Optimization with Neural Architectures for Neural Architecture Searchcited by 175
  13. 2018Neural Architecture Optimizationcited by 164
  14. 2018DeepInf: Social Influence Prediction with Deep Learningcited by 128
  15. 2019Neural Predictor for Neural Architecture Searchcited by 116
  16. 2020BRP-NAS: Prediction-based NAS using GCNscited by 109
  17. 2021TransMix: Attend to Mix for Vision Transformerscited by 79
  18. 2020Graph Structure of Neural Networkscited by 67
  19. 2022Next-ViT: Next Generation Vision Transformer for Efficient Deployment in Realistic Industrial Scenarioscited by 65
  20. 2020Computing the Testing Error without a Testing Setcited by 54
  21. 2020A Generic Graph-based Neural Architecture Encoding Scheme for Predictor-based NAScited by 53
  22. 2019ReNAS:Relativistic Evaluation of Neural Architecture Searchcited by 35
  23. 2021Contrastive Neural Architecture Search with Neural Architecture Comparatorscited by 33
  24. 2022ParC-Net: Position Aware Circular Convolution with Merits from ConvNets and Transformercited by 28
  25. 2017Peephole: Predicting Network Performance Before Trainingcited by 22
  26. 2022NAR-Former: Neural Architecture Representation Learning towards Holistic Attributes Predictioncited by 12
  27. 2022Fcaformer: Forward Cross Attention in Hybrid Vision Transformercited by 7
  28. 2021Connecting Compression Spaces with Transformer for Approximate Nearest Neighbor Searchcited by 5
  29. 2022ParCNetV2: Oversized Kernel with Enhanced Attentioncited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 2.

6 papers.