MINER: Mining the Underlying Pattern of Modality-Specific Neurons in Multimodal Large Language Models

Kaichen Huang, Jiahao Huo, Yibo Yan, Kun Wang, Yutao Yue +1 more
10/7/2024
cs.CL

No official code found. Best implementation: huang-kc/MINER (9 stars, last commit 2024-11-15).

Abstract

In recent years, multimodal large language models (MLLMs) have significantly advanced, integrating more modalities into diverse applications. However, the lack of explainability remains a major barrier to their use in scenarios requiring decision transparency. Current neuron-level explanation paradigms mainly focus on knowledge localization or language- and domain-specific analyses, leaving the exploration of multimodality largely unaddressed. To tackle these challenges, we propose MINER, a transferable framework for mining modality-specific neurons (MSNs) in MLLMs, which comprises four stages: (1) modality separation, (2) importance score calculation, (3) importance score aggregation, (4) modality-specific neuron selection. Extensive experiments across six benchmarks and two representative MLLMs show that (I) deactivating ONLY 2% of MSNs significantly reduces MLLMs performance (0.56 to 0.24 for Qwen2-VL, 0.69 to 0.31 for Qwen2-Audio), (II) different modalities mainly converge in the lower layers, (III) MSNs influence how key information from various modalities converges to the last token, (IV) two intriguing phenomena worth further investigation, i.e., semantic probing and semantic telomeres. The source code is available at this URL.

View on arXivView PDF

Code Implementations(1)

huang-kc/MINERCommunity100%
90Shell, PythonSep 6, 20241 years ago

Similar Papers

Cite this paper

@article{huang2024miner,
  title  = {MINER: Mining the Underlying Pattern of Modality-Specific Neurons in Multimodal Large Language Models},
  author = {Kaichen Huang and Jiahao Huo and Yibo Yan and Kun Wang and Yutao Yue and Xuming Hu},
  year   = {2024},
  eprint = {2410.04819},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.04819v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.04819.svg)](https://codeofpaper.com/paper/2410.04819)

Discussion