Pith. sign in

REVIEW 1 cited by

Linear Transformer Topological Masking with Graph Random Features

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2410.03462 v2 pith:5ARQ32RT submitted 2024-10-04 cs.LG stat.ML

Linear Transformer Topological Masking with Graph Random Features

classification cs.LG stat.ML
keywords graphmaskingtopologicalattentiondatafeatureslinearmathcal
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
read the original abstract

When training transformers on graph-structured data, incorporating information about the underlying topology is crucial for good performance. Topological masking, a type of relative position encoding, achieves this by upweighting or downweighting attention depending on the relationship between the query and keys in a graph. In this paper, we propose to parameterise topological masks as a learnable function of a weighted adjacency matrix -- a novel, flexible approach which incorporates a strong structural inductive bias. By approximating this mask with graph random features (for which we prove the first known concentration bounds), we show how this can be made fully compatible with linear attention, preserving $\mathcal{O}(N)$ time and space complexity with respect to the number of input tokens. The fastest previous alternative was $\mathcal{O}(N \log N)$ and only suitable for specific graphs. Our efficient masking algorithms provide strong performance gains for tasks on image and point cloud data, including with $>30$k nodes.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Global and Local Topology-Aware Attention with Persistent Homology and Euler Biases for Time-Series Forecasting

    cs.LG 2026-05 unverdicted novelty 7.0

    A new attention mechanism adds persistent homology and Euler-based topological structure to time-series models via validation-gated residuals, yielding RMSE reductions of 12.5-47.8% in paired tests on synthetic and re...