TRIMS: 用于扩散语言模型的轨迹排序指令掩码监督
TRIMS: Trajectory-Ranked Instruction Masked Supervision for Diffusion Language Models
AI总结:
TRIMS通过轨迹指导的监督微调框架提升扩散语言模型的生成效率与准确性,实验表明其在数学和编程基准上优于传统方法,且训练成本更低。
摘要:
扩散语言模型(DLMs)通过并行解码实现低延迟生成,但其实际效率依赖于解码轨迹。标准训练未提供显式令牌揭示顺序监督,导致训练与推理不匹配。本文提出TRIMS,一种简单的轨迹引导监督微调框架,通过轻量级信号指导轨迹感知的掩码策略,使模型学习更有效的解码顺序。实验表明,TRIMS在LLaDA和Dream上显著改进了准确性与并行性的权衡,且在训练成本显著低于传统蒸馏方法时仍能获得竞争力的性能。进一步分析显示,TRIMS导致更优的解码轨迹,验证了轨迹引导监督对DLMs的有效性。
英文摘要:
Diffusion language models (DLMs) offer a promising path toward low-latency generation through parallel decoding, but their practical efficiency depends heavily on the decoding trajectory. In practice, this advantage often fails to fully materialize because standard training does not provide explicit supervision over token reveal order, creating a train-inference mismatch that leads to suboptimal decoding behavior. We propose Trajectory-Ranked Instruction Masked Supervision (TRIMS), a simple trajectory-guided supervised fine-tuning framework that injects trajectory supervision into standard Masked Diffusion Language Model (MDLM) training with minimal overhead. Instead of relying on costly DLM-based distillation, TRIMS uses lightweight signals from an autoregressive teacher to guide a trajectory-aware masking strategy, encouraging the model to learn more effective decoding orders. Experiments on LLaDA and Dream across math and coding benchmarks show that TRIMS significantly improves the accuracy-parallelism trade-off over both standard MDLM training and train-free acceleration baselines, while achieving competitive performance with prior distillation-based approaches at substantially lower training cost. Further analysis shows that TRIMS leads to better decoding trajectories, validating the effectiveness of trajectory-guided supervision for DLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。