arXiv:2410.10636cs.LGcs.AI2024-10ICLR被引 11

动态选数据让多模态模型持续学习,少用数据还更准。

Adapt-$\infty$: Scalable Continual Multimodal Instruction Tuning via Dynamic Data Selection

  • 基于梯度向量聚类,自动识别任务相似样本并分组。
  • 仅用原数据的10%~20%训练,仍避免遗忘且提升新任务表现。
  • 适合需要长期更新、数据冗余严重的多模态模型场景。

不同来源的视觉指令数据集发布时间各异,常包含大量语义重复的图文对,受任务类型或参考源影响显著。这种冗余严重制约了可持续适应的多模态大语言模型发展,阻碍其持续精炼旧技能、学习新能力。本文将终身指令微调(LiIT)重构为数据选择问题,让模型根据当前知识状态自动筛选有益样本。提出 Adapt-$\infty$,一种多路自适应数据选择方法,动态平衡训练效率与效果。首先通过梯度样本向量构建伪技能聚类;然后从一组专家选择器中为每类选出最优,包括新提出的图像定位得分(Image Grounding score);该选择器从每类中选取最具代表性样本进行训练。为防止数据池持续膨胀,引入聚类级永久数据裁剪策略,移除每类中最冗余样本,保持计算可控。在涵盖(知识)VQA、多语言、定位、推理、纯语言和多图理解等任务的多轮指令数据集上验证,Adapt-$\infty$ 所选样本可显著缓解灾难性遗忘,尤其对罕见任务有效,并在仅使用原始数据10%~20%的情况下实现跨任务正向迁移。

原文摘要 · Abstract (English)

Visual instruction datasets from various distributors are released at different times and often contain a significant number of semantically redundant text-image pairs, depending on their task compositions (i.e., skills) or reference sources. This redundancy greatly limits the efficient deployment of continually adaptable multimodal large language models, hindering their ability to refine existing skills and acquire new competencies over time. We reframe the problem of lifelong Instruction Tuning (LiIT) via data selection, where the model automatically selects beneficial samples to learn from earlier and new datasets based on the current state of acquired knowledge in the model. We propose Adapt-$\infty$, a new multi-way and adaptive data selection approach that dynamically balances sample efficiency and effectiveness during LiIT. We first construct pseudo-skill clusters by grouping gradient-based sample vectors. Next, we select the best-performing data selector for each skill cluster from a pool of selector experts, including our newly proposed scoring function, Image Grounding score. This data selector samples a subset of the most important samples from each skill cluster for training. To prevent the continuous increase in the size of the dataset pool during LiIT, we introduce a cluster-wise permanent data pruning strategy to remove the most semantically redundant samples from each cluster, keeping computational requirements manageable. We validate the effectiveness and efficiency of Adapt-$\infty$ over a sequence of multimodal instruction tuning datasets with various tasks, including (Knowledge) VQA, multilingual, grounding, reasoning, language-only, and multi-image comprehension. Training with samples selected by Adapt-$\infty$ alleviates catastrophic forgetting, especially for rare tasks, and promotes forward transfer across the continuum using only a fraction of the original data.

多模态持续学习数据选择指令微调

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