FlexAC:面向多模态大语言模型中联想推理的灵活控制
FlexAC: Towards Flexible Control of Associative Reasoning in Multimodal Large Language Models
AI总结:
本文提出 FlexAC 框架,通过幻觉引导的中间表示和自适应联想引导向量,实现对多模态大语言模型联想推理强度的灵活控制,显著提升创造性并降低幻觉率。
摘要:
多模态大语言模型(MLLMs)在忠实性与创造性之间面临固有的权衡,因为不同任务需要不同程度的联想推理。然而,现有方法缺乏调节这种推理强度的灵活性,限制了MLLMs在事实性与创造性场景中的适应性。为弥合这一差距,我们提出为MLLMs配备能够灵活控制联想推理的机制。我们首先研究了MLLMs中联想行为背后的内部机制,发现:(1)中间层在塑造模型联想倾向方面发挥关键作用,(2)修改这些层中的表示可以有效调节联想推理强度,(3)可以利用幻觉来推导引导这种调节的 steering vectors(引导向量)。基于这些发现,我们引入了 Flexible Association Control(FlexAC),这是一个轻量级且无需训练的框架,用于调节MLLMs中的联想行为。FlexAC 首先诱导幻觉引导的中间表示来编码联想方向。然后,它选择高联想实例来构建有效的联想引导向量,其强度经过自适应校准,以平衡创造性引导与输出稳定性。最后,认识到联想推理的多维特性,FlexAC 结合了从少量目标域样本的前向传播中推导出的任务特定联想向量,使模型能够遵循多样的联想方向并更好地适应创造性任务。值得注意的是,我们的方法在 Creation-MMBench 上实现了高达 5.8 倍的创造性提升,并在 CHAIR 上将幻觉率降低了 29%,超越了现有基线,证明了其在实现 MLLMs 中联想推理灵活控制方面的有效性。我们的代码可在 https://github.com/ylhz/FlexAC 获取。
英文摘要:
Multimodal large language models (MLLMs) face an inherent trade-off between faithfulness and creativity, as different tasks require varying degrees of associative reasoning. However, existing methods lack the flexibility to modulate this reasoning strength, limiting MLLMs' adaptability across factual and creative scenarios. To bridge this gap, we propose equipping MLLMs with mechanisms that enable flexible control over associative reasoning. We begin by investigating the internal mechanisms underlying associative behavior in MLLMs and find that: (1) middle layers play a pivotal role in shaping model's associative tendencies, (2) modifying representations in these layers effectively regulates associative reasoning strength, and (3) hallucinations can be exploited to derive steering vectors that guide this modulation. Building on these findings, we introduce Flexible Association Control (FlexAC), a lightweight and training-free framework for modulating associative behavior in MLLMs. FlexAC first induces hallucination-guided intermediate representations to encode associative directions. Then, it selects high-association instances to construct effective associative steering vectors, whose strengths are adaptively calibrated to balance creative guidance with output stability. Finally, recognizing the multi-dimensional nature of associative reasoning, FlexAC incorporates task-specific associative vectors derived from a forward pass on a few target-domain samples, enabling models to follow diverse associative directions and better adapt to creative tasks. Notably, our method achieves up to a 5.8x improvement in creativity on Creation-MMBench and a 29% reduction in hallucination rate on CHAIR, surpassing existing baselines and demonstrating its effectiveness in enabling flexible control over associative reasoning in MLLMs. Our code is available at https://github.com/ylhz/FlexAC.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。