LaLanD:结合扩散与 RWKV-7 线性注意力的长上下文语言模型
Solving One Problem with Another: Linear-Cost Diffusion for Long-Context Language Modeling
用 RWKV-7 的线性注意力改造扩散语言模型,1.3B 参数就能在 LongBench 阅读任务上压过 DiffuMamba,长文本困惑度衰减也远好于对手。做长上下文建模或研究扩散 LM 的开发者值得细看它的门控融合和噪声调制设计。
一项新研究提出 LaLanD(Linear Attention Language Diffusion),将吸收掩码扩散与双向 RWKV-7 循环结构结合,用于长上下文语言建模。每轮从已见上下文和已揭示的答案 token 中预测未解析 token,正向与反向独立参数化的 RWKV-7 流通过依赖 token 和特征的门控融合,并以噪声级调制适配不同去噪阶段。
LaLanD 1.3B 从零开始在 120B DCLM token 上训练,在七个测试语料中的五个上,掩码扩散困惑度低于同等 token 预算下已发表的全注意力 MDLM 和 DiffuMamba。其六任务零样本准确率达 40.11%,与 7.2B 的 B³D-RWKV 相当,高于 DiffuMamba。在 16 个源自 LongBench 的任务中有 14 个领先 DiffuMamba,包括全部七个阅读任务;64K 到 1K 的相对困惑度为 0.901,而 DiffuMamba 为 21.720。
得益于固定大小循环状态,K 轮全画布去噪只需 O(K(H+N)) 的序列混合操作,训练成本也控制在同等预算内。这条线性成本扩散路线说明小参数量模型可以在长文本阅读理解上与更大规模模型竞争。
Solving One Problem with Another: Linear-Cost Diffusion for Long-Context Language Modeling
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.
This report is categorized under AITOP's "Models" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows and US-China foundation model benchmarks and commercialization comparison. Key entities and technical topics under continuous tracking include LaLanD, RWKV-7, diffusion models, long context.
Source attribution: curated from arXiv cs.AI (@Jiaquan Zhang, Yunbo Long, Pengze Li, Zihang Zeng, Xi Chen).