Information Bottleneck: Exact Analysis of (Quantized) Neural Networks

Stephan Sloth Lorenzen, Christian Igel, Mads Nielsen
6/24/2021
cs.LG

Official code: StephanLorenzen/ExactIBAnalysisInQNNs (7 stars, Python, GPL-3.0, last commit 2022-02-16).

Abstract

The information bottleneck (IB) principle has been suggested as a way to analyze deep neural networks. The learning dynamics are studied by inspecting the mutual information (MI) between the hidden layers and the input and output.

Show full abstract

Notably, separate fitting and compression phases during training have been reported. This led to some controversy including claims that the observations are not reproducible and strongly dependent on the type of activation function used as well as on the way the MI is estimated. Our study confirms that different ways of binning when computing the MI lead to qualitatively different results, either supporting or refusing IB conjectures. To resolve the controversy, we study the IB principle in settings where MI is non-trivial and can be computed exactly. We monitor the dynamics of quantized neural networks, that is, we discretize the whole deep learning system so that no approximation is required when computing the MI. This allows us to quantify the information flow without measurement errors. In this setting, we observed a fitting phase for all layers and a compression phase for the output layer in all experiments; the compression in the hidden layers was dependent on the type of activation function. Our study shows that the initial IB results were not artifacts of binning when computing the MI. However, the critical claim that the compression phase may not be observed for some networks also holds true.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Information Bottleneck in Neural Networks

73Python, TeXNov 7, 20204 years agoGPL-3.0

Similar Papers

Cite this paper

@article{lorenzen2021information,
  title  = {Information Bottleneck: Exact Analysis of (Quantized) Neural Networks},
  author = {Stephan Sloth Lorenzen and Christian Igel and Mads Nielsen},
  year   = {2021},
  eprint = {2106.12912},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.12912}
}

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

Discussion