arXiv:cs.AI· Tillmann Rheude, Roland Eils, Benjamin Wild·· 17 小时前
Transformer 评分器取代手工相似度函数:PFS 因果预训练提升多模态对比学习
Prior-Fitted and Frozen Scorers for Multimodal Contrastive Learning
AI 导读
多模态对比学习不必依赖余弦相似度等手工评分函数:用 Transformer 做评分器并保持冻结,即可在四个真实数据集上超过强手工基线,而联合训练评分器与编码器效果反而更差。基于此提出的 Prior-Fitted Scorer(PFS)先在结构因果模型(SCM)生成的合成多模态数据上预训练,再迁移到真实数据,其 SCM 先验覆盖共享、成对与私有信息等依赖结构,相比随机初始化进一步提升。
正文
Abstract:Multimodal contrastive learning typically relies on manually specified scoring functions, such as cosine similarity, to quantify the similarity between representations from different modalities. Several such functions have been recently proposed to extend contrastive learning beyond two modalities. In principle, however, any function that assigns high compatibility to matched samples and low compatibility to mismatched ones could serve as a scorer. Motivated by this broader view, we instantiate the scorer with a Transformer and find that even a randomly initialized model, when kept frozen, can outperform strong handcrafted multimodal contrastive baselines, whereas optimizing the scorer jointly with the encoders is less effective. Building on this observation, we introduce the Prior-Fitted Scorer (PFS): a Transformer scorer pre-trained on synthetic multimodal data generated from structural causal model (SCM) priors before transferring it to real-world data. The SCM exposes the scorer to diverse dependency structures, including shared, pairwise, and private information, providing a structured prior over higher-order cross-modal similarity. Across four real-world datasets, frozen Transformer scorers are competitive to contrastive baselines, and prior-fitting further improves the random initialization. More broadly, our results suggest that multimodal contrastive learning need not rely on manual similarity functions: Transformers can provide strong inductive biases, while causal pretraining can further shape these biases.
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.14770 [cs.LG] |
| (or arXiv:2610.14770v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2610.14770 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Tillmann Rheude [view email]
[v1]
Sat, 10 Oct 2026 09:49:02 UTC (350 KB)
来源:arXiv:cs.AI · arxiv.org