用另一个问题解决一个问题:用于长上下文语言建模的线性成本扩散
Solving One Problem with Another: Linear-Cost Diffusion for Long-Context Language Modeling
AI总结:
该研究提出 LaLanD 模型,结合吸收掩码扩散与双向 RWKV-7 循环,在长上下文语言建模任务上,多项指标优于 MDLM、DiffuMamba 等模型,实现了线性成本的高效长上下文生成。
摘要:
长上下文生成必须整合远距离证据,同时控制重复 token 预测的成本。我们提出 LaLanD(线性注意力语言扩散),它将吸收掩码扩散与双向 RWKV-7 循环相结合。每一轮从观测上下文和先前揭示的答案 token 中预测未解决的 token。独立参数化的正向和反向 RWKV-7 流通过依赖于 token 和特征的门进行组合。噪声水平调制使融合表示依赖于去噪阶段。该设计在每次传递中整合来自两个方向的可见证据,而不断演化的答案画布在各轮中提供更新的条件。在相同的 DCLM token 预算下,从头开始在 120B DCLM token 上训练的 13 亿参数 LaLanD,在 7 个测试语料库中的 5 个上实现了比已发表的全注意力 MDLM 和 DiffuMamba 结果更低的掩码扩散困惑度估计。其 6 任务零样本准确率达到 40.11%,与 72 亿参数 RWKV 预训练的 B³D-RWKV 相当且优于 DiffuMamba。LaLanD 在 16 个 LongBench 衍生任务中的 14 个上领先 DiffuMamba,包括全部 7 个阅读任务,并且保持 64K 到 1K 的相对困惑度为 0.901,而 DiffuMamba 为 21.720。凭借固定大小的循环状态,其 K 次全画布去噪轮次需要 O(K(H+N)) 的序列混合操作。
英文摘要:
Long-context generation must integrate distant evidence while controlling the cost of repeated token prediction. We present LaLanD (Linear Attention Language Diffusion), which combines absorbing-mask diffusion with bidirectional RWKV-7 recurrence. Each round predicts unresolved tokens from the observed context and previously revealed answer tokens. Independently parameterized forward and reverse RWKV-7 streams are combined by a token- and feature-dependent gate. Noise-level modulation conditions the fused representation on the denoising stage. This design integrates visible evidence from both directions within each pass, while the evolving answer canvas supplies updated conditioning across rounds. LaLanD 1.3B, trained from scratch on 120B DCLM tokens, achieves lower masked-diffusion perplexity estimates on five of seven test corpora than published full-attention MDLM and DiffuMamba results at the same DCLM token budget. Its six-task zero-shot accuracy reaches 40.11%, competitive with the 7.2B RWKV-pretrained B$^3$D-RWKV and above DiffuMamba. LaLanD also leads DiffuMamba on 14 of 16 LongBench-derived tasks, including all seven reading tasks, and preserves a 64K-to-1K relative perplexity of 0.901 versus 21.720. With fixed-size recurrent states, its $K$ full-canvas denoising rounds require $O(K(H+N))$ sequence-mixing operations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。