An effective theory of collective deep learning

Lluís Arola-Fernández, Lucas Lacasa
10/19/2023
physics.soc-phcond-mat.dis-nncs.AI

Official code: mystic-blue/collective-learning (6 stars, last commit 2024-01-09).

Abstract

Unraveling the emergence of collective learning in systems of coupled artificial neural networks points to broader implications for machine learning, neuroscience, and society. Here we introduce a minimal model that condenses several recent decentralized algorithms by considering a competition between two terms: the local learning dynamics in the parameters of each neural network unit, and a diffusive coupling among units that tends to homogenize the parameters of the ensemble. We derive an effective theory for linear networks to show that the coarse-grained behavior of our system is equivalent to a deformed Ginzburg-Landau model with quenched disorder. This framework predicts depth-dependent disorder-order-disorder phase transitions in the parameters' solutions that reveal a depth-delayed onset of a collective learning phase and a low-rank microscopic learning path. We validate the theory in coupled ensembles of realistic neural networks trained on the MNIST dataset under privacy constraints. Interestingly, experiments confirm that individual networks -- trained on private data -- can fully generalize to unseen data classes when the collective learning phase emerges. Our work establishes the physics of collective learning and contributes to the mechanistic interpretability of deep learning in decentralized settings.

View on arXivView PDF

Code Implementations(1)

Repository of python notebooks for the paper "An effective theory of collective deep learning", L. Arola-Fernández and L. Lacasa, 2023

60Jupyter NotebookMay 29, 20232 years ago

Similar Papers

Cite this paper

@article{arolafernndez2023effective,
  title  = {An effective theory of collective deep learning},
  author = {Lluís Arola-Fernández and Lucas Lacasa},
  year   = {2023},
  eprint = {2310.12802},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.12802v2}
}

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/2310.12802.svg)](https://codeofpaper.com/paper/2310.12802)

Discussion