Learning to Select In-Context Demonstration Preferred by Large Language Model
School of Information Science and Technology, ShanghaiTech University(上海科技大学信息科学与技术学院);Microsoft Research Asia(微软亚洲研究院);State Key Laboratory of General Artificial Intelligence, BIGAI, Beijing, China(一般人工智能国家重点实验室)
Zheng Zhang, Shaocheng Lan, Lei Song, Jiang Bian, Yexin Li, Kan Ren
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.
DemoShapley: Valuation of Demonstrations for In-Context Learning
Department of Mathematics and Computer Science(数学与计算机科学系);Eindhoven University of Technology(埃因霍温理工大学);Intel Lab(英特尔实验室);Department of Psychology(心理学系);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Department of Data Science(数据科学系);New Jersey Institute of Technology(新泽西理工学院);Department of Computer Science(计算机科学系);University of Illinois Chicago(伊利诺伊大学芝加哥分校)
Mixture of Demonstrations for Textual Graph Understanding and Question Answering
Independent Researcher, Wayne State University(韦恩州立大学独立研究者);Institute for Clarity in Documentation(文档清晰研究所);Inria Paris-Rocquencourt(巴黎-罗克琴court研究所);Rajiv Gandhi University(拉吉夫·甘地大学);Tsinghua University(清华大学);Palmer Research Laboratories(帕勒尔研究实验室)
Meta-Sel: Efficient Demonstration Selection for In-Context Learning via Supervised Meta-Learning
BNU-BNBU Institute of Artificial Intelligence(BNU-BNBU人工智能研究院);Future Networks, Beijing Normal-Hong Kong Baptist University(未来网络,北京师范大学-香港 Baptist大学);Beijing Normal University at Zhuhai(珠海北京师范大学)
Unraveling Indirect In-Context Learning Using Influence Functions
University of California, Davis(加州大学戴维斯分校);University of California, Irvine(加州大学尔湾分校);University of Southern California(南加州大学);University of South Florida(佛罗里达州立大学)
Fairness in Multi-modal Medical Diagnosis with Demonstration Selection
Arizona State University(亚利桑那州立大学);University of Rochester(罗切斯特大学);University of Virginia(弗吉尼亚大学);UCL(伦敦大学学院);University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);University of Central Florida(佛罗里达中央大学)