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

A Convergent Primal-Dual Algorithm for Computing Rate-Distortion-Perception Functions

Chunhui Chen, Linyi Chen, Xueyan Niu, Hao WuarXiv 2025 · DOI

Introduction: The Evolution of Compression Theory

In classical information theory, the fundamental limit of data compression is defined by the Rate-Distortion (RD) trade-off. This framework determines the minimum bit-rate required to represent a source given a maximum allowable level of error, typically measured by Mean Squared Error (MSE). However, as digital media has evolved, it has become increasingly clear that standard distortion metrics often fail to align with human visual judgment. A compressed image might achieve a low MSE by blurring high-frequency details, resulting in a high-fidelity but visually unappealing output. Conversely, generative models like GANs might introduce synthetic details that increase MSE but result in a much more "realistic" image.

To address this discrepancy, researchers introduced the Rate-Distortion-Perception (RDP) function. This three-way trade-off adds a third dimension—Perception—which measures how closely the distribution of the reconstructed data matches the original source distribution. While theoretically robust, computing the RDP function has proven to be a significant mathematical and computational challenge. This paper introduces IAS-II, a novel primal-dual algorithm that provides the first rigorous proof of a $O(1/n)$ convergence rate for computing these functions, bridging a critical gap between theoretical information theory and practical perceptual compression.

The Computational Challenge of Perception

The primary difficulty in RDP optimization lies in the nature of the perception constraint. In standard RD theory, algorithms like Blahut-Arimoto benefit from a well-behaved convex structure. Adding a perception constraint—ensuring the output distribution is close to the source distribution—breaks this structure. The resulting optimization problem becomes non-convex and computationally expensive, often lacking guarantees that an algorithm will ever reach the global optimum.

Previous attempts to solve this problem were largely heuristic or relied on algorithms that lacked formal convergence proofs. Without a reliable way to compute the "ground truth" RDP function, it is difficult for engineers to know how close their practical compression systems (such as those based on Diffusion models or GANs) are to the theoretical limits.

The IAS-II Framework: Bridging Theory and Computation

The authors propose the IAS-II algorithm, an evolution of the "Improved Alternating Sinkhorn" method, designed specifically to handle the complexities of the RDP function. The framework relies on several key innovations:

  1. Constraint Relaxation: Instead of enforcing a rigid, hard constraint on the reconstruction distribution, the authors reformulate the problem. By utilizing a CBA-inspired model, they "relax" the search space in a way that simplifies the mathematical landscape while still preserving the integrity of the optimal solution.
  2. Primal-Dual Optimization: The algorithm employs separate primal-dual designs tailored to different perception measures, specifically Kullback-Leibler (KL) divergence and Wasserstein distance. This allows the solver to adapt to the specific geometric properties of the chosen metric.
  3. Entropy Regularization: To handle the Wasserstein distance—which is notoriously difficult to compute in high dimensions—the authors incorporate entropy regularization. This technique makes the problem strictly convex, leading to more stable and efficient numerical solutions.
  4. Provable Convergence: The most significant contribution of this work is the use of Hessian-based analysis to prove that IAS-II converges at a rate of $O(1/n)$. This provides the first rigorous theoretical guarantee in RDP literature, ensuring that the algorithm will reliably reach the optimal solution within a predictable timeframe.

Performance and Convergence Results

The IAS-II algorithm was evaluated using well-defined mathematical sources, including Binary sources (using Hamming distortion and Total Variation distance) and Gaussian sources (using squared-error distortion, KL divergence, and Wasserstein-2 distance).

Speed and Efficiency

The empirical results demonstrate that IAS-II is significantly faster than its predecessor, the original IAS algorithm. In tests involving binary sources and Wasserstein distance, IAS-II achieved a speed-up ratio of up to 13.44x. For Gaussian sources, the algorithm consistently outperformed previous methods with speed-up ratios typically between 1.4x and 2.8x.

Accuracy and Stability

Despite the gains in speed, the algorithm maintains extreme precision. The numerical difference between the results of IAS-II and previous state-of-the-art methods was negligible, with errors recorded on the order of $10^{-13}$ to $10^{-14}$. Furthermore, the empirical convergence behavior perfectly matched the theoretical $O(1/n)$ prediction, confirming the reliability of the authors' mathematical framework.

Conclusion and Future Directions

By providing a provably convergent algorithm for the RDP function, this work establishes a new benchmark for perceptual compression. While the current experiments focus on 1D sources (Binary and Gaussian), the theoretical foundations are robust.

However, several challenges remain for future research. Scaling these discrete solvers to the massive state-spaces required for high-resolution images is a significant computational hurdle. Additionally, while the paper covers standard metrics like KL and Wasserstein, human perception is complex and may be better captured by learned metrics such as LPIPS. Integrating these provable bounds into the training loops of deep generative models represents a promising path toward more interpretable and efficient perceptual compression systems. Ultimately, IAS-II provides the mathematical "ground truth" necessary to measure and guide the next generation of visual communication technologies.

Summary updated

BibTeX
@misc{chen2025convergent,
  author = {Chunhui Chen and Linyi Chen and Xueyan Niu and Hao Wu},
  title = {{A Convergent Primal-Dual Algorithm for Computing Rate-Distortion-Perception Functions}},
  year = {2025},
  eprint = {2508.13486},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.13486},
}
Figure