paper-with-me

홈 › Papers

When Correct Demonstrations Hurt: Rethinking the Role of Exemplars in In-Context Learning

2026-05-25 · Chenghao Qiu, Chunli Peng, Yufeng Yang, Kuan-Hao Huang, Yi Zhou arxiv

In-context learning (ICL) is often motivated by the intuition that demonstrations help because they provide correct input-output examples. However, we reveal a counterintuitive phenomenon: correctness does not guarantee exemplar utility, and some correct demonstrations can even reduce ICL accuracy. To study this correctness-utility gap, we introduce task-preserving perturbations, where only the exemplar input is changed, while the example remains a correct instance of the same task. Concretely, each perturbed exemplar is assigned the target induced by the task mapping. This framework covers both label-updating perturbations, where task-relevant semantics change and targets are recomputed, and stricter target-preserving perturbations, where the original target remains valid. We formalize the resulting failure mode as contextual evidence shift: task-preserving perturbations can change the effective mixture of evidence used by the model for contextual inference, thereby separating exemplar correctness from exemplar utility. Across sentiment classification, logical reasoning, and math word problems, we find that task-preserving perturbed demonstrations can substantially degrade ICL performance, especially for smaller models, harder tasks, and higher perturbation ratios. Our results show that robust ICL requires evaluating not only whether demonstrations are correct, but also how they influence contextual inference. Code is available at https://github.com/Chenghao-Qiu/Task-Preserving-ICL.

📄 PDF Abstract BibTeX arXiv:2605.26350

Code (0)

등록된 구현이 없습니다.

Tasks

Logical Reasoning

Similar Papers 제목 키워드 기반

Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?

2022-02-25 · Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe 외

Large language models (LMs) are able to in-context learn -- perform a new task via inference alone by conditioning on a few input-label pairs (demonstrations) and making predictions for new inputs. However, there has bee…

In-Context Learning

Stress Testing Chain-of-Thought Prompting for Large Language Models

2023-09-28 · Aayush Mishra, Karan Thakkar

This report examines the effectiveness of Chain-of-Thought (CoT) prompting in improving the multi-step reasoning abilities of large language models (LLMs). Inspired by previous studies \cite{Min2022RethinkingWork}, we an…

Feature Expansive Reward Learning: Rethinking Human Input

2020-06-23 · Andreea Bobu, Marius Wiggert, Claire Tomlin, Anca D. Dragan

When a person is not satisfied with how a robot performs a task, they can intervene to correct it. Reward learning methods enable the robot to adapt its reward function online based on such human input, but they rely on …

HONEST: Measuring Hurtful Sentence Completion in Language Models

2021-06-01 · NAACL 2021 4 · Debora Nozza, Federico Bianchi, Dirk Hovy

Language models have revolutionized the field of NLP. However, language models capture and proliferate hurtful stereotypes, especially in text generation. Our results show that 4.3{\%} of the time, language models comple…

Hate Speech DetectionHurtful Sentence CompletionMultilingual NLPSentence+2

Evaluating the Effectiveness of Corrective Demonstrations and a Low-Cost Sensor for Dexterous Manipulation

2022-04-15 · Abhineet Jain, Jack Kolb, J. M. Abbess IV, Harish Ravichandar

Imitation learning is a promising approach to help robots acquire dexterous manipulation capabilities without the need for a carefully-designed reward or a significant computational effort. However, existing imitation le…

Imitation Learning