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

LLaVA Steering:通过模态线性表示引导实现参数减少500倍的视觉指令微调

LLaVA Steering: Visual Instruction Tuning with 500x Fewer Parameters through Modality Linear Representation-Steering

Ludwig Maximilian University of Munich(慕尼黑大学);Munich Research Center, Huawei Technologies(华为技术有限公司慕尼黑研发中心);Munich Center for Machine Learning(慕尼黑机器学习中心)

Jinhe Bi, Yujun Wang, Haokun Chen, Xun Xiao, Artur Hecker, Volker Tresp, Yunpu Ma

AI总结:

针对视觉指令微调中的模态不平衡问题,本文提出 MoReS,通过逐层视觉子空间线性变换引导视觉表示,并以少500倍参数达到与 LoRA 相当的性能。

摘要:

多模态大语言模型(MLLM)通过将视觉表示集成到大语言模型(LLM)中,显著推动了视觉任务的发展。继承自 LLM 的文本模态赋予 MLLM 指令遵循和上下文学习等能力。相比之下,视觉模态通过利用丰富的语义内容、空间信息和定位能力来提升下游任务性能。这些内在模态在各类视觉任务中协同工作。我们的研究首先揭示了这些模态之间持续存在的不平衡:在视觉指令微调期间,文本往往主导输出生成。无论使用全量微调还是参数高效微调(PEFT)方法,这种不平衡都会出现。随后我们发现,重新平衡这些模态可以显著减少所需的可训练参数数量,从而为进一步优化视觉指令微调提供了一个方向。为此,我们提出 Modality Linear Representation-Steering(MoReS,模态线性表示引导)来实现这一目标。MoReS 可在整个模型中有效重新平衡内在模态,其核心思想是在每个模型层的视觉子空间中通过线性变换来引导视觉表示。为验证该方案,我们构建了 LLaVA Steering,这是一组集成所提 MoReS 方法的模型。评估结果表明,所构建的 LLaVA Steering 模型平均所需的可训练参数比 LoRA 少500倍,同时在三个视觉基准和八项视觉问答任务上仍取得相当的性能。最后,我们介绍了内部开发的平台 LLaVA Steering Factory,它使研究人员能够借助基于组件的架构快速定制各种 MLLM,以无缝集成最先进模型,并评估其内在模态不平衡。

英文摘要:

Multimodal Large Language Models (MLLMs) have significantly advanced visual tasks by integrating visual representations into large language models (LLMs). The textual modality, inherited from LLMs, equips MLLMs with abilities like instruction following and in-context learning. In contrast, the visual modality enhances performance in downstream tasks by leveraging rich semantic content, spatial information, and grounding capabilities. These intrinsic modalities work synergistically across various visual tasks. Our research initially reveals a persistent imbalance between these modalities, with text often dominating output generation during visual instruction tuning. This imbalance occurs when using both full fine-tuning and parameter-efficient fine-tuning (PEFT) methods. We then found that re-balancing these modalities can significantly reduce the number of trainable parameters required, inspiring a direction for further optimizing visual instruction tuning. We introduce Modality Linear Representation-Steering (MoReS) to achieve the goal. MoReS effectively re-balances the intrinsic modalities throughout the model, where the key idea is to steer visual representations through linear transformations in the visual subspace across each model layer. To validate our solution, we composed LLaVA Steering, a suite of models integrated with the proposed MoReS method. Evaluation results show that the composed LLaVA Steering models require, on average, 500 times fewer trainable parameters than LoRA needs while still achieving comparable performance across three visual benchmarks and eight visual question-answering tasks. Last, we present the LLaVA Steering Factory, an in-house developed platform that enables researchers to quickly customize various MLLMs with component-based architecture for seamlessly integrating state-of-the-art models, and evaluate their intrinsic modality imbalance.

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

↑