# Summary: 2026-07-16_10-49-15Z_LaCache_ExactCachingandPrecision_AdaptiveInference.md Saved: 2026-07-23 23:45 Source: 2026-07-16_10-49-15Z_LaCache_ExactCachingandPrecision_AdaptiveInference.md Model: None --- ## Summary Diffusion‑based large language models (DLLMs) generate text sequentially using semi‑autoregressive decoding, which recomputes the entire sequence at each denoising step despite many tokens remaining unchanged. This operator‑level redundancy leads to high computational and memory costs. LaCache tackles this problem by introducing lossless caching of intermediate results so that unchanged tokens are processed without extra work. The framework also integrates mixed‑precision quantization tailored to diffusion steps, delivering substantial speed gains while preserving accuracy. ## Key Contributions - [Finding 1] Lossless State Memoization (LSM) caches three distinct intermediate outputs—EmbedCache for token embeddings, RoPECache for pre‑attention states, and FACache for FlashAttention statistics—to skip redundant computation. - [Finding 2] LaCache employs a per‑group FP8 quantization strategy across FFN layers, dynamically adjusting precision to the activation distributions observed during each diffusion step. - [Finding 3] When combined with existing acceleration techniques, LaCache achieves up to 40.2× end‑to‑end speedup; even alone it provides ~1.3× improvement over vanilla DLLM while maintaining comparable task performance. ## Methodology The authors address the redundancy by treating each diffusion step as a block where prefix tokens and masked suffixes remain invariant. They implement LSM to store the three cached results per block, allowing the model to reuse these values for subsequent steps without recomputation. To further reduce memory bandwidth, they introduce group‑wise FP8 quantization of FFN activations, selecting precision based on empirical activation statistics across steps. This mixed‑precision approach is applied transparently during inference and does not require any retraining. ## Results Experimental evaluation shows that LaCache alone yields a 1.3× speedup over standard diffusion LLMs without sacrificing accuracy. When stacked with other acceleration methods, the combined pipeline reaches up to 40.2× end‑to‑end throughput. All experiments confirm that task metrics such as perplexity and BLEU scores remain within a narrow range of baseline values, demonstrating that the speed gains are achieved through computational savings rather than model degradation. ## Significance By eliminating operator‑level redundancy in diffusion inference, LaCache dramatically lowers both compute time and memory bandwidth requirements for large language models. This makes high‑throughput generation feasible on existing hardware, enabling broader adoption of diffusion models in real‑time applications such as chatbots, code assistants, and creative content creation. ## Related Concepts Embedding cache, RoPEcache, FACache, FlashAttention, semi‑autoregressive decoding, diffusion process, lossless state memoization (LSM), mixed precision inference, per‑group quantization, FP8, FFN layers.