UltraLLaDA:将扩散大语言模型的上下文长度扩展至128K
UltraLLaDA: Scaling the Context Length to 128K for Diffusion Large Language Models
AI总结:
本文提出UltraLLaDA,通过修改旋转位置编码扩展并分析掩码策略,在不从头训练的情况下将扩散LLM的上下文窗口扩展至128K,显著提升了长上下文任务的性能。
摘要:
扩散LLM引起了越来越多的关注,近期大量工作强调其在各种下游任务中的巨大潜力;然而,扩散LLM的长上下文行为在很大程度上仍未被探索。我们提出了一项关于后训练技术的案例研究,用于在不从头重新训练的情况下扩展扩散LLM(即LLaDA)的上下文窗口。我们展示了对标准旋转位置编码扩展的简单修改,能够有效适应扩散过程中固有的概率建模,从而实现向更长上下文范围的稳定扩展。我们进一步比较了后训练期间使用的掩码策略,并分析了它们对优化稳定性和长程召回的影响。基于这些见解,我们引入了UltraLLaDA,这是一种具有128K token上下文窗口的扩散LLM。在我们对长上下文任务的实证评估中,它显著优于免训练基线。我们的实验结果突出了特殊的位置扩展作为将扩散LLM扩展到扩展上下文的关键手段,并为寻求通过高效后训练实现128K规模上下文的从业者提供了实用指导。
英文摘要:
Diffusion LLMs have attracted growing interest, with plenty of recent work emphasizing their great potential in various downstream tasks; yet the long-context behavior of diffusion LLMs remains largely uncharted. We present a case study of post-training techniques for extending the context window of diffusion LLMs (i.e., LLaDA) without retraining from scratch. We show that a simple modification to the standard Rotary Positional Embeddings (RoPE) extension effectively accommodates the probabilistic modeling inherent in the diffusion process, enabling stable scaling to longer context ranges. We further compare masking strategies used during post-training and analyze their impact on optimization stability and long-range recall. Instantiating these insights, we introduce UltraLLaDA, a diffusion LLM with a 128K-token context window that, in our empirical evaluation on long-context tasks, significantly outperforms training-free baselines. Our experimental results highlight the special positional extension as a key lever for scaling diffusion LLMs to extended contexts and offer practical guidance for practitioners seeking 128K-scale context via efficient post-training.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。