Skip to content

Alignment under Hard Negative Re-Pairing: Cross-Modal Similarity, Scale and Retrieval

Charles Weng, Alexander Martin, Sandra Arcos-Holzinger, Andrew Yates, Dixin Zheng, Yue Zhang, Landi Zhou

cs.CV

Abstract

Do vision and language models represent the world alike? That question hides three: what structure each modality has, whether the two modalities organize images and their captions alike, and whether a model ranks an image's own caption highly. Centered kernel alignment (CKA) and neighborhood agreement answer the second, yet matching and model selection use them as if they identified individual pairs and answered the third. To test this reading, we introduce hard negative re-pairing: every image receives the caption of a similar image, and nothing else changes. Although no image keeps its own caption and annotators judge a majority of the substituted captions wrong, CKA stays higher than under a random re-pairing that keeps 80% of the original pairs. In all 22 image-text models we test, neighborhood agreement loses far less than top-one retrieval, which collapses. The reason is scale: these diagnostics pool over many neighbors, matching and retrieval are decided among the nearest ones, and an exact decomposition shows that near-neighbor pairs contribute almost nothing to CKA. In the matching problems we test, an exact maximizer of CKA would not return the original pairing. On COCO and Flickr30k, the model with the highest diagnostic value retrieves worse on held-out data than the model chosen by validation recall, even where the two correlate positively. What re-pairing removes is the informative part: that share tracks retrieval on both datasets and ranks encoder pairs before alignment training. A diagnostic should be reported with its question and its scale, and tested against hard negative re-pairing.

Create a lesson