English

Spatially heterogeneous learning by a deep student machine

Disordered Systems and Neural Networks 2023-08-01 v4 Statistical Mechanics Machine Learning Machine Learning

Abstract

Deep neural networks (DNN) with a huge number of adjustable parameters remain largely black boxes. To shed light on the hidden layers of DNN, we study supervised learning by a DNN of width NN and depth LL consisting of NLNL perceptrons with cc inputs by a statistical mechanics approach called the teacher-student setting. We consider an ensemble of student machines that exactly reproduce MM sets of NN dimensional input/output relations provided by a teacher machine. We show that the problem becomes exactly solvable in what we call as 'dense limit': Nc1N \gg c \gg 1 and M1M \gg 1 with fixed α=M/c\alpha=M/c using the replica method developed in (H. Yoshino, (2020)). We also study the model numerically performing simple greedy MC simulations. Simulations reveal that learning by the DNN is quite heterogeneous in the network space: configurations of the teacher and the student machines are more correlated within the layers closer to the input/output boundaries while the central region remains much less correlated due to the over-parametrization in qualitative agreement with the theoretical prediction. We evaluate the generalization-error of the DNN with various depth LL both theoretically and numerically. Remarkably both the theory and simulation suggest generalization-ability of the student machines, which are only weakly correlated with the teacher in the center, does not vanish even in the deep limit L1L \gg 1 where the system becomes heavily over-parametrized. We also consider the impact of effective dimension D(N)D(\leq N) of data by incorporating the hidden manifold model (S. Goldt et. al., (2020)) into our model. The theory implies that the loop corrections to the dense limit become enhanced by either decreasing the width NN or decreasing the effective dimension DD of the data. Simulation suggests both lead to significant improvements in generalization-ability.

Keywords

Cite

@article{arxiv.2302.07419,
  title  = {Spatially heterogeneous learning by a deep student machine},
  author = {Hajime Yoshino},
  journal= {arXiv preprint arXiv:2302.07419},
  year   = {2023}
}

Comments

41 page, 19 figures (revised version)

R2 v1 2026-06-28T08:40:23.134Z