论文多源确认精选

THOT:基于中心辐条最优传输的长上下文注意力稀释消除方法

Topology Hub Optimal Transport: Eliminating Long Context Dilution at Flash Speed

精选理由

一篇硬核架构论文:用最优传输加 hub 结构替代 softmax 注意力,训练时只看 128 长度,推理时直接泛化到 26 万 token 还能保住 97% 以上的召回。内核速度在 4K 长度下比 cuDNN FlashAttention 快 3 倍。做长上下文推理或注意力内核的工程师值得跑一下代码验证。

arXiv 论文 2611.27951 提出 Topology Hub Optimal Transport(THOT),用线性规模的中心辐条图替代稠密 L×L 注意力矩阵,通过局部窗口加 K 个共享中心(hub),并以 Sinkhorn 缩放保持平衡,避免归一化质量随长度分散导致的稀释问题。

正文

方法包含四个组件:simplex sparsemax 容量门控(O(L log L))或无需排序的 token 局部阈值 ReLU(O(L))将无关 token 质量压至零;三扫 1+2 退火 row-closed Sinkhorn 调度;

基于 Triton 内核(BF16 Tensor Cores、FP32 potentials)的 rank-(D+2R+1) One-Reference-Tile 伴随算子;以及带零未来泄漏验证的分块 exclusive-prefix 因果变体。

实验在 NVIDIA L4 上进行:L=128 训练的 sparsemax THOT 在 L=262,144 下零样本达到 97.40%(α=0)和 98.

83%(α=0.05)的固定绑定召回率,而 softmax 门控 hub OT 仅有 3.

52%。内核前向+VJP 在 H=8、D=64、L=262K 下耗时 100.

1 ms,比 latent softmax 快 2.2 倍、编译器临时内存小 4.

0 倍;L=4,096 时 1.

34 ms,对比 cuDNN FlashAttention 的 4.37 ms。

零样本 WikiText-103 多针检索在 L=65K 达到 100.00%(128/128),而短训练 RoPE FlashAttention 仅 0.

78%。

原文 · arXiv cs.LG

Topology Hub Optimal Transport: Eliminating Long Context Dilution at Flash Speed

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 \times 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(L\log 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=262\mathrm{K}$ (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=65\mathrm{K}$) vs. 0.78% for short-trained RoPE FlashAttention, and compact 4-layer WikiText-4K runs show modest causal and masked LM gains.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:THOT、最优传输、FlashAttention、长上下文,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Dylan Forde),经 AITOP 多维评分管线结构化提炼。截至目前,全网已有 10 家独立信源对该事件进行交叉印证与跟进报道(含 Decoder、NVIDIA AI、elvis 等),属于近期高关注度行业信号。