THOT uses hub transport to limit long-context dilution
Original title: Topology Hub Optimal Transport: Eliminating Long Context Dilution at Flash Speed
Sparsemax THOT trained at length 128 reports 97.40% zero-shot binding recall at length 262,144.
The paper introduces Topology Hub Optimal Transport, a hub-and-spoke attention substitute meant to keep relevant facts from being diluted as context grows. It gates capacity with simplex sparsemax or a sorting-free thresholded ReLU, uses an annealed Sinkhorn schedule, and implements a rank-(D+2R+1) adjoint in Triton kernels, plus a causal variant claimed to have zero future leakage. On an NVIDIA L4, sparsemax THOT trained at L=128 reached 97.40% zero-shot recall at L=262,144 under pure task loss, versus 3.52% for softmax-gated hub OT. WikiText-103 multi-needle retrieval hit 100.00% at L=65K versus 0.78% for short-trained RoPE FlashAttention.
Unconfirmed: Figures are the authors' reported benchmarks, not an independent evaluation.
- At alpha 0.05, sparsemax THOT reached 98.83% recall at L=262,144.
- Thresholded ReLU matched that 98.83% figure at alpha 0.05.
- Forward plus VJP took 100.1 ms at H=8, D=64, L=262K.
- At L=4,096 the kernel took 1.34 ms versus 4.37 ms for cuDNN FlashAttention.
- Vendors
- NVIDIA
- Products
- FlashAttentionTriton
From the original article
1 min read at arxiv.orgLong-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 \times L$ matrix with a linear-size graph over local windows and $K$ shared hubs balanced by Sinkhorn scaling.
By Dylan Forde · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.