arXiv:2608.29313cs.CVAug 2026

Manuscript Offprint

arXiv:2608.29313

Hyper3-CLIP: Hierarchy-Conditioned Hyperbolic Vision-Language Training

Matin Mahmood, Antonio Rueda-Toicen, Mohamed ElBassat, Seifeldin Elkerdany, Weixing Wang, Gerard de Melo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Matin Mahmood 1^{1}, Antonio Rueda-Toicen 2^{2}, Mohamed ElBassat 3^{3}, Seifeldin Elkerdany 4^{4}, Weixing Wang 2^{2}, and Gerard de Melo 2^{2}

1^{1} hyper 3^{3}labs, Berlin, Germany

matin@hyper3labs.com

2^{2} Hasso Plattner Institute, University of Potsdam, Potsdam, Germany

antonio.rueda-toicen@hpi.de

3^{3} Faculty of Computers and Data Science, Alexandria University, Alexandria, Egypt

4^{4} Faculty of Computer Science and Engineering, Alamein International University, New Alamein, Egypt

Abstract. CLIP-like vision-language models (VLMs) trained with contrastive objectives learn strong global image-text representations, but their Euclidean embeddings and global pooling fail to encode relational structure such as part-whole and parent-child relations. Hyperbolic VLMs address this gap with entailment-based objectives, and text-conditioned variants improve fine-grained alignment through sentence- and phrase-level queries. However, these two lines of work remain separate: hyperbolic VLMs use static image and region features, while query-conditioned methods lack hierarchical geometric structure. We present Hyper3-CLIP, a hierarchy-conditioned hyperbolic VLM that combines global, local, and global-local contrastive learning with query-conditioned visual pooling. To train the model, we construct lightweight query hierarchies from text, comprising full captions, sentence fragments, localized part descriptions, and extracted phrases. Each query conditions the pooling of visual patches, and the resulting representations support image-text, whole-part, and parent-child entailment losses. Query-conditioned pooling is active only during training. Hyper3-CLIP improves R@5 and R@10 retrieval on COCO and Flickr, as well as multi-label classification on VOC and COCO, while remaining competitive on hierarchy metrics. We also audit zero-shot prompt sensitivity under fixed prompt regimes and study the effect of the localized GRIT part budget used during training. Code is available at https://github.com/Hyper3Labs/hyper3-clip.

1 Introduction

Vision-language models (VLMs) have become the dominant paradigm for learning transferable multimodal representations. Large-scale contrastive pretraining methods such as CLIP [20], ALIGN [6], LiT [24], BLIP [10], and SigLIP [23] align images and text in a shared embedding space, enabling strong zero-shot recognition, image-text retrieval, and multimodal reasoning.

M. Mahmood et al.

Despite their success, most VLMs learn representations in Euclidean space using a single global embedding for each image and caption. While effective for instance-level alignment, this formulation provides limited structure for modeling the hierarchical relationships naturally present in visual scenes and language. Images consist of objects and parts, while captions contain sentences, phrases, and localized descriptions that exist at multiple semantic levels.

Hyperbolic geometry provides a natural representation space for hierarchical data, motivating a broad line of work on hyperbolic representation learning [4,5,8,15,16] and, more recently, hyperbolic vision-language models. MERU [3] first demonstrated the benefits of hyperbolic embeddings through entailment-based supervision. ATMG [21] later showed that proximity-based contrastive objectives can hinder hierarchical structure learning in hyperbolic spaces and proposed an angle-based alternative to better preserve geometric hierarchy. HyCoCLIP [17] incorporated grounded image-box and text-box pairs for compositional alignment, while UNCHA [7] introduced uncertainty-aware hierarchical alignment for part-to-whole reasoning. More recently, PHyCLIP [22] models hierarchy within individual hyperbolic spaces and compositional semantics via an ℓ1\ell_{1}-product over multiple hyperbolic factors. Although these methods capture hierarchical semantics, they remain constrained to static image and region representations and do not exploit query-conditioned visual features that dynamically adapt to different textual granularities.

In a separate line of work, recent vision-language models have moved beyond global image-text alignment toward grounded and fine-grained supervision. Methods such as ALBEF [11], RegionCLIP [25], GLIP [12], Grounding DINO [14], BLIP-2 [9], and Kosmos-2 [18] incorporate region-level grounding, open-vocabulary localization, or query-driven visual representations, enabling stronger fine-grained alignment between language and visual content. In particular, β\beta-CLIP [26] introduces sentence- and phrase-level queries with query-conditioned attention, producing multiple semantically focused visual embeddings from a single image. While effective for improving granularity, these methods do not explicitly incorporate hierarchical geometric structure for modeling part-whole or multi-granular semantic relations, which motivates the use of hyperbolic representations.

To bridge this gap, we propose Hyper3-CLIP 5^{5}, a hierarchy-conditioned hyperbolic vision-language model that combines query-conditioned visual pooling with hyperbolic hierarchical representation learning. Hyper3-CLIP constructs lightweight textual hierarchies from captions, sentence fragments, localized descriptions, and extracted phrases; each textual query attends to image patch tokens to produce a query-specific visual embedding, which is projected into hyperbolic space alongside its corresponding text representation. The resulting query-level representations are integrated with grounded image-box supervision through hyperbolic contrastive and entailment learning, enabling explicit modeling of both semantic hierarchy and fine-grained visual composition. Through extensive experiments on image-text retrieval benchmarks, we demonstrate that

5^{5} Pretrained model: https://huggingface.co/hyper3labs/hyper3-clip

Figure

Fig. 1: Hyper3-CLIP overview. The method assumes an image along with a whole-image caption and localized image boxes with corresponding text boxes. We define caption, sentence, text-box, and phrase query nodes. Each text query attends over full-image ViT patch tokens to form a query-conditioned visual node for the hierarchy losses, while the stored image boxes and text boxes remain available for grounded local alignment.

combining hyperbolic hierarchical representations with query-conditioned visual alignment improves image-text retrieval and hierarchy-sensitive image-caption alignment.

Our contribution is the integration of these two lines of work rather than a new objective family or pooling mechanism. Query decomposition and text-conditioned attention pooling follow β\beta-CLIP [26], and the base contrastive and grounded box-level entailment objective is inherited from UNCHA [7]. What is new is their parent-linked hyperbolic combination: each query carries a parent link and instantiates its own visual node in the shared hyperbolic space, and these nodes are supervised through three query-level entailment relations. Query-conditioned pooling is active only during training; at inference, Hyper3-CLIP is a standard dual encoder, and the pooling module adds no inference-time computation.

References (26)