arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.13235cs.LG
收藏

持续微调与可证明准确且无参数的任务检索

Learning Representations for Parameter-Free Retrieval in Continual Fine-Tuning of Pre-Trained Models

Washington State University(华盛顿州立大学);Princeton University(普林斯顿大学)

Hang Thi-Thuy Le, Long Minh Bui, Minh Hoang, Trong Nghia Hoang

AI总结:

本文提出一种无参数任务检索的持续微调方法,结合输入和参数适应的优势,通过自适应模块组合策略和基于聚类的检索机制,提升任务检索和预测性能。

摘要:

持续微调旨在连续适应预训练主干以应对新任务,同时保持对早期任务的性能。现有方法分为输入和参数适应两类。输入适应方法依赖于测试时检索最相关提示,但需要持续学习检索函数,易遗忘。参数适应方法使用固定输入嵌入函数实现检索自由预测,避免遗忘,但牺牲表示适应性。为结合二者优势,我们提出一种新的参数适应方法,允许在测试时适应性使用输入嵌入,无参数检索。我们推导了基于聚类的无参数检索误差界,提供理论保证,将低检索误差与任务特定表示聚类的结构属性联系起来,揭示了良好组织的聚类结构如何可靠检索。受此启发,我们的方法包含两个关键组件:(i) 自适应模块组合策略,学习信息性任务特定更新以保持和补充先验知识;(ii) 基于聚类的检索机制,捕捉每个任务的表示签名,实现测试时的适应性表示使用。大量实验表明,这些组件协同工作,提升在任务语义大变化下的检索和预测性能。

英文摘要:

Continual learning (CL) aims to adapt models to new tasks sequentially while preserving performance on earlier tasks whose data are no longer available. Many state-of-the-art (SOTA) methods leverage a pre-trained backbone augmented with lightweight fine-tuning modules to balance representation adaptability and knowledge retention. However, retrieval-based methods often retrieve fine-tuning modules at inference via continually learned retrieval functions that are themselves vulnerable to catastrophic forgetting. Alternatively, retrieval-free methods learn prediction mechanisms over a fixed pre-trained or pre-tuned representation space, avoiding forgetting induced by representation updates at the cost of adaptability. To overcome, we develop a novel CL framework that enables parameter-free retrieval by exploiting the distributional structures of task-adaptive representations. Our key insight is fine-tuning modules can be learned not only to acquire task-specific knowledge but also to induce representations that facilitate their own retrieval. Specifically, each fine-tuning module is paired with a compact statistical signature of its induced embedding distribution, enabling likelihood-based retrieval without continually updating a shared retriever. We theoretically characterize the conditions for accurate retrieval, showing that the per-input retrieval error decreases exponentially with representation separation, while the error of retrieving modules for single-task batches decreases exponentially with batch size under suitable conditions. Guided by this analysis, we develop a continual fine-tuning method that promotes representation distinguishability while facilitating cross-task knowledge transfer. Across class-incremental benchmarks, our approach achieves SOTA classification accuracy and the lowest average forgetting, while attaining highly competitive batch-wise retrieval accuracy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