Multimodal Model Diffing for Feature Discovery and Control

Hunar Batra1,*   Lachin Naghashyar1,2,*   Ashkan Khakzar1   Philip Torr1
Christian Schroeder de Witt1   Constantin Venhoff1,†   Ronald Clark1,†

1University of Oxford  ·  2Microsoft  ·  *equal contribution  ·  equal advising

TL;DRWe diff the base-LM SAE against the multimodal SAE to isolate vision-adapted features, then use contrastive per-token firing to isolate task-specific features, which we causally remove or steer to control MLLM behaviour across spatial reasoning, safety and OCR.

Overview: MMDiff isolates features altered by multimodal training and uses them to remove or steer specific behaviours.

The problem

Multimodal LLMs read text, localize objects and reason about space, but we cannot identify the internal features behind any capability. So we cannot explain failures, suppress unsafe behaviour, or steer a capability without retraining.

Our approach

  1. Train a multimodal SAE and diff it against the base-LM SAE, with features aligned.
  2. Find vision-adapted features: rotated decoder direction and visually responsive (~5–20% of the dictionary).
  3. Isolate task-specific features via contrastive per-token firing.
  4. Control: causal removal, or MMDiff-CAA steering at the feature-associated layer ℓf.

Abstract

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.

Pipeline

Method

The MMDiff pipeline in three stages: train multimodal SAEs, identify adapted features, discover task-specific features.
From a base-LM SAE, MMDiff (1) trains a multimodal SAE on VLM activations, (2) identifies features altered by multimodal training that prefer vision input, and (3) discovers task-specific features by per-token contrastive firing. The same recipe serves all three domains; only the target distribution changes.

Interventions

Qualitative examples

Generations from PaliGemma 2 on held-out samples. The two columns differ only in a single feature direction, projected out or injected at its own layer.

Results

Causal removal is behaviour-specific

Projecting out a discovered feature degrades its target behaviour while general VQA and the domain control remain within one point.

−12%
spatial reasoning, mean over three MLLMs
−17%
OCR accuracy
−24%
safety attack success rate
≤1.5%
worst case on general VQA

Spatial reasoning across three model families

Same pipeline, unchanged thresholds, three MLLM families with different language backbones, vision encoders and SAE objectives.

ModelBackboneSAEMean ΔVSRMax |ΔVQA|
MMDiff-LlamaLLaMA-3.1-8BTopK−10.1%0.8%
MMDiff-GemmaGemma-2-2BJumpReLU−12.3%1.0%
MMDiff-QwenQwen3-1.7BTopK−14.6%1.5%

Multimodal safety

On VLSBench, where harmful intent is visible only in the image. One feature per category, removed individually. ΔCtrl is measured on MSSBench-safe, where both image and instruction are benign.

FeatureCategoryΔASRΔVQAΔCtrl
L21/F12020Self-Harm−28.14+0.90+1.00
L23/F13965Erotic−26.59−0.700.00
L17/F3967Privacy−25.99−0.100.00
L13/F5205Violent−24.43−0.100.00
L9/F9066Hate−21.08−0.80+1.00
L7/F5567Illegal Activity−17.96+0.700.00
Mean−9.67%−0.03%+0.41%

Every feature cuts attack success by 18–28% while leaving general VQA and benign behaviour within one point.

OCR

Removal is scored on the feature's own OCRBench category; the control is a non-OCR VQA subset.

FeatureCategoryΔOCRBenchΔVQAΔCtrl
L19/F10089Scene text−28.0+0.2−0.4
L17/F13602Scene text−16.5+0.9+0.6
L20/F10687Non-semantic−16.0+0.6+0.4
L21/F9577Digit string−14.0−1.6−1.8
L19/F14093Irregular−10.0−0.5−1.0
Mean−16.9%≤1.6%≤1.8%

Ablating the feature-selection pipeline

Two baselines, from opposite directions. Simpler selection rules over the same dictionary find features that hurt the task and wreck general VQA. Training a dictionary from scratch on multimodal activations, with no base-LM warm start, finds features with no causal effect at all.

Selection ruleΔVSRΔVQA
Randomly-selected features−0.5%−0.2%
SAE trained from scratch on MLLM activations (LLaVA-MORE)+0.22%+0.07%
Contrastive firing only−15.1%−25.9%
  + visual responsiveness−15.9%−26.3%
  + lexical-invariance filter−14.6%−24.4%
  + adapted-feature filter−1.0%−0.2%
Full MMDiff pipeline−12.3%−0.1%

Only the full pipeline is both causally effective and selective. The from-scratch dictionary degenerates: its top features all sit in one early layer and fire on every sample, so contrastive ranking cannot separate task features from always-on ones.

Citation

@inproceedings{batra2026mmdiff,
  title  = {Multimodal Model Diffing for Feature Discovery and Control},
  author = {Batra, Hunar and Naghashyar, Lachin and Khakzar, Ashkan
            and Torr, Philip and Schroeder de Witt, Christian
            and Venhoff, Constantin and Clark, Ronald},
  year   = {2026}
}