Phase transitions in the mini-batch size for sparse and dense two-layer neural networks
Open Access
- 23 January 2024
- journal article
- research article
- Published by IOP Publishing in Machine Learning: Science and Technology
- Vol. 5 (1) , 015015
Abstract
The use of mini-batches of data in training artificial neural networks is nowadays very common. Despite its broad usage, theories explaining quantitatively how large or small the optimal mini-batch size should be are missing. This work presents a systematic attempt at understanding the role of the mini-batch size in training two-layer neural networks. Working in the teacher-student scenario, with a sparse teacher, and focusing on tasks of different complexity, we quantify the effects of changing the mini-batch size m. We find that often the generalization performances of the student strongly depend on m and may undergo sharp phase transitions at a critical value m c , such that for m < m c the training process fails, while for m > m c the student learns perfectly or generalizes very well the teacher. Phase transitions are induced by collective phenomena firstly discovered in statistical mechanics and later observed in many fields of science. Observing a phase transition by varying the mini-batch size across different architectures raises several questions about the role of this hyperparameter in the neural network learning process.Keywords
All Related Versions
Funding Information
- MNESYS (PE0000006)
- Simons Foundation (454949)
- FARE (R167TEEE7B)
This publication has 40 references indexed in Scilit:
- Ergodic observables in non-ergodic systems: The example of the harmonic chainPhysica A: Statistical Mechanics and its Applications, 2023
- Solving Non-linear Kolmogorov Equations in Large Dimensions by Using Deep Learning: A Numerical Comparison of Discretization SchemesJournal of Scientific Computing, 2022
- To study the transmission dynamic of SARS-CoV-2 using nonlinear saturated incidence ratePhysica A: Statistical Mechanics and its Applications, 2022
- A new iterative technique for solving fractal-fractional differential equations based on artificial neural network in the new generalized Caputo senseEngineering with Computers, 2022
- AI protein-folding algorithms solve structures faster than everNature, 2019
- Two-loop corrections to large order behavior of φ4 theoryNuclear Physics B, 2017
- Collaborative filtering and deep learning based recommendation system for cold start itemsExpert Systems with Applications, 2017
- The backtracking survey propagation algorithm for solving random K-SAT problemsNature Communications, 2016
- Mastering the game of Go with deep neural networks and tree searchNature, 2016
- Deep learningNature, 2015