Back to paper library
Paper notesarXiv 2023TMLR 2024

Where Did the Gap Go?

Where Did the Gap Go?

Original paper

Where Did the Gap Go? Reassessing the Long-Range Graph Benchmark

Paper authors

Jan Tönshoff · Martin Ritzert · Eran Rosenbluth · Martin Grohe

First submitted to arXiv
arXiv:2309.00367
Cite this paper · BibTeX

The citation identifies the linked source version. It cites the original paper and its authors.

@misc{graphlearningwheredidthegapgo2023,
  title = {{Where Did the Gap Go? Reassessing the Long-Range Graph Benchmark}},
  author = {Jan Tönshoff and Martin Ritzert and Eran Rosenbluth and Martin Grohe},
  year = {2023},
  eprint = {2309.00367},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.00367}
}
On this page

The 2022 Long Range Graph Benchmark (LRGB) contains a persuasive table. On long-range peptide datasets, message passing GCN, GINE and GatedGCN all clearly lose to Transformers. Many later Graph Transformer papers use this table as a baseline, usually reusing LRGB's code and reported GNN numbers.

Jan Tönshoff, Eran Rosenbluth and Martin Grohe at RWTH Aachen, together with Martin Ritzert at Göttingen, retune these baselines. They propose no new model; they simply tune the existing ones properly.

On several datasets, the gap in the title disappears.

Defining the Problem

The authors raise three concerns about LRGB.

Hyperparameters. The reported GNN settings were not carefully tuned and cannot represent these models' capabilities.

Feature normalization. PascalVOC-SP and COCO-SP node and edge features have channels differing by orders of magnitude in scale. Feeding these directly into neural networks can produce poorly conditioned activations. Channel-wise normalization is standard in computer vision, yet almost absent in LRGB and later work using it, except CRaWl.

Link-prediction metrics. PCQM-Contact uses mean reciprocal rank (MRR). The paper defines filtered MRR, but the supplied code computes raw MRR.

The first two make GNNs look worse than they are; the third makes results across papers incomparable without checking evaluation settings.

Solving the Problem

Within LRGB's 500,000-parameter budget and predefined ranges, the authors search major GCN, GINE and GatedGCN hyperparameters, including depth and dropout. Positional/structural encoding—none, LapPE or RWSE—is also selected as a hyperparameter.

They reassess GraphGPS the same way, improving it substantially on three datasets too. Both sides receive tuning.

Channel-Wise Normalization

For PascalVOC-SP and COCO-SP, compute each channel's training-set mean μi\mu_i and standard deviation σi\sigma_i, then feed x~i=(xi−μi)/σi\tilde x_i=(x_i-\mu_i)/\sigma_i to the model.

Filtered MRR

For a true edge (h,t)(h, t), rank tt among all candidate (h,x)(h, x) pairs by score, take its reciprocal rank, then average.

A head may have multiple true tails. If another true tail scores higher, it pushes tt down despite the prediction also being correct. Filtered evaluation removes other true tails before ranking.

The authors notice another issue. LRGB scores with a symmetric inner product; a node's self-product is often highest, putting self-loop (h,h)(h, h) first. Self-loops are meaningless here and never correct, so extended filtering removes them too.

Here is an example. A head has two true edges, t1 and t2. The model scores its self-loop 0.95, t1 0.90 and t2 0.80, and two wrong candidates 0.60 and 0.40. In raw mode, t1 and the self-loop push t2 down to third place, and MRR is 0.417; filtering out t1 moves t2 up to second, and MRR is 0.5; removing the self-loop as well puts both true edges first, and MRR is 1.0. The model has not changed at all, yet the number goes from 0.417 to 1.0.

Discussion

Peptide Datasets

Figure 1 of the paper: the left table compares Peptides-func AP and Peptides-struct MAE in three groups—original LRGB, retuned results with green relative improvements, and newer models. On the right, bars compare GatedGCN, GINE and GCN with a linear head, a two-layer MLP head and full tuning; a red line marks the GPS baseline.
Figure 1 from Tönshoff et al., taken from PDF page 2, CC BY 4.0. Subcaptions and the original caption are omitted.

