Papers
Topics
Authors
Recent
Search
2000 character limit reached

SAE-V: Mechanistic Interpretability for MLLMs

Updated 29 May 2026
  • SAE-V is a mechanistic interpretability framework for multimodal large language models that decomposes visual and textual representations into sparse, human-inspectable features.
  • It employs cross-modal feature weighting computed via cosine similarity of top activating tokens to effectively filter data and optimize model alignment.
  • Empirical evaluations on models like LLaVA-NeXT-7B show up to 125% performance gains using significantly reduced data fractions.

SAE-V is a mechanistic interpretability framework extending sparse autoencoding methods to the domain of multimodal LLMs (MLLMs). Addressing the increased complexity of semantic spaces arising from the integration of visual and textual modalities, SAE-V enables fine-grained decomposition of multimodal representations and introduces an intrinsic method for data filtering, leading to improved model alignment and data efficiency (Lou et al., 22 Feb 2025).

1. Formal Specification and Architecture

Let M\mathcal{M} denote a pretrained MLLM. SAE-V targets a designated transformer layer (the “hook”), extracting the hidden state matrix HR×mH \in \mathbb{R}^{\ell\times m} for an example comprising \ell tokens over both text and vision (embedding dimension mm). The SAE-V module comprises:

  • An encoder E:R×mR×nE: \mathbb{R}^{\ell\times m} \rightarrow \mathbb{R}^{\ell\times n}, yielding latent activations ZZ.
  • A dictionary/decoder matrix FRn×mF \in \mathbb{R}^{n\times m} whose rows f1,,fnf_1,\ldots, f_n are monosemantic feature vectors.

The encoding is defined as: Z=E(H)=ReLU(HWenc+benc)R×nZ = E(H) = \operatorname{ReLU}(HW_{\text{enc}} + b_{\text{enc}}) \in \mathbb{R}^{\ell\times n} The decoding reconstructs HH as: HR×mH \in \mathbb{R}^{\ell\times m}0 with the HR×mH \in \mathbb{R}^{\ell\times m}1-th row of HR×mH \in \mathbb{R}^{\ell\times m}2 recovered as HR×mH \in \mathbb{R}^{\ell\times m}3.

The SAE-V loss function is: HR×mH \in \mathbb{R}^{\ell\times m}4 with HR×mH \in \mathbb{R}^{\ell\times m}5 balancing fidelity and sparsity.

With HR×mH \in \mathbb{R}^{\ell\times m}6 partitioned as HR×mH \in \mathbb{R}^{\ell\times m}7 (for text and vision), HR×mH \in \mathbb{R}^{\ell\times m}8 contains sparse latent activations over HR×mH \in \mathbb{R}^{\ell\times m}9, ensuring each \ell0 corresponds to a monosemantic feature interpretable across modalities.

2. Cross-Modal Feature Weighting

To quantify the cross-modal semantic alignment of each feature \ell1, SAE-V defines scalar weights \ell2:

  • For each \ell3, identify top-K activating text tokens (\ell4) and vision tokens (\ell5) from a held-out sample.
  • Compute the unnormalized cross-modal score: \ell6
  • Normalize (optionally with temperature \ell7): \ell8 or use \ell9.

These weights provide a principled means to identify features with high joint text–vision semantic content and play a central role in data filtering.

3. Intrinsic Data Filtering and Alignment Optimization

SAE-V enables intrinsic filtering of multimodal datasets by scoring each example using the cross-modal feature weights:

  • Compute mm0, where mm1 is the set of features for which mm2 on sample mm3.
  • Rank all examples by mm4.
  • Retain the top mm5 fraction of examples.

Empirical analysis on datasets such as Align-Anything demonstrated that with mm6, the cosine-similarity filter achieves mm7 of full-data alignment performance, and with mm8, the co-occurrence filter peaks at mm9 of baseline score. Randomly filtered baselines yield E:R×mR×nE: \mathbb{R}^{\ell\times m} \rightarrow \mathbb{R}^{\ell\times n}0 of the baseline when using less than full data.

