CD4LM:面向扩散语言模型的一致性蒸馏与自适应解码框架
CD4LM: Consistency Distillation and aDaptive Decoding for Diffusion Language Models
CD4LM 提出可组合的扩散语言模型加速框架,核心是离散空间一致性蒸馏(DSCD),在不同掩码状态上训练轨迹无关的学生模型,并搭配轻量级 ConfidenceAdaptive Decoder。在 GSM8K 上,CD4LM 在保持精度的同时实现 5.18x 加速;与逐步缓存加速器叠加后加速比提升至 9.73x,且达到教师级精度。
arXiv:2601.02236v2 Announce Type: replace Abstract: Diffusion language models (DLMs) accelerate generation by decoding multiple tokens in parallel, but pushing them to fast decoding often sacrifices accuracy. We attribute this to a static-to-dynamic mismatch: training optimizes local denoising under fixed schedules, while fast inference skips steps and encounters irregular mask patterns. Existing accelerators largely address only one side of this problem. Training-free inference methods speed up decoding without changing the model, leaving the mismatch unresolved; training-side distillation methods adapt the model, but often tie the student to a specific decoding trajectory, limiting composability and still suffering accuracy loss. We propose CD4LM, a composable framework for accurate DLM acceleration. Its core training component, Discrete-Space Consistency Distillation (DSCD) trains a trajectory-invariant student on diverse masked states, reducing the mismatch without fixing a decoding policy. We pair DSCD with a lightweight ConfidenceAdaptive Decoder, while keeping the trained student compatible with external inference-side accelerators. On GSM8K, CD4LM preserves accuracy while achieving a 5.18x speedup; stacking CD4LM with per-step cache accelerators further pushes speedup to 9.73x at teacher-level accuracy, suggesting a scalable path for combining training-side robustness with future decoding advances. Code is available at https://github.com/yihao-liang/CDLM.
来源:arXiv (AI + Vision + Imaging) · arxiv.org