IC-984CLIP ViT-B/16's representation space does not reliably preserve semantic similarity as measured by shared image tags

Keivan Rezaei, Mehrdad Saberi, Mazda Moayeri, Soheil Feizi

SourcePRIME: Prioritizing Interpretability in Failure Mode Extraction

The paper measures pairwise distances in CLIP ViT-B/16's embedding space on Celeba and CUB-200, conditioning on the number of shared semantic tags between image pairs. Even when two images share 5 or more tags, there is a 0.34 probability (Celeba) that their CLIP-space distance exceeds that of two randomly sampled images. Additionally, the average number of tags shared among the 50 nearest neighbors in CLIP space (4.17 at α=0.6, Celeba) is substantially lower than the corresponding number in semantic space (7.55), and the gap is even larger on CUB-200 (2.53 vs 12.34 at α=0.7). This indicates that geometric proximity in CLIP's representation does not correspond to semantic proximity, undermining clustering-based failure mode description methods that rely on latent-space distance.

Evidence
correlational
Key metric
Celeba (Table 3): d=5, mean 8.89, std 1.21, probability 0.34; d=7, mean 8.32, std 1.80, probability 0.25. CUB-200 (Table 7): d=24, mean 3.42, std 3.18, probability 0.12. Celeba (Table 6): n=50, α=0.6, representation space 4.17 vs semantic space 7.55. CUB-200 (Table 8): n=50, α=0.7, representation space 2.53 vs semantic space 12.34.
Caveat
Semantic similarity is operationalized as shared tags from a fixed attribute set (40 tags for Celeba, 312 for CUB-200), which is a specific and limited proxy for 'the world' distance. The finding is about this particular notion of similarity, not all possible semantic relationships.
Model
CLIP / CLIP-ViT (LC)
Concepts
Distance preservation
Datasets
CelebA [eval], CUB-200-2011 / CUB200 [eval]
Extraction
automatic-extraction