PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
September 30, 20250 citationsOpen Access

Learning to Select In-Context Demonstration Preferred by Large Language Model

View Full Paper
ZZZheng ZhangSLShaocheng LanLSLei Song

Key Points

  • GenICL improves ICL performance by optimizing demonstration selection using feedback from large language models.
  • In tests across 19 datasets, GenICL outperforms existing retrieval-based methods for demonstration selection.
  • Current approaches often struggle to find beneficial demonstrations due to reliance on surrogate objectives like metric learning.
  • The generative preference learning framework addresses existing limitations by utilizing high-quality demonstrations efficiently.

Abstract

In-context learning (ICL) enables large language models (LLMs) to adapt to new tasks during inference using only a few demonstrations. However, ICL performance is highly dependent on the selection of these demonstrations. Recent work explores retrieval-based methods for selecting query-specific demonstrations, but these approaches often rely on surrogate objectives such as metric learning, failing to directly optimize ICL performance. Consequently, they struggle to identify truly beneficial demonstrations. Moreover, their discriminative retrieval paradigm is ineffective when the candidate pool lacks sufficient high-quality demonstrations. To address these challenges, we propose GenICL, a novel generative preference learning framework that leverages LLM feedback to directly optimize demonstration selection for ICL. Experiments on 19 datasets across 11 task categories demonstrate that GenICL achieves superior performance than existing methods in selecting the most effective demonstrations, leading to better ICL performance.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Zhang et al. (2025) studied this question.

synapsesocial.com/papers/68dc12c58a7d58c25ebb0a47https://doi.org/10.48550/arxiv.2505.19966
Ask AI
Helpful
Bookmark
Share
View Full Paper