MAPLE: Many-Shot Adaptive Pseudo-Labeling for In-Context Learning
Zihan Chen, Song Wang, Zhen Tan, Jundong Li, Cong Shen
Abstract
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 manyshot 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 realworld datasets demonstrate the effectiveness of our framework, showcasing its ability to enhance LLM adaptability and performance with limited labeled data. Our code is provided at https: //github.com/Chen-1031/MAPLE_ICL .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Unlabeled Data Can Provably Enhance In-Context Learning of Transformers cites Language Models are Few-Shot Learners
- Unlabeled Data Can Provably Enhance In-Context Learning of Transformers cites When and How Unlabeled Data Provably Improve In-Context Learning
- When and How Unlabeled Data Provably Improve In-Context Learning cites Unlabeled Data Can Provably Enhance In-Context Learning of Transformers
- Unlabeled Data Can Provably Enhance In-Context Learning of Transformers cites Many-Shot In-Context Learning
- Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity cites Language Models are Few-Shot Learners
- Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity cites Calibrate Before Use: Improving Few-shot Performance of Language Models
- In Context Semi-Supervised Learning cites Language Models are Few-Shot Learners
- In Context Semi-Supervised Learning cites When and How Unlabeled Data Provably Improve In-Context Learning
- In Context Semi-Supervised Learning cites Many-Shot In-Context Learning
- When and How Unlabeled Data Provably Improve In-Context Learning cites Language Models are Few-Shot Learners
- When and How Unlabeled Data Provably Improve In-Context Learning cites Many-Shot In-Context Learning
- SMILE: Extended Deep Submodular Function-Based Instruction and In-context Learning Demonstration Selection cites Language Models are Few-Shot Learners
- SMILE: Extended Deep Submodular Function-Based Instruction and In-context Learning Demonstration Selection cites When and How Unlabeled Data Provably Improve In-Context Learning
- SMILE: Extended Deep Submodular Function-Based Instruction and In-context Learning Demonstration Selection cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- SMILE: Extended Deep Submodular Function-Based Instruction and In-context Learning Demonstration Selection cites Many-Shot In-Context Learning
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models cites Calibrate Before Use: Improving Few-shot Performance of Language Models
- Where and What Matters: Sensitivity-Aware Task Vectors for Many-Shot Multimodal In-Context Learning cites Language Models are Few-Shot Learners
- Where and What Matters: Sensitivity-Aware Task Vectors for Many-Shot Multimodal In-Context Learning cites Many-Shot In-Context Learning
- Many-Shot In-Context Learning cites Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity
- Many-Shot In-Context Learning cites Language Models are Few-Shot Learners
- Many-Shot In-Context Learning cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Calibrate Before Use: Improving Few-shot Performance of Language Models cites Language Models are Few-Shot Learners
Cited by top-tier papers6
- When and How Unlabeled Data Provably Improve In-Context LearningYingcong Li, Xiangyu Chang, Muti Kara, Xiaofeng Liu et al.NeurIPS 2025 · 5 citations
- Unlabeled Data Can Provably Enhance In-Context Learning of TransformersRenpu Liu, Jing YangNeurIPS 2025 · 3 citations
- In Context Semi-Supervised LearningJiashuo Fan, Paul Rosu, Aaron T. Wang, Lawrence Carin et al.ICLR 2026 · 2 citations
- Where and What Matters: Sensitivity-Aware Task Vectors for Many-Shot Multimodal In-Context LearningZiyu Ma, Chenhui Gou, Yiming Hu, Yong Wang et al.AAAI 2026 · 1 citation
- SMILE: Extended Deep Submodular Function-Based Instruction and In-context Learning Demonstration SelectionZihan Chen, Chengshuai Shi, Song Wang, Jundong Li et al.ICML 2026
Builds on17
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- Calibrate Before Use: Improving Few-shot Performance of Language ModelsZihao Zhao, Eric Wallace, Shi Feng, Dan Klein et al.ICML 2021 · 1,843 citations
- Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order SensitivityYao Lu, Max Bartolo, Alastair Moore, Sebastian Riedel et al.ACL 2022 · 1,494 citations
- Many-Shot In-Context LearningRishabh Agarwal, Avi Singh, Lei Zhang, Bernd Bohnet et al.NeurIPS 2024 · 271 citations
Related papers
- Self-ICL: Zero-Shot In-Context Learning with Self-Generated DemonstrationsWei-Lin Chen, Cheng-Kuang Wu, Yun-Nung Chen, Hsin-Hsi ChenEMNLP 2023 · 8 citations
- From Cross-Task Examples to In-Task Prompts: A Graph-Based Pseudo-Labeling Framework for In-context LearningZihan Chen, Song Wang, Xingbo Fu, Chengshuai Shi et al.EMNLP Findings 2025
- Revisiting In-Context Learning with Long Context Language ModelsJinheon Baek, Sun Jae Lee, Prakhar Gupta, Geunseob Oh et al.ACL Findings 2025 · 2 citations
- Disentangling Latent Shifts of In-Context Learning with Weak SupervisionJosip Jukic, Jan SnajderNeurIPS 2025 · 3 citations
- From Fake to Real: Mitigating Out-of-Distribution Bias in In-Context Learning via Feedback Supervision from Large Language ModelsRui Song, Yingji Li, Jian Li, Fausto Giunchiglia et al.ACL Findings 2026
