cs.LGMar 13, 2026

Asymptotic and Finite-Time Guarantees for Langevin-Based Temperature Annealing in InfoNCE

Authors: Faris Chaudhry

Organizations: Imperial College London, United Kingdom

Abstract

The InfoNCE loss in contrastive learning depends critically on a temperature parameter, yet its dynamics under fixed versus annealed schedules remain poorly understood. We provide a theoretical analysis by modeling embedding evolution under Langevin dynamics on a compact Riemannian manifold. Under mild smoothness and energy-barrier assumptions, we show that classical simulated annealing guarantees extend to this setting: slow logarithmic inverse-temperature schedules ensure convergence in probability to a set of globally optimal representations, while faster schedules risk becoming trapped in suboptimal minima. Our results establish a link between contrastive learning and simulated annealing, providing a principled basis for understanding and tuning temperature schedules.

Explore similar work

CardsList
  1. When Softmax Fails at the Top: Extreme Value Corrections for InfoNCE

    May 29, 2026Melihcan Erol, Suat Evren, Oktay Ozel +3Contrastive LearningRepresentation Learning

  2. InfoNCE Induces Gaussian Distribution

    Feb 27, 2026Roy Betser, Eyal Gofer, Meir Yossef Levi +1Contrastive LearningRepresentation Learning