Estimating the Rate-Distortion Function by Wasserstein Gradient Descent

Yibo Yang, Stephan Eckstein, Marcel Nutz, Stephan Mandt

Abstract

Calculating the Rate-Distortion (R-D) function, $R(D)$, is a fundamental challenge in information theory, representing the theoretical limit of lossy data compression. While the Blahut-Arimoto (BA) algorithm is standard for discrete sources, it struggles with high-dimensional continuous data. Conversely, modern neural-network-based estimators are often computationally intensive and difficult to tune. This paper introduces Wasserstein Gradient Descent (WGD), a particle-based optimization method that treats R-D estimation as a dynamic "particle dance." By moving particles in space according to Wasserstein flows, WGD achieves 10–100x faster convergence than neural methods and provides tighter upper bounds, particularly for low-rate compression.

Introduction

The Rate-Distortion function $R(D)$ defines the minimum bit rate required to represent a source with a specified level of distortion. For engineers, $R(D)$ serves as the ultimate benchmark for evaluating compression algorithms like JPEG or MP3. However, for continuous, high-dimensional sources, computing $R(D)$ is notoriously difficult. Traditional methods like the Blahut-Arimoto algorithm suffer from the curse of dimensionality, while recent variational autoencoder (VAE) approaches require complex architecture search and lengthy training times.

Proposed Method: Wasserstein Gradient Descent

The authors propose a novel approach by reframing the R-D problem through the lens of Optimal Transport (OT). Instead of parameterizing a reproduction distribution with a neural network, WGD uses a collection of discrete particles.

  1. Particle-Based Representation: The reproduction distribution is represented as a set of $n$ particles.
  2. Wasserstein Flow: Unlike BA, which only updates the weights of fixed grid points, WGD moves the particles themselves. The algorithm follows the "Wasserstein gradient"—a spatial direction that tells each particle where to move to best minimize the rate-distortion objective.
  3. Hybrid Optimization: A "Hybrid WGD" variant alternates between spatial particle movement and weight optimization via BA, significantly accelerating convergence.
Visualization of the Rate-Distortion function $R(D)$ and its relationship with the parameter $\lambda$, showing how reproduction distributions evolve.

Theoretical Foundations

A key contribution of this work is the mathematical bridge established between R-D theory, Entropic Optimal Transport (EOT), and Maximum-Likelihood Deconvolution. This connection allows the use of statistical tools to prove that the WGD estimator converges to the true $R(D)$ as the number of particles and data samples increases.

Furthermore, the method excels at representing "singular" distributions. In many compression scenarios, the optimal reproduction distribution clusters on low-dimensional manifolds or isolated points. While neural networks struggle to represent such non-smooth shapes, a particle-based approach captures them naturally.

Experimental Evaluation

The authors evaluated WGD against state-of-the-art neural methods (RD-VAE, NERD) on synthetic benchmarks, physics data, speech datasets, and MNIST.

  • Efficiency: WGD demonstrated wall-clock speedups of 10x to 100x compared to neural alternatives.
  • Accuracy: On high-dimensional datasets, WGD consistently found tighter (lower) upper bounds for $R(D)$, especially in the low-bitrate regime.
  • Robustness: In deconvolution tasks, WGD reached optimal solutions where BA failed due to poor initial grid placement.

Discussion and Limitations

The primary constraint of WGD is the "$\log(n)$ rate limit." Since the method relies on $n$ discrete particles, it cannot effectively estimate extremely high-rate limits without an exponentially large number of particles. Future work aims to extend the hybrid BA-WGD approach to stochastic mini-batch settings for better scalability.

Conclusion

Wasserstein Gradient Descent offers a powerful, architecture-free alternative for R-D estimation. By leveraging the geometry of optimal transport, it provides a faster and more accurate path to finding the fundamental limits of data compression.

Summary updated

BibTeX
@inproceedings{yang2023estimating,
  author = {Yibo Yang and Stephan Eckstein and Marcel Nutz and Stephan Mandt},
  title = {{Estimating the Rate-Distortion Function by Wasserstein Gradient Descent}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=cAaTbLa3ad},
}
Figure