The paper examines how Large Language Models’ internal representations become sparser as task difficulty rises, finding that harder inputs lead to more concentrated activation patterns in the last hidden state. This sparsity–difficulty relationship holds across various models and domains, indicating that models learn dense representations for familiar patterns but default to sparse activations for unfamiliar ones. Leveraging this insight, the authors propose Sparsity‑Guided Curriculum In‑Context Learning (SG‑ICL), which selects few‑shot demonstrations based on sparsity and outperforms standard CoT and Auto‑CoT baselines on the MATH‑500 benchmark.
By Mingyu Jin, Yutong Yin, Jingcheng Niu, Qingcheng Zeng, Wujiang Xu, Mengnan Du, Wei Cheng, Zhaoran Wang, Tianlong Chen, Dimitris N. Metaxas
arXiv:2505.23323v3 Announce Type: replace
Abstract: This position paper argues that many behaviours framed as either "stochastic parroting" or "advanced reasoning" are better explained as context-dir...
By Harish Tayyar Madabushi, Melissa Torgbi, Claire Bonial
The study investigates how language models acquire in-context learning (ICL) by distinguishing between copying a nearby demonstration and integrating information across a prompt. Across 17 models, roughly one-third default to copied answers, a few are undecided, and the remainder favor rule-consistent answers that yield higher accuracy and are guided by the requested value rather than the nearest conflicting example. Analyses show that models prioritize task-relevant prompt tokens before accuracy surpasses chance, and that synthetic or fine-tuned training can shift models toward compositional responses or improve accuracy when prompts reassign label meanings.
By Minglai Yang, Xinyu Guo, Renxiong Wang, Sunjie Hou, Daniel Yue Zhang, Yunzhong He
The paper investigates when in‑context learning (ICL) can succeed even if the instruction or target task is not covered by a model’s pretraining data. It introduces a theoretical framework that distinguishes two types of distribution shift—unsupported instructions and unsupported target tasks—and shows how demonstrations can mitigate these shifts. The authors further extend the analysis to long‑horizon tasks that can be decomposed into pretraining‑supported subtasks, providing error bounds that explain how ICL can handle tasks beyond the model’s original support.
By Xuhan Tong, Yuchen Zeng, Jiawei Zhang
The paper investigates how to best allocate a fixed token budget for in‑context learning (ICL) prompts in question answering tasks. By categorizing demonstration examples into length‑based bins and constructing prompts from examples within the same bin, the authors find that shorter demonstrations generally yield better performance across two QA benchmarks and an NLI task. The study emphasizes that demonstration granularity is a key factor in prompt design, especially under token constraints.
By Anxo Perez, Jorge Gab\'in, Javier Parapar
arXiv:2606. 09525v1 Announce Type: cross Abstract: During instruction fine-tuning (IFT), large language models (LLMs) learn to follow instructions by using the provided context to answer a query.
By Nadya Yuki Wangsajaya, Haeun Yu, Isabelle Augenstein
arXiv:2610.01054v1 Announce Type: cross
Abstract: In-context learning (ICL) enables language models to perform new tasks from demonstrations without weight updates. However, every ICL inference requi...
By Guangzhi Xiong, Zhenghao He, Bohan Liu, Sanchit Sinha, Wenqian Ye, Aidong Zhang
The paper introduces MIME, a task‑agnostic visual in‑context learning (vICL) dataset that removes textual shortcuts by omitting explicit rules linking demonstration images to answers, forcing models to infer the rule visually. Fine‑tuning vision‑language models on MIME boosts vICL accuracy by 8.1–18.0 points across three VLMs while preserving single‑image performance and improving multi‑image and text‑only in‑context learning. The authors also propose DTAD, a technique that randomly drops demonstration labels during training to encourage visual inference, achieving comparable accuracy with more consistent attention to demonstration images and outperforming frontier models on the TrueMICL benchmark.
By Nimrod Shabtay, Asaf Yehudai, Avihu Dekel, Eli Schwartz, Raja Giryes
arXiv:2604. 27660v3 Announce Type: replace Abstract: Many real-world tasks require language models (LMs) to reason over complex contexts that exceed their parametric knowledge.
By Shuzheng Si, Haozhe Zhao, Yu Lei, Qingyi Wang, Dingwei Chen, Zhitong Wang, Zhenhailong Wang, Kangyang Luo, Zheng Wang, Gang Chen, Fanchao Qi, Minjia Zhang, Maosong Sun
arXiv:2608. 16627v1 Announce Type: cross Abstract: Natural language explanations (NLEs) are increasingly used as inputs, for example, as few-shot rationales that influence model behavior in in-context learning (ICL).
By Mahdi Dhaini, Adam Dejl, Juraj Vladika, Volkan \"Ozer, Barbara Plank, Gjergji Kasneci
arXiv:2606. 27721v1 Announce Type: new Abstract: Compositional generalization, the ability to solve complex problems by combining solutions to simpler sub-problems, is a fundamental capability of both natural and artificial intelligence, and a key mechanism underlying chain-of-thought reasoning.
By Nived Rajaraman, Audrey Huang, Miroslav Dudik, Robert Schapire, Dylan Foster, Akshay Krishnamurthy
The study demonstrates that large language models (LLMs) can perform numerical prediction on tabular data by leveraging semantic grounding—matching variable names to the values they describe—without task-specific training. Across 20 datasets from nine scientific domains, five LLMs matched or outperformed seven supervised machine learning models, especially when training examples were scarce. Controlled experiments with physical formulas reveal that LLMs combine domain knowledge (as a prior) with in-context examples (likelihood) in a Bayesian‑like manner, adjusting predictions as contradictory examples accumulate.
By Xin-Rui Ma, Shi-Zhi Chen, Hai-Yan Jiang, De-Cheng Feng, Michael Beer