arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.01454cs.CVcs.LG
收藏

基于跨模态对齐轨迹的视觉语言模型微调数据选择方法

Data Selection for Fine-tuning Vision Language Models via Cross Modal Alignment Trajectories

Department of Computer Science, University of California Los Angeles(加州大学洛杉矶分校计算机科学系);Google Research(谷歌研究)

Nilay Naharas, Dang Nguyen, Nesihan Bulut, Mohammadhossein Bateni, Vahab Mirrokni, Baharan Mirzasoleiman

AI总结:

针对大视觉语言模型数据选择方法欠缺的问题,提出基于跨模态注意力奇异值轨迹聚类的XMAS方法,可在大幅删减训练数据的同时保留模型性能并加速训练。

摘要:

数据高效学习旨在通过在信息量最大的小样本子集上训练模型,消除大型训练数据集中的冗余。尽管数据选择已在视觉模型和大语言模型(LLM)中得到广泛研究,但在大视觉语言模型(LVLM)领域的探索仍不充分。值得注意的是,现有方法在不同子集规模下均无法超越随机选择的效果。\n本文提出了首个用于LVLM指令微调的系统化数据高效方法。我们证明,指令微调过程中跨模态注意力矩阵相似的样本具有相似的梯度,因此它们对模型参数的影响方式相近,在训练中向模型传递的信息也相同。基于这一洞察,我们提出XMAS方法:通过微调小型代理LVLM获取各样本注意力矩阵的 top 奇异值轨迹,再依据该轨迹对样本进行聚类,最后从这些聚类中采样得到均衡子集,从而有效去除大规模LVLM训练数据中的冗余。\n大量实验表明,XMAS可剔除LLaVA-665k数据集中50%的数据、Vision-Flan数据集中85%的数据,同时完全保留LLaVA-1.5-7B在10个下游基准上的性能,且训练速度提升1.2倍。与LLaVA-665k上的最优基线相比,其数据删减量高出30%。项目主页为:https://bigml-cs-ucla.github.io/XMAS-project-page/。

英文摘要:

Data-efficient learning aims to eliminate redundancy in large training datasets by training models on smaller subsets of the most informative examples. While data selection has been extensively explored for vision models and large language models (LLMs), it remains underexplored for Large Vision-Language Models (LVLMs). Notably, none of existing methods can outperform random selection at different subset sizes. In this work, we propose the first principled method for data-efficient instruction tuning of LVLMs. We prove that examples with similar cross-modal attention matrices during instruction tuning have similar gradients. Thus, they influence model parameters in a similar manner and convey the same information to the model during training. Building on this insight, we propose XMAS, which clusters examples based on the trajectories of the top singular values of their attention matrices obtained from fine-tuning a small proxy LVLM. By sampling a balanced subset from these clusters, XMAS effectively removes redundancy in large-scale LVLM training data. Extensive experiments show that XMAS can discard 50% of the LLaVA-665k dataset and 85% of the Vision-Flan dataset while fully preserving performance of LLaVA-1.5-7B on 10 downstream benchmarks and speeding up its training by 1.2x. This is 30% more data reduction compared to the best baseline for LLaVA-665k. The project's website can be found at https://bigml-cs-ucla.github.io/XMAS-project-page/.

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

↑