potentialpaper

Which Negatives Matter? Ask Your Text Encoder: Adaptive Similarity Margins for Dense-Caption Retrieval

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 18:57 UTC · 0aa77f247d09 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "l6yQeN0R8j"
- }
- ],
- "title": "Which Negatives Matter? Ask Your Text Encoder: Adaptive Similarity Margins for Dense-Caption Retrieval",
- "authors": [],
- "abstract": "Dense-caption retrieval requires distinguishing images paired with highly similar, detail-rich descriptions. We empirically examine contrastive fine-tuning from a strong pretrained dual encoder and observe that the standard InfoNCE loss can become small on sampled batches while held-out retrieval errors remain. Through an analysis of gradient dynamics, we find that InfoNCE rapidly loses optimization signal: within the first epoch, its loss falls below $10^{-3}$ on $80\\%$ of sampled batches, and over the run its gradient norm below $5\\times10^{-7}$ in $47\\%$ of measurements, even as held-out retrieval continues to improve. We relate this premature saturation to the abundance of near-duplicate captions in dense-caption datasets, where the most confusable negatives remain unresolved. We therefore introduce HN-CLIP, which uses the text encoder's own text--text geometry to construct per-negative adaptive similarity margins. A detached caption-similarity matrix is added to the negative logits, assigning larger margins to more similar captions without mining, synthesizing, or resampling negatives. The objective requires only one similarity matrix and a masked logit addition during training, with no auxiliary data, additional parameters, offline preprocessing, or inference-time overhead. Across four dense-caption retrieval benchmarks, HN-CLIP improves over the strongest competitors by $+2.5$--$+4.0$ Recall@1 while training $2.4\\times$ faster than GOAL and $5.4\\times$ faster than StructXLIP. It also improves all six tested fine-tuning frameworks in-domain and surpasses full-data GOAL and StructXLIP with only $20\\%$ of the DOCCI and DCI training data, demonstrating strong data efficiency.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "90380578-5f39-4e58-959f-e3c76ce9c499"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Which Negatives Matter? Ask Your Text Encoder: Adaptive Similarity Margins for Dense-Caption Retrieval",
+ "authors": [],
+ "abstract": "Dense-caption retrieval requires distinguishing images paired with highly similar, detail-rich descriptions. We empirically examine contrastive fine-tuning from a strong pretrained dual encoder and observe that the standard InfoNCE loss can become small on sampled batches while held-out retrieval errors remain. Through an analysis of gradient dynamics, we find that InfoNCE rapidly loses optimization signal: within the first epoch, its loss falls below $10^{-3}$ on $80\\%$ of sampled batches, and over the run its gradient norm below $5\\times10^{-7}$ in $47\\%$ of measurements, even as held-out retrieval continues to improve. We relate this premature saturation to the abundance of near-duplicate captions in dense-caption datasets, where the most confusable negatives remain unresolved. We therefore introduce HN-CLIP, which uses the text encoder's own text--text geometry to construct per-negative adaptive similarity margins. A detached caption-similarity matrix is added to the negative logits, assigning larger margins to more similar captions without mining, synthesizing, or resampling negatives. The objective requires only one similarity matrix and a masked logit addition during training, with no auxiliary data, additional parameters, offline preprocessing, or inference-time overhead. Across four dense-caption retrieval benchmarks, HN-CLIP improves over the strongest competitors by $+2.5$--$+4.0$ Recall@1 while training $2.4\\times$ faster than GOAL and $5.4\\times$ faster than StructXLIP. It also improves all six tested fine-tuning frameworks in-domain and surpasses full-data GOAL and StructXLIP with only $20\\%$ of the DOCCI and DCI training data, demonstrating strong data efficiency.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}