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

Properties of Minimizing Entropy

Xu Ji, Lena Nehale-Ezzine, Maksym KorablyovarXiv 2021

TL;DR

This paper provides a theoretical bridge between entropy and cardinality, proving that minimizing entropy via gradient descent is a mathematically sound way to "shrink" a model's representation space. The authors introduce "expected cardinality"—the number of unique states expected in a finite sample—and demonstrate that entropy serves as a powerful, continuous surrogate for reducing the number of active states in a learned representation.

Problem Statement

In machine learning, "compactness" is a holy grail for generalization. If a model can represent data using fewer, simpler states, it is less likely to overfit to noise (a principle rooted in Occam’s Razor). However, measuring compactness is tricky.

Researchers usually look at two things:

  1. Cardinality: The raw count of possible states. It’s intuitive but "blind" to probability (a state with 0.00001% probability counts the same as one with 50%) and impossible to optimize directly with gradient descent because it's a step function.
  2. Entropy: A measure of uncertainty. It’s smooth and differentiable, making it easy for neural networks to optimize, but it’s "distribution-sensitive."

The gap the authors bridge is the formal relationship between the two. While we intuitively feel that lowering entropy should reduce the number of states, this paper provides the rigorous proof that optimizing the former directly minimizes the latter.

Methods

The paper is primarily a theoretical analysis of the discrete variable case. The authors treat unnormalized probability masses ($z$) as the parameters being optimized.

Key methodological steps include:

  • Gradient Analysis: Deriving the gradient of entropy with respect to probability masses to show how "mass" moves during optimization.
  • Expected Cardinality ($U$): Proposing a new measure that counts the expected number of unique states seen in $m$ draws. This acts as a "soft" version of cardinality that discounts states with negligible probability.
  • Convergence Proofs: Using mathematical induction and lemmas regarding dot products of sorted vectors to prove that entropy minimization behaves predictably.
  • Continuous Extension: Briefly extending the logic to continuous spaces by linking differential entropy to "covering numbers" (how many small bins you need to cover a space).

Datasets

As a theoretical paper, it does not use standard benchmarks like ImageNet or GLUE. Instead, the authors use synthetically generated probability distributions:

  • 50,000 randomly sampled distributions of a 3-state discrete variable to visualize the entropy landscape (the "simplex").
  • 10,000 samples of probability masses with varying lengths ($s \in [2, 100]$) and varying numbers of draws ($m \in [2, 100]$) to empirically validate the relationship between entropy and expected cardinality.

Key Insights and Ideas

  • The "Rich Get Richer" Gradient: The authors show that the gradient of entropy naturally pushes the smallest non-zero probability masses toward zero and the largest toward one. This means entropy minimization isn't just making the distribution "pointy"; it is actively killing off low-probability states.
Visualization of the entropy landscape on a 3-state probability simplex, where minima occur at the vertices (deterministic states).
  • Order Preservation: A crucial finding is that gradient descent on entropy preserves the relative order of probabilities. If state A is more likely than state B, it will remain so throughout the optimization process.
  • Entropy as a Cardinality Surrogate: Because cardinality is non-differentiable, we can't "descend" it. The paper proves that entropy is a "convenient continuous surrogate." If you minimize entropy, you are guaranteed to reduce the number of non-zero states in a finite number of iterations.
  • The Utility of Expected Cardinality: Standard cardinality is fragile—a tiny bit of noise can make it jump from 1 to 1,000. Expected cardinality is more robust for machine learning because it ignores states that the model almost never uses.

Key Results

  • Theorem 2.12: The authors prove that applying gradient descent to entropy will decrease the number of non-zero probability states until only one state remains ($c^* = 1$) in a finite number of steps.
  • Theorem 2.13: They prove that for any fixed number of draws $m > 1$, minimizing entropy via gradient descent also decreases the expected cardinality.
  • Visual Correlation: The experimental plots show a strikingly tight correlation between entropy and expected cardinality across different vector lengths, suggesting that entropy is an excellent proxy for the "effective size" of a state space.
Empirical validation showing the tight correlation between entropy $H(z)$ and expected cardinality $U(z, m)$ across various sample sizes $m$.

Limitations and Future Work

  • Unconstrained Masses: The proofs assume a "generic model of unconstrained probability masses." In real neural networks, these masses are often the output of a Softmax layer or constrained by a specific architecture, which might complicate the gradient flow.
  • Optimization Dynamics: While the paper proves that a global minimum of entropy exists at $c=1$, it doesn't deeply explore how this interacts with other loss functions (like cross-entropy for classification). In practice, there is a tension between minimizing entropy (compactness) and maintaining enough information to solve a task.
  • Continuous Space Complexity: The discussion on continuous variables is more qualitative. Future work could provide more rigorous bounds for how differential entropy minimization affects the covering number in high-dimensional latent spaces.

Summary updated

BibTeX
@misc{ji2021properties,
  author = {Xu Ji and Lena Nehale-Ezzine and Maksym Korablyov},
  title = {{Properties of Minimizing Entropy}},
  year = {2021},
  eprint = {2112.03143},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.03143},
}
Figure