English

Nonequilibrium thermodynamics of self-supervised learning

Statistical Mechanics 2021-10-27 v1 Artificial Intelligence Machine Learning

Abstract

Self-supervised learning (SSL) of energy based models has an intuitive relation to equilibrium thermodynamics because the softmax layer, mapping energies to probabilities, is a Gibbs distribution. However, in what way SSL is a thermodynamic process? We show that some SSL paradigms behave as a thermodynamic composite system formed by representations and self-labels in contact with a nonequilibrium reservoir. Moreover, this system is subjected to usual thermodynamic cycles, such as adiabatic expansion and isochoric heating, resulting in a generalized Gibbs ensemble (GGE). In this picture, we show that learning is seen as a demon that operates in cycles using feedback measurements to extract negative work from the system. As applications, we examine some SSL algorithms using this idea.

Keywords

Cite

@article{arxiv.2106.08981,
  title  = {Nonequilibrium thermodynamics of self-supervised learning},
  author = {Domingos S. P. Salazar},
  journal= {arXiv preprint arXiv:2106.08981},
  year   = {2021}
}

Comments

6 pages, 1 figure

R2 v1 2026-06-24T03:16:51.102Z