arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.09559cs.CLcs.CV
收藏

少即是多:面向视觉指令微调的高价值数据选择

Less is More: High-value Data Selection for Visual Instruction Tuning

Alibaba Group(阿里巴巴集团);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);School of Information, Renmin University of China(中国人民大学信息学院)

Zikang Liu, Kun Zhou, Wayne Xin Zhao, Dawei Gao, Yaliang Li, Ji-Rong Wen

AI总结:

针对视觉指令微调数据冗余、训练成本高的问题,提出基于梯度影响函数的高价值数据选择方法TIVE,仅用15%数据即可达到甚至超越全量微调的性能。

摘要:

视觉指令微调是构建大视觉语言模型(LVLMs)的关键,它通过学习来自多样视觉任务的混合指令数据,能够极大提升模型的任务泛化能力与问题求解能力。以往的研究大多通过启发式方式收集多个现有视觉指令数据集用于训练(指令数量甚至超过一百万条),这可能会引入数据冗余并增加训练成本。为探究这一问题,我们开展了一系列实证研究,结果表明视觉指令数据集中存在显著的冗余性,且大幅减少部分任务的指令数量甚至不会影响模型性能。基于上述发现,我们提出了一种高价值数据选择方法TIVE,用于消除视觉指令数据中的冗余并降低训练成本。在TIVE中,我们首先基于基于梯度的影响函数,估计每个样本在其对应任务上的实例影响分数,以及任务难度分数。随后,我们利用这两类分数确定所选视觉指令子集中的任务占比,并分别为每个任务筛选高价值样本。在多种大视觉语言模型上的实验表明,我们的方法仅使用约15%的数据,就能在8个基准测试上取得与全数据微调模型相当的平均性能,甚至在其中4个基准测试上超越了全数据微调模型。我们的代码和数据将公开发布。

英文摘要:

Visual instruction tuning is the key to building large vision language models~(LVLMs), which can greatly improve the task generalization and solving capabilities by learning a mixture of instruction data from diverse visual tasks. Previous work mostly collects multiple existing visual instruction datasets via heuristic ways for training (even more than a million instructions), which may introduce data redundancy and enlarge the training cost. To investigate this issue, we conduct a series of empirical studies, which reveal a significant redundancy within the visual instruction datasets, and show that greatly reducing the amount of instructions from several tasks even do not affect the performance. Based on the findings, we propose a high-value data selection approach TIVE, to eliminate redundancy within the visual instruction data and reduce the training cost. In TIVE, we first estimate the instance influence score on its corresponding task, and the task difficulty score, based on the gradient-based influence functions. Then, we leverage the two kinds of scores to determine the task proportion within the selected visual instruction subset, and select high-value instances for each task, respectively. Experiments on various LVLMs show that our approach using only about 15% data can achieve comparable average performance to the full-data fine-tuned model across eight benchmarks, even surpassing it on four of the benchmarks. Our code and data will be publicly released.

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

↑