Skip to main content
QUICK REVIEW

[Paper Review] A Concept-Based Explainability Framework for Large Multimodal Models

Jayneel Parekh, Pegah Khayatan|arXiv (Cornell University)|Jun 12, 2024
Advanced Text Analysis TechniquesComputer Science3 citations
TL;DR

This paper proposes a novel dictionary learning-based framework to extract semantically grounded, multimodal concepts from internal representations of large multimodal models (LMMs). By decomposing token representations using a Semi-NMF variant, the method identifies concepts that are simultaneously grounded in both vision and text, enabling interpretable, local explanations of LMM decisions with strong qualitative and quantitative validation of grounding quality and disentanglement.

ABSTRACT

Large multimodal models (LMMs) combine unimodal encoders and large language models (LLMs) to perform multimodal tasks. Despite recent advancements towards the interpretability of these models, understanding internal representations of LMMs remains largely a mystery. In this paper, we present a novel framework for the interpretation of LMMs. We propose a dictionary learning based approach, applied to the representation of tokens. The elements of the learned dictionary correspond to our proposed concepts. We show that these concepts are well semantically grounded in both vision and text. Thus we refer to these as ``multi-modal concepts''. We qualitatively and quantitatively evaluate the results of the learnt concepts. We show that the extracted multimodal concepts are useful to interpret representations of test samples. Finally, we evaluate the disentanglement between different concepts and the quality of grounding concepts visually and textually. Our code is publicly available at https://github.com/mshukor/xl-vlms

Motivation & Objective

  • To address the lack of interpretability methods for large multimodal models (LMMs), which combine vision encoders and large language models (LLMs) but remain largely unexplained.
  • To develop a concept-based explainability framework tailored for LMMs, overcoming limitations of prior methods designed for CNNs or unimodal models.
  • To enable simultaneous visual and textual grounding of learned concepts, creating a new notion of 'multimodal concepts' that are semantically meaningful across modalities.
  • To evaluate the quality of concept grounding, disentanglement, and utility in interpreting test sample representations.
  • To provide a publicly released framework for future research into interpretable LMMs.

Proposed method

  • The method constructs a representation matrix from the internal activations of a specific token (e.g., 'Dog') across multiple layers in the LMM.
  • It applies a Semi-NMF-based dictionary learning algorithm to decompose this matrix into a set of concept vectors, where each vector represents a distinct multimodal concept.
  • Each concept is grounded visually by identifying the images that most strongly activate it, and textually by decoding the most probable tokens associated with it via the LLM.
  • The framework leverages the frozen weights of pretrained LLMs and vision encoders, focusing only on the representation space of the token of interest.
  • It uses CLIPScore to quantitatively evaluate the alignment between visual and textual grounding of each concept.
  • The approach is applied across multiple layers to analyze the emergence of multimodal structure in deeper representations.

Experimental results

Research questions

  • RQ1Can a dictionary learning approach extract semantically meaningful, multimodal concepts from the internal representations of large multimodal models?
  • RQ2Do the extracted concepts exhibit strong, coherent grounding in both visual and textual modalities?
  • RQ3At which layers of the LMM do multimodal representations begin to emerge and become interpretable?
  • RQ4How well do the concepts disentangle from one another, and how useful are they for locally interpreting test sample representations?
  • RQ5Can the proposed method outperform baseline methods like K-Means, PCA, or simple baselines in concept quality and interpretability?

Key findings

  • The multimodal concepts extracted via Semi-NMF show strong semantic grounding, with 85% of concepts having CLIPScore above 0.5, indicating high alignment between visual and textual grounding.
  • The majority of concepts lie above the y=x line in the CLIPScore vs. random word comparison, confirming that grounded words better reflect the content of maximum-activating images than random words.
  • Concepts are highly disentangled and capture diverse attributes such as color (e.g., 'black', 'brown'), texture (e.g., 'long hair'), size (e.g., 'small/puppy-like'), actions (e.g., 'playing/running'), and contextual scenes (e.g., 'herd').
  • The quality of multimodal grounding significantly improves between layers 20 and 25, indicating that deeper layers contain more structured, multimodal representations suitable for concept extraction.
  • Local interpretations using the top three activating concepts successfully highlight salient features in test samples, such as 'long hair' and 'black/white color' for a dog image, demonstrating practical interpretability.
  • Visualizations show that concepts like 'cat and dog' or 'herd' capture relational and contextual information, indicating the model encodes rich, compositional knowledge.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.