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

HANCLIP: A Family of Hyperbolic Angular Negation Vision Language Models

Hoang-Bao Le, Aiden Durrant, Thai Son Mai, Binh T. Nguyen, Liting Zhou, Cathal GurrinarXiv 2026

TL;DR

HANCLIP introduces a geometry-aware framework that combines hyperbolic embeddings and angular triplet losses to teach Vision-Language Models (VLMs) how to understand negation. By training on a compact dataset of just 20,000 image-text quadruplets using LoRA, it significantly boosts a model's ability to comprehend "what an image is not" without degrading its performance on standard classification and retrieval tasks.

What Problem Does This Paper Address?

State-of-the-art Vision-Language Models (VLMs) like CLIP excel at matching images with descriptive text, but they possess a glaring weakness: they are surprisingly blind to negation. Because they primarily rely on shallow word co-occurrences, they often behave like "bag-of-words" models. For example, a standard VLM might assign nearly identical similarity scores to the captions "A cat next to an apple tree" and "A cat, not next to an apple tree", completely ignoring the logical operator "not."

Fixing this usually requires fine-tuning models on large, curated negation datasets. However, this brute-force approach often overwrites the model's pre-trained representations, leading to catastrophic forgetting and a noticeable drop in performance on standard benchmarks. HANCLIP aims to solve this trade-off by reshaping the embedding space geometrically rather than forcing the model to relearn everything from scratch.

Methods

HANCLIP introduces a model-agnostic framework that restructures the joint embedding space using two novel geometric objectives:

  1. Hyperbolic Contrastive Objective (HCO): Instead of using standard flat Euclidean space, HCO maps image and text features into a non-Euclidean Poincaré ball. Hyperbolic space is mathematically ideal for modeling hierarchical and asymmetric relationships. In this space, semantically related concepts (like an affirmative caption and its syntactically negated counterpart) stay close to each other near the center, while completely incompatible negative concepts are pushed out toward the boundary.
  2. Angular Triplet Negation Loss (ATNL): To complement the hyperbolic space, ATNL enforces constraints on the relative angles between a positive caption ($P$), a negated-positive caption ($P'$), and a true negative caption ($N$). As shown in the geometric formulation, it minimizes the angle between the positive variants when viewed from a negative anchor, ensuring that lexical overlap doesn't distort the core semantic meaning.
Figure 2: We incorporate negation samples in Hyperbolic Contrastive Objective Lhc and An- gular Triplet Negation Loss Lat to help pre-trained VLM distinguish ground-truth captions from opposite groups.

To prevent the model from forgetting its original capabilities, the authors freeze the pre-trained VLM backbone and route all task-specific adaptations through Low-Rank Adaptation (LoRA) branches.

Datasets

  • Training: A compact subset of 20,000 samples randomly selected from the CC-Neg dataset. The negated-positive captions ($P'$) were generated using 20 handcrafted linguistic templates (e.g., "It is not true that not {caption}").
  • Negation Evaluation: NegBench, a comprehensive benchmark spanning 79,000 examples across image, video, and medical domains, evaluating both Negative Retrieval and Zero-shot Multiple Choice Questions (MCQ).
  • Standard Evaluation: ImageNet, CIFAR-10, and CIFAR-100 (for classification); COCO and Flickr30k (for traditional short-text retrieval); Urban1k and ShareGPT4V (for long-text retrieval).
  • Downstream Retrieval: Sketchy, TUBerlin, QuickDraw, PKU-Sketch, FIQ, CIRR, and CIRCO.

Key Insights and Ideas

  • Negation is Hierarchical: The core "aha moment" is realizing that visual negation is inherently asymmetric and hierarchical ("what it is" vs. "what it isn't"). Hyperbolic geometry naturally accommodates this structure far better than Euclidean space.
  • Why Hybrid Negation Helps More: The authors found that HANCLIP improves significantly more on "Hybrid" MCQ questions (e.g., "A but not B") than on pure Negated questions ("not B"). In hybrid settings, the model can anchor its reasoning on strong positive evidence ("A") and use the geometric loss to suppress the inconsistent detail ("not B"). Pure negation requires absolute absence reasoning without an anchor, which remains a much harder task for VLMs.
  • Text-Side LoRA is Crucial: Ablation studies revealed that negation semantics live primarily within the text space. Adapting only the text encoder yields the largest negation gains, while joint visual+text LoRA provides the best balance across all retrieval tasks.

Key Results

The HANCLIP framework was evaluated across four prominent VLM backbones: CLIP, LongCLIP, SmartCLIP, and HiMo-CLIP.

  • Negation Benchmarks: HANCLIP delivered an average improvement of over 4% in Negative Retrieval and an average boost of nearly 35% in Multiple Choice Question tasks on NegBench. The overall rSum score (sum of retrieval recalls) increased by 5% to 10% relative to vanilla baselines.
  • Generality Preserved: Unlike previous methods, HANCLIP maintained highly competitive performance on standard benchmarks. For instance, classification accuracy on ImageNet and CIFAR remained within $\pm0.3\%$ of the base models, and in the case of HiMo-CLIP, slightly improved.
Performance comparison on NegBench showing the trade-offs with different alpha weights

Limitations and Future Work

Despite its success, the authors note a few limitations:

  • Long-Context Trade-off: Under certain settings, long-token models like LongCLIP and SmartCLIP experienced a slight performance drop on long text-to-image retrieval benchmarks.
  • Simplistic Negation Templates: The negated-positive captions were generated using relatively simple templates. These only cover a small fraction of the diverse ways negation appears in natural human language.

Future work will focus on expanding the complexity of negation descriptions without relying on computationally heavy Large Language Models (LLMs) for caption generation.

Summary updated

BibTeX
@misc{le2026hanclip,
  author = {Hoang-Bao Le and Aiden Durrant and Thai Son Mai and Binh T. Nguyen and Liting Zhou and Cathal Gurrin},
  title = {{HANCLIP: A Family of Hyperbolic Angular Negation Vision Language Models}},
  year = {2026},
  eprint = {2606.23843},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.23843},
}
Figure