Sravanth Kodavanti, Manjunath Arveti
Thorough and honestly reported extension of EvolKV-style layer budget search, but incremental, with test-set selection inflating headline gains and per-task search costs limiting practical adoption
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.
MOSAIC treats per-layer KV-cache budgets as a black-box search problem. It runs a multi-objective Bayesian optimization (classifier-guided, with an MLP surrogate and differential evolution) over all 32 layer budgets jointly. The search trades average budget against task score. A winner is selected from the Pareto front on full data and rescaled to any target budget. An optional per-budget constrained search then refines it. The method is eviction-agnostic and was tested on SnapKV, H2O, AdaKV and L2Norm. The framing is an offline calibration, "static quantization for KV allocation". The closest prior work is EvolKV, which uses CMA-ES on groups of 8 layers at a single budget. MOSAIC's novelty is the joint search, the budget–score Pareto exploration, and the reusable anchor. It is an incremental but sensible step beyond EvolKV, PyramidKV and CAKE. The layer-allocation idea itself is not new.
The paper is unusually candid, which helps credibility, but there are serious design issues.
Practitioners deploying KV eviction could use offline-calibrated per-layer budgets, which add no inference overhead. The finding that a few middle layers consistently need more cache is useful and consistent with prior layer-importance work, but it is not deeply analyzed. There is no mechanistic explanation and no end-to-end latency or memory measurement; only score vs. nominal budget is reported. Evaluation covers two 7–8B models and 4K RULER contexts. Modern long-context settings (128K, GQA-heavy newer models, quantization combined with eviction) are not tested. The search cost of 9–40 GPU-hours per task and method is non-trivial, and the per-task requirement limits adoption. The artifact (a search recipe) is more likely to be used as a baseline or tuning tool than as a widely adopted primitive.
KV-cache compression is a very active area, and per-layer or head allocation is a current topic (Ada-KV, CAKE, PyramidKV, EvolKV). The paper is relevant, but the space is crowded and moves fast. The NAS-style framing is a modest differentiator.
A competent, thorough, carefully reported engineering-style contribution to a crowded subfield. Its impact is limited by the incremental novelty, the same-data selection, and the per-task search requirement. Expect moderate citation as a layer-allocation baseline.
Generated Oct 20, 2026
Thorough and honestly reported extension of EvolKV-style layer budget search, but incremental, with test-set selection inflating headline gains and per-task search costs limiting practical adoption