atlas

Research map / Graph learning / GNN architectures

Primphormer: Efficient Graph Transformers with Primal Representations

ICML 2025 · Graph learning › GNN architectures · approach: Substructure-aware GNN expressivity

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 Primphormer, a graph Transformer that replaces pairwise self-attention with a primal-dual (asymmetric kernel) primal representation using a virtual-node projection, giving linear-in-N complexity while retaining universal approximation and 1-WL expressivity.

Problem

Graph Transformers have quadratic complexity in the number of nodes due to pairwise attention, limiting scalability to large graphs; existing linear/sparse alternatives add overhead or lose efficiency on dense graphs.

Approach

Interprets graph self-attention as a dual representation of an asymmetric kernel machine, derives a primal form via a virtual-node global projection and a primal-dual objective, and enforces it by adding a loss driving the primal objective to zero, so attention is computed without pairwise scores.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace the GPS attention with PrimphormerGPS · PascalVOC-SPF1: 0.3975 ± 0.0037 -> 0.4602 ± 0.0077Helped
Replace the GPS attention with PrimphormerGPS · Peptides-FuncAP: 0.6527 ± 0.0043 -> 0.6612 ± 0.0065Helped
Replace the GPS attention with PrimphormerGPS · CIFAR10accuracy: 74.69 ± 0.125 -> 74.13 ± 0.241Hurt
Replace the GPS attention with PrimphormerGPS · MalNet-Tinyaccuracy: 94.02 ± 0.209 -> 93.62 ± 0.242Hurt
Replace the GPS attention with PrimphormerGPS · ogbn-productsaccuracy: 74.67 ± 0.179 -> 74.89 ± 0.281Helped
Replace the GPS attention with PrimphormerGPS · CIFAR10, MalNet-Tiny, PascalVOC-SP, Peptides-Func, ogbn-productsrunning timeMixed

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10 MNIST PascalVOC-SP COCO-SP PATTERN CLUSTER MalNet-Tiny Peptides-Func Peptides-Struct PCQM-Contact ogbn-products BREC

Benchmarks: LRGB CIFAR10 MNIST PATTERN CLUSTER MalNet-Tiny ogbn-products BREC

Metrics: F1 AP MAE MRR accuracy running time per epoch peak memory (GB)

Baselines: GraphGPS Exphormer BigBird Performer Primal-Atten Graphormer APE-GT SAN EGT GatedGCN

Builds on: GraphGPS Primal-Atten (Chen et al. 2023) Exphormer asymmetric kernel trick (Lin et al. 2022) least squares SVM variational principle (Suykens 2016)

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