A statistical physics framework for optimal learning

Francesca Mignacco, Francesco Mori
7/10/2025
cond-mat.dis-nncond-mat.stat-mechcs.LG

No official code found. Best implementation: francescomori/optimal_learning (0 stars, last commit 2025-07-21).

Abstract

Learning is a complex dynamical process shaped by a range of interconnected decisions. Careful design of hyperparameter schedules for artificial neural networks or efficient allocation of cognitive resources by biological learners can dramatically affect performance. Yet, theoretical understanding of optimal learning strategies remains sparse, especially due to the intricate interplay between evolving meta-parameters and nonlinear learning dynamics. The search for optimal protocols is further hindered by the high dimensionality of the learning space, often resulting in predominantly heuristic, difficult to interpret, and computationally demanding solutions. Here, we combine statistical physics with control theory in a unified theoretical framework to identify optimal protocols in prototypical neural network models. In the high-dimensional limit, we derive closed-form ordinary differential equations that track online stochastic gradient descent through low-dimensional order parameters. We formulate the design of learning protocols as an optimal control problem directly on the dynamics of the order parameters with the goal of minimizing the generalization error at the end of training. This framework encompasses a variety of learning scenarios, optimization constraints, and control budgets. We apply it to representative cases, including optimal curricula, adaptive dropout regularization and noise schedules in denoising autoencoders. We find nontrivial yet interpretable strategies highlighting how optimal protocols mediate crucial learning tradeoffs, such as maximizing alignment with informative input directions while minimizing noise fitting. Finally, we show how to apply our framework to real datasets. Our results establish a principled foundation for understanding and designing optimal learning protocols and suggest a path toward a theory of meta-learning grounded in statistical physics.

View on arXivView PDF

Code Implementations(1)

A statistical physics framework for optimal learning. Code for deriving and validating optimal training protocols using control theory and statistical physics.

00Jupyter NotebookJul 21, 20251 years ago

Similar Papers

Cite this paper

@article{mignacco2025statistical,
  title  = {A statistical physics framework for optimal learning},
  author = {Francesca Mignacco and Francesco Mori},
  year   = {2025},
  eprint = {2507.07907},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.07907v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.07907.svg)](https://codeofpaper.com/paper/2507.07907)

Discussion