提出无需参数的检索机制,实现持续学习中任务表现稳定且适应性强。
Continual Fine-Tuning with Provably Accurate and Parameter-Free Task Retrieval
- 基于聚类的无参检索,利用任务特征聚类结构实现精准任务匹配
- 在大语义变化下仍保持高预测准确率,优于现有方法
- 适合需要长期更新、数据不可回溯的持续学习场景
持续微调旨在顺序地将预训练模型适配到新任务,同时在无法访问旧任务数据的情况下保持其性能。现有方法分为输入适配和参数适配两类:前者依赖测试时检索相关提示,但需持续学习检索函数,易遗忘;后者使用固定输入嵌入,避免遗忘但牺牲表示适应性。为结合二者优势,本文提出一种新的参数适配方法,可在测试时自适应使用输入嵌入,且无需参数化检索。我们推导了基于聚类的无参检索任务检索误差界,理论揭示低误差与任务表征聚类结构良好性直接相关,从而提供全新洞见。受此启发,方法包含两个核心组件:(i) 自适应模块组合策略,学习有信息量的任务特异更新以保留并补充先验知识;(ii) 基于聚类的检索机制,捕捉每个任务的独特表征签名,实现在测试时自适应表征选择。大量实验表明,两者协同作用,在任务语义大幅变化下显著提升检索与预测性能。
原文摘要 · Abstract (English)
Continual fine-tuning aims to adapt a pre-trained backbone to new tasks sequentially while preserving performance on earlier tasks whose data are no longer available. Existing approaches fall into two categories which include input- and parameter-adaptation. Input-adaptation methods rely on retrieving the most relevant prompts at test time, but require continuously learning a retrieval function that is prone to forgetting. Parameter-adaptation methods instead use a fixed input embedding function to enable retrieval-free prediction and avoid forgetting, but sacrifice representation adaptability. To combine their best strengths, we propose a new parameter-adaptation method that enables adaptive use of input embeddings during test time with parameter-free retrieval. We derive task-retrieval error bounds for a clustering-based, parameter-free paradigm, providing theoretical guarantees that link low retrieval error to structural properties of task-specific representation clusters, revealing a fresh insight into how well-organized clustering structure will enable reliable retrieval. Motivated by this insight, our method is designed with two key components: (i) an adaptive module composition strategy that learns informative task-specific updates to preserve and complement prior knowledge, and (ii) a clustering-based retrieval mechanism that captures distinct representation signatures for each task, enabling adaptive representation use at test time. Extensive experiments show that these components work synergistically to improve retrieval and predictive performance under large shifts in task semantics.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。