NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Compositional Entailment Learning for Hyperbolic Vision-Language Models

Avik Pal, Max van Spengler, Guido Maria D'Amely di Melendugno, Alessandro Flaborea, Fabio Galasso, Pascal Mettes

Executive Summary

Researchers have developed HyCoCLIP, a vision-language model that moves beyond "flat" image-text alignment by explicitly modeling the hierarchical relationship between visual scenes and the objects within them. By leveraging the unique geometry of hyperbolic space and a novel "Compositional Entailment" loss, the model achieves superior zero-shot performance and a much deeper understanding of complex visual contexts compared to standard CLIP.

The Challenge: Flat Spaces vs. Hierarchical Reality

Standard vision-language models, such as CLIP, typically treat images and their corresponding captions as holistic, indivisible units. They attempt to map a complete image and a complete sentence to the exact same point in a "flat" Euclidean embedding space.

However, the visual world is naturally hierarchical. A "scene" (e.g., a garden party) is composed of "objects" (e.g., a glass carafe), which are in turn composed of smaller "parts." Standard models ignore this internal compositional structure. Furthermore, Euclidean space is mathematically ill-suited for representing hierarchies. As you move down a semantic tree, the number of nodes grows exponentially, but Euclidean volume only grows polynomially. This "geometric mismatch" makes it difficult for models to learn that a specific image of a carafe is both a subset of a broader "glassware" category and a component of a larger "dining" scene.

Methodology: Introducing HyCoCLIP

The authors introduce Hyperbolic Compositional CLIP (HyCoCLIP) to bridge this gap. The core innovation lies in how the model structures its embedding space and learns from compositional data:

  1. Hyperbolic Geometry (The Lorentz Model): Instead of a flat space, HyCoCLIP utilizes hyperbolic space. This geometry features a natural "center" (the origin) and expands exponentially toward its boundary. It is perfectly suited for tree-like structures: general, broad concepts live near the origin, while specific, fine-grained visual details live near the edge.
  2. Automated Hierarchy Generation: To train the model without expensive manual annotations, the researchers use an automated pipeline. A text parser (spaCy) extracts nouns from captions, and an open-source grounding model (GLIP) identifies the corresponding bounding "boxes" in the image. This creates a "scene $\rightarrow$ object" hierarchy for every image-text pair.
  3. Compositional Entailment Learning: The model is trained using two novel loss functions:
  4. Hierarchical Compositional Contrastive (hCC): Aligns whole images with whole texts, while also aligning specific image boxes with their specific local text labels.
  5. Hierarchical Compositional Entailment (hCE): This is the model's "secret sauce." It uses entailment cones to enforce a partial ordering in the embedding space. It mathematically pushes the representation of a specific, complex scene to be "inside" the cone of its more general components (the objects).
Compositional Entailment Learning in HyCoCLIP

Core Concepts and Insights

  • The "General-to-Specific" Reversal: Counter-intuitively, the authors argue that an object box is more general than the whole image. For example, the concept of "fresh herbs" can appear in countless different contexts (a cutting board, a cocktail, a garden). The full image, however, provides one very specific, unique context. Therefore, in their hyperbolic tree, the isolated object acts as the "parent" concept, and the full scene is the "child."
  • Geometry Matters: By utilizing hyperbolic space, the model can represent millions of hierarchical relationships without the "crowding" effect that plagues Euclidean spaces when dealing with complex trees.
  • Hierarchical Awareness is "Free": By leveraging off-the-shelf grounding and NLP tools, the authors demonstrate that structural knowledge can be injected into foundation models without requiring massive new human-annotated datasets.

Training and Performance Highlights

The model was pre-trained on a massive scale using GRIT (20.5 million grounded image-text pairs), with smaller datasets like CC3M used for hyperparameter tuning. When evaluated across 16 standard classification datasets, retrieval benchmarks, and specialized hierarchical tests, HyCoCLIP demonstrated a clear edge over standard CLIP and previous hyperbolic models like MERU:

  • Zero-Shot Classification: On ImageNet, HyCoCLIP (ViT-B/16) reached 45.8% accuracy, significantly outperforming MERU (40.1%) and CLIP (40.6%). Overall, it beat baselines on 15 out of 16 evaluation datasets.
  • Scene Understanding: On the VL-Checklist—a benchmark that tests if a model actually understands the relationships and objects in a scene—HyCoCLIP scored 59.8, compared to CLIP’s 49.3. This suggests the model isn't just "matching keywords" but genuinely understands visual composition.
  • Interpretability: Through "hyperbolic interpolation," the authors showed that moving from the origin toward an image embedding effectively "traverses" a semantic tree, smoothly transitioning from general concepts to specific visual instances.

Limitations and Future Directions

While highly effective, HyCoCLIP comes with trade-offs:

  • Computational Cost: Training is more intensive than standard CLIP. For a ViT-B/16, it took 73 hours compared to CLIP's 45 hours, primarily due to processing multiple bounding boxes per image.
  • Retrieval Trade-offs: While superior at understanding hierarchy, HyCoCLIP is slightly less performant in certain flat text-retrieval tasks (like Flickr30K) where simple proximity matters more than structural ordering.
  • Dependency on Grounding Quality: The model's performance is tethered to the accuracy of the automated grounding model (GLIP). Noisy bounding boxes can degrade the learned hierarchy.

Looking forward, the authors suggest exploring how this hierarchical approach scales to models with billions of parameters and to even more complex multi-modal data, such as video.

Summary updated

BibTeX
@inproceedings{pal2025compositional,
  author = {Avik Pal and Max van Spengler and Guido Maria D'Amely di Melendugno and Alessandro Flaborea and Fabio Galasso and Pascal Mettes},
  title = {{Compositional Entailment Learning for Hyperbolic Vision-Language Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=3i13Gev2hV},
}
Figure