atlas

Research map / Graph learning / GNN architectures

NN-Former: Rethinking Graph Structure in Neural Architecture Representation

CVPR 2025 · Graph learning › GNN architectures · approach: Simple and scalable GNNs · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes NN-Former, a transformer predictor for neural architecture DAGs whose attention and feed-forward layers inject adjacency and sibling topology, evaluated on accuracy (NAS-Bench-101/201) and latency (NNLQ) prediction.

Problem

Neural predictors for accuracy and latency must represent DAG architectures; GNNs lack expressiveness and global-attention transformers generalize poorly as architecture depth grows.

Approach

Adjacency-Sibling Multihead Attention applies four topology masks (forward adjacency, backward adjacency, shared-parent siblings, shared-child siblings) across heads, and a Bidirectional Graph Isomorphism FFN concatenates forward and backward graph convolutions, removing the need for position encoding.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use NN-Former instead of the strongest listed baselineneural architecture accuracy prediction · NAS-Bench-101, 0.02% trainingKendall’s Tau: 0.666 -> 0.709Helped
use NN-Former instead of NAR-Former V2neural architecture accuracy prediction · NAS-Bench-201, 1% trainingKendall’s Tau: 0.752 -> 0.804Helped
use NN-Former instead of NAR-Formerneural architecture accuracy prediction · NAS-Bench-201, 10% trainingKendall’s Tau: 0.901 -> 0.890Hurt
use NN-Former instead of NAR-Former V2latency prediction · NNLQ, out-of-domain averageMAPE: 10.55 / 9.13 -> 8.39 / 7.96Helped
use NN-Former instead of NAR-Former V2latency prediction · NNLQ, out-of-domain averageAcc(10%): 62.70 / 67.40 -> 74.31 / 75.47Helped
use NN-Former instead of NAR-Former V2latency prediction · NNLQ, in-domain averageMAPE: 3.07 / 3.00 -> 2.85 / 2.65Helped
replace global attention with ASMA attention masks (ablation)NN-Former latency predictor · NNLQ, NAS-Bench-201 out-of-domainAcc(10%): 58.45% -> 69.90%Helped
add ASMA while retaining vanilla FFN (ablation)NN-Former accuracy predictor · NAS-Bench-101, 0.04% trainingKendall’s Tau: 0.4598 -> 0.6538Helped
add BGIFFN while retaining global attention (ablation)NN-Former accuracy predictor · NAS-Bench-101, 0.04% trainingKendall’s Tau: 0.4598 -> 0.7656Helped
add NAR positional encoding (ablation)NN-Former accuracy predictor with ASMA · NAS-Bench-101, 0.04% trainingKendall’s Tau: 0.7654 -> 0.7449Hurt
add Laplacian positional encoding (ablation)NN-Former accuracy predictor with ASMA · NAS-Bench-101, 0.04% trainingKendall’s Tau: 0.7654 -> 0.7063Hurt
replace elementwise addition with Hadamard product in BGIFFN (ablation)NN-Former accuracy predictor · NAS-Bench-101, 0.04% trainingKendall’s Tau: 0.7654 -> 0.7076Hurt

Surprising findings

Limitations

Experimental setup

Datasets: NAS-Bench-101 NAS-Bench-201 NNLQ Cora ogbg-code2

Benchmarks: NAS-Bench-101 NAS-Bench-201 NNLQ

Metrics: Kendall's Tau MAPE Acc(10%)

Baselines: ReNAS NAO NP GATES GMAE-NAS Graphormer TNASP NAR-Former PINAT GraphTrans NAR-Former V2 NNLP

Builds on: NAR-Former V2 Graph Convolutional Network Graph Attention Network DAG Transformer TNASP

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy