When training deep learning models using information-theoretic objectives—such as maximizing mutual information for representation learning or minimizing Kullback-Leibler (KL) divergence in variational inference—we face a seductive mathematical trap. Intuitively, we want our variational bounds to be as "tight" or "unbiased" as possible. If an estimator is unbiased, it should, on average, point us toward the true global optimum.
However, in stochastic optimization, the path matters just as much as the destination. A shared insight across several subfields reveals a fundamental conflict: the mathematical constraints required to make an estimator tight or unbiased often cause its variance to explode, rendering gradient-based optimization unstable or entirely useless. To build functional systems, we must often intentionally trade away theoretical tightness for numerical stability.
The Exponential Variance Trap
To understand why unbiasedness can be a liability, consider the problem of estimating Mutual Information (MI) between two high-dimensional variables. To compute an unbiased estimate of MI, an algorithm must typically evaluate the ratio between a joint distribution and its marginal distributions.
As Song et al. (2020) demonstrate, unbiased estimators of MI suffer from an exponential variance trap. When the true mutual information between variables is high, the variance of these unbiased estimators grows exponentially with the true MI value. This occurs because unbiased bounds require computing exponentials of neural network outputs to correct for the data distribution's partition function. A few outlier sample points can cause massive, catastrophic spikes in the gradient, completely destabilizing training.
Unbiased Estimator ---> High True Information ---> Exponential Variance ---> Training Divergence
Biased Estimator ---> High True Information ---> Systematic Underestimation (Ceiling) ---> Stable Gradients
Because of this trap, Poole et al. (2019) show that low-variance, biased estimators (such as InfoNCE) often perform significantly better in practice. These estimators introduce a systematic bias that causes them to underestimate information once it exceeds a certain threshold. While this sounds like a flaw, the bias effectively acts as a ceiling that suppresses variance, keeping the optimization landscape smooth enough for gradient descent to navigate.
Looser Bounds, Better Gradients
This trade-off extends far beyond mutual information estimation into the broader realm of variational inference and stochastic optimization. In sequential modeling, for instance, trying to optimize the tightest possible evidence lower bound (ELBO) over long sequences can be counterproductive.
Kim et al. (2020) demonstrate that optimizing a slightly looser variational lower bound using a low-variance estimator yields significantly better practical performance than targeting a tighter bound with a high-variance score-function estimator. In complex sequence modeling, the reliability of the gradient signal matters more for convergence than the theoretical perfection of the objective function.
Similarly, in stochastic variational inference (SVI), Mandt et al. (2014) show that trading a small amount of bias for a massive reduction in variance—by using a moving average of sufficient statistics to smooth gradients—leads to faster convergence and better local optima.
The same principle surfaces in predictive optimization and Bayesian model comparison. Ito et al. (2018) find that while bias-correction methods can theoretically eliminate optimistic bias when optimizing decisions, they introduce extreme variance across data samples. A slightly biased but stable estimate is far more reliable for practical decision-making. Even when evaluating "triply intractable" Bayesian models, Everitt et al. (2017) demonstrate that accepting biased weight estimates is often necessary because exact-approximate alternatives require reciprocal normalizing constants whose variance is completely unmanageable.
Algorithmic Strategies for Balancing the Trade-off
Recognizing that unbiasedness is often a luxury, researchers have developed several distinct mechanisms to inject controlled bias or constraints in exchange for numerical stability.
1. Restricting the Function Space
To reliably estimate KL divergence without gradient explosion, Ghimire et al. (2021) constrain the neural network discriminator to live within a Reproducing Kernel Hilbert Space (RKHS). By penalizing the complexity of the function space, they introduce a controllable bias that drastically reduces variance, stabilizing training in generative models like GANs and VAEs.
2. Learned Approximations and Baselines
In stochastic computation graphs, variance can be mitigated by introducing learned approximations of downstream terms. Weber et al. (2019) show that using learned critics or baselines introduces systematic bias if the approximations are imperfect, but the resulting variance reduction provides the smooth gradient signals necessary for local, asynchronous credit assignment.
3. Reformulating the Variational Bound
Rather than accepting the limitations of standard objectives, researchers can design entirely new mathematical bounds that inherently balance this trade-off. For example, Melnyk et al. (2021) introduce an auxiliary variable in their $\eta$-MINE estimator to eliminate biased gradients while maintaining optimization stability. Similarly, Guo et al. (2022) propose Fenchel-Legendre Optimization (FLO), a variational estimator that achieves mathematical tightness without requiring the massive, high-variance batch sizes typical of contrastive objectives.
Conclusion
The collective evidence across these domains points to a unified paradigm shift: when optimizing complex, stochastic, or information-theoretic objectives, unbiasedness and absolute tightness can be counterproductive. By understanding and intentionally managing the bias-variance trade-off—whether through smoothed gradients, restricted function spaces, or looser variational bounds—we can build algorithms that are not just theoretically elegant, but practically robust.
Key Foundational Work
Bayesian model comparison with un-normalised likelihoods (2017) — contributed 1 concept elements to this direction.
Smoothed Gradients for Stochastic Variational Inference (2014) — contributed 1 concept elements to this direction.