Decomposing multimodal embedding spaces with group-sparse autoencoders
Chiraag Kaushik, Davis Barch, Andrea Fanelli
TL;DR
The paper tackles the interpretability of multimodal embeddings by showing that standard sparse autoencoders trained on aligned multimodal spaces tend to learn modality-split dictionaries, hindering cross-modal alignment. It introduces Masked Group-Sparse Autoencoders (MGSAE) that use a group-sparse loss and cross-modal random masking to promote truly multimodal dictionaries and shared sparse representations. The authors formalize a multimodal monosemanticity metric (MMS) and prove that a split dictionary implies a non-split, better-aligned dictionary under mild conditions. Empirical results on CLIP (image/text) and CLAP (music/text) demonstrate that MGSAE learns more multimodal concepts, reduces dead neurons, improves zero-shot cross-modal tasks, and enhances interpretability via concept naming. This work advances controllable, interpretable multimodal representations with potential extensions to more modalities and unpaired data.
Abstract
The Linear Representation Hypothesis asserts that the embeddings learned by neural networks can be understood as linear combinations of features corresponding to high-level concepts. Based on this ansatz, sparse autoencoders (SAEs) have recently become a popular method for decomposing embeddings into a sparse combination of linear directions, which have been shown empirically to often correspond to human-interpretable semantics. However, recent attempts to apply SAEs to multimodal embedding spaces (such as the popular CLIP embeddings for image/text data) have found that SAEs often learn "split dictionaries", where most of the learned sparse features are essentially unimodal, active only for data of a single modality. In this work, we study how to effectively adapt SAEs for the setting of multimodal embeddings while ensuring multimodal alignment. We first argue that the existence of a split dictionary decomposition on an aligned embedding space implies the existence of a non-split dictionary with improved modality alignment. Then, we propose a new SAE-based approach to multimodal embedding decomposition using cross-modal random masking and group-sparse regularization. We apply our method to popular embeddings for image/text (CLIP) and audio/text (CLAP) data and show that, compared to standard SAEs, our approach learns a more multimodal dictionary while reducing the number of dead neurons and improving feature semanticity. We finally demonstrate how this improvement in alignment of concepts between modalities can enable improvements in the interpretability and control of cross-modal tasks.
