Corrective In-Context Learning: Evaluating Self-Correction in Large Language Models

Mario Sanz-Guerrero, Katharina von der Wense
3/20/2025
cs.CL

No official code found. Best implementation: mario-sanz/CICL (0 stars, last commit 2025-03-21).

Abstract

In-context learning (ICL) has transformed the use of large language models (LLMs) for NLP tasks, enabling few-shot learning by conditioning on labeled examples without finetuning. Despite its effectiveness, ICL is prone to errors, especially for challenging examples. With the goal of improving the performance of ICL, we propose corrective in-context learning (CICL), an approach that incorporates a model's incorrect predictions alongside ground truth corrections into the prompt, aiming to enhance classification accuracy through self-correction. However, contrary to our hypothesis, extensive experiments on text classification tasks demonstrate that CICL consistently underperforms standard ICL, with performance degrading as the proportion of corrections in the prompt increases. Our findings indicate that CICL introduces confusion by disrupting the model's task understanding, rather than refining its predictions. Additionally, we observe that presenting harder examples in standard ICL does not improve performance, suggesting that example difficulty alone may not be a reliable criterion for effective selection. By presenting these negative results, we provide important insights into the limitations of self-corrective mechanisms in LLMs and offer directions for future research.

View on arXivView PDF

Code Implementations(1)

mario-sanz/CICLCommunity100%

Code for the paper "Corrective In-Context Learning"

00PythonDec 23, 20241 years ago

Similar Papers

Cite this paper

@article{sanzguerrero2025corrective,
  title  = {Corrective In-Context Learning: Evaluating Self-Correction in Large Language Models},
  author = {Mario Sanz-Guerrero and Katharina von der Wense},
  year   = {2025},
  eprint = {2503.16022},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.16022v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.16022.svg)](https://codeofpaper.com/paper/2503.16022)

Discussion