atlas

Research map / Architectures and efficiency / Attention and transformers

Graph Convolutions Enrich the Self-Attention in Transformers!

NeurIPS 2024 · Architectures and efficiency › Attention and transformers · approach: Attention head and block redesign · 3 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.

Reinterprets transformer self-attention as a graph filter and proposes GFSA, which adds identity and first/K-th order matrix-polynomial terms (K-th power approximated by a first-order Taylor/finite-difference expansion) to mitigate oversmoothing across NLP, vision, graph, speech and code tasks.

Problem

Deep Transformers suffer from oversmoothing, where token representations converge across layers; standard self-attention acts as a low-pass graph filter that removes high-frequency information.

Approach

Treat the row-normalized attention matrix as a graph shift operator and use a learnable three-term matrix polynomial filter (I, A, and an approximated A^K) so the filter can be low-pass, high-pass or combined, at a cost of only tens to hundreds of extra parameters.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace self-attention with GFSABERT-base · GLUE (Avg)average score: 82.51 to 83.58Helped
Replace self-attention with GFSAALBERT-base · GLUE (Avg)average score: 84.01 to 85.05Helped
Replace self-attention with GFSARoBERTa-base · GLUE (Avg)average score: 85.87 to 86.79Helped
Replace self-attention with GFSAGPT2 · PTB, WikiText-2, WikiText-103perplexity: 18.806 to 18.764Helped
Replace self-attention with GFSADeiT-S, CaiT-S, and Swin-S · ImageNet-1ktop-1 accuracy: +1.63% for 12-layer DeiTHelped
Replace self-attention with GFSAGraphormer · PCQM4M validateMAE: 0.1286 to 0.1193Helped
Replace self-attention with GFSAGraph-ViT · Peptide-funcAP: 0.6919 to 0.6964Helped
Replace self-attention with GFSATransformer · LibriSpeech 100h test-cleanWER: 11.02 to 10.30Helped
Replace self-attention with GFSARoBERTa · Devignaccuracy: 62.88 to 64.39Helped
Use exactly calculated rather than approximated Ā^K (ablation)BERT + GFSA · GLUE (Avg)average score: 83.58 to 83.39Hurt
Vary polynomial order K (ablation)BERT + GFSA · GLUE taskstask scoresMixed
Vary polynomial order K (ablation)GPT2 + GFSA · PTB, WikiText-2, WikiText-103perplexityMixed

Surprising findings

Limitations

Experimental setup

Datasets: GLUE Penn Treebank WikiText-2 WikiText-103 ImageNet-1k LRGB Benchmarking GNNs (ZINC, MNIST, CIFAR10) OGB (ogbg-molhiv, ogbg-moltox21) PCQM4M LibriSpeech Devign

Benchmarks: GLUE WikiText-2 WikiText-103 Penn Treebank ImageNet-1k ZINC PCQM4M Peptide-func Peptide-struct MNIST CIFAR10 ogbg-molhiv

Metrics: accuracy Matthews correlation perplexity top-1 accuracy MAE AP ROCAUC word error rate

Baselines: ContraNorm AttnScale FeatScale CaiT Swin Branchformer

Builds on: ContraNorm GPR-GNN ChebNet GCN Graphormer

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