论文

TowerBridge:以权重空间编程修复 CLIP 双编码器的模态间隙

TowerBridge: Bridging the Dual-Encoder Modality Gap via Weight-Space Programming

精选理由

论文先让一个 LLM 智能体直接改权重、不跑反向传播,再把它的修法蒸馏成几秒就能算完的 TowerBridge。做图像文本检索的团队可以直接套用到自己的 CLIP 或 SigLIP checkpoint 上,COCO 提升接近 17 RSUM。

TowerBridge 是一种针对 CLIP 式双编码器的闭式权重修正方案,可在数秒内基于 25,000 条标注样本完成计算,无需反向传播,也无需针对具体模型调参,且不改变架构和推理成本。

正文

此前研究者普遍认为双塔嵌入空间中的模态间隙是检索错误的元凶,但作者发现事后直接消除该间隙反而会降低所有被测 CLIP checkpoint 的检索效果;他们改用一个配对统计量找出两塔在 hard negative 上比正确匹配上更一致的向量方向,再轻度衰减这些方向。

方法来源本身也很特别:一个 LLM 智能体在权重空间中检查两个编码塔并直接写出闭式权重编辑,作者随后将其反复出现的修正蒸馏成 TowerBridge 配方。在 COCO 测试集上,该方法在全部 13 个 CLIP checkpoint 上均提升检索,平均带来 16.

8 RSUM 提升;Flickr30k 平均提升 6.

6,覆盖 21 个 checkpoint(含智能体未见过的 8 个),ImageNet 零样本精度下降控制在 0.5 点以内,同时在 21 个 checkpoint 上都降低了 hubness,并在 5 个其他家族的双编码器中改进了 4 个。

原文 · arXiv cs.LG

TowerBridge: Bridging the Dual-Encoder Modality Gap via Weight-Space Programming

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.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:CLIP、多模态、TowerBridge、图像检索,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Hani Alomari, Md Atabuzzaman, Chris Thomas),经 AITOP 多维评分管线结构化提炼。