Solving One Problem with Another: Linear-Cost Diffusion for Long-Context Language Modeling
Abstract
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.
Additional Features