用少500倍参数实现视觉指令调优,解决图文模态失衡问题。
LLaVA Steering: Visual Instruction Tuning with 500x Fewer Parameters through Modality Linear Representation-Steering
- 通过线性变换在每层重平衡图文表示,缓解文本主导输出问题。
- 仅需LoRA 1/500参数即可在3个基准上达到相近性能。
- 适合想高效微调多模态模型的研究者,支持快速定制与评估。
多模态大语言模型(MLLMs)通过将视觉表征融入大语言模型(LLMs),显著提升了视觉任务表现。文本模态继承自LLMs,具备指令遵循和上下文学习能力;而视觉模态则利用丰富的语义、空间信息和定位能力,增强下游任务效果。两者协同作用于多种视觉任务。本研究首次揭示了两种模态间的持续失衡——在视觉指令调优中,文本常主导输出,无论采用全量微调或参数高效微调(PEFT)。我们发现重新平衡模态可大幅减少可训练参数,由此提出模态线性表征引导(MoReS)方法。MoReS通过在每一层的视觉子空间中对视觉表征进行线性变换,实现模态再平衡。为验证该方案,我们构建了集成MoReS的LLaVA Steering系列模型。实验表明,其平均所需可训练参数仅为LoRA的1/500,同时在三个视觉基准和八个视觉问答任务中表现相当。最后,我们推出自研平台LLaVA Steering Factory,基于组件化架构,支持研究人员快速定制并评估MLLM的内在模态失衡情况。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。