Related Experiment Video
Updated: Jun 25, 2025

Deep Neural Networks for Image-Based Dietary Assessment
Published on: March 13, 2021
Stochastic Gradient Descent-like relaxation is equivalent to Metropolis dynamics in discrete optimization and
Maria Chiara Angelini1,2, Angelo Giorgio Cavaliere3, Raffaele Marino4
1Dipartimento di Fisica, Sapienza Università di Roma, P.le Aldo Moro 5, 00185, Rome, Italy. maria.chiara.angelini@roma1.infn.it.
Abstract:
Is Stochastic Gradient Descent (SGD) substantially different from Metropolis Monte Carlo dynamics? This is a fundamental question at the time of understanding the most used training algorithm in the field of Machine Learning, but it received no answer until now. Here we show that in discrete optimization and inference problems, the dynamics of an SGD-like algorithm resemble very closely that of Metropolis Monte Carlo with a properly chosen temperature, which depends on the mini-batch size. This quantitative matching holds both at equilibrium and in the out-of-equilibrium regime, despite the two algorithms having fundamental differences (e.g. SGD does not satisfy detailed balance). Such equivalence allows us to use results about performances and limits of Monte Carlo algorithms to optimize the mini-batch size in the SGD-like algorithm and make it efficient at recovering the signal in hard inference problems.
More Related Videos
09:17Structure-Based Simulation and Sampling of Transcription Factor Protein Movements along DNA from Atomic-Scale Stepping to Coarse-Grained Diffusion
Published on: March 1, 2022
10:44Inherent Dynamics Visualizer, an Interactive Application for Evaluating and Visualizing Outputs from a Gene Regulatory Network Inference Pipeline
Published on: December 7, 2021
Related Concept Videos
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
Linear Approximation in Time Domain
For a simple pendulum with a mass evenly distributed along its length and the center of mass located at half the pendulum's length,...
Second Order systems II
Divergence and Stokes' Theorems
Mechanical Systems
Mechanistic Models: Compartment Models in Individual and Population Analysis