Saved in:
Bibliographic Details
Main Authors: Chen, Zihan, Wang, Song, Tan, Zhen, Li, Jundong, Shen, Cong
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.16225
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909622972973056
author Chen, Zihan
Wang, Song
Tan, Zhen
Li, Jundong
Shen, Cong
author_facet Chen, Zihan
Wang, Song
Tan, Zhen
Li, Jundong
Shen, Cong
contents In-Context Learning (ICL) empowers Large Language Models (LLMs) to tackle diverse tasks by incorporating multiple input-output examples, known as demonstrations, into the input of LLMs. More recently, advancements in the expanded context windows of LLMs have led to many-shot ICL, which uses hundreds of demonstrations and outperforms few-shot ICL, which relies on fewer examples. However, this approach is often hindered by the high cost of obtaining large amounts of labeled data. To address this challenge, we propose Many-Shot Adaptive Pseudo-LabEling, namely MAPLE, a novel influence-based many-shot ICL framework that utilizes pseudo-labeled samples to compensate for the lack of label information. We first identify a subset of impactful unlabeled samples and perform pseudo-labeling on them by querying LLMs. These pseudo-labeled samples are then adaptively selected and tailored to each test query as input to improve the performance of many-shot ICL, without significant labeling costs. Extensive experiments on real-world datasets demonstrate the effectiveness of our framework, showcasing its ability to enhance LLM adaptability and performance with limited labeled data.
format Preprint
id arxiv_https___arxiv_org_abs_2505_16225
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle MAPLE: Many-Shot Adaptive Pseudo-Labeling for In-Context Learning
Chen, Zihan
Wang, Song
Tan, Zhen
Li, Jundong
Shen, Cong
Artificial Intelligence
In-Context Learning (ICL) empowers Large Language Models (LLMs) to tackle diverse tasks by incorporating multiple input-output examples, known as demonstrations, into the input of LLMs. More recently, advancements in the expanded context windows of LLMs have led to many-shot ICL, which uses hundreds of demonstrations and outperforms few-shot ICL, which relies on fewer examples. However, this approach is often hindered by the high cost of obtaining large amounts of labeled data. To address this challenge, we propose Many-Shot Adaptive Pseudo-LabEling, namely MAPLE, a novel influence-based many-shot ICL framework that utilizes pseudo-labeled samples to compensate for the lack of label information. We first identify a subset of impactful unlabeled samples and perform pseudo-labeling on them by querying LLMs. These pseudo-labeled samples are then adaptively selected and tailored to each test query as input to improve the performance of many-shot ICL, without significant labeling costs. Extensive experiments on real-world datasets demonstrate the effectiveness of our framework, showcasing its ability to enhance LLM adaptability and performance with limited labeled data.
title MAPLE: Many-Shot Adaptive Pseudo-Labeling for In-Context Learning
topic Artificial Intelligence
url https://arxiv.org/abs/2505.16225