Emergence of Structure in Ensembles of Random Neural Networks
Luca Muscarnera, Luigi Loreti, Giovanni Todeschini, Alessio Fumagalli, Francesco Regazzoni
TL;DR
The paper investigates how ensembles of random classifiers can exhibit deterministic, near-optimal behavior without traditional training by weighting random perceptrons with a Gibbs measure over the loss. It develops a training-free framework, derives an analytical expression for the optimal inverse temperature $\beta^*$ in the Gaussian-data setting (showing $\beta^* = \pi\sqrt{d-2}$), and demonstrates universality with respect to the teacher and the ensemble size. Empirical results on MNIST reveal a comparable minimum near $\beta \approx 20$, with the ensemble generalizing to unseen data and consistent $\beta^*$ across multiple tasks, supporting the universality claim beyond isotropic data. The work also offers a physical interpretation as self-organization in a large, non-interacting ensemble and discusses hardware-friendly inference and future extensions to richer random architectures and noisy measurements, highlighting potential practical impact for scalable, low-trainingInference pipelines.
Abstract
Randomness is ubiquitous in many applications across data science and machine learning. Remarkably, systems composed of random components often display emergent global behaviors that appear deterministic, manifesting a transition from microscopic disorder to macroscopic organization. In this work, we introduce a theoretical model for studying the emergence of collective behaviors in ensembles of random classifiers. We argue that, if the ensemble is weighted through the Gibbs measure defined by adopting the classification loss as an energy, then there exists a finite temperature parameter for the distribution such that the classification is optimal, with respect to the loss (or the energy). Interestingly, for the case in which samples are generated by a Gaussian distribution and labels are constructed by employing a teacher perceptron, we analytically prove and numerically confirm that such optimal temperature does not depend neither on the teacher classifier (which is, by construction of the learning problem, unknown), nor on the number of random classifiers, highlighting the universal nature of the observed behavior. Experiments on the MNIST dataset underline the relevance of this phenomenon in high-quality, noiseless, datasets. Finally, a physical analogy allows us to shed light on the self-organizing nature of the studied phenomenon.
