Distilling Many-Shot In-Context Learning into a Cheat Sheet

Ukyo Honda, Soichiro Murakami, Peinan Zhang


Abstract
Recent advances in large language models (LLMs) enable effective in-context learning (ICL) with many-shot examples, but at the cost of high computational demand due to longer input tokens. To address this, we propose cheat-sheet ICL, which distills the information from many-shot ICL into a concise textual summary (cheat sheet) used as the context at inference time. Experiments on challenging reasoning tasks show that cheat-sheet ICL achieves comparable or better performance than many-shot ICL with far fewer tokens, and matches retrieval-based ICL without requiring test-time retrieval. These findings demonstrate that cheat-sheet ICL is a practical alternative for leveraging LLMs in downstream tasks.
Anthology ID:
2025.findings-emnlp.930
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2025
Month:
November
Year:
2025
Address:
Suzhou, China
Editors:
Christos Christodoulopoulos, Tanmoy Chakraborty, Carolyn Rose, Violet Peng
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
17158–17178
Language:
URL:
https://preview.aclanthology.org/author-page-yu-wang-polytechnic/2025.findings-emnlp.930/
DOI:
10.18653/v1/2025.findings-emnlp.930
Bibkey:
Cite (ACL):
Ukyo Honda, Soichiro Murakami, and Peinan Zhang. 2025. Distilling Many-Shot In-Context Learning into a Cheat Sheet. In Findings of the Association for Computational Linguistics: EMNLP 2025, pages 17158–17178, Suzhou, China. Association for Computational Linguistics.
Cite (Informal):
Distilling Many-Shot In-Context Learning into a Cheat Sheet (Honda et al., Findings 2025)
Copy Citation:
PDF:
https://preview.aclanthology.org/author-page-yu-wang-polytechnic/2025.findings-emnlp.930.pdf
Checklist:
 2025.findings-emnlp.930.checklist.pdf