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

Orthrus:通过双视角扩散实现内存高效的并行令牌生成

Orthrus: Memory-Efficient Parallel Token Generation via Dual-View Diffusion

University of Oregon(俄勒冈大学);Google DeepMind(谷歌DeepMind);Adobe Research(Adobe研究)

Chien Van Nguyen, Chaitra Hegde, Van Cuong Pham, Ryan A. Rossi, Franck Dernoncourt, Thien Huu Nguyen

AI总结:

Orthrus结合自回归大语言模型的高保真生成与扩散模型的高速并行生成,通过双视角机制实现高效推理,提升速度7.8倍且内存开销极低。

摘要:

我们介绍Orthrus,一种简单高效的双架构框架,结合自回归大语言模型(LLM)的精确生成保真度与扩散模型的高速并行令牌生成。标准自回归解码的序列性是高吞吐推理的根本瓶颈。尽管扩散语言模型试图通过并行生成突破这一瓶颈,但存在显著的性能下降、高训练成本和缺乏严格的收敛保证。Orthrus原生解决这一二元对立。设计用于无缝集成到现有Transformer中,框架在冻结的LLM上添加一个轻量可训练模块,创建一个并行扩散视角与标准自回归视角。在统一系统中,两个视角均关注相同的高保真键值(KV)缓存;自回归头执行上下文预填充以构建准确的KV表示,而扩散头执行并行生成。通过在两个视角之间采用精确的一致性机制,Orthrus保证无损推理,仅以O(1)的内存缓存开销和极小的参数增加,即可实现高达7.8倍的速度提升。

英文摘要:

We introduce Orthrus, a simple and efficient dual-architecture framework that unifies the exact generation fidelity of autoregressive Large Language Models (LLMs) with the high-speed parallel token generation of diffusion models. The sequential nature of standard autoregressive decoding represents a fundamental bottleneck for high-throughput inference. While diffusion language models attempt to break this barrier via parallel generation, they suffer from significant performance degradation, high training costs, and a lack of rigorous convergence guarantees. Orthrus resolves this dichotomy natively. Designed to seamlessly integrate into existing Transformers, the framework augments a frozen LLM with a lightweight, trainable module to create a parallel diffusion view alongside the standard autoregressive view. In this unified system, both views attend to the exact same high-fidelity Key-Value (KV) cache; the autoregressive head executes context pre-filling to construct accurate KV representations, while the diffusion head executes parallel generation. By employing an exact consensus mechanism between the two views, Orthrus guarantees lossless inference, delivering up to a 7.8x speedup with only an O(1) memory cache overhead and minimal parameter additions.

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

↑