TowerBridge: Bridging the Dual-Encoder Modality Gap via Weight-Space Programming
Not on the map. Why?
Abstract (arXiv)
CLIP-style dual encoders map images and text through two separate towers into a shared embedding space, where the two modalities occupy distinct regions separated by a modality gap. Retrieval fails when wrong matches, or hard negatives, outrank the correct one, and the gap is the usual suspect. Yet removing it post hoc degrades retrieval on every CLIP checkpoint we test. We introduce a paired statistic that identifies directions where the two towers agree more on hard negatives than on matched pairs. Mildly attenuating these directions improves retrieval while largely preserving the gap. We arrive at this correction through weight-space programming: guided by the statistic, an LLM agent inspects both towers and writes closed-form weight edits without backpropagation. Free to edit any component, the agent improves COCO test retrieval on all 13 CLIP checkpoints and edits an output projection in 12 of the 13. We distill and refine its recurring correction into TowerBridge, a closed-form recipe motivated by a first-order analysis of the hard-negative margin. Computed in seconds from 25,000 labelled pairs, it requires no model-specific tuning and leaves the architecture and inference cost unchanged. TowerBridge improves COCO test retrieval by 16.8 RSUM and Flickr30k test retrieval by 6.6 on average across all 21 evaluated CLIP checkpoints, including 8 unseen by the agent, while limiting any drop in ImageNet zero-shot accuracy to 0.5 points. It also reduces hubness on all 21 checkpoints and improves retrieval on 4 of 5 dual encoders from other families.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 48 of its 65 references that are in the map. Submitted 23 Nov 2026, announced 24 Nov 2026.
Builds on
48 of 65 references.
References · 48
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 34,995
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,277
- 2014Microsoft COCO: Common Objects in Contextcited by 18,045
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,252
- 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,321
- 2022Locating and Editing Factual Associations in GPTcited by 2,951
- 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,592
- 2025SigLIP 2: Multilingual Vision-Language Encoders with Improved Semantic Understanding, Localization, and Dense Featurescited by 1,378
- 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,323
- 2022Editing Models with Task Arithmeticcited by 1,272
- 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,249
- 2022Reproducible scaling laws for contrastive language-image learningcited by 1,237
36 more
- 2022Mass-Editing Memory in a Transformercited by 1,110
- 2014Deep Visual-Semantic Alignments for Generating Image Descriptionscited by 988
- 2023Vision Transformers Need Registerscited by 969
- 2023EVA-CLIP: Improved Training Techniques for CLIP at Scalecited by 856
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 787
- 2023DataComp: In search of the next generation of multimodal datasetscited by 685
- 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 655
- 2022Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learningcited by 598
- 2017Word Translation Without Parallel Datacited by 511
- 2023Data Filtering Networkscited by 275
- 2023SugarCrepe: Fixing Hackable Benchmarks for Vision-Language Compositionalitycited by 273
- 2017All-but-the-Top: Simple and Effective Postprocessing for Word Representationscited by 243
- 2023Interpreting CLIP's Image Representation via Text-Based Decompositioncited by 208
- 2017Offline bilingual word vectors, orthogonal transformations and the inverted softmaxcited by 106
- 2023MobileCLIP: Fast Image-Text Models through Multi-Modal Reinforced Trainingcited by 102
- 2021Cross Modal Retrieval with Querybank Normalisationcited by 81
- 2024A Multimodal Automated Interpretability Agentcited by 78
- 2021Editing a classifier by rewriting its prediction rulescited by 72
- 2024Two Effects, One Trigger: On the Modality Gap, Object Bias, and Information Imbalance in Contrastive Vision-Language Modelscited by 66
- 2014Improving zero-shot learning by mitigating the hubness problemcited by 60
- 2025Vision Transformers Don't Need Trained Registerscited by 52
- 2024Interpreting the Second-Order Effects of Neurons in CLIPcited by 41
- 2023Balance Act: Mitigating Hubness in Cross-Modal Retrieval with Query and Gallery Bankscited by 22
- 2020Preserving Semantic Neighborhoods for Robust Cross-modal Retrievalcited by 21
- 2023Test-Time Distribution Normalization for Contrastively Learned Vision-language Modelscited by 16
- 2026Exploring Weight-Space Programming: Capabilities, Generalization, and Limitationscited by 14
- 2024I0T: Embedding Standardization Method Towards Zero Modality Gapcited by 11
- 2024Nearest Neighbor Normalization Improves Multimodal Retrievalcited by 9
- 2026Can an LLM Actually Reason and Program about Neural Network's Weights or is it just memorization on steroids? Exploring "Weight-Space Programming"cited by 8
- 2026Closing the Modality Gap Aligns Group-Wise Semanticscited by 7
- 2026WeightLoop: Weight-Space Programming with Experimental Feedbackcited by 7
- 2026IsoCLIP: Decomposing CLIP Projectors for Efficient Intra-modal Alignmentcited by 4
- 2026Computation, not weight access: large language models as auditors of clinical prediction networkscited by 4
- 2026From Weights to Concepts: Data-Free Interpretability of CLIP via Singular Vector Decompositioncited by 3
- 2026When Modality Gap Reduction Fails: Prediction-Level Hubness in CLIPcited by 3
- 2025Maximal Matching Matters: Preventing Representation Collapse for Robust Cross-Modal Retrievalcited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Adapting Dual-encoder Vision-language Models for Paraphrased Retrieval
- 2026UOT-Gap: A Variational Principle for the Modality Gap in Vision-Language Models via Unbalanced Optimal Transport
- 2026Revisiting Compositionality in Dual-Encoder Vision-Language Models: The Role of Inference
- 2025On the Brittleness of CLIP Text Encoders
- 2025Cross the Gap: Exposing the Intra-modal Misalignment in CLIP via Modality Inversion
- 2026What CLIP Knows but Cannot Say: Recovering Negation from Frozen Intermediate Features
- 2026Where Post-Training Quantization Breaks Text Embedders: A Measured Map Across Four Embedder Families
- 2026Similarity Is Not Logic: Factored Inference for Dual-Encoder Vision-Language Models