arXiv:2411.02564cs.CV2024-11被引 21

让大模型持续学习新任务,还能不忘记旧知识。

Continual LLaVA: Continual Instruction Tuning in Large Vision-Language Models

  • 冻结模型,用双重嵌入动态适应新指令
  • 在多个任务流上测试,遗忘率大幅降低
  • 适合需要长期更新能力的智能助手场景

指令微调是使大型视觉语言模型(LVLMs)适配特定任务的主流方法。然而现有方法多局限于单任务适应,而现实场景中需求持续变化。理想的LVLM应能面对流式任务分布(如不同领域、新功能、新数据集)进行持续指令微调,同时最小化先前知识的遗忘。为此,我们提出COAST基准,涵盖领域增量、能力增量和数据集增量三种配置。方法上,提出无重放的持续指令微调方法Continual LLaVA。为避免经验回放带来的额外开销,冻结LVLM并为每条指令构建双重增量嵌入以实现参数高效微调。该嵌入分解为两个核心部分:1)内在增量嵌入,通过低秩池中相似度匹配选择任务特异性候选嵌入;2)上下文增量嵌入,通过可学习加权求和聚合前序任务所选嵌入,捕捉任务间依赖关系。大量实验表明,所提方法显著降低了持续指令微调过程中的遗忘现象。

原文摘要 · Abstract (English)

Instruction tuning constitutes a prevalent technique for tailoring Large Vision Language Models (LVLMs) to meet individual task requirements. To date, most of the existing approaches are confined to single-task adaptation, whereas the requirements in real-world scenarios are inherently varied and continually evolving. Thus an ideal LVLM should sustain continual instruction tuning in the face of stream-task distributions (i.e., different domains, emerging capabilities, and new datasets) while minimizing the forgetting of previously acquired knowledge. To achieve this, we propose a new benchmark for COntinuAl inStruction Tuning on LVLMs (COAST), which encompasses the aforementioned domain-incremental, capability-incremental, and dataset-incremental configurations. In terms of methodology, we propose Continual LLaVA, a rehearsal-free method tailored for continual instruction tuning in LVLMs. To circumvent the additional overhead associated with experience replay, we freeze LVLMs and construct the dual increment embeddings for each input instruction to facilitate parameter-efficient tuning. Specifically, the increment embeddings can be decomposed into two principal components: 1) intrinsic increment embeddings to encode task-specific characteristics. To achieve this, we set up a low-rank pool containing candidate embeddings, from which we select the relevant ones based on their similarity with the user instructions; 2) contextual increment embeddings to investigate the inter-dependencies across tasks. In this regard, the low-rank embeddings chosen in the previous tasks are aggregated via learnable weighted sum to provide complementary hints. Extensive experiments indicate that the proposed Continual LLaVA outperforms previous methods by significantly reducing the forgetting during the continual instruction tuning process.

持续学习视觉语言模型指令微调

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。