Large Language Models (LLMs) can adapt to new tasks via in-context learning (ICL). ICL is efficient as it does not require any parameter updates to the trained LLM, but only few annotated examples as input for the LLM. In this work, we investigate an active learning approach for ICL, where there is a limited budget for annotating examples. We propose a model-adaptive optimization-free algorithm, termed AdaICL, which identifies examples that the model is uncertain about, and performs semantic diversity-based example selection. Diversity-based sampling improves overall effectiveness, while uncertainty sampling improves budget efficiency and helps the LLM learn new information. Moreover, AdaICL poses its sampling strategy as a Maximum Coverage problem, that dynamically adapts based on the model's feedback and can be approximately solved via greedy algorithms. Extensive experiments on nine datasets and seven LLMs show that AdaICL improves performance by 4.4% accuracy points over SOTA (7.7% relative improvement), is up to 3x more budget-efficient than performing annotations uniformly at random, while it outperforms SOTA with 2x fewer ICL examples.
In-Context Learning on a Budget: A Case Study in Token Classification
School of Computer Science and Engineering, The Hebrew University of Jerusalem(耶路撒冷希伯来大学计算机科学与工程学院);School of Computing and Information Systems, University of Melbourne(墨尔本大学计算与信息系统学院);Microsoft Corporation(微软公司)
LADM: Long-context Training Data Selection with Attention-based Dependency Measurement for LLMs
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Zhongguancun Academy, Beijing, China(中关村学院,北京,中国);Wuhan AI Research(武汉人工智能研究所)
Truth-Aware Context Selection: Mitigating Hallucinations of Large Language Models Being Misled by Untruthful Contexts
Institute of Computing Technology, Chinese Academy of Sciences (ICT/CAS)(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Key Laboratory of AI Safety, Chinese Academy of Sciences(中国科学院人工智能安全重点实验室)
From Random to Informed Data Selection: A Diversity-Based Approach to Optimize Human Annotation and Few-Shot Learning
Escola Politécnica, Universidade de São Paulo(圣保罗大学理工学院);Télécom Paris, Institut Polytechnique de Paris(巴黎高等电信学校,巴黎综合理工学院);Faculty of Economics, University of Porto(波尔图大学经济学院);INESC TEC(葡萄牙系统工程与计算机技术研究所)
CTQScorer: Combining Multiple Features for In-context Example Selection for Machine Translation
IIT Madras(印度理工学院马德拉斯分校);Microsoft(微软);Institute for Infocomm Research (IR)(资讯通信研究院);AI4Bharat(AI4Bharat(印度人工智能研究机构));National Institute of Information Communications Technology(日本国立信息通信技术研究所)
Dynamic Context Selection for Document-level Neural Machine Translation via Reinforcement Learning
National Laboratory of Pattern Recognition, Institute of Automation, CAS(中国科学院自动化研究所模式识别国家重点实验室);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Beijing Academy of Artificial Intelligence(北京人工智能研究院);CAS Center for Excellence in Brain Science and Intelligence Technology(中国科学院脑科学与智能技术卓越创新中心)
Multi-level context Modeling for consistent expert selection in Mixture-of-Experts
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);School of AI, The Chinese University of Hong Kong (Shenzhen)(香港中文大学(深圳)人工智能学院)
Automatic Selection of Context Configurations for Improved Class-Specific Word Representations
University of Cambridge(剑桥大学);University of Washington(华盛顿大学);The Hebrew University of Jerusalem(耶路撒冷希伯来大学);Technion, IIT(以色列理工学院);Allen Institute for AI(艾伦人工智能研究所)
Improving Background Based Conversation with Context-aware Knowledge Pre-selection
University of Amsterdam(阿姆斯特丹大学)
基于背景的对话(Background Based Conversations,BBCs)已经被开发以通过利用背景知识来使对话系统生成更多信息且更自然的响应。现有的BBC方法可以分为两类:基于提取的方法和基于生成的方法。前一个摘录来自背景材料,作为不一定自然的反应。后者产生的反应是自然的,但不一定有效地利用背景知识。在本文中,我们专注于基于生成的方法,并提出了一个模型,即上下文感知的知识预选择(CaKe),它引入了一个预选择过程,使用动态的双向注意,以改善知识的选择,使用的话语历史上下文作为先验信息,以选择最相关的背景材料。实验结果表明,我们的模型优于当前最先进的基线,表明它受益于预选过程,从而提高信息量和流畅性。
UniRetriever: Multi-task Candidates Selection for Various Context-Adaptive Conversational Retrieval
The Chinese University of Hong Kong(香港中文大学);Nankai University(南开大学);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Huawei Noah’s Ark Lab(华为诺亚方舟实验室)