mlsanityData to 13 Oct 2026

Test-Time Adaptation via Many-Shot Prompting: Benefits, Limits, and Pitfalls

arXiv 2603.05829 ↗First posted 6 Mar 2026cs.LG cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Test-time adaptation enables large language models (LLMs) to modify their behavior at inference without updating model parameters. A common approach is many-shot prompting, where large numbers of in-context learning (ICL) examples are injected as an input-space test-time update. Although performance can improve as more demonstrations are added, the reliability and limits of this update mechanism remain poorly understood, particularly for open-source models. We present an empirical study of many-shot prompting across tasks and model backbones, analyzing how performance varies with update magnitude, example ordering, and selection policy. We further study Dynamic and Reinforced ICL as alternative test-time update strategies that control which information is injected and how it constrains model behavior. We find that many-shot prompting is effective for structured tasks where demonstrations provide high information gain, but is highly sensitive to selection strategy and often shows limited benefits for open-ended generation tasks. Overall, we characterize the practical limits of prompt-based test-time adaptation and outline when input-space updates are beneficial versus harmful.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 17 of its 22 references that are in the map. First posted on arXiv 6 Mar 2026.

Builds on

17 of 22 references.

References · 17

  1. 2020Language Models are Few-Shot Learnerscited by 32,320
  2. 2024The Llama 3 Herd of Modelscited by 14,486
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,376
  4. 2021Training Verifiers to Solve Math Word Problemscited by 9,916
  5. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,798
  6. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,628
  7. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,637
  8. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,412
  9. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,804
  10. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,191
  11. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 890
  12. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 706
5 more
  1. 2021Learning To Retrieve Prompts for In-Context Learningcited by 643
  2. 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 371
  3. 2024Long-context LLMs Struggle with Long In-context Learningcited by 286
  4. 2024Many-Shot In-Context Learningcited by 205
  5. 2024Lessons from the Trenches on Reproducible Evaluation of Language Modelscited by 175

Built on by

Not cited yet.