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

On a Relation Between the Rate-Distortion Function and Optimal Transport

Eric Lei, Hamed Hassani, Shirin Saeedi Bidokhti · Submission to Tiny Papers @ ICLR

Introduction

In information theory, the Rate-Distortion (RD) function establishes the absolute minimum number of bits required to represent a data source given a specific tolerance for error (distortion). Traditionally, this fundamental limit in data compression is computed using the Blahut-Arimoto algorithm. In a seemingly separate mathematical domain, Optimal Transport (OT) studies the most efficient way to move mass from one probability distribution to another.

While researchers have long suspected a conceptual link between "compressing data" and "moving mass," the exact computational relationship has lacked full unification. This paper bridges that gap, proving a formal mathematical equivalence between the RD function and an "extremal" version of entropic OT. By demonstrating that these two frameworks are fundamentally linked, the authors show that efficient OT solvers—such as the Sinkhorn algorithm—can be leveraged to solve classic problems in source coding and scalar quantization.

Theoretical Framework: Unifying RD and OT

The primary difference between standard OT and RD lies in the marginal constraints. In OT, both the starting and ending distributions are typically known. In RD, only the starting distribution ($P_X$) is known; the objective is to find the optimal ending distribution ($Q_Y$) that minimizes the rate for a given distortion.

The authors introduce the Sinkhorn-distortion function, $S(D)$, defined as an extremal entropic OT distance where optimization occurs over the target distribution itself. Their central theoretical contribution proves that for any source and distortion measure, the rate-distortion function is equivalent to this Sinkhorn-distortion function ($R(D) = S(D)$). When optimizing over $Q_Y$ in an OT setting, the additional constraints of OT effectively vanish, rendering the problem identical to RD.

Numerical Validation

To validate these theoretical proofs, the authors conducted numerical experiments using synthetic, discrete probability distributions. They compared traditional information theory pipelines against optimal transport paths.

Rate-Distortion vs. Sinkhorn-Distortion

Using a 5-atom discrete source under squared-error distortion, the authors compared the $R(D)$ curve generated by the classic Blahut-Arimoto algorithm against the $S(D)$ curve computed using a Sinkhorn-based convex optimization framework.

Comparison of R(D) and S(D)

As shown above, the curves generated by the two distinct computational methods overlap perfectly, providing numerical identity to the mathematical proof that $R(D) = S(D)$.

Scalar Quantization

The authors also extended this logic to scalar quantization—the process of grouping continuous values into discrete bins. Using a 10-atom discrete source, they demonstrated that the classic Lloyd-Max algorithm is equivalent to minimizing the Earth Mover’s Distance (EMD) over a target distribution with a fixed number of points ($M$-level quantization).

EMD vs Lloyd-Max Quantization

The results confirm that an EMD solver yields the exact same rate-distortion trade-off as the Lloyd-Max algorithm, successfully unifying scalar quantization with optimal transport.

Implications and Future Work

This unification provides a powerful new toolbox for information theorists. For problems where the Blahut-Arimoto algorithm struggles, researchers can now utilize modern, highly-parallelizable Sinkhorn solvers developed within the machine learning community. Furthermore, the authors note that certain "un-symmetrized" Sinkhorn divergences used to train generative models (like GANs or VAEs) are implicitly solving for Rate-Distortion achieving distributions.

Limitations: * Scale: The numerical experiments were limited to small, discrete sources (5-10 points). The performance of these OT solvers on high-dimensional, continuous data compared to traditional methods remains unexplored. * Computational Complexity: While Sinkhorn algorithms are generally fast, the paper lacks a rigorous runtime comparison against Blahut-Arimoto for large-scale problems.

Future research will likely explore this link to better understand generative modeling tasks where Sinkhorn divergences are already popular, potentially paving the way for more "rate-efficient" AI models.

Summary updated

BibTeX
@misc{lei2023relation,
  author = {Eric Lei and Hamed Hassani and Shirin Saeedi Bidokhti},
  title = {{On a Relation Between the Rate-Distortion Function and Optimal Transport}},
  year = {2023},
  eprint = {2307.00246},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.00246},
}
Figure