跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.36634 · v1

Temporal Expert Caching for Accelerating Inference in MoE Diffusion Language Models

首次提交 2026-11-27 04:43
版本更新 2026-11-27 04:43
雷达观测 2026-11-30 12:31
arXiv ↗PDF ↗

摘要

Diffusion models have become the industry standard for image and video generation, with properties such as parallel decoding and bidirectional context distinguishing them from classical autoregressive alternatives. Diffusion language models (DLMs) bring the same principles to text, and recent models are competitive with autoregressive ones on code and mathematical reasoning. Sparse mixture-of-experts (MoE) variants such as the LLaDA series make these models more practical, offering large-model quality at a fraction of the per-token compute. On memory-constrained GPUs such as 12 GB consumer cards, however, the ~32 GB of expert weights do not fit, and each of the dozens of denoising steps reloads them from host memory. Weight transfer, not compute, then dominates generation time. We identify two properties of iterative denoising that make most of this cost avoidable: between consecutive steps, per-token hidden states barely change (cosine similarity 0.97), and each layer routes to nearly the same set of experts (Jaccard overlap 0.94-0.97). We exploit this temporal locality with three mechanisms: per-expert output caching that skips unchanged tokens, temporal weight prefetching driven by previous-step routing, and a CPU SwiGLU fallback for misses. Across two LLaDA-mini models, two GPU architectures (L40S and A6000), and seven benchmarks, the combined system is a median 9x faster end-to-end than HF Accelerate at a 12 GB budget, with task accuracy preserved within run-to-run variance.

作者备注:Accepted at the NeurIPS 2026 DiffuLM Workshop. 18 pages, 3 figures

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-27 04:43 · 最新观测版本

Temporal Expert Caching for Accelerating Inference in MoE Diffusion Language Models

Diffusion models have become the industry standard for image and video generation, with properties such as parallel decoding and bidirectional context distinguishing them from classical autoregressive alternatives. Diffusion language models (DLMs) bring the same principles to text, and recent models are competitive with autoregressive ones on code and mathematical reasoning. Sparse mixture-of-experts (MoE) variants such as the LLaDA series make these models more practical, offering large-model quality at a fraction of the per-token compute. On memory-constrained GPUs such as 12 GB consumer cards, however, the ~32 GB of expert weights do not fit, and each of the dozens of denoising steps reloads them from host memory. Weight transfer, not compute, then dominates generation time. We identify two properties of iterative denoising that make most of this cost avoidable: between consecutive steps, per-token hidden states barely change (cosine similarity 0.97), and each layer routes to nearly the same set of experts (Jaccard overlap 0.94-0.97). We exploit this temporal locality with three mechanisms: per-expert output caching that skips unchanged tokens, temporal weight prefetching driven by previous-step routing, and a CPU SwiGLU fallback for misses. Across two LLaDA-mini models, two GPU architectures (L40S and A6000), and seven benchmarks, the combined system is a median 9x faster end-to-end than HF Accelerate at a 12 GB budget, with task accuracy preserved within run-to-run variance.

查看此版本解读 →查看此版本原文 ↗