Entropy and mutual information in models of deep neural networks

Marylou Gabrié, Andre Manoel, Clément Luneau, Jean Barbier, Nicolas Macris +2 more
5/24/2018
cs.LGcond-mat.dis-nncs.IT

Official code: sphinxteam/dnner (35 stars, last commit 2019-11-02). 1 more implementation below.

Abstract

We examine a class of deep learning models with a tractable method to compute information-theoretic quantities. Our contributions are three-fold: (i) We show how entropies and mutual informations can be derived from heuristic statistical physics methods, under the assumption that weight matrices are independent and orthogonally-invariant. (ii) We extend particular cases in which this result is known to be rigorously exact by providing a proof for two-layers networks with Gaussian random weights, using the recently introduced adaptive interpolation method. (iii) We propose an experiment framework with generative models of synthetic datasets, on which we train deep neural networks with a weight constraint designed so that the assumption in (i) is verified during learning. We study the behavior of entropies and mutual informations throughout learning and conclude that, in the proposed setting, the relationship between compression and generalization remains elusive.

View on arXivView PDF

Code Implementations(2)

sphinxteam/dnnerOfficial100%

Deep Neural Networks Entropy from Replicas

358Python, Jupyter NotebookMay 22, 20186 years ago

Package to run learning experiments on synthetic datasets using dnner package for replica entropy computations

91PythonMay 24, 20188 years ago

Similar Papers

Cite this paper

@article{gabri2018entropy,
  title  = {Entropy and mutual information in models of deep neural networks},
  author = {Marylou Gabrié and Andre Manoel and Clément Luneau and Jean Barbier and Nicolas Macris and Florent Krzakala and Lenka Zdeborová},
  year   = {2018},
  eprint = {1805.09785},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1805.09785}
}

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

Discussion