Failures Are the Stepping Stones to Success: Enhancing Few-Shot In-Context Learning by Leveraging Negative Samples
Yunhao Liang, Ruixuan Ying, Takuya Taniguchi, Zhe Cui

TL;DR
This paper introduces a novel approach that leverages negative samples alongside positive ones to improve few-shot in-context learning in large language models, demonstrating enhanced performance through better example selection.
Contribution
The method utilizes negative samples to refine positive example selection, improving few-shot ICL performance by incorporating additional contextual information.
Findings
Outperforms existing methods relying only on positive samples.
Negative samples provide valuable information for selecting better positive examples.
Enhanced ICL performance validated through experimental results.
Abstract
Large Language Models exhibit powerful few-shot in-context learning (ICL) capabilities, but the performance is highly sensitive to provided examples. Recent research has focused on retrieving corresponding examples for each input query, not only enhancing the efficiency and scalability of the learning process but also mitigating inherent biases in manual example selection. However, these studies have primarily emphasized leveraging Positive samples while overlooking the additional information within Negative samples for contextual learning. We propose a novel method that utilizes Negative samples to better select Positive sample examples, thereby enhancing the performance of few-shot ICL. Initially, we construct Positive and Negative sample corpora based on Zero-Shot-Cot. Then, during inference, we employ a semantic similarity-based approach to select the most similar examples…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDomain Adaptation and Few-Shot Learning
