HANCLIP: A Family of Hyperbolic Angular Negation Vision Language Models
HANCLIP introduces a family of vision-language models that leverage hyperbolic geometry and angular triplet objectives to explicitly encode negation within a compact training framework, significantly improving negation sensitivity on benchmarks like NegBench while preserving performance on standard tasks without requiring large-scale retraining.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have a very smart librarian (a Vision-Language Model) who has read millions of books and looked at millions of photos. This librarian is great at matching a photo of a "cat" with the word "cat." However, this librarian has a funny blind spot: they struggle with the word "not."
If you show them a picture of a cat and ask, "Is this not a dog?", the librarian gets confused. Because they learned by memorizing patterns, they see the word "dog" and the picture of a cat, and their brain just says, "Oh, those two things often appear together in my training data," even though the sentence is telling them they are opposites. They rely on shallow word matching rather than truly understanding logic.
The paper introduces a new system called HANCLIP to fix this. Here is how it works, using simple analogies:
1. The Problem: The "Flat" Map
Think of the librarian's brain as a giant, flat map (Euclidean space). On this map, everything is just a dot.
- The dot for "Cat" is close to the dot for "Kitten."
- The dot for "Dog" is far away.
- But when the librarian sees the phrase "Not a Dog," they don't know where to put that dot. It's too far from "Dog" but also not quite "Cat." The flat map gets messy, and the librarian guesses wrong.
2. The Solution: A "Tree" Map (Hyperbolic Space)
The authors suggest moving the librarian's brain onto a tree-shaped map (Hyperbolic space).
- Imagine a tree where the trunk is the center. The closer you get to the center, the more general the idea is (like "Animal"). As you move out toward the branches and leaves, things get more specific (like "Cat," "Dog," "Not a Dog").
- In this tree world, "Cat" and "Not a Dog" can sit on the same branch because they are related concepts, while "Dog" is on a completely different branch.
- This allows the model to understand that "What an image is" and "What an image is not" are distinct branches of the same tree, rather than just random dots on a flat floor.
3. The "Angle" Trick (Angular Triplet Negation Loss)
The system uses a second trick called the Angular Triplet. Imagine three people standing in a room:
- The Negative Anchor (N): A person holding a sign that says "Dog."
- The Positive (P): A person holding a sign that says "Cat."
- The Negated-Positive (P'): A person holding a sign that says "Not a Dog."
The system teaches the model to look at the angles between them:
- The Alignment: From the perspective of the "Dog" person, the "Cat" person and the "Not a Dog" person should be standing in roughly the same direction. They are both "not dogs."
- The Separation: However, the "Cat" person and the "Not a Dog" person must be standing far enough apart so they don't get confused with each other.
By adjusting these angles, the model learns that "Not a Dog" points in a similar direction to "Cat" (because they are both non-dogs), but it keeps them distinct enough to avoid mistakes.
4. The Result: A Smart, Efficient Upgrade
The authors didn't have to rebuild the librarian's brain from scratch. Instead, they used a small, focused training set of only 20,000 examples (a tiny drop in the ocean compared to the millions usually needed).
They tested this new "HANCLIP" system on four different existing models (CLIP, LongCLIP, SmartCLIP, and HiMo-CLIP). The results were:
- Better Logic: The models got significantly better at answering questions involving "not" (like "Which image does not contain a car?").
- No Memory Loss: Crucially, the models didn't forget how to do their old jobs. They are still just as good at finding pictures based on simple descriptions or classifying images.
- Efficiency: They achieved these improvements without needing massive amounts of new data or retraining the whole system.
In short: HANCLIP gives AI models a better "mental map" and a set of geometric rules to understand the concept of "NOT," allowing them to reason about what something is not without losing their ability to understand what it is.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.