potentialpaper

TAN: Topological Attention Networks for Hierarchical Document Understanding

Maryam Fatima

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Transformers have achieved strong performance in natural language processing through self-attention mechanisms, yet their quadratic complexity presents challenges for scalability to long documents and hierarchical structures. We introduce Topological Attention Networks (TAN), an architecture that integrates topological data analysis into the attention mechanism to capture multi-scale structural patterns in text. TAN employs a locality-sensitive hashing (LSH) scheme guided by topological features to reduce attention complexity while preserving structural relationships in documents. Our approach computes k-nearest neighbor graphs in embedding space and aggregates features through learnable topological encoders, enabling efficient processing of documents with complex structures. We provide theoretical analysis showing improved complexity bounds and evaluate TAN on diverse benchmarks, including GoEmotions (emotion classification) and LEDGAR (legal document categorization). Experiments demonstrate that TAN achieves 64.79% F1-macro score on GoEmotions, significantly outperforming XLNet (51.92%), DistilBERT (49.29%), and DeBERTa-v3 (48.98%) with statistical significance (p < 0.001), while maintaining O(n log n) computational complexity compared to O(n²) for standard attention mechanisms.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…