A Spin Glass Characterization of Neural Networks

📅 2025-08-10
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
This paper investigates the intrinsic structural properties of individual feedforward neural networks from a statistical mechanics perspective, aiming to uncover nontrivial organizational principles—beyond conventional metrics such as loss and accuracy—that govern data fitting, model capacity, generalization, and robustness. Method: We formulate a Hopfield-like spin-glass model for neural networks and, for the first time, apply replica symmetry breaking (RSB) theory to analyze single network instances. Structural descriptors are defined via inter-replica overlap, yielding computationally tractable, label-free, and training-set-agnostic quantifications of implicit structural complexity solely from network weights. Contribution/Results: The proposed descriptor effectively discriminates between distinct training states and architectures. Empirically, it demonstrates practical utility in model diagnostics, safety verification, and detection of latent vulnerabilities—providing a theoretically grounded, physics-inspired lens for characterizing neural network structure beyond empirical performance metrics.

Technology Category

Machine Learning: Deep Neural Architectures and Foundation ModelsCognitive Modeling & Cognitive Systems: Neural Spike CodingNatural Language Processing: Interpretability, Analysis, and Evaluation of NLP Models

Application Category

Graph Algorithms and Modeling for the Web: Graph neural networks and deep learning approaches for Web-related graphsSocial Networks and Social Media: Social media analysis through the lenses of networksWeb Mining and Content Analysis: Large pretrained models with web data
📝 Abstract
This work presents a statistical mechanics characterization of neural networks, motivated by the replica symmetry breaking (RSB) phenomenon in spin glasses. A Hopfield-type spin glass model is constructed from a given feedforward neural network (FNN). Overlaps between simulated replica samples serve as a characteristic descriptor of the FNN. The connection between the spin-glass description and commonly studied properties of the FNN -- such as data fitting, capacity, generalization, and robustness -- has been investigated and empirically demonstrated. Unlike prior analytical studies that focus on model ensembles, this method provides a computable descriptor for individual network instances, which reveals nontrivial structural properties that are not captured by conventional metrics such as loss or accuracy. Preliminary results suggests its potential for practical applications such as model inspection, safety verification, and detection of hidden vulnerabilities.
Problem

Research questions and friction points this paper is trying to address.

Characterizing neural networks using spin glass theory
Investigating FNN properties via spin-glass descriptors
Providing computable descriptors for individual network instances
Innovation

Methods, ideas, or system contributions that make the work stand out.

Spin glass model for neural networks
Replica symmetry breaking analysis
Computable descriptor for individual networks
🔎 Similar Papers
J
Jun Li
Department of Computer Science, Australian Artificial Intelligence Institute, Faculty of Engineering and Information Technology, University of Technology Sydney, Ultimo, NSW 2007, Australia