English

Interpreting CLIP with Sparse Linear Concept Embeddings (SpLiCE)

Machine Learning 2024-11-05 v2 Computer Vision and Pattern Recognition

Abstract

CLIP embeddings have demonstrated remarkable performance across a wide range of multimodal applications. However, these high-dimensional, dense vector representations are not easily interpretable, limiting our understanding of the rich structure of CLIP and its use in downstream applications that require transparency. In this work, we show that the semantic structure of CLIP's latent space can be leveraged to provide interpretability, allowing for the decomposition of representations into semantic concepts. We formulate this problem as one of sparse recovery and propose a novel method, Sparse Linear Concept Embeddings, for transforming CLIP representations into sparse linear combinations of human-interpretable concepts. Distinct from previous work, SpLiCE is task-agnostic and can be used, without training, to explain and even replace traditional dense CLIP representations, maintaining high downstream performance while significantly improving their interpretability. We also demonstrate significant use cases of SpLiCE representations including detecting spurious correlations and model editing.

Keywords

Cite

@article{arxiv.2402.10376,
  title  = {Interpreting CLIP with Sparse Linear Concept Embeddings (SpLiCE)},
  author = {Usha Bhalla and Alex Oesterling and Suraj Srinivas and Flavio P. Calmon and Himabindu Lakkaraju},
  journal= {arXiv preprint arXiv:2402.10376},
  year   = {2024}
}

Comments

25 pages, 15 figures, NeurIPS 2024. Code is provided at https://github.com/AI4LIFE-GROUP/SpLiCE

R2 v1 2026-06-28T14:50:14.996Z