Paper Reading AI Learner

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

2025-03-20 10:39:39
Mario Sanz-Guerrero, Katharina von der Wense

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.

Abstract (translated)

基于上下文的学习(ICL)已经改变了大型语言模型(LLMs)在自然语言处理(NLP)任务中的使用方式,通过利用标注示例进行少量样本学习而不需微调。尽管ICL非常有效,但它容易出错,尤其是在面对难题时。为了改进ICL的性能,我们提出了校正上下文学习(CICL),这是一种将模型错误预测和真实纠正结果整合到提示中的方法,旨在通过自我修正来提高分类精度。然而,与我们的假设相反,在文本分类任务上的大量实验表明,CICL的表现始终逊于标准ICL,并且随着提示中纠错比例的增加,性能还会下降。我们的研究发现指出,CICL引入了混淆,破坏了模型的任务理解能力,而不是改进其预测结果。此外,我们还观察到在标准ICL中呈现更难的例子并不能提高表现,这表明难度本身可能不是有效选择示例的一个可靠标准。通过展示这些负面结果,我们为LLMs自我修正机制的局限性提供了重要见解,并为进一步研究指明了方向。

URL

https://arxiv.org/abs/2503.16022

PDF

https://arxiv.org/pdf/2503.16022.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot