Research map / Architectures and efficiency / Attention and transformers
AdapShot: Adaptive Many-Shot In-Context Learning with Semantic-Aware KV Cache Reuse
Jie Ou, Jinyu Guo, Shiyao Guo, Yuang Li, Ruiqi Wu, Zhaokun Wang, Wenyi Li, Wenhong Tian
University of Electronic Science and Technology of China
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- GSM8K leaderboard accuracy 64.9 · rank 703 of 945 papers
- SVAMP leaderboard accuracy 79 · rank 85 of 144 papers
- QNLI leaderboard accuracy 69.4 · rank 87 of 92 papers
- CoLA leaderboard accuracy 77.7 · rank 14 of 26 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add position decoupling and re-encoding (PDR) (ablation) | AdapShot (Qwen2.5-7B) · GSM8K | accuracy: 0.456 -> 0.649 | Improved |
| add semantically-aware KV cache (SAKVC) (ablation) | AdapShot (Qwen2.5-7B) · GSM8K | runtime (s): 19.59s -> 17.49s | Improved |
| increase fixed shots from 256 to 1024 | Many-shot (Qwen2.5-7B) · QNLI | accuracy: 0.780 -> 0.667 | Hurt |
| adaptive shot count instead of fixed BM25 many-shot | AdapShot (Qwen2.5-7B) · GSM8K | accuracy: +0.193 | Improved |
| adaptive shot count instead of fixed 256-shot | Qwen2.5-32B · CoLA | Exact Match (%): 67.91 -> 86.41 | Improved |
| adaptive shots instead of fixed 128-shot | openPangu-Embedded-1B-V1.1 · ARC-Easy | accuracy: 0.182 -> 0.704 | Improved |
| adaptive shots instead of 8-shot | openPangu-Embedded-1B-V1.1 · QNLI | accuracy: 0.699 -> 0.694 | No clear effect |
| vary probe threshold tau (ablation) | AdapShot · various | accuracy | No clear effect |
Open problems in KV cache eviction and compression
Does KV cache compression keep accuracy at tight budgets, larger scale and long context in real serving?
- Tested on models of about 8B parameters or fewer. · 26 papers state it
- Budgets and thresholds are set by hand or tuned per task or model. · 21 papers state it
- Implementations are unoptimized, so end-to-end speedups are unproven. · 18 papers state it
Closest papers by meaning
- Many-Shot In-Context Learning (NeurIPS 2024 · similarity 0.88)
- Training Free Exponential Context Extension via Cascading KV Cache (ICLR 2025 · similarity 0.87)
- Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference (NeurIPS 2025 · similarity 0.87)
- SCBench: A KV Cache-Centric Analysis of Long-Context Methods (ICLR 2025 · similarity 0.87)
- From Few to Many: Self-Improving Many-Shot Reasoners Through Iterative Optimization and Generation (ICLR 2025 · similarity 0.87)
- ChunkKV: Semantic-Preserving KV Cache Compression for Efficient Long-Context LLM Inference (NeurIPS 2025 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.