Your contrastive learning problem is secretly a distribution alignment problem

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Chen, Zihao, Lin, Chi-Heng, Liu, Ran, Xiao, Jingyun, Dyer, Eva L
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910848234029056
author Chen, Zihao
Lin, Chi-Heng
Liu, Ran
Xiao, Jingyun
Dyer, Eva L
author_facet Chen, Zihao
Lin, Chi-Heng
Liu, Ran
Xiao, Jingyun
Dyer, Eva L
contents Despite the success of contrastive learning (CL) in vision and language, its theoretical foundations and mechanisms for building representations remain poorly understood. In this work, we build connections between noise contrastive estimation losses widely used in CL and distribution alignment with entropic optimal transport (OT). This connection allows us to develop a family of different losses and multistep iterative variants for existing CL methods. Intuitively, by using more information from the distribution of latents, our approach allows a more distribution-aware manipulation of the relationships within augmented sample sets. We provide theoretical insights and experimental evidence demonstrating the benefits of our approach for {\em generalized contrastive alignment}. Through this framework, it is possible to leverage tools in OT to build unbalanced losses to handle noisy views and customize the representation space by changing the constraints on alignment. By reframing contrastive learning as an alignment problem and leveraging existing optimization tools for OT, our work provides new insights and connections between different self-supervised learning models in addition to new tools that can be more easily adapted to incorporate domain knowledge into learning.
format Preprint
id arxiv_https___arxiv_org_abs_2502_20141
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Your contrastive learning problem is secretly a distribution alignment problem
Chen, Zihao
Lin, Chi-Heng
Liu, Ran
Xiao, Jingyun
Dyer, Eva L
Machine Learning
68T07
I.2.6
Despite the success of contrastive learning (CL) in vision and language, its theoretical foundations and mechanisms for building representations remain poorly understood. In this work, we build connections between noise contrastive estimation losses widely used in CL and distribution alignment with entropic optimal transport (OT). This connection allows us to develop a family of different losses and multistep iterative variants for existing CL methods. Intuitively, by using more information from the distribution of latents, our approach allows a more distribution-aware manipulation of the relationships within augmented sample sets. We provide theoretical insights and experimental evidence demonstrating the benefits of our approach for {\em generalized contrastive alignment}. Through this framework, it is possible to leverage tools in OT to build unbalanced losses to handle noisy views and customize the representation space by changing the constraints on alignment. By reframing contrastive learning as an alignment problem and leveraging existing optimization tools for OT, our work provides new insights and connections between different self-supervised learning models in addition to new tools that can be more easily adapted to incorporate domain knowledge into learning.
title Your contrastive learning problem is secretly a distribution alignment problem
topic Machine Learning
68T07
I.2.6
url https://arxiv.org/abs/2502.20141