Introduction
Multimodal Large Language Models (MLLMs), such as LLaVA and InstructBLIP, have demonstrated remarkable proficiency in Visual Question Answering (VQA) across diverse domains. However, the internal mechanisms governing how these models process and integrate visual information remain largely opaque. While research into text-only LLMs has identified language-specific neurons, the existence of specialized "hardware" for distinct visual domains—such as medical imaging or remote sensing—within MLLMs has been an open question.
This paper introduces MMNeuron, a framework designed to dissect the internal workings of MLLMs at the neuron level. By identifying and analyzing "domain-specific neurons," the researchers uncover a structured internal pipeline that transforms raw visual features into semantic textual responses.
Methodology: Probing the Multimodal Brain
To investigate the neural architecture of MLLMs, the researchers utilized three primary techniques:
- Domain Activation Probability Entropy (DAPE): This metric identifies neurons that exhibit specialized behavior. By measuring firing patterns across five distinct datasets (VQAv2, PMC-VQA, DocVQA, LingoQA, and RS-VQA), the researchers identified neurons with low entropy—those that fire consistently for a specific domain (e.g., Medical) while remaining inactive for others.
- Logit Lens: This technique projects the hidden states of internal layers back into the model's vocabulary space. This allows researchers to observe the "intermediate thoughts" of the model before it reaches a final output.
- Neuron Perturbation: To validate the functional importance of identified neurons, the researchers performed ablation studies, "deactivating" (zeroing out) domain-specific neurons and measuring the impact on VQA performance.
The Three-Stage Internal Pipeline
A core finding of the MMNeuron study is that MLLMs process multimodal information through a consistent three-stage mechanism:
- Stage 1: Alignment: In the early layers, the model works to align projected visual features into a space that resembles word embeddings.
- Stage 2: Generalization: In the middle layers, domain-specific neuron activity decreases sharply. Here, the model translates specific visual features into more abstract, universal concepts.
- Stage 3: Generation: In the final layers, task-specific neuron activity rises as the model prepares to generate a coherent textual response.
Key Insights: The 1% Specialists
The study reveals that domain-specific neurons are remarkably rare, accounting for less than 1% of the total neuron count. Despite their scarcity, these neurons are critical for specialized tasks.
Domain Distribution and Training Bias
Specialization is more pronounced in domains with distinct visual features, such as Remote Sensing (satellite imagery) and Medical Imaging (X-rays, CT scans), compared to "Common" everyday scenes. Interestingly, the number of specialized neurons often reflects the model's "effort" to understand a domain. For instance, InstructBLIP showed a high concentration of specialized neurons for autonomous driving (LingoQA) within its Q-Former module, suggesting a higher complexity in aligning those specific visual instructions.
Performance Impact
The functional significance of these neurons was confirmed through perturbation. Deactivating the identified domain-specific neurons led to a significant performance drop—up to 10% in accuracy—for specialized tasks. In contrast, deactivating an equivalent number of random neurons had a negligible effect on performance.
Visual Sparsity and Conceptual Depth
Using the Logit Lens, the researchers discovered that MLLMs treat image tokens differently than text tokens. Image tokens are represented much more sparsely within the internal space. Even in the final layers, an image token is treated as a "sparse mixture of concepts" rather than a single, concrete word.
Furthermore, the model performs a form of "semantic search" during processing. For example, when analyzing a satellite image of New York, the intermediate layers were observed considering related geographic terms like "Baltimore" before converging on the correct answer. This suggests that the model navigates its internal knowledge base to refine its understanding of the visual input.
Conclusion and Future Work
MMNeuron provides a foundational look into the neuron-level interpretability of MLLMs, identifying a clear transition from visual alignment to semantic generation. While the study clarifies where specialized processing occurs, it also highlights new questions regarding the mathematical mechanisms of information transfer and how these findings scale to larger models (e.g., 70B+ parameters). Future research will be essential to determine if these "specialist neurons" become more prevalent or more refined as model capacity increases.
Summary updated