首页 > AI前沿 > Topology Hub Optimal Transport: Eliminating Long Context Dilution at Flash Speed

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

arXiv机器学习 2026-11-21 02:23 5 阅读 查看原文
用户现在需要把给定的新闻正文排版成符合要求的HTML片段,首先看正文是一个长段落?不对,先看内容,首先整体是介绍THOT的,首先有没有可以分小节的?不对,首先原文是一段?不对,等下看内容,首先开头讲背景,然后讲提出的THOT的四个点,然后讲实验结果。哦不对,规则里说长文用h2/h3划分小节,首先第一部分是背景和方法引入,然后是THOT的核心方法点?不对,等下要保留所有内容,不能增删。首先,先处理第一段:开头的背景部分,就是“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...we introduce Topology Hub Optimal Transport (THOT):” 后面是四个点,然后后面是实验结果部分。哦对,应该用h2划分小节?比如第一个h2可以是方法提出?不对,不对,要准确,哦不对,不要自己加小节标题的内容?哦不对不对!规则说保留原文所有信息,不得增删改内容!哦对哦,不能自己加原文没有的标题文字!哦对哦,我刚才差点错了,不能自己加小节标题的内容,因为原文没有那些标题,那怎么办?哦不对,再看规则,长文用h2/h3划分小节,但是不能增删内容,那原文的结构:首先,开头是背景介绍,然后是提出的THOT的四个方法点,然后是实验结果。哦不对,原文的四个点是列表内容对吧?对,(1)(2)(3)(4)那部分用ul li。然后整体,首先,第一段是背景部分?不对,等下原文是一整段?不对,看原文的正文是连续的一段吗?用户给的正文是一个连续的段落?不对,看用户给的正文: 从Long-context models...一直到...modest causal and masked LM gains. 是一整段?那怎么划分?哦不对,再看,首先,前两句是背景,然后接下来是“Building on...we introduce Topology Hub Optimal Transport (THOT): (1)...(2)...(3)...(4)...” 然后接下来是实验结果部分,然后是微基准,然后是零样本检索。哦,对,首先,可以把这些部分用p?不对,不对,规则说每个自然段落用p包裹,长文用h2/h3划分小节,但是不能加原文没有的内容,那h2/h3是划分小节,但是标题必须是原文里的?哦不对,原文里没有小节标题,那我是不是不用h2/h3?不对,再看,哦不对,用户给的原文有没有可以作为小节的?哦,等下,原文的结构: 1. 背景:介绍长上下文模型的问题,以及hub-and-spoke OT的相关工作。 2. 方法提出:在之前工作基础上提出THOT,以及四个核心设计,这部分有四个条目,用列表。 3. 实验结果:包括L4上的实验,双向算子微基准,零样本检索等。 但是不能加原文没有的标题文字,那怎么办?哦不对,是不是我理解错了?规则里的h2/h3是划分小节,但是如果没有原文的小标题,就不用?不对,再看,哦不对,原文是一段,那是不是可以把列表部分做对,然后把句子用strong标重要的?比如THOT是重要的,可以加strong?还有关键的数字?不对,重要句子可用strong。然后列表是(1)到(4),所以用ul,每个li是四个点。然后剩下的部分,首先,前面的背景部分用p?然后方法提出的部分,哦不对,原文的“Building on...we introduce Topology Hub Optimal Transport (THOT):”后面接列表,那这部分怎么放?哦,对,前面背景是第一个p,然后方法提出的引导句,然后列表,然后实验部分的p?等下,不能增删内容,所以: 首先,第一个

放背景的两句:“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):” 然后是列表,所以接下来是:

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);
  • (4) a chunked exclusive-prefix causal variant with verified zero future leakage.
  • 然后接下来是实验结果的p,就是“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%.” 然后下一个p是“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.” 然后最后一个p是“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.” 不对,但是有没有需要用h2/h3的?哦,原文里没有小标题,所以是不是不用?因为规则说长文用h2/h3划分小节,但是如果没有原文的小标题,不能自己加,对吧?对,因为规则说不得增删改内容,所以不能自己加标题文字,所以h2/h3如果原文没有对应的标题,就不用,对吧?然后检查有没有需要strong的地方,比如THOT是核心概念,加strong没问题,还有没有其他重要的?比如关键的性能数字?不用,只要重要句子,这里THOT是重要的术语,加strong没问题。然后列表的四个点都对,没有改内容。然后检查有没有增删内容:所有原文的内容都保留了,对吧?对,背景的两句,然后方法提出的引导句,然后四个列表项,然后三个实验相关的句子,都在。然后有没有文档级标签?没有。然后是不是HTML片段?对。等下,再核对原文: 原文的四个点的内容都对,没有改,比如(1)里的O(L log L)还有O(L),都保留,(2)的three-sweep 1+2,(3)的rank-(D+2R+1),(4)的chunked exclusive-prefix,都对。然后实验部分的所有