Statistical mechanics of extensive-width Bayesian neural networks near interpolation

· Source: stat.ML updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Theoretical Machine Learning · Depth: Expert, extended

Summary

A statistical mechanics analysis of two-layer fully connected Bayesian neural networks (BNNs) with extensive width, proportional to input dimension, and generic weight/activation functions, reveals a rich phenomenology of learning transitions. Focusing on Bayes-optimal learning in a teacher-student scenario near interpolation, where data and parameters are comparable (n=Θ(d^2)=Θ(kd)), the study finds that feature learning emerges. Crucially, the more strongly features (hidden neurons of the target) contribute to observed responses, the less data is needed to learn them. When data is scarce, the model learns non-linear combinations of teacher weights, with "specialization" (aligning weights with the teacher's) occurring only with sufficient data, often proving algorithmically hard to find.

Key takeaway

For AI and research scientists developing or deploying extensive-width Bayesian neural networks, understanding the "specialization" phase is critical. Your models may struggle to align with true teacher features, especially with limited data or certain readout distributions, leading to sub-optimal performance. Be aware that achieving full specialization can be computationally hard, potentially requiring exponential training time with increasing dimensions. Consider using algorithms like GAMP-RIE, which can match universal performance even when specialization is difficult to reach.

Key insights

Extensive-width Bayesian neural networks exhibit distinct learning phases, including "specialization" where student weights align with teacher features.

Principles

Method

A statistical mechanics framework combines the replica method with the Harish Chandra–Itzykson–Zuber (HCIZ) integral to derive predictive formulas for generalization error. It also adapts GAMP-RIE for generic activation functions.

In practice

Topics

Code references

Best for: AI Scientist, Research Scientist

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by stat.ML updates on arXiv.org.