atlas

Research map / Graph learning / GNN architectures

Linear Transformer Topological Masking with Graph Random Features

ICLR 2025 · Graph learning › GNN architectures · approach: Expressive equivariant message passing · 0 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 graph-random-feature (GRF) estimates of learnable power-series graph node kernel masks, giving O(N) topological masking for linear transformers with new concentration bounds, tested on ViT image classification and HD-VPD point-cloud dynamics.

Problem

Topological masking of transformer attention on general graphs is costly: exact masks need O(N^2) time, and prior subquadratic methods are limited to restricted graphs (grids, trees) or O(N log N) time, so efficient low-rank masking with flexible functions on general graphs was out of reach.

Approach

Parameterise the attention mask as a learnable power series in a weighted adjacency matrix (a graph node kernel), and approximate its factorised feature map with sparse Monte Carlo graph random features from random walks, proving exponential concentration and O(1) feature sparsity so masked linear attention runs in O(N).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add GRF topological masking to unmasked linear attentionViT · ImageNet testaccuracy: 0.693 -> 0.730Helped
Add GRF topological masking to unmasked linear attentionViT · iNaturalist2021 testaccuracy: 0.667 -> 0.689Helped
Add GRF topological masking to unmasked linear attentionViT · Places365 (Small) testaccuracy: 0.543 -> 0.548Helped
Add GRF topological masking to softmax attentionViViT · Kinetics 400 testaccuracy: 0.754 -> 0.758Helped
Increase the number of random walkers (ablation)GRF-masked ViT · ImageNet testaccuracyHelped
Remove random-walk probability and edge-weight reweighting (ablation)GRF-masked ViT · ImageNet testaccuracy: 0.730 -> 0.689Hurt
Replace the adjacency-function mask with fully learnable dense graph features (ablation)GRF-masked ViT · ImageNet testaccuracy: 0.730 -> 0.696Hurt
Replace message passing with GRF-masked linear attentionInterlacer · HD-VPD particle dynamicsimage SSIMHelped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet iNaturalist2021 Places365 Kinetics 400 HD-VPD robotics dataset

Benchmarks: ImageNet iNaturalist2021 Places365 (Small) Kinetics 400 HD-VPD SSIM rollouts

Metrics: test accuracy SSIM FLOPs

Baselines: Unmasked softmax Toeplitz-masked linear M_alpha-masked linear (exact) Unmasked linear Ad-hoc random walk kernel Fully learnable features Message passing Interlacer Vanilla transformer

Builds on: Toeplitz masking (stochastic position encoding / FFT masks) Graphormer Performer Linear transformers (elu+1) Interlacer graph attention networks

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