mlsanityData to 24 Nov 2026

MOSAIC: Multi-Objective Search for Allocating Inference Cache Across LLM Decoder Layers

arXiv 2610.25431 ↗Submitted 18 Oct 2026cs.LG cs.AIcited by 0

On the map: Efficient LLM inference and serving → KV cache optimization

Abstract (arXiv)

The Key-Value (KV) cache is the main memory bottleneck of long-context LLM inference. Token eviction methods such as SnapKV, H2O, AdaKV and L2Norm shrink it, but they give every transformer layer the same budget, although layers differ in which tokens they need. We present MOSAIC, a multi-objective neural architecture search that learns per-layer KV-cache budgets for any eviction method. One search maps the trade-off between average budget and task score; its best allocation transfers to every target budget without further search, and an optional budget-constrained search refines it. Across four eviction methods on Llama-3-8B-Instruct and Mistral-7B-Instruct-v0.2, MOSAIC beats uniform allocation in 146 of 154 (task, method, budget) settings, by up to +48 points on RULER and +11.9 on LongBench (LCC). On both models, it reaches the score of uniform allocation with up to 4x less KV cache (75% smaller). Against EvolKV, MOSAIC explores a ~10^40 x larger search space with 4x fewer evaluations and 18% fewer GPU-hours per budget, and scores higher in 5 of 6 settings. The learned allocations consistently favour a small set of middle layers.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 20 of its 36 references that are in the map. Submitted 18 Oct 2026.

Builds on

20 of 36 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoning25 Oct
  2. 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads14 Oct
  3. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference16 Jun
  4. 2024MiniCache: KV Cache Compression in Depth Dimension for Large Language Models23 May
  5. 2024SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budget7 Apr
  6. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
  7. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time26 May

Other references · 13

  1. 2024The Llama 3 Herd of Modelscited by 16,113
  2. 2023Mistral 7Bcited by 3,489
  3. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
  4. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
  5. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 2,115
  6. 2018DARTS: Differentiable Architecture Searchcited by 1,842
  7. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
  8. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,487
  9. 2019Once-for-All: Train One Network and Specialize it for Efficient Deploymentcited by 809
  10. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 747
  11. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 670
  12. 2021BORE: Bayesian Optimization by Density-Ratio Estimationcited by 27
1 more
  1. 2026QUOKA: Query-Oriented KV Selection For Efficient LLM Prefillcited by 6

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025LAVa: Layer-wise KV Cache Eviction with Dynamic Budget Allocation
  2. 2024MiniKV: Pushing the Limits of LLM Inference via 2-Bit Layer-Discriminative KV Cache
  3. 2025EvolKV: Evolutionary KV Cache Compression for LLM Inference
  4. 2026LKV: End-to-End Learning of Head-wise Budgets and Token Selection for LLM KV Cache Eviction
  5. 2025BaKlaVa -- Budgeted Allocation of KV cache for Long-context Inference
  6. 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference
  7. 2026Reformulating KV Cache Eviction Problem for Long-Context LLM Inference
  8. 2026BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation