大型语言模型和视觉语言模型是否共享神经元进行推理?证据和跨模态转移的机制
Do LLMs and VLMs Share Neurons for Inference? Evidence and Mechanisms of Cross-Modal Transfer
AI总结:
本文研究了大型语言模型和视觉语言模型在推理过程中共享神经元的现象,提出SNRF框架实现低秩融合,提升多模态推理性能。
摘要:
大型视觉语言模型(LVLMs)在各种领域中迅速发展,但它们在需要多步推理和组合决策的任务上仍落后于强大的纯文本大型语言模型(LLMs)。受其共享的Transformer架构启发,我们研究了这两个模型家族是否依赖于共同的内部计算来进行此类推理。在神经元层面,我们发现了一个令人惊讶的大量重叠:在多步推理过程中,顶部激活的单元中超过一半是代表LLMs和LVLMs共享的,揭示了一个模态不变的推理子空间。通过因果探测通过激活放大,我们进一步表明这些共享的神经元编码了一致且可解释的概念层面效果,证明了它们对推理的功能贡献。基于这一见解,我们提出了共享神经元低秩融合(SNRF),一种参数高效的框架,将成熟的推理电路从LLMs转移到LVLMs。SNRF通过跨模型激活来识别共享神经元,计算模型间权重差异的低秩近似,并在共享神经元子空间中选择性地注入这些更新。这种机制通过最小的参数变化增强了多模态推理性能,并且不需要大规模的多模态微调。在多样化的数学和感知基准上,SNRF一致地增强了LVLM推理性能,同时保持了感知能力。我们的结果表明,共享的神经元在LLMs和LVLMs之间形成了一个可解释的桥梁,使推理能力的低成本转移进入多模态模型成为可能。我们的代码可在[https://github.com/chenhangcuisg-code/Do-LLMs-VLMs-Share-Neurons](https://github.com/chenhangcuisg-code/Do-LLMs-VLMs-Share-Neurons)获取。
英文摘要:
Large vision-language models (LVLMs) have rapidly advanced across various domains, yet they still lag behind strong text-only large language models (LLMs) on tasks that require multi-step inference and compositional decision-making. Motivated by their shared transformer architectures, we investigate whether the two model families rely on common internal computation for such inference. At the neuron level, we uncover a surprisingly large overlap: more than half of the top-activated units during multi-step inference are shared between representative LLMs and LVLMs, revealing a modality-invariant inference subspace. Through causal probing via activation amplification, we further show that these shared neurons encode consistent and interpretable concept-level effects, demonstrating their functional contribution to inference. Building on this insight, we propose Shared Neuron Low-Rank Fusion (SNRF), a parameter-efficient framework that transfers mature inference circuitry from LLMs to LVLMs. SNRF profiles cross-model activations to identify shared neurons, computes a low-rank approximation of inter-model weight differences, and injects these updates selectively within the shared-neuron subspace. This mechanism strengthens multimodal inference performance with minimal parameter changes and requires no large-scale multimodal fine-tuning. Across diverse mathematics and perception benchmarks, SNRF consistently enhances LVLM inference performance while preserving perceptual capabilities. Our results demonstrate that shared neurons form an interpretable bridge between LLMs and LVLMs, enabling low-cost transfer of inference ability into multimodal models. Our code is available at [https://github.com/chenhangcuisg-code/Do-LLMs-VLMs-Share-Neurons](https://github.com/chenhangcuisg-code/Do-LLMs-VLMs-Share-Neurons).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。