arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.19855cs.LG
收藏

离散扩散模型与自回归语言模型的能耗分析

Energy Consumption Analysis of Discrete Diffusion and Autoregressive Language Models

AXA, AI Research(安盛人工智能研究院)

Boris Ruf, Marcin Detyniecki

AI总结:

本文对比LLaDA-8B等扩散模型与Llama-3.1-8B等自回归模型的推理能耗,发现长序列下扩散模型效率约为带KV缓存自回归模型的2倍,KV缓存可降低自回归模型50%-70%能耗。

摘要:

随着大型语言模型(LLMs)规模不断扩大,其推理阶段的能耗已成为关键问题。自回归(AR)模型是行业标准,而扩散语言模型(DLLMs)作为具备并行生成token能力的替代方案崭露头角。本文对扩散模型(LLaDA-8B、Dream-7B)与对应的AR模型(Llama-3.1-8B、Qwen-2.5-7B)开展能耗对比基准测试,分析模型架构、KV缓存优化与每token焦耳效率间的权衡关系。结果显示,在200至600token的较长序列下,扩散模型达到2.5至2.7焦耳/token,比带KV缓存的AR模型(5.3至5.7焦耳/token)效率高约2倍;KV缓存可为较长序列下的AR模型带来显著收益,能耗降低50%至70%。

英文摘要:

As Large Language Models (LLMs) continue to scale, their energy consumption during inference has become a critical concern. While Autoregressive (AR) models are the industry standard, Diffusion Language Models (DLLMs) have emerged as a promising alternative capable of parallel token generation. In this paper, we perform a comparative energy benchmark of diffusion models (LLaDA-8B, Dream-7B) against AR counterparts (Llama-3.1-8B, Qwen-2.5-7B). We analyze the trade-offs between model architecture, KV-cache optimization, and Joules-per-token efficiency. Our results show that at longer sequences (200--600 tokens), diffusion models achieve 2.5--2.7 J/token, approximately 2$\times$ more efficient than AR models with KV-cache (5.3--5.7 J/token). KV-cache provides substantial benefits for AR models at longer sequences (50--70\% energy reduction).

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

↑