arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.18407cs.LGcs.CL
收藏

扩散语言模型中的多流残差计算

Multi-Stream Residual Computation in Diffusion Language Models

Ekaterina Alimaskina, Suren Kazarian, Gleb Molodtsov, Aleksandr Beznosikov

AI总结:

该研究针对扩散语言模型采用多残差流与自适应路由,使双流的重构困惑度较标准残差连接降低5.71%,揭示了流的路由机制对上下文保留与预测优化的作用。

摘要:

扩散语言模型并行重构掩码令牌,为自回归生成提供了替代方案。然而,它们的Transformer骨干通常通过单一残差流传递可见证据和不断演变的掩码预测。我们为掩码扩散模型配备了贯穿各层的多个残差流以及流之间的自适应路由,随后研究这些流如何支持这些互补作用。在预训练任务中,与标准残差连接相比,双流在验证数据上将重构困惑度降低了5.71%,在外部语料库上平均降低了5.13%。我们观察到,在没有预定义角色的情况下,可见位置和掩码位置会学习到不同的路由模式。因果干预表明,这种区分组织了读写路由,而令牌特定的写入强度在每个角色内仍然重要。基于这些发现,使用角色条件路由训练的模型恢复了添加第二个流所带来的一半验证增益。状态干预解释了额外流的益处:它保留早期令牌表示以供后续重用,同时证据在掩码位置积累。这种机制在更大的模型规模上也会重复,展示了持久流如何在优化预测的同时支持上下文保留。

英文摘要:

Diffusion language models reconstruct masked tokens in parallel, offering an alternative to autoregressive generation. Yet their Transformer backbones typically carry visible evidence and evolving masked predictions through a single residual stream. We equip masked diffusion models with multiple residual streams that persist through depth and adaptive routing between them, then investigate how they support these complementary roles. On the pretraining task, two streams reduce reconstruction perplexity by 5.71% on validation data and 5.13% on average across external corpora compared with standard residual connections. We observe that, without predefined roles, visible and masked positions learn distinct routing patterns. Causal interventions show that this distinction organizes read and write routing, while token-specific write strength remains important within each role. Guided by these findings, a model trained with role-conditioned routing recovers half the validation gain from adding a second stream. State interventions explain the benefit of the additional stream: it preserves early token representations for later reuse while evidence accumulates at masked positions. This mechanism recurs at a larger model scale, showing how persistent streams support context preservation alongside prediction refinement.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