A single hub text can match or exceed human captions in similarity scores, exposing CLIP vulnerability
A single hub text can achieve comparable or higher similarity scores than human-written captions across many images, revealing a vulnerability in cross-modal encoders
AI/ML arXiv 30 Apr 2026 Measurement Simulation evidence
Published as “One Single Hub Text Breaks CLIP: Identifying Vulnerabilities in Cross-Modal Encoders via Hubness”
Why it matters
Hub texts can be used to poison retrieval indexes or inflate automatic caption scores, posing a concrete risk to systems that rely on CLIP-based similarity.
Summary
A single hub text can obtain higher CLIPSCORE than human reference captions across many CLIP models and, when injected into a retrieval index, causes large drops in precision and recall. The authors analytically compute an optimal hub embedding, decode it with an inversion model, and refine it via a beam local search, showing the method outperforms the prior greedy search. Experiments on MSCOCO, nocaps, and Flickr30k demonstrate the effect, though the search is computationally expensive and the resulting hub text is clearly unnatural, which may limit practical impact.
What they found 2
- The method can identify a single hub text that achieves comparable or higher similarity scores than human-written captions
“our method can identify a single hub text that unreasonably achieves comparable or higher similarity scores than human-written reference captions in many images”
- Hub texts receive higher CLIPSCORE than human references on many models
“our method achieved higher scores than reference captions created by humans, image-by-image, on many models”
Caveats 4
- The identified hub text is nonnatural, so it could be detected by using other encoders or language models.
- The time complexity of beam local search is high, as discussed in Section 5.4.
- The beam local search optimizes only the fixed-length token sequence and does not alter the sequence length.
- Calculating PPL for all instances is expensive, and over-filtering might degrade performance for the core objective.
What’s new here 4
- Analytical solution for optimal hub embedding under common similarity measures
- Beam local search that improves over prior greedy refinement for hub text generation
- Demonstration of hub text impact on both caption evaluation (CLIPSCORE) and image-to-text retrieval
- Systematic evaluation across multiple CLIP variants and datasets