Metraipolis › archive › dc_a8b455b17239

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

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.29913
License (as archived)
CC0-1.0
Archived
2026-10-08T04:49:51.404Z
SHA-256 of the archived text
4fbfc5d94e71fda53521b4e4f5bc93e851d700bda4da20d17b941a5c34a336aa
Stable URL of this page
https://metraipolis.com/documento/dc_a8b455b17239

How to cite

MILO: Efficient Many-shot In-Context Learning with Block-wise Low-rank Compression — arXiv:2609.29913 — arXiv (en), https://arxiv.org/abs/2609.29913 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_a8b455b17239 (Metraipolis archive dc_a8b455b17239, sha256 4fbfc5d94e71fda53521b4e4f5bc93e851d700bda4da20d17b941a5c34a336aa)
BibTeX
@misc{dca8b455b17239,
  title = {MILO: Efficient Many-shot In-Context Learning with Block-wise Low-rank Compression — arXiv:2609.29913},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.29913},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_a8b455b17239; sha256 4fbfc5d94e71fda53521b4e4f5bc93e851d700bda4da20d17b941a5c34a336aa},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.29913. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-25 in cs.CL).
Categorie arXiv: Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2609.29913 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-08T04:27:20.113Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-25?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).