Many-Shot CoT-ICL: Making In-Context Learning Truly Learn
🤗 Upvotes: 28 | cs.CL, cs.AI
Authors:
Tsz Ting Chung, Lemao Liu, Mo Yu, Dit-Yan Yeung
Title:
Many-Shot CoT-ICL: Making In-Context Learning Truly Learn
Arxiv:
http://arxiv.org/abs/2605.13511v1
Abstract:
In-context learning (ICL) adapts large language models (LLMs) to new tasks by conditioning on demonstrations in the prompt without parameter updates. With long-context models, many-shot ICL can use dozens to hundreds of examples and achieve performance comparable to fine-tuning, yet current understanding of its scaling behavior is largely derived from non-reasoning tasks. We study many-shot chain-of-thought in-context learning (CoT-ICL) for reasoning and show that standard many-shot rules do not transfer. Across non-reasoning and reasoning-oriented LLMs and across non-reasoning and reasoning tasks, we find: (i) a setting-dependent scaling effect, where increasing the number of CoT demonstrations is unstable for non-reasoning LLMs and benefits mainly reasoning-oriented LLMs; (ii) similarity-based retrieval helps on non-reasoning tasks but fails on reasoning, since semantic similarity poorly predicts procedural (i.e., CoT) compatibility; and (iii) an order-scaling effect, where performance variance grows with more CoT demonstrations. We interpret these behaviors by viewing many-shot CoT-ICL as in-context test-time learning rather than scaled pattern matching, and suggests two principles: (i) demonstrations should be easy for the target model to understand, and (ii) they should be ordered to support a smooth conceptual progression. Guided by the principle, we propose Curvilinear Demonstration Selection (CDS), a simple ordering method that yields up to a 5.42 percentage-point gain on geometry with 64 demonstrations. Overall, our results reframe the long context window from a retrieval buffer into a structured curriculum for in-context test-time learning.
You May Also Like

Vida Eterna. Respuestas desde la Ciencia | Dr. Manuel Sans Segarra
Dr. Manuel Sans Segarra

Trent Loos Podcast
Trent Loos

The 365 Days of Astronomy
365DaysOfAstronomy.org

Real Ghost Stories Online
Real Ghost Stories Online | Paranormal, Supernatural & Horror Radio

Breaking Down: Collapse
Kory & Kellan

The Grave Talks | Haunted, Paranormal & Supernatural
Ghost Stores, Haunted, Paranormal & Supernatural Stories

The Biotech Startups Podcast
Excedr

The Best of Coast to Coast AM
iHeartPodcasts and Coast to Coast AM

Eye On The Sky
Vermont Public

Мослекторий
Москва 24
Community discussion