Towards quantifying information flows: relative entropy in deep neural networks and the renormalization group

Johanna Erdmenger, Kevin T. Grosvenor, Ro Jefferson
7/14/2021
hep-thcond-mat.dis-nncond-mat.stat-mech

Official code: ro-jefferson/entropy_dnn (6 stars, Jupyter Notebook, MIT, last commit 2023-09-11).

Abstract

We investigate the analogy between the renormalization group (RG) and deep neural networks, wherein subsequent layers of neurons are analogous to successive steps along the RG. In particular, we quantify the flow of information by explicitly computing the relative entropy or Kullback-Leibler divergence in both the one- and two-dimensional Ising models under decimation RG, as well as in a feedforward neural network as a function of depth.

Show full abstract

We observe qualitatively identical behavior characterized by the monotonic increase to a parameter-dependent asymptotic value. On the quantum field theory side, the monotonic increase confirms the connection between the relative entropy and the c-theorem. For the neural networks, the asymptotic behavior may have implications for various information maximization methods in machine learning, as well as for disentangling compactness and generalizability. Furthermore, while both the two-dimensional Ising model and the random neural networks we consider exhibit non-trivial critical points, the relative entropy appears insensitive to the phase structure of either system. In this sense, more refined probes are required in order to fully elucidate the flow of information in these models.

View on arXivView PDF

Code Implementations(1)

MIT

Code for project on relative entropy in deep neural networks

62Jupyter NotebookJul 14, 20213 years agoMIT

Similar Papers

Cite this paper

@article{erdmenger2021towards,
  title  = {Towards quantifying information flows: relative entropy in deep neural networks and the renormalization group},
  author = {Johanna Erdmenger and Kevin T. Grosvenor and Ro Jefferson},
  year   = {2021},
  eprint = {2107.06898},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.06898}
}

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

Discussion