Skip to main content
Search

# Cross-Layer KV Sharing

3 related articles

Subscribe to updates
  1. arXiv

    Deep layers stop building their own KV: cross-layer reconstruction lifts a 16B MoE by 7.0 points on MMLU-Pro

    DepthGraft turns cross-layer KV sharing from a cache-saving inference trick into a structural regularizer during training: deep layers no longer compute their own KV but rebuild it from a stride-aligned shallow–middle source pair using learnable channel-wise coefficients. Gradients from deep layers then flow back along each sharing edge into the source KV projections, sharpening key retrieval directions while enriching the value content subspace. Across dense and MoE models from 0.5B to 16B parameters, downstream averages improve consistently, with a 7.0-point absolute gain on MMLU-Pro for the 16B MoE and roughly one third less KV cache.

  2. vLLM Blog

    vLLM runs Mistral Large 4 on day one: NVFP4 decodes 1.08–1.19x faster than FP8 with about 1.5x the KV cache

    vLLM added same-day inference support for Mistral Large 4, a 1-trillion-parameter sparse mixture-of-experts multimodal model with 49 billion parameters active per token. The work spans breakable CUDA graphs, hand-written fusions, decode and prefill context parallelism, DSpark speculative decoding, NIXL disaggregated serving and host-memory KV offload. On TP8, NVFP4 decodes 1.08–1.19x faster per token than FP8 and holds about 1.5x the KV cache, while staying within 2.1 points of FP8 on multimodal and long-context evaluations.

  3. arXiv

    WhiteMatter lets every Transformer layer read past-token representations from any depth, beating matched baselines at half KV cache

    The work introduces WhiteMatter, which uses a learned router to mix past-token representations from any depth into shared key-value (KV) channels so every layer can draw on cross-layer information, together with cyclic Gauss–Seidel iteration to speed up training and prefill; under matched training-token budgets, half-cache WhiteMatter improves perplexity and average downstream scores over matched standard Transformers at two scales up to about 1.3B parameters, while the full-cache version performs comparably to a deeper standard Transformer.

You’re all caught up