Abstract
Contrastive Language-Image Pre-training (CLIP) embeddings have become a cornerstone of vision-language tasks, yet their high-dimensional nature often obscures the underlying semantic structure. This paper presents a rigorous statistical framework to validate and extract human-interpretable "concepts" from these embeddings. By leveraging the property of rotational invariance, the authors demonstrate that meaningful data forms distinct radial streaks in embedding space, unlike random noise. Using Varimax rotation, they decompose embeddings into sparse, high-fidelity components. This approach not only enhances interpretability but also provides a mechanism to mitigate spurious correlations, leading to substantial performance gains in real-world classification tasks.
Introduction
The interpretability of CLIP embeddings faces a persistent trade-off: methods that provide sparse, word-like concepts often suffer from significant information loss, while high-fidelity methods like Singular Value Decomposition (SVD) produce mathematically dense results that lack human meaning. Furthermore, many interpretation techniques are ad-hoc, lacking a formal way to distinguish true semantic features from random artifacts.
Researchers from the University of Wisconsin-Madison address these challenges by introducing a framework based on rotational sensitivity. Their work proves that concepts in CLIP aren't just noise; they are stable, directional features that can be isolated and manipulated without sacrificing the model's original accuracy.
Methods: Identifying and Extracting Structure
The core insight of this framework is that meaningful concepts possess a "preferred direction" in embedding space, whereas random noise is isotropic.
Hypothesis Testing for Structure
The authors propose a test for Probabilistic Rotational Invariance. While a cloud of random noise remains statistically identical under rotation, a cloud of data containing specific concepts—visualized as "radial streaks"—changes its distribution when rotated. By measuring Kurtosis (the "pointiness" of the distribution) and optimizing the Varimax objective, the researchers can statistically confirm the presence of real semantic structure.
Concept Decomposition via Varimax
Once structure is confirmed, the framework employs Varimax rotation to align the embedding axes. This technique maximizes the variance of squared loadings, effectively "pushing" data points toward specific axes. This creates sparsity—making each dimension represent a distinct, clear concept—while preserving the underlying information. To ensure objectivity, an automated algorithm projects text descriptions onto these learned axes to label the resulting concepts.
Experimental Setup and Datasets
The framework was evaluated across several benchmarks to test its robustness and utility:
- ImageNet Validation Set: For qualitative assessment of concept clarity.
- Waterbirds: A dataset designed to test spurious correlations (e.g., waterbirds frequently appearing against water backgrounds).
- WILDS-iWildCam: A real-world animal classification dataset involving diverse camera trap locations.
- CelebA: A large-scale face attributes dataset used to investigate correlations between features like hair color and accessories.
Key Results and Insights
The study reveals that CLIP embeddings are not uniform blobs but are composed of directional patterns. By rotating the coordinate system via Varimax, these "tilted" concepts become readable.
Performance and Fidelity
The Varimax-based method achieves higher reconstruction fidelity (measured by cosine similarity) compared to existing sparse coding methods like SpLiCE, while offering significantly better interpretability than raw SVD. For example, where SVD might group unrelated items like "screws" and "knitwear," Varimax produces semantically coherent clusters such as "butterfly feeding scenes."
Mitigating Spurious Correlations
A significant application of this framework is "concept scrubbing." By identifying a concept representing a spurious correlation (e.g., "ocean background" for a "seagull"), researchers can mathematically nullify its coefficient.
- On the Waterbirds dataset, removing background concepts increased worst-group accuracy by 22.6%.
- On the iWildCam dataset, filtering location-specific noise tripled prediction accuracy from 6.23% to 18.8%.
Discussion and Limitations
While the framework provides a powerful lens for embedding analysis, it relies on the assumption that concepts are linear directions. While effective for CLIP, this may not capture more complex, non-linear manifold structures. Additionally, the automatic labeling process is dependent on the quality and breadth of the provided text library. Future research may extend these statistical tests to non-linear settings and explore more nuanced noise models beyond rotation-invariant Gaussian distributions.
Summary updated