Ising models of deep neural networks

Dusan Stosic, Darko Stosic, Borko Stosic
9/18/2022
cond-mat.stat-mech

Official code: stosicresearch/dnnising (7 stars, Python, last commit 2022-10-08).

Abstract

This work maps deep neural networks to classical Ising spin models, allowing them to be described using statistical thermodynamics. The density of states shows that structures emerge in the weights after they have been trained -- well-trained networks span a much wider range of realizable energies compared to poorly trained ones.

Show full abstract

These structures propagate throughout the entire network and are not observed in individual layers. The energy values correlate to performance on tasks, making it possible to distinguish networks based on quality without access to data. Thermodynamic properties such as specific heat are also studied, revealing a higher critical temperature in trained networks.

View on arXivView PDF

Code Implementations(1)

72Python, CSep 7, 20224 years ago

Similar Papers

Cite this paper

@article{stosic2022ising,
  title  = {Ising models of deep neural networks},
  author = {Dusan Stosic and Darko Stosic and Borko Stosic},
  year   = {2022},
  eprint = {2209.08678},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.08678}
}

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

Discussion