NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deep Deterministic Information Bottleneck with Matrix-based Entropy Functional

Xi Yu, Shujian Yu, Jose C. Principe

TL;DR

Researchers have developed a new way to train neural networks using the Information Bottleneck (IB) principle that completely avoids the need for complex variational approximations or assumptions about data distributions. By using a differentiable, matrix-based entropy functional, their "Deep Deterministic Information Bottleneck" (DIB) produces models that generalize better and are significantly more robust to adversarial attacks than standard methods.

What Problem Does This Paper Address?

The Information Bottleneck (IB) principle is a gold standard for representation learning. It suggests that an ideal model should extract a representation ($T$) of the input ($X$) that is sufficient to predict the target ($Y$) but minimal in terms of how much information it keeps about the original input. Essentially, it wants to "squeeze" out the noise and keep only what matters.

However, applying this to deep learning is notoriously difficult because calculating "Mutual Information" in high-dimensional spaces is a mathematical nightmare. To get around this, current state-of-the-art methods like Variational Information Bottleneck (VIB) use "variational inference"—a technique that relies on approximating distributions and using stochastic (randomized) encoders. While effective, these approximations can be loose, and the reliance on specific distribution types (like Gaussians) can be limiting.

Methods

The authors introduce Deep Deterministic Information Bottleneck (DIB). The core innovation is the use of a matrix-based Rényi’s $\alpha$-order entropy functional.

Instead of trying to estimate the probability density of the data (which is hard), this method uses Gram matrices—essentially tables that describe the similarity between all pairs of samples in a mini-batch using a kernel function (like the RBF kernel).

Key technical contributions include:

  • Analytical Gradients: The authors prove that this matrix-based entropy functional is differentiable. This is a "missing link" that allows the functional to be used as a loss function in standard deep learning frameworks like PyTorch.
  • Deterministic Training: Unlike VIB, which requires a stochastic encoder to make the math work, DIB can be applied directly to standard, deterministic neural networks.
  • Hybrid Objective: The DIB objective combines standard cross-entropy loss (to ensure the model is predictive) with the matrix-based mutual information term (to ensure the representation is compressed).

Datasets

The researchers evaluated DIB on two standard computer vision benchmarks:

  • MNIST: The classic dataset of handwritten digits.
  • CIFAR-10: A more complex dataset of 60,000 natural images across 10 classes (e.g., airplanes, cats, ships).

Key Insights and Ideas

  • Compression is Visible: The authors plotted the "Information Plane," which tracks how much information the model holds about the input vs. the target during training. As seen in Figure 1(b), the model goes through a clear "fitting" phase (learning the task) followed by a "compression" phase (shedding redundant input info), validating the IB hypothesis in a deterministic setting.
Fig. 1. (a) Theoretical (the dashed lightgrey line) and empir- ical IB curve found by maximizing the IB Lagrangian with different values of β; (b) a representative information plane for β=1e-6, different colors denote different training epochs.
  • Robustness through Minimality: By explicitly forcing the model to be "minimal," DIB naturally makes the model less sensitive to small, malicious perturbations in the input. If the model has learned to ignore "nuisance" features of the input, it is harder for an attacker to trick it by tweaking those features.
  • No Distributional Assumptions: Because the method relies on kernels and Gram matrices, it doesn't care if your data is Gaussian or follows any other specific distribution. It learns the structure directly from the data samples.

Key Results

DIB consistently outperformed both standard baselines and the variational (VIB) approach:

  • Accuracy: On MNIST, DIB achieved a test error of 1.13%, beating VIB (1.17%) and standard regularizers like Dropout (1.28%). On CIFAR-10 using a VGG16 architecture, DIB achieved 5.66% error, significantly better than the baseline (7.36%) and VIB (9.31%).
  • Adversarial Robustness: The authors tested the models against the Fast Gradient Sign Attack (FGSM). As shown in Figure 3, DIB maintains much higher accuracy than other methods as the intensity of the attack ($\epsilon$) increases.
Fig. 3. Test accuracy with different ϵ and different methods on (a) MNIST; (b) CIFAR-10.

Limitations and Future Work

While DIB shows great promise, the authors note a few areas for future exploration:

  • Layer-by-Layer Training: They are interested in using the DIB objective to train networks one layer at a time. This could potentially solve issues like vanishing gradients and allow for training without traditional backpropagation.
  • Unsupervised Learning: The current work is supervised. The authors plan to integrate this estimator with principles like "InfoMax" to learn useful representations from unlabeled data.
  • Scaling: While not explicitly detailed as a failure, matrix-based methods can be computationally expensive as batch sizes grow very large, which is a common challenge for kernel-based methods in deep learning.

Summary updated

BibTeX
@inproceedings{yu2021deep,
  author = {Xi Yu and Shujian Yu and Jose C. Principe},
  title = {{Deep Deterministic Information Bottleneck with Matrix-based Entropy Functional}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2021},
  url = {https://openreview.net/forum?id=WiGwFA6FdA},
}
Figure