← All entries
Paper2026#1067

MILO: Efficient Many-shot In-Context Learning with Block-wise Low-rank Compression

Summary

Google + UCF technical report (Zhao/Tan/Peng/Wang/Go; arXiv 2609.29913v1) introduces MILO for many-shot in-context learning KV-cache memory. Observations: pre-RoPE keys are more low-rank than values; more shots add redundancy; rank needs vary across example blocks. MILO partitions the many-shot KV into multi-example blocks, applies separate K/V SVD, and greedily allocates a global rank budget by spectral-entropy marginal gains. At inference BM25 retrieves selected compressed blocks, fused Triton kernels reconstruct them (CUDA streams + graphs), then sparse attention runs. On Qwen2.5-3B/7B (Banking77, Clinic150, TREC, NLU, MathQA, SVAMP; 512-shot; 50% rank budget) on an NVIDIA L4: up to ~50% KV memory reduction and up to 1.8× throughput vs prior low-rank baselines; avg accuracy 0.647/0.725 vs Full 0.677/0.753 and ahead of Palu/ASVD. Orthogonal stack with INT8/KIVI. No public code found at catalog time.

Venue
arXiv / Google; University of Central Florida
Publisher
arXiv / Google; University of Central Florida
Source
arxiv
Access
free
License
© 2026 Google (Technical Report); arXiv perpetual non-exclusive license 1.0 for abs posting
License family
Other
Language
en
Purpose
Compress many-shot demonstration KV caches via block-wise low-rank SVD plus entropy-based dynamic rank allocation to cut memory and raise throughput
Scale
Qwen2.5-3B and 7B FP16; 6 ICL tasks; 512-shot under 50% rank budget; single NVIDIA L4-24GB; baselines Full Cache / ASVD / Palu; ablations on compression ratio, block size (~32 sweet spot), rank allocation, Triton/CUDA-graph kernels; MILO+INT8/KIVI table
Domain
many-shot ICL; KV cache compression; block-wise low-rank; inference efficiency
Used for
Many-shot ICL serving memory; local/long-context KV footprint reduction; complementary to KV quantization and sparse attention
Time period
arXiv 2609.29913v1 published 2026-09-24T14:52:24Z; PDF dated 2026-09-25; X https://x.com/TeksEdge/status/2103696064276824395 at 2026-09-26T04:00:01Z; cataloged 2026-09-26
Author type
industry/academia (Google; University of Central Florida)
Added
Sep 26, 2026
Verified
Sep 26, 2026
Research status
done

From the source

Published
Sep 24, 2026
arXiv categories
cs.CL
Author comment
Technical Report
Citations
0
References
46

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

Many-shot in-context learning (ICL) enables large language models (LLMs) to adapt to complex tasks by conditioning on thousands of demonstration examples, but this paradigm shifts the inference efficiency bottleneck to the key-value (KV) cache memory. Due to the linear scaling behavior of the KV cache, storing these intermediate tensors has become a paramount challenge for both online serving and on-device deployment. To address this issue, we propose a novel compression framework, termed MILO, that exploits the low-rank redundancy inherent in many-shot contexts. Specifically, MILO features a block-wise low-rank compression strategy that compresses the KV cache at the block granularity, where each block contains multiple many-shot examples. Furthermore, to handle the heterogeneous context density across different blocks, MILO dynamically allocates rank budgets based on the information entropy, preserving the fidelity of critical blocks while aggressively compressing redundant ones. Experimental results on Qwen2.5 models demonstrate that our method achieves up to 50% reduction in KV cache memory and 1.8x throughput improvement, with negligible performance degradation on classification and reasoning benchmarks, significantly outperforming prior baselines.

Tags

milokv-cachemany-shot-iclblock-wise-low-ranksvdentropy-rank-allocationqwen2.5l4googleucfteksedgepaluasvdflexgentriton

Topics

many-shot ICL; KV cache compression; block-wise low-rank; inference efficiency

Research notes

  • Hudson user-fed 2026-09-26. X https://x.com/TeksEdge/status/2103696064276824395 (@TeksEdge / David Hendrickson); photo ALT https://arxiv.org/pdf/2609.29913 → abs 2609.29913. Dedup clean for MILO / status id / arXiv id (prior TeksEdge rows e.g. 661 are unrelated). Related but distinct: id 1485 techNmak KV-cache *idea* explainer (GQA/MQA/quant/sliding-window) — not a duplicate. Thread conversation_id:2103696064276824395 via curator-bot: 11 replies, no alternate primary paper. Authors Google+UCF; © 2026 Google; no public code/repo found (GitHub search empty). Dump: /workspace/curator/research/milo-kv-teksedge-2103696064276824395-20260926/

Cites, within this collection 1

Similar entries