HN-CLIP Improves Dense-Caption Retrieval with Adaptive Similarity Margins.

Haoyue Liu, Ye Chen, Zhichao Wang, Xiaoying Tang· August 20, 2026 View original

Key takeaways

  • The InfoNCE objective in dense-caption retrieval can prematurely saturate due to near-duplicate captions.
  • HN-CLIP introduces adaptive similarity margins to resolve highly similar negative examples more effectively.
  • The method significantly boosts retrieval accuracy and accelerates training without added complexity.
  • It demonstrates strong performance even with a fraction of the typical training data.

Who benefits

E-commerceMedia & EntertainmentAutomotiveSecurityHealthcare

Summary

A new method, HN-CLIP, enhances dense-caption retrieval by using adaptive similarity margins based on text encoder geometry, addressing issues with InfoNCE objective saturation on near-duplicate captions. It significantly improves retrieval accuracy and training speed across multiple benchmarks.

Current dense-caption retrieval systems often struggle with the InfoNCE objective, which can saturate quickly due to numerous near-duplicate captions in datasets. This saturation leads to inefficient training and limits performance gains, as the loss function becomes ineffective at distinguishing highly similar negative examples. Researchers have introduced HN-CLIP, a novel approach that tackles this by implementing per-negative adaptive similarity margins. HN-CLIP leverages the text encoder's inherent understanding of text-to-text similarity to dynamically adjust margins for negative samples. By adding a detached caption-similarity matrix to negative logits, the method assigns larger margins to more similar captions without requiring complex negative mining or data synthesis. This streamlined approach avoids auxiliary data, additional parameters, or offline preprocessing. Extensive evaluations on four dense-caption retrieval benchmarks demonstrate HN-CLIP's effectiveness, showing improvements of +2.4 to +4.3 R@1 over leading competitors. Furthermore, it achieves significantly faster training times, being 2.4 times quicker than GOAL and 5.4 times faster than StructXLIP. The objective also enhances all six tested fine-tuning frameworks and can match top full-data baselines with only 20% of the training data.

Why it matters

This research offers a more efficient and accurate way to retrieve dense captions, which is crucial for advanced image and video understanding applications. Professionals can leverage this technique to build more robust and performant multimodal AI systems.

How to implement this in your domain

  1. 1Evaluate existing dense-caption retrieval pipelines for InfoNCE objective saturation issues.
  2. 2Integrate HN-CLIP's adaptive similarity margin mechanism into current contrastive fine-tuning frameworks.
  3. 3Benchmark the performance gains in terms of R@1 and training speed on proprietary datasets.
  4. 4Explore using HN-CLIP with reduced training data to achieve comparable performance, optimizing resource usage.
  5. 5Apply the improved retrieval capabilities to enhance downstream applications like content moderation or visual search.

Original post by Haoyue Liu, Ye Chen, Zhichao Wang, Xiaoying Tang

"arXiv:2608.18521v1 Announce Type: new Abstract: Dense-caption retrieval has recently been improved by introducing segmentation, edge maps, LLM-filtered captions, and cross-modal modules into contrastive fine-tuning. However, these methods largely inherit the same InfoNCE objectiv…"

View on X

Originally posted by Haoyue Liu, Ye Chen, Zhichao Wang, Xiaoying Tang on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses