TopoFormer: Topology Meets Attention for Graph Learning
Md Joshem Uddin, Astrit Tola, Cuneyt Gurcan Akcora, Baris Coskunuzer
Abstract
We introduce Topoformer, a lightweight and scalable framework for graph representation learning that encodes topological structure into attention-friendly sequences. At the core of our method is Topo-Scan, a novel module that decomposes a graph into a short, ordered sequence of topological tokens by slicing over node or edge filtrations. These sequences capture multi-scale structural patterns, from local motifs to global organization, and are processed by a Transformer to produce expressive graph-level embeddings. Unlike traditional persistent homology pipelines, Topo-Scan is parallelizable, avoids costly diagram computations, and integrates seamlessly with standard deep learning architectures. We provide theoretical guarantees on the stability of our topological encodings and demonstrate state-of-the-art performance across graph classification and molecular property prediction benchmarks. Our results show that Topoformer matches or exceeds strong GNN and topology-based baselines while offering predictable and efficient compute. This work opens a new path for parallelizable and unifying approaches to graph representation learning that integrate topological inductive biases into attention frameworks.
Create a lesson
Metadata
- Categories
- cs.LG, math.AT
- Journal
- ICLR 2026
- Comments
- 26 pages, 5 figures
Related papers
Hierarchical Graph Metanetworks
Shared title terminologycs.LGIoannis Kalogeropoulos, Giorgos Bouritsas, Yannis Panagakis
Robust Recourse under Causal Graph Ambiguity
Shared title terminologycs.LGMuyan Anna Li, Juliette Sinnott, Mohammad Kohandel et al.
Evacuation Traffic Prediction for Dynamic Transportation Networks over Multiple Hurricanes: A Generalized Graph Learning Approach
Shared title terminologycs.LGMd Nafees Fuad Rafi, Samiul Hasan
Investigating the efficacy of vortex beam speckle patterns for the recognition of atmospheric turbulence and fractional topological charge with a deep learning model
Shared title terminologycs.LGRatikanta Swain, Allarakha Shikder, Naseem Babu et al.
CARROT: Competitive Adaptive Graph Clustering via Semi-Relaxed Optimal Transport
Shared title terminologycs.LGChing Fan Chiang, Jia-Yu Pan, Wen-Chieh Lin
State Space Attention: Learning Context-Dependent Memory Retention
Shared title terminologycs.LGEge Çakar, Cengiz Pehlevan