The table has three sections: original LRGB numbers at the top, retuned results in the middle, and newer models below.

ModelPeptides-func AP ↑Peptides-struct MAE ↓
GCN (original LRGB)0.59300.3496
GPS (GraphGPS paper)0.65350.2500
GCN (tuned)0.6860 (+16%)0.2460 (+30%)
GINE (tuned)0.6621 (+20%)0.2473 (+30%)
GatedGCN (tuned)0.6765 (+11%)0.2477 (+26%)
GPS (reassessed)0.65340.2509

All three tuned GNNs beat GPS on both peptide datasets. GCN's Peptides-func 0.6860 matches newer Graph Transformers such as GRIT and Graph ViT; Peptides-struct 0.2460 ties the best result of the time. The authors write that a simple GCN suffices on Peptides-Struct. GPS remains near its original numbers, which they consider its actual performance level.

One Prediction Head

The key hyperparameter turns out to be prediction-head depth.

The right-hand ablation changes LRGB's single linear head to a two-layer MLP, keeping other hyperparameters fixed. Blue is linear, orange two-layer MLP, green full tuning and red the GPS reference. Changing the head already helps Peptides-func substantially; on Peptides-struct, it nearly closes the entire GNN–Graph Transformer gap. GPS barely changes with the head.

The authors suggest the targets depend nonlinearly on global graph information. A linear head after message passing cannot represent that function, while Graph Transformers process global information through deep feedforward networks at every layer and depend less on the final linear head. A deeper prediction head is, they argue, a simpler and cheaper solution.

Superpixel Datasets

ModelPascalVOC-SP F1 ↑COCO-SP F1 ↑
GCN (original LRGB)0.12680.0841
GatedGCN (original LRGB)0.28730.2641
GPS (GraphGPS paper)0.37480.3412
GCN (normalization + tuning)0.2078 (+64%)0.1338 (+59%)
GINE (normalization + tuning)0.2718 (+115%)0.2125 (+59%)
GatedGCN (normalization + tuning)0.3880 (+35%)0.2922 (+11%)
GPS (normalization + tuning)0.4440 (+18%)0.3884 (+13%)

Every model improves substantially. On PascalVOC-SP, GatedGCN reaches 0.3880, above original GPS's 0.3748; GPS itself rises to 0.4440, within roughly one percentage point of CRaWl, then the only normalized model. The authors attribute most of the original GPS–CRaWl gap to GPS consuming unnormalized raw signals.

Ablations show normalization alone accounts for over half each model's improvement, except GatedGCN. GatedGCN's accuracy changes little, but variation across seeds falls sharply.

These two superpixel datasets are the only ones retaining a clear Graph Transformer lead after tuning.

PCQM-Contact

Retuning improves raw MRR by roughly 3 percentage points, erasing GPS's earlier slight lead.

Filtered MRR adds roughly another 3 percentage points for the same predictions. Comparing that with raw-MRR literature values can easily look like a large model improvement. Extended filtering removes self-loops and adds around 10 more percentage points, also changing the ranking: GPS regains a small lead. The authors suspect GPS predictions are particularly penalized by self-loops.

The evaluation choice directly changes model rankings.

Conclusion

This short paper does three things. Basic hyperparameter search erases the peptide gap, with a two-layer prediction head the key. Feature normalization improves all visual-dataset models. A mismatch between PCQM-Contact's evaluation code and definition is identified, and filtered and extended-filtered procedures are provided.

The conclusion leaves an open question. Only two superpixel datasets retain a clear Graph Transformer advantage. Perhaps the other tasks can be solved without long-range interactions, or Graph Transformers have no inherent advantage in exploiting long-range dependencies.

Two years later, Luo et al. at Beihang and Hong Kong Polytechnic University extend this idea to 14 graph-level datasets. Six common techniques let classic GNNs match or beat Graph Transformers.

A baseline table reused by many papers is rewritten by a two-layer prediction head. When you read a comparison table, check how the baseline was set up along with how the new model was designed.