SDAR:一种用于可扩展序列生成的协同扩散-自回归范式
SDAR: A Synergistic Diffusion-AutoRegression Paradigm for Scalable Sequence Generation
AI总结:
本文提出 SDAR 范式,将训练好的 AR 模型低成本转换为分块离散扩散模型,兼顾全局连贯与块内并行解码,并在密集及 MoE 模型上实现无损加速与推理提升。
摘要:
我们提出 SDAR,这是一种协同扩散-自回归(Synergistic Diffusion-Autoregression)范式,将自回归模型的训练效率与扩散模型的并行推理能力统一起来。SDAR 不采用成本高昂的端到端扩散训练,而是执行轻量级范式转换,通过短暂且数据高效的适配,将训练良好的自回归(AR)模型转化为分块扩散模型。推理期间,SDAR 跨块以自回归方式生成序列以保证全局连贯性,同时通过离散扩散过程并行解码每个块内的所有 token。大量实验表明,AR 模型在计算效率上仍显著优于掩码扩散模型,为适配提供了坚实基础。基于这一洞察,SDAR 以最低成本实现高效的 AR 到扩散转换,在保持 AR 级性能的同时支持并行生成。跨密集架构与混合专家(Mixture-of-Experts)架构的扩展研究证实,SDAR 能够无折损扩展:更大的模型对块大小和解码阈值表现出更强的鲁棒性,可在不损失准确率的情况下带来更高加速。除效率之外,SDAR 还展现出增强的推理能力和领域适应性。我们的 30B MoE 模型在 GPQA、ChemBench 等具有挑战性的科学推理基准上超过其 AR 对应模型,并在多数投票和 pass@k 等测试时扩展方法下获得进一步提升。综上,这些结果确立 SDAR 为一种实用范式,结合自回归与扩散的优势,用于可扩展、高吞吐量的推理。
英文摘要:
We propose SDAR, a Synergistic Diffusion-Autoregression paradigm that unifies the training efficiency of autoregressive models with the parallel inference capability of diffusion. Instead of costly end-to-end diffusion training, SDAR performs a lightweight paradigm conversion that transforms a well-trained autoregressive (AR) model into a blockwise diffusion model through brief, data-efficient adaptation. During inference, SDAR generates sequences autoregressively across blocks for global coherence while decoding all tokens within each block in parallel via a discrete diffusion process. Extensive experiments show that AR models remain substantially more compute-efficient than masked diffusion models, providing a strong foundation for adaptation. Building on this insight, SDAR achieves efficient AR-to-diffusion conversion with minimal cost, preserving AR-level performance while enabling parallel generation. Scaling studies across dense and Mixture-of-Experts architectures confirm that SDAR scales without compromise: larger models exhibit stronger robustness to block size and decoding thresholds, yielding greater speedups without accuracy loss. Beyond efficiency, SDAR demonstrates enhanced reasoning and domain adaptability. Our 30B MoE model surpasses its AR counterpart on challenging scientific reasoning benchmarks such as GPQA and ChemBench, and gains further improvements under test-time scaling methods like majority voting and pass@k. Together, these results establish SDAR as a practical paradigm that combines the strengths of autoregression and diffusion for scalable, high-throughput reasoning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。