HERALD: High-Throughput Block Diffusion LLM Serving via CPU-GPU Cooperative KV Cache Retrieval

Omin Kwon, Doyeon Kim, Jongseok Park, Seung Yul Lee, Ion Stoica, Jae W. LeearXiv 2026

TL;DR

HERALD is a novel Key-Value (KV) cache offloading system tailored specifically for Block Diffusion LLMs (block dLLMs) that eliminates the severe PCIe bandwidth bottleneck typical of long-context serving. By executing full KV cache selection on the CPU once per block and reusing that sparse subset for parallel denoising steps on the GPU, HERALD achieves up to 2.28× the decode throughput of GPU-only serving while maintaining near-lossless accuracy.

What Problem Does This Paper Address?

Serving Large Language Models (LLMs) with long contexts is incredibly memory-intensive. The Key-Value (KV) cache grows linearly with sequence length, quickly exhausting GPU memory (HBM) and forcing systems to reduce batch sizes, leaving the GPU's compute units underutilized.

To mitigate this, state-of-the-art systems offload the KV cache to larger, cheaper CPU DRAM. However, moving data back to the GPU over the PCIe bus creates a massive communication bottleneck. Even when using "sparse attention"—which only fetches a critical subset of the cache—standard autoregressive (AR) models must re-evaluate and fetch a new subset at every single token step. As a result, the system remains strictly PCIe-bound, capping overall throughput.

Methods

HERALD turns to Block Diffusion LLMs (block dLLMs) to break this bottleneck. Unlike AR models that generate one token at a time, block dLLMs decode a block of $B$ tokens in parallel over $T$ denoising steps. Crucially, the critical KV cache exhibits strong temporal consistency across these denoising steps, meaning the important subset can be selected once per block and reused $T$ times.

HERALD maps this algorithmic asymmetry directly onto CPU-GPU hardware: the CPU scans the full KV cache in DRAM once per block, and the GPU runs the $T$ denoising steps using only the selected sparse cache.

Fig. 1: HERALD’s mapping of block dLLM sparse-attention inference onto a heterogeneous CPU–GPU system: the KV selection phase runs once per block on the CPU over the full KV cache, the T-step denoising phase runs on the GPU over the critical KV cache, and the critical KV cache crosses PCIe once per block.

To make this heterogeneous execution practical, the authors introduced two key algorithmic innovations to overcome serialization and compute bottlenecks:

  1. Draft-Based Inter-Block Lookahead: Normally, denoising block $n$ must finish before selection for block $n+1$ can begin. HERALD breaks this sequential dependency by taking the step-0 logits of block $n$ to generate a quick "draft" prefix. This allows the CPU to overlap the selection phase of the next block with the remaining denoising steps of the current block on the GPU.
  2. Representative-Query Selection: Performing exact attention for all $B$ queries in a block is compute-bound on the CPU. However, at the start of a block, all ungenerated positions contain identical [MASK] tokens and differ only by their RoPE positional offsets. HERALD exploits this redundancy by using a single representative query at the center of the block, reducing CPU attention math by $B\times$.

On the systems side, HERALD orchestrates these phases as a dual-stream pipeline over double-buffered sparse KV pools, utilizing a custom fused CPU kernel that streams attention and top-$k$ selection together to maximize memory bandwidth.

Datasets

The authors evaluated HERALD using the LongBench benchmark, focusing on four distinct long-context tasks:

  • 2WikiMQA (Multi-hop Question Answering)
  • NarrativeQA (Single-document Question Answering)
  • QMSum (Meeting Summarization)
  • RepoBench-P (Code Completion)

These tasks were evaluated on two production-grade block dLLMs: SDAR-8B-Chat and LLaDA 2.0-mini 16B.

Key Insights and Ideas

  • Hardware-Algorithm Alignment: The fundamental insight is that the compute/memory asymmetry of a CPU-GPU system perfectly mirrors the phase asymmetry of block dLLM sparse inference. The CPU has the capacity for the full cache, while the GPU has the compute performance for fast denoising.
  • Exploiting Token Redundancy: Recognizing that [MASK] tokens share identical embeddings allowed the authors to collapse a heavy matrix-matrix query operation into a lightweight vector-matrix operation without sacrificing selection quality.
  • Hiding the Interconnect: By shifting the communication frequency from per-token to per-block, the PCIe transfer time is successfully hidden behind the GPU's forward passes, effectively removing the interconnect as the system bottleneck.

Key Results

  • Throughput Speedups: HERALD achieves significant speedups over the standard GPU-only execution (Dense baseline), reaching 1.81–1.82× throughput at a 16K context window and 1.89–2.28× at a 32K context window.
  • Accuracy Preservation: At a strict 5% KV cache budget, HERALD delivers near-lossless accuracy compared to full-cache execution, maintaining an average accuracy difference within 1 point (+0.1 for LLaDA, -0.9 for SDAR).
  • Baseline Comparison: HERALD drastically outperforms adaptations of AR-style offloading systems (like InfiniGen) and direct offloading implementations of MAGE, both of which remain severely throttled by PCIe overhead and perform below the dense baseline.

Limitations and Future Work

  • Sparsity Budget Overhead: To recover the minor accuracy loss introduced by the representative-query and draft approximations, HERALD requires expanding the sparse KV budget by roughly 1.75× compared to the theoretical MAGE algorithm. This slightly reduces the maximum achievable batch size.
  • Potential CPU Bottlenecks: In scenarios with very few denoising steps ($T$) or when paired with ultra-fast next-gen GPUs, the system can become retrieval-bound on the CPU. The authors note that this leaves exciting headroom for faster CPU architectures or tighter integration technologies like CXL.

Summary updated

BibTeX
@misc{kwon2026herald,
  author = {Omin Kwon and Doyeon Kim and Jongseok Park and Seung Yul Lee and Ion Stoica and Jae W. Lee},
  title = {{HERALD: High-Throughput Block Diffusion LLM Serving via CPU-GPU Cooperative KV Cache Retrieval}},
  year = {2026},
  eprint = {2606.21633},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.21633},
}
Figure