多模态模型差异分析用于特征发现与控制
观点分析 · 2026/08/17
多模态大语言模型(MLLMs)展现出强大的视觉理解能力,但其内部特征难以识别、审计或控制。现有的稀疏自编码器(SAEs)虽可用于事后检查,但无法隔离多模态训练改变的特征,也不便于直接控制。我们提出MMDiff框架,通过训练多模态SAEs并将其转化为特征级接口,实现特征发现与控制。MMDiff支持三种用途:特征隔离、任务特定特征检测和特征级控制。我们在三个MLLM家族(LLaVA-MORE、PaliGemma 2、InternVL3.5)上训练多模态SAEs,并在视觉空间理解、多模态安全和OCR任务上评估。MMDiff发现稀疏、因果特定的特征,移除这些特征会选择性降低目标行为(空间任务平均12%,OCR 17%),并将多模态安全攻击成功率降低24%,且不影响VQA性能。特征引导在空间和OCR任务上平均比标准单层引导基线提高+3.6%和+1.8%。结果表明,多模态SAEs不仅可作为可解释性工具,还可作为审计、引导和控制MLLMs行为的机制,以实现更安全、更强大的生成。
该论文提出了一种新颖的多模态模型差异分析框架,将SAEs从解释工具提升为控制机制,在多个任务上展示了显著效果,为多模态大模型的可解释性和安全性提供了实用方法,值得关注。
Multimodal Large Language Models (MLLMs) exhibit strong visual understanding, yet the internal features that cause these behaviors remain difficult to identify, audit, or control. While applicable to post-hoc inspection, hidden states that are decomposed into interpretable feature directions using sparse autoencoders (SAEs) neither readily isolate which features are changed by multimodal training, nor are they directly useful for targeted control. We introduce MMDiff, a multimodal model-diffing framework that trains multimodal SAEs and turns them into feature-level interfaces for discovering and controlling multimodal behavior. MMDiff supports three uses: (i) feature isolation, by diffing a base-LM SAE against its multimodal-adapted counterpart to identify features altered by multimodal training; (ii) task-specific feature detection, via per-token contrastive firing analysis that isolates causal features; and (iii) feature-level control, by causally removing or steering the discovered feature directions. We train multimodal SAEs for three MLLM families, LLaVA-MORE, PaliGemma 2, and InternVL3.5, and evaluate on visual-spatial understanding, multimodal safety, and OCR. MMDiff discovers sparse, causally specific features whose removal selectively degrades target behaviors by an average of 12% on spatial tasks and 17% on OCR, and reduces attack success rate by 24% on multimodal safety attacks, with no impact on VQA performance. Steering these features improves spatial and OCR accuracy by +3.6% and +1.8% on average over a standard single-layer steering baseline. These results show that multimodal SAEs can serve not only as interpretability tools, but as mechanisms for auditing, steering, and controlling MLLMs behavior toward safer and more capable generations.