paper-with-me

홈 › Papers

Misconfidence-based Demonstration Selection for LLM In-Context Learning

2024-01-12 · Shangqing Xu, Chao Zhang

In-context learning with large language models (LLMs) excels at adapting to various tasks rapidly. However, its success hinges on carefully selecting demonstrations, which remains an obstacle in practice. Current approaches to this problem either rely on hard-to-acquire external supervision or require frequent interactions with LLMs, resulting in high costs. We propose a new method called In-Context Reflection (ICR) to overcome these challenges. ICR strategically selects demonstrations to reduce the discrepancy between the LLM's outputs and the actual input-output mappings. Specifically, ICR starts with a random set of initial demonstrations, then iteratively refines it. In each step, it analyzes a pool of candidate examples and identifies the ones most likely to challenge the LLM's current understanding, measured by a new metric called misconfidence. These most confusing examples are then selected to replace the less informative demonstrations in the current set. Our comprehensive evaluation across five diverse datasets encompassing 13 subtasks shows the efficacy of ICR. Compared to existing methods, ICR achieves an average performance boost of 4%, while demonstrating remarkable cross-task generalization capabilities.

📄 PDF Abstract BibTeX arXiv:2401.06301

Code (0)

등록된 구현이 없습니다.

Tasks

In-Context Learning

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Learn to Select: Exploring Label Distribution Divergence for In-Context Demonstration Selection in Text Classification

2025-11-10 · Ye Jiang, Taihang Wang, Youzheng Liu, Yimin Wang 외 arxiv

In-context learning (ICL) for text classification, which uses a few input-label demonstrations to describe a task, has demonstrated impressive performance on large language models (LLMs). However, the selection of in-con…

Semantic SimilarityText Classification

Efficient and Effective In-context Demonstration Selection with Coreset

2025-11-12 · Zihua Wang, Jiarui Wang, Haiyang Xu, Ming Yan 외 arxiv

In-context learning (ICL) has emerged as a powerful paradigm for Large Visual Language Models (LVLMs), enabling them to leverage a few examples directly from input contexts. However, the effectiveness of this approach is…

In-Context Demonstration Selection with Cross Entropy Difference

2023-05-24 · Dan Iter, Reid Pryzant, Ruochen Xu, Shuohang Wang 외

Large language models (LLMs) can use in-context demonstrations to improve performance on zero-shot tasks. However, selecting the best in-context examples is challenging because model performance can vary widely depending…

Language ModelingLanguage ModellingText Generation

In-Context Learning with Iterative Demonstration Selection

2023-10-15 · Chengwei Qin, Aston Zhang, Chen Chen, Anirudh Dagar 외

Spurred by advancements in scale, large language models (LLMs) have demonstrated strong few-shot learning ability via in-context learning (ICL). However, the performance of ICL has been shown to be highly sensitive to th…

Few-Shot LearningIn-Context LearningQuestion AnsweringSentiment Analysis+1

DemoShapley: Valuation of Demonstrations for In-Context Learning

2024-10-10 · Shan Xie, Man Luo, Chadly Daniel Stern, Mengnan Du 외

Large language models (LLMs) leveraging in-context learning (ICL) have set new benchmarks in few-shot learning across various tasks without needing task-specific fine-tuning. However, extensive research has demonstrated …

FairnessFew-Shot LearningIn-Context Learning