arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.08923cs.CLcs.AI
收藏

TiDAR:在扩散中思考,在自回归中生成

TiDAR: Think in Diffusion, Talk in Autoregression

NVIDIA

Jingyu Liu, Xin Dong, Zhifan Ye, Rishabh Mehta, Yonggan Fu, Vartika Singh, Jan Kautz, Ce Zhang, Pavlo Molchanov

AI总结:

针对扩散语言模型并行生成优势与自回归模型质量优势难以协同的问题,提出TiDAR混合架构,通过单次前向传递实现并行草稿与自回归采样,在1.5B和8B规模下弥合与AR模型质量差距且吞吐量提升4.71-5.91倍。

摘要:

扩散语言模型有望实现快速并行生成,而自回归(AR)模型通常因因果结构与语言建模自然对齐而在质量上表现出色。这引发了一个基本问题:我们能否实现高吞吐量、更高GPU利用率与AR级质量的协同?现有方法未能有效平衡这两方面,要么使用较弱模型进行顺序草稿(推测解码)以优先考虑AR,导致草稿效率低下;要么对扩散使用某种形式的从左到右(类AR)解码逻辑,这仍会导致质量下降并丧失其潜在的并行性。我们引入TiDAR,一种序列级混合架构,它在扩散中生成草稿token(思考),在自回归中采样最终输出(生成)——所有过程通过特殊设计的结构化注意力掩码在单次前向传递中完成。该设计利用了GPU的空闲计算密度,在草稿能力与验证能力之间实现了良好平衡。此外,TiDAR作为独立模型设计为易于服务(低开销)。我们在1.5B和8B规模的生成任务与似然任务中,对TiDAR与AR模型、推测解码及扩散变体进行了广泛评估。得益于并行草稿与采样以及精确KV缓存支持,TiDAR在测量吞吐量上优于推测解码,在效率与质量上均超过Dream和Llada等扩散模型。最值得注意的是,TiDAR是首个弥合与AR模型质量差距的架构,同时每秒生成的token数量提高了4.71倍至5.91倍。

英文摘要:

Diffusion language models hold the promise of fast parallel generation, while autoregressive (AR) models typically excel in quality due to their causal structure aligning naturally with language modeling. This raises a fundamental question: can we achieve a synergy with high throughput, higher GPU utilization, and AR level quality? Existing methods fail to effectively balance these two aspects, either prioritizing AR using a weaker model for sequential drafting (speculative decoding), leading to lower drafting efficiency, or using some form of left-to-right (AR-like) decoding logic for diffusion, which still suffers from quality degradation and forfeits its potential parallelizability. We introduce TiDAR, a sequence-level hybrid architecture that drafts tokens (Thinking) in Diffusion and samples final outputs (Talking) AutoRegressively - all within a single forward pass using specially designed structured attention masks. This design exploits the free GPU compute density, achieving a strong balance between drafting and verification capacity. Moreover, TiDAR is designed to be serving-friendly (low overhead) as a standalone model. We extensively evaluate TiDAR against AR models, speculative decoding, and diffusion variants across generative and likelihood tasks at 1.5B and 8B scales. Thanks to the parallel drafting and sampling as well as exact KV cache support, TiDAR outperforms speculative decoding in measured throughput and surpasses diffusion models like Dream and Llada in both efficiency and quality. Most notably, TiDAR is the first architecture to close the quality gap with AR models while delivering 4.71x to 5.91x more tokens per second.

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

↑