arrow
Return

DPS: Diverse Prototype Selection for Adaptive In-Context Learning

delete2026-01-01
delete0
PRE
AI
X
Xuanbo Fan
K
Kaiyuan Li
S
Sun, Hao
B
Boci Peng
Z
Zhenrong Cheng
Y
Yan Zhang *
DOI:10.1007/978-3-032-06078-5_13delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Large language models exhibit remarkable proficiency across a wide array of tasks by leveraging in-context learning, wherein they learn from a limited number of examples. However, the efficacy of ICL is highly sensitive to the choice of demonstrations provided. Existing approaches primarily focus on the selection of individual examples, often neglecting the broader context of the entire example bank. In this paper, we introduce a novel framework aimed at augmenting the example bank through Diverse Prototype Selection (DPS). DPS decomposes the ICL process into two distinct stages: Prototype Selection and Prompt Synthesis. In the first stage, DPS identifies a set of prototype functions that closely approximate the underlying data distribution. In the second stage, these prototype functions dynamically generate query-specific demonstrations, thus guiding the LLM more effectively in its task. Empirical evaluations conducted across thirteen reasoning benchmarks demonstrate that DPS significantly enhances ICL performance, providing substantial improvements when integrated with downstream LLMs.
Keywords:
In-context Learning
Few-shot Learning

Journal

M
MACHINE LEARNING AND KNOWLEDGE DISCOVERY IN DATABASES. RESEARCH TRACK, ECML PKDD 2025, PT IV
IF:
0
Papers:
29
Citations:
0

Organization

T
tsinghua university
Scholars:
11.7W
Papers: 9.9W
Citations: 137
P
peking university
Scholars:
11.7W
Papers: 8.7W
Citations: 146