Lovasz Theta Contrastive Learning

Georgios Smyrnis, Matt Jordan, Ananya Uppal, Giannis Daras, Alex DimakisICLR 2023

Abstract

We establish a connection between the Lovasz theta function of a graph and the widely used InfoNCE loss. We show that under certain conditions, the minima of the InfoNCE loss are related to minimizing the Lovasz theta function on the empty similarity graph between the samples. Building on this connection, we generalize contrastive learning on weighted similarity graphs between samples. Our Lovasz theta contrastive loss uses a weighted graph that can be learned to take into account similarities between our data. We evaluate our method on image classification tasks, demonstrating an improvement of $1 \%$ in the supervised case and up to $4 \%$ in the unsupervised case.
BibTeX
@inproceedings{smyrnis2023lovasz,
  author = {Georgios Smyrnis and Matt Jordan and Ananya Uppal and Giannis Daras and Alex Dimakis},
  title = {{Lovasz Theta Contrastive Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=-hWhz9xfrB9},
}

Loading related content...

Figure