Abstract
Compositionality—the ability to understand complex concepts through their constituent parts—is a hallmark of human intelligence. While the text embeddings of Vision-Language Models (VLMs) like CLIP are known to be compositional, the visual side has remained less explored due to noise and geometric constraints. This paper introduces Geodesically Decomposable Embeddings (GDE), a framework that leverages the spherical geometry of VLM latent spaces to mathematically combine visual "primitives." GDE significantly improves zero-shot classification and model robustness without additional training.
Introduction
Visual data is inherently more complex than text, characterized by high noise levels and sparsity in concept combinations. Furthermore, CLIP embeddings are normalized to a hypersphere, making standard linear operations like vector addition inaccurate.
The authors demonstrate that by respecting the manifold geometry of the embedding space, we can "calculate" representations for unseen object-attribute pairs, effectively hallucinating visual concepts the model has never explicitly seen.
Methodology: Geodesically Decomposable Embeddings
The core of GDE lies in treating the latent space as a Riemannian manifold rather than a flat Euclidean plane. The process involves:
- Tangent Space Projection: Projecting spherical embeddings onto a flat "tangent plane" using a Logarithmic Map.
- Vector Decomposition: Decomposing complex embeddings into denoised "primitive directions" (e.g., "leather" or "sandal") within this flat space.
- Re-projection: Mapping the newly composed vectors back onto the hypersphere via an Exponential Map.
This approach allows for the creation of "ideal" concept vectors that filter out idiosyncratic noise like backgrounds or lighting.
Experiments and Results
The researchers evaluated GDE across several benchmarks, including UT-Zappos (shoes), MIT-states (object states), and datasets for group robustness like Waterbirds and CelebA.
- Compositional Classification: On UT-Zappos, GDE achieved a Harmonic Mean (HM) of 29.3%, nearly doubling the performance of standard zero-shot CLIP (15.3%) and significantly outperforming linear decomposition methods (6.6%).
- Group Robustness: GDE achieved 86.4% Worst-Group Accuracy on Waterbirds. This is a training-free result that competes with state-of-the-art supervised methods, proving that isolating object vectors from spurious background vectors enhances model reliability.
- Data Efficiency: The method is remarkably stable, requiring only a small fraction of support samples to define primitive directions with minimal performance loss.
Discussion and Key Insights
The success of GDE suggests that compositionality is an emergent property of large-scale VLM pre-training. The model naturally organizes information into regular geometric structures. By leveraging this structure, GDE can generate accurate embeddings for rare or unseen combinations. When these calculated embeddings are fed into an image generator like Stable Diffusion, they produce photorealistic images that correctly capture both the attribute and the object.
Limitations
GDE currently requires predefined labels for attributes and objects to perform decomposition. Future work could explore unsupervised methods for discovering these primitives. Additionally, while the hyperspherical assumption fits CLIP, other models may require different geometric mappings. Scaling the method to multi-factor compositions (e.g., "a small red car") also remains an open research direction.
Summary updated