Topology Hub Optimal Transport: Eliminating Long Context Dilution at Flash Speed
Not on the map. Why?
Abstract (arXiv)
Long-context models use sparse or structured attention to avoid quadratic cost, yet retrieving a small set of relevant facts embedded among hundreds of thousands of distractors degrades as normalization mass disperses with length. Hub-and-spoke optimal transport (OT) replaces the dense L × L matrix with a linear-size graph over local windows and K shared hubs balanced by Sinkhorn scaling. Building on block-wise tail refinement and fixed-support transport topology (arXiv:2605.08123, arXiv:2609.07954), we introduce Topology Hub Optimal Transport (THOT): (1) bounded-support capacity gating via simplex sparsemax (O(Llog L)) or sorting-free token-local thresholded ReLU (O(L)), driving excess distractor mass to zero; (2) a three-sweep 1+2 annealed row-closed Sinkhorn schedule that damps bipartite residuals; (3) an exact rank-(D+2R+1) One-Reference-Tile adjoint in batched split-factor Triton kernels (BF16 Tensor Cores, FP32 potentials); and (4) a chunked exclusive-prefix causal variant with verified zero future leakage. On NVIDIA L4, sparsemax THOT trained at L=128 reaches 97.40% zero-shot recall of fixed bindings at L=262,144 under pure task loss (α=0) and 98.83% at α=0.05 (matched by O(L) thresholded ReLU at α=0.05, vs. 80.60% at α=0), while softmax-gated hub OT drops to 3.52%. In bidirectional operator microbenchmarks, our kernel runs forward+VJP in 100.1 ms at H=8, D=64, L=262K (2.2x faster with 4.0x smaller compiler temporaries than latent softmax) and 1.34 ms vs. 4.37 ms for cuDNN FlashAttention at L=4,096; multi-layer LM runs use the unfused path. Zero-shot WikiText-103 multi-needle retrieval hits 100.00% (128/128 queries at L=65K) vs. 0.78% for short-trained RoPE FlashAttention, and compact 4-layer WikiText-4K runs show modest causal and masked LM gains.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 37 of its 45 references that are in the map. Submitted 20 Nov 2026, announced 23 Nov 2026.
Builds on
37 of 45 references.
References · 37
- 2017Attention Is All You Needcited by 62,125
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 5,111
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
- 2020Longformer: The Long-Document Transformercited by 3,606
- 2016Pointer Sentinel Mixture Modelscited by 3,344
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
- 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,392
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,130
- 2020Big Bird: Transformers for Longer Sequencescited by 1,729
25 more
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
- 2019SuperGlue: Learning Feature Matching with Graph Neural Networkscited by 1,496
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,170
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,166
- 2023Vision Transformers Need Registerscited by 969
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 672
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 611
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 571
- 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 354
- 2020Sparse Sinkhorn Attentioncited by 259
- 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 236
- 2019Adaptively Sparse Transformerscited by 159
- 2021Sinkformers: Transformers with Doubly Stochastic Attentioncited by 150
- 2017Smooth and Sparse Optimal Transportcited by 85
- 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 85
- 2024Softmax is not Enough (for Sharp Size Generalisation)cited by 60
- 2018Differential Properties of Sinkhorn Approximation for Learning with Wasserstein Distancecited by 58
- 2023Replacing softmax with ReLU in Vision Transformerscited by 52
- 2022A Unified Framework for Implicit Sinkhorn Differentiationcited by 29
- 2025Long-Context Generalization with Sparse Attentioncited by 26
- 2022Rethinking Initialization of the Sinkhorn Algorithmcited by 15
- 2026FlashSinkhorn: IO-Aware Entropic Optimal Transport on GPUcited by 12
- 2025LOTFormer: Doubly-Stochastic Linear Attention via Low-Rank Optimal Transportcited by 5
- 2026Block-Wise Differentiable Sinkhorn Attention: Tail-Refinement Gradients with a Gap-Aware Dustbin Bridgecited by 1
- 2026Support Topology and Gradient Mixing in Sinkhorn Layerscited by 1
Built on by
Not cited yet.