Preventing Collapse in Contrastive Learning with Orthonormal Prototypes (CLOP)

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Li, Huanran, Nguyen, Manh, Pimentel-Alarcón, Daniel
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914966179676160
author Li, Huanran
Nguyen, Manh
Pimentel-Alarcón, Daniel
author_facet Li, Huanran
Nguyen, Manh
Pimentel-Alarcón, Daniel
contents Contrastive learning has emerged as a powerful method in deep learning, excelling at learning effective representations through contrasting samples from different distributions. However, neural collapse, where embeddings converge into a lower-dimensional space, poses a significant challenge, especially in semi-supervised and self-supervised setups. In this paper, we first theoretically analyze the effect of large learning rates on contrastive losses that solely rely on the cosine similarity metric, and derive a theoretical bound to mitigate this collapse. {Building on these insights, we propose CLOP, a novel semi-supervised loss function designed to prevent neural collapse by promoting the formation of orthogonal linear subspaces among class embeddings.} Unlike prior approaches that enforce a simplex ETF structure, CLOP focuses on subspace separation, leading to more distinguishable embeddings. Through extensive experiments on real and synthetic datasets, we demonstrate that CLOP enhances performance, providing greater stability across different learning rates and batch sizes.
format Preprint
id arxiv_https___arxiv_org_abs_2403_18699
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Preventing Collapse in Contrastive Learning with Orthonormal Prototypes (CLOP)
Li, Huanran
Nguyen, Manh
Pimentel-Alarcón, Daniel
Machine Learning
Artificial Intelligence
Contrastive learning has emerged as a powerful method in deep learning, excelling at learning effective representations through contrasting samples from different distributions. However, neural collapse, where embeddings converge into a lower-dimensional space, poses a significant challenge, especially in semi-supervised and self-supervised setups. In this paper, we first theoretically analyze the effect of large learning rates on contrastive losses that solely rely on the cosine similarity metric, and derive a theoretical bound to mitigate this collapse. {Building on these insights, we propose CLOP, a novel semi-supervised loss function designed to prevent neural collapse by promoting the formation of orthogonal linear subspaces among class embeddings.} Unlike prior approaches that enforce a simplex ETF structure, CLOP focuses on subspace separation, leading to more distinguishable embeddings. Through extensive experiments on real and synthetic datasets, we demonstrate that CLOP enhances performance, providing greater stability across different learning rates and batch sizes.
title Preventing Collapse in Contrastive Learning with Orthonormal Prototypes (CLOP)
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2403.18699