arXiv論文メモ
新着一覧
cs.CL · 査読状況未確認

拡散言語モデルのキャッシュと並列生成を高速化

Flash-dLLM: IO-Aware KV Caching and Parallel Decoding for Fast, Memory-Efficient Diffusion LLMs

Quan Nguyen-Tri, Mukul Ranjan, Zhiqiang Shen

この論文をやさしく読む

ひとことで言うと

拡散言語モデルが文章を生成するときの、GPU内のデータ転送と候補検証をまとめて改善する手法です。同じモデルが候補を作り、確認するので、別の補助モデルを追加しません。

何に役立つ?

考えられる用途は、拡散言語モデルによる数学問題への回答やコード生成の待ち時間とメモリ使用量の削減です。要旨ではこの2種類のベンチマークで改善を報告しています。

この研究の面白いところ

計算量だけでなく、キャッシュの読み書きに伴うメモリ転送を主要因として扱います。キャッシュと並列生成を組み合わせた際の入出力まで設計する点が特徴です。

どこまで分かった?

5.1倍と11.0倍は、それぞれGSM8KとHumanEvalでElastic-Cacheに対して得た速度比です。あらゆる機器やモデルで同じ倍率になるという結果ではなく、詳しい機器条件や品質の数値は要旨には示されていません。

v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。

アブストラクトの日本語訳

拡散大規模言語モデル(dLLM)は、非自己回帰的なテキスト生成を可能にすることで、自己回帰型LLMの有望な代替として近年登場した。しかし、効果的なキー・バリュー(KV)キャッシュと拡張性のある並列復号の仕組みがないことを主因とする非効率な推論が、実用展開を依然として制限している。既存の高速化手法は通常、KVキャッシュと並列復号を個別に研究しており、キャッシュの再利用と並列トークン検証を組み合わせたときに生じる入出力のボトルネックを見落としている。 本研究では、高速かつメモリ効率の高いdLLMのための、追加学習を必要としない推論高速化フレームワークFlash-dLLMを提案する。まず、KVキャッシュを有効にしたdLLMの推論でGPUメモリの入出力が主要なボトルネックであると特定し、不要なメモリ転送を削減する、入出力を考慮した融合KVキャッシュカーネルで対処する。この最適化されたキャッシュ機構に基づき、KVキャッシュを利用する効率的な候補生成・検証型の復号戦略も提案する。dLLM自体が候補生成器と検証器を兼ねるため、補助モデルは不要である。この統合設計によって、生成品質を保ちながら復号を高速化し、より長い系列や大きなバッチサイズへの拡張性を向上させる。 数学的推論とコード生成のベンチマークでの幅広い実験により、Flash-dLLMは推論速度とメモリ効率の両面で、既存の最先端dLLM高速化手法を一貫して上回った。特に、従来最も強力だった比較手法Elastic-Cacheに対し、GSM8Kで5.1倍、HumanEvalで11.0倍の高速化を達成した。

v1の要旨から自動生成。本文の精読・人による確認は未実施。

初稿
2026-09-22(UTC)
最新改訂
2026-09-22 · v1
査読・掲載
査読状況未確認
arXivで読むPDF

更新履歴

取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。

原文の要旨

Diffusion Large Language Models (dLLMs) have recently emerged as a promising alternative to autoregressive LLMs by enabling non-autoregressive text generation. However, their practical deployment remains limited by inefficient inference, largely due to the absence of effective Key-Value (KV) caching and scalable parallel decoding mechanisms. Existing acceleration methods typically study KV caching and parallel decoding in isolation, overlooking the I/O bottlenecks that arise when cache reuse and parallel token verification are jointly applied. In this work, we introduce $\textbf{Flash-dLLM}$, a training-free inference acceleration framework for fast and memory-efficient dLLMs. Flash-dLLM first identifies GPU memory I/O as a dominant bottleneck in KV-cache-enabled dLLM inference and addresses it with an I/O-aware fused KV-cache kernel that reduces redundant memory movement. Building on this optimized cache mechanism, Flash-dLLM further proposes an efficient KV-cache-driven draft-and-verify decoding strategy, where the dLLM itself serves as both drafter and verifier without requiring an auxiliary model. This unified design enables faster decoding while preserving generation quality and improving scalability to longer sequences and larger batch size. Extensive experiments on mathematical reasoning and code-generation benchmarks demonstrate that Flash-dLLM consistently outperforms existing state-of-the-art dLLM acceleration methods in both inference speed and memory efficiency. In particular, it achieves $5.1\times$ and $11.0\times$ speedups over prior strongest baseline Elastic-Cache on GSM8K and HumanEval, respectively.

著者のコメント

Code available at: https://github.com/VILA-Lab/Flash-dLLM

arXiv ID: 2609.26796 / 要約の誤りについて