上下文学习(In-Context Learning, ICL)使大语言模型(Large Language Models, LLMs)能够通过在提示中提供少量演示来执行任务,而无需更新参数。尽管ICL取得了成功,但它仍存在若干局限,包括对演示顺序敏感、上下文长度受限以及计算效率低下。为应对这些挑战,基于任务向量的方法将任务信息压缩为单一向量。然而,这些方法通常从固定的演示集合中构建任务向量,并在不同输入查询之间重复使用,而不依据具体输入进行条件化。当输入查询与底层演示不一致时,这一局限可能导致模型难以有效适应,从而降低其在未见任务上的泛化性能。为克服这一局限,我们提出了自适应任务向量(Adaptive Task Vectors, ATV),这是一个简单而有效的框架,能够根据每个输入查询动态生成任务向量。ATV使用一个小型语言模型生成任务向量,随后对这些向量进行变换以匹配目标LLM的架构,并将其应用于引导输出生成。与依赖固定演示集及其对应向量的ICL和以往基于向量的方法不同,ATV能够针对每个具体输入查询和任务动态生成定制化的任务向量。因此,ATV即使在未见任务上也展现出强大的性能和泛化能力。此外,我们提供了理论分析,表明在相同秩预算下,ATV在表达能力上与LoRA等价,并且比Prefix-Tuning更具表达力,从而为其表示优势提供了形式化支持。
英文摘要:
In-Context Learning (ICL) enables Large Language Models (LLMs) to perform tasks without parameter updates by conditioning on a few demonstrations provided in the prompt. Despite its success, ICL suffers from several limitations, including sensitivity to demonstration order, context length constraints, and computational inefficiency. To address these challenges, task vector-based approaches compress task information into a single vector. However, these methods typically construct task vectors from fixed sets of demonstrations and reuse them across input queries, without conditioning on the specific input. This limitation can lead models to struggle with effective adaptation when the input query is not well aligned with the underlying demonstrations, consequently degrading their generalization performance on unseen tasks. To overcome this limitation, we propose Adaptive Task Vectors (ATV), a simple and effective framework that dynamically generates task vectors conditioned on each input query. ATV employs a small language model to generate task vectors, which are then transformed to match the target LLM's architecture and applied to guide its output generation. In contrast to ICL and previous vector-based approaches, which rely on fixed demonstration sets and their corresponding vectors, ATV dynamically generates task vectors tailored to each specific input query and task. Consequently, ATV demonstrates strong performance and generalization capabilities, even for unseen tasks. Furthermore, we provide a theoretical analysis indicating that ATV is expressively equivalent to LoRA under equal rank budgets and more expressive than Prefix-Tuning, thereby offering formal support for its representational advantage.
Dialogue-adaptive Language Model Pre-training From Quality Estimation
Shanghai Jiao Tong University(上海交通大学)
预训练语言模型(Pre-trained language models,PrLM)凭借其在大规模语料库上通过自监督学习获得的通用语言表示能力,在广泛的自然语言处理任务中取得了巨大的成功。这些模型是在具有一般语言模型(LM)训练目标的标准纯文本上预训练的,这将不足以对这些任务中反映的对话专有属性(如特异性和信息性)进行建模,这些对话专有属性未被预训练的通用语言表示明确捕获。在这项工作中,我们提出了对话自适应预训练目标(DAPO)来自质量估计模拟对话特定的功能,即连贯性,特异性和信息量。作为模型预训练的基础,我们合成了一个新的对话语料库,并使用两种无监督的方法来建立我们的训练集:1)面向连贯性的语境破坏,包括话语排序,插入和替换,以帮助模型捕获对话语境中的连贯性; 2)面向特异性的自动重评分,这鼓励模型通过考虑特异性和信息量来测量用于对话自适应预训练的合成数据的质量。在广泛使用的开放域响应选择和质量估计基准上的实验结果表明,DAPO显著改善了基线模型,并在Mutual排行榜上实现了最先进的性能,验证了将质量评估因素估计到预训练中的有效性。
VarMAE: Pre-training of Variational Masked Autoencoder for Domain-adaptive Language Understanding
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Ping An Life Insurance Company of China, Ltd.(中国平安人寿保险股份有限公司)
AdaMergeX: Cross-Lingual Transfer with Large Language Models via Adaptive Adapter Merging
DAMO Academy, Alibaba Group(阿里巴巴集团达摩院);National University of Singapore(新加坡国立大学);Hupan Lab(湖畔实验室);Singapore University of Technology and Design(新加坡科技设计大学)
From Prediction to Application: Language Model-based Code Knowledge Tracing with Domain Adaptive Pre-Training and Automatic Feedback System with Pedagogical Prompting for Comprehensive Programming Education
Enuma Inc(Enuma公司);University of Memphis(孟菲斯大学);Daegu National University of Education(大邱教育大学);Seoul National University(首尔大学);Seoul Metropolitan Office of Education(首尔市教育厅);Korea University(高丽大学)
Decoupling Variance and Scale-Invariant Updates in Adaptive Gradient Descent for Unified Vector and Matrix Optimization
Department of Computer Science, Purdue University, West Lafayette, USA(计算机科学系,普渡大学,西拉法叶,美国);Edwardson School of Industrial Engineering, Purdue University, West Lafayette, USA(工业工程学院,普渡大学,西拉法叶,美国)
QUVA Lab, University of Amsterdam(QUVA实验室,阿姆斯特丹大学);AMLab, Informatics Institute, University of Amsterdam(AMLab,阿姆斯特丹大学信息学院);AI4Science Lab, University of Amsterdam(AI4Science实验室,阿姆斯特丹大学);Korteweg-de Vries Institute for Mathematics, University of Amsterdam(科特韦格 - 德弗里斯数学研究所,阿姆斯特丹大学);Qualcomm AI Research(高通人工智能研究公司);FunAI Lab, University of Technology Nuremberg(FunAI实验室,纽伦堡工业大学)
Adaptive multi-gradient methods for quasiconvex vector optimization and applications to multi-task learning
Faculty of Mathematics and Informatics, Hanoi University of Science and Technology(河内科学技术大学数学与信息学院);TIMAS, Thang Long University(升龙大学TIMAS机构);Institute of Mathematics, VAST(越南科学院数学研究所)
Adaptive Helpfulness-Harmlessness Alignment with Preference Vectors
National Taiwan University(国立台湾大学);Texas A&M University(德克萨斯A&M大学);Appier AI Research(Appier人工智能研究院);Graduate Institute of Communication Engineering, National Taiwan University(国立台湾大学通信工程研究所)