Ablation studies confirm these effects hold across different models (LLaVA-NeXT-7B, Chameleon-7B) and datasets (MMInstruct, RLAIF-V), with observed alignment gains up to E:R×mR×nE: \mathbb{R}^{\ell\times m} \rightarrow \mathbb{R}^{\ell\times n}1 using merely E:R×mR×nE: \mathbb{R}^{\ell\times m} \rightarrow \mathbb{R}^{\ell\times n}2 of the data in some settings.

4. Empirical Evaluation and Metrics

Experimental Protocol

  • Architectures: LLaVA-NeXT-7B (CLIP-based) and Chameleon-7B (early-fusion).
  • Data: Align-Anything (E:R×mR×nE: \mathbb{R}^{\ell\times m} \rightarrow \mathbb{R}^{\ell\times n}3 multimodal preferences, E:R×mR×nE: \mathbb{R}^{\ell\times m} \rightarrow \mathbb{R}^{\ell\times n}4 used), MMInstruct, RLAIF-V.
  • Evaluation: LLaVA-Bench alignment score, ImageNet classification accuracy, sparse activation metrics (E:R×mR×nE: \mathbb{R}^{\ell\times m} \rightarrow \mathbb{R}^{\ell\times n}5, E:R×mR×nE: \mathbb{R}^{\ell\times m} \rightarrow \mathbb{R}^{\ell\times n}6), and reconstruction loss.

Quantitative Results

Filter Type Fraction Data Alignment Score (%)
Cosine (SAE-V) 20% 108
Cosine (SAE-V) 40% 112–115
Co-occurrence 50% 115
Random Baseline <100% 98–100

On Chameleon-7B, the cosine filter delivered E:R×mR×nE: \mathbb{R}^{\ell\times m} \rightarrow \mathbb{R}^{\ell\times n}7 performance with E:R×mR×nE: \mathbb{R}^{\ell\times m} \rightarrow \mathbb{R}^{\ell\times n}8 data, MMInstruct yielded E:R×mR×nE: \mathbb{R}^{\ell\times m} \rightarrow \mathbb{R}^{\ell\times n}9 with ZZ0, and RLAIF-V reached ZZ1 with ZZ2.

5. Mechanistic Interpretability and Feature Analysis

SAE-V supports circuit-style mechanistic interpretability for MLLMs:

  • Each ZZ3 corresponds to a monosemantic, human-inspectable concept, with high-activating text tokens and vision patches being semantically coherent.
  • Examples include feature #44031 (“Doberman” tokens, Doberman dog regions in images) and feature #11105 (“symmetry,” “mirror,” symmetric visual patterns).
  • Image patches ranked by SAE-V features (using ZZ4, ZZ5, or cosine-score metrics) enable pruning while retaining ZZ6–ZZ7 ImageNet accuracy with only ZZ8 of patches preserved.
  • Linkage between features and concrete samples supports direct analysis and labeling, providing insights into generation pathways.

6. Impact and Implications

SAE-V advances interpretability and alignment methodologies in multimodal deep learning by yielding:

  • A mechanism for surfacing stable, semantically meaningful features spanning both vision and language.
  • A data-driven, internal filtering metric (cross-modal weight ZZ9) that enables model alignment gains up to FRn×mF \in \mathbb{R}^{n\times m}0 with substantially reduced data requirements (FRn×mF \in \mathbb{R}^{n\times m}1, often FRn×mF \in \mathbb{R}^{n\times m}2).
  • Fine-grained diagnostics for both feature discovery and sample-level quality assessment.

A plausible implication is that adoption of architectural and filtering strategies inspired by SAE-V may set new baselines for data efficiency and interpretability in multimodal model alignment (Lou et al., 22 Feb 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to SAE-V.