Skip to Content
EntropyEntropy
  • Article
  • Open Access

1 March 2026

30 Pages

Computing Rate–Distortion Functions of Continuous Memoryless Sources via Discrete Algorithms: An Integrated Scheme with Convergence Guarantee and Algorithmic Acceleration

,
,
,
,
and
1
Department of Mathematical Sciences, Tsinghua University, Beijing 100084, China
2
Ningbo Institute of Digital Twin, Ningbo 315200, China
3
Department of Electronic Engineering and Information Science, University of Science and Technology of China, Hefei 230027, China
*
Author to whom correspondence should be addressed.

Abstract

Numerical computation of the rate–distortion (RD) function is a key problem in RD theory. Thus far, efficient algorithms have been well studied for discrete sources, but for continuous sources, there is still lack of a rigorously developed solution. In this article, an integrated approach is conducted that bridges RD problems of continuous memoryless sources and discrete numerical algorithms. First, we analyze and establish the theoretical convergence guarantee when progressively approaching the continuous RD problem via a sequence of discrete problems. Next, discrete algorithms including the Blahut–Arimoto (BA) and constrained BA algorithms are reviewed, and estimates of their required amount of arithmetic operations to attain ε -accuracy in solving the continuous RD problem are derived. Finally, acceleration techniques that exploit structures of special distortion measures (i.e., squared-error and absolute-error) are developed.

1. Introduction

Rate–distortion (RD) theory traces back to Shannon’s seminal work on lossy source coding, where the RD function was introduced to characterize the fundamental trade-off between rate and distortion for representing a source subject to a fidelity criterion [1]. RD theory has been instrumental to the development of signal quantization and compression [2], and has long-lasting impacts on standards for media compression [3,4,5]. See [6] for a systematic treatment of standard and classical aspects of RD theory, [7] for a survey on the development of RD theory, [8] for introduction on RD theory in distributed settings, and [9] for recent progresses on the interplay between RD theory and machine learning.
Evaluating the RD function is a key problem in rate–distortion theory, and due to the lack of closed-form expressions in general settings, numerical algorithms are usually necessary. Thus far, efficient algorithms have been well studied for discrete sources, including the famous Blahut–Arimoto (BA) algorithm [10,11] and several others such as the constrained BA (CBA) algorithm [12] and expectation–maximization (EM)-type algorithms utilizing Bregman projections or mirror descent [13]. But for continuous sources, there is still lack of a rigorously developed solution. A commonly adopted approach is first discretizing the source and reproduction spaces and then solving the resulting discrete RD problem. Do solutions of the discretized problems provably converge to those of the original continuous problem? This basic question has remained unanswered to the best of our knowledge. It should be noted that, due to the nonlinear optimization formulation of the RD problem, naive discretization does not necessarily yield a convergent sequence of solutions towards those of the original continuous problem [14].
This article conducts an integrated approach for the computation of RD functions, bridging continuous RD problems and discrete numerical algorithms. Specifically, we (i) for continuous RD problems, construct suitable discretizations and prove that their solutions converge to those of the original continuous problem; (ii) review, based on [12], estimates of the required amount of arithmetic operations when applying the BA and CBA algorithms for attaining ε -accuracy within the solution of the continuous RD problem; and (iii) design acceleration techniques that substantially reduce time and memory costs for squared-error and absolute-error distortion measures. A preliminary result pertaining to (i) was first presented in part at the IEEE International Symposium on Information Theory (ISIT) in 2024 [15], while here we present the complete work with proofs.
In our approach, we analyze a suitable dual form of the RD function, constructing a sequence of finite-dimensional spaces that progressively approximate the infinite-dimensional space of reproduction distributions. The convergence of discrete problem solutions to the continuous one is established by using standard tools in mathematical analysis [16]. The proof is algorithm-agnostic and does not depend on specific numerical algorithms used. In an alternative approach, mapping-based methods jointly optimize locations and masses of the discrete reproduction distribution [17], but the explicit dependence on locations makes the optimization problem nonconvex and typically lacks uniform performance guarantees [18]. By avoiding optimization over locations and instead working in the limit of asymptotically vanishing discretization step size, our approach provably guarantees convergence of both objective values and solution sequences. In another work [19], the RD function under a fixed output alphabet size constraint is evaluated, and corresponding encoding schemes are proposed.
With convergence guarantees, computing the continuous RD function can be effectively reduced to solving the discretized RD problems with numerical algorithms, i.e., the BA or CBA algorithm. To assess the efficiency of this approach, we review the arithmetic complexity required to attain an ε -accurate solution. According to the analysis in [12], for the CBA algorithm, this complexity is O | log ε | ε d + 1 ( 1 + log | log ε | ) multiplied by the number of discretization nodes, where d = d i m ( Y ) is the reproduction dimension. Since achieving ε -accuracy in d-dimensional integration necessitates a grid with O ( 1 / ε d ) nodes, the overall complexity becomes O | log ε | ε 2 d + 1 ( 1 + log | log ε | ) . Clearly, this leads to substantial computational complexity.
To mitigate the aforementioned substantial computational complexity, we design fast algorithms by exploiting the structure of uniform discretization. Specifically, for squared-error distortion, we leverage the Fast Fourier Transform (FFT) to accelerate the iterated convolutions in the CBA updates, achieving an acceleration factor of | log ε | / ε d . For absolute-error distortion, we devise a fast algorithm based on dynamic programming ideas, inspired by [20], which achieves an acceleration factor of 1 / ε d .
The remaining part of this article is organized as follows. Section 2 develops the continuous RD framework, formulates its discretizations, and establishes the convergence of the associated discrete schemes. Section 3 reviews the BA and CBA algorithms, and provides estimates on their required amount of arithmetic operations for attaining ε -accuracy within the solution of the continuous RD problem. Section 4 further develops acceleration techniques, including FFT-based acceleration for squared-error distortion and nearly linear time acceleration for absolute-error distortion, with reduced time and memory costs. Section 5 concludes this article.

2. Discretization of Continuous RD Problems and Convergence Analysis

In this section, we address the discretization of continuous RD problems and analyze the convergence of the resulting discrete schemes.

2.1. Continuous RD Problems and Their Discretizations

Consider a continuous memoryless source X ∈ X with reproduction Y ∈ Y , where X , Y are finite-dimensional Euclidean spaces. Denote the dimension of Y as d. Let p and r denote the probability distributions of X and Y, respectively, and let ρ : X × Y → R ≥ 0 be a distortion measure. For an average distortion threshold D ≥ 0 , the RD function [6,21] is
R ( D ) ≜ min P Y | X I ( X ; Y ) s . t . E P X Y ρ ( X , Y ) ≤ D ,
where P X Y = P X P Y | X . Define F ( r , β ) as
F ( r , β ) ≜ − ∫ log ∫ exp − β ρ ( x , y ) d r ( y ) d p ( x ) − β D .
A convenient max–min formulation of the RD problem (cf. [22] (Equation (7))) is
max β ≥ 0   min r ∈ W F ( r , β ) ,
where W = { r : ∫ d r ( y ) = 1 } and D denotes the average distortion threshold. Here r is understood as a probability measure on Y equipped with the topology of weak convergence [23], for which it is well-known that for continuous sources under the squared-error distortion measure, the optimal reproduction distribution r is usually discrete [17,24].
In (3), by fixing the multiplier β and defining f ( r ) as
f ( r ) ≜ − ∫ log ∫ exp − β ρ ( x , y ) d r ( y ) d p ( x ) ,
the inner minimization of (3) can be rewritten as (see [17] (Equation (3)):
min r ∈ W f ( r ) .
Since r ( y ) is defined over the continuum W , it is common to discretize it on a uniform grid of points { y j n } j = 1 n within [ − n 1 2 d , n 1 2 d ] d . We denote the discretization step size as h, i.e., h = 2 n − 1 2 d , and the interval [ y j n − h / 2 , y j n + h / 2 ] containing y j as I j , noting that these intervals are disjoint. This thus leads to the following discrete form:
min r : ∑ j = 1 n r j = 1 − ∫ log ∑ j = 1 n exp ( − β ρ ( x , y j n ) ) r j d p ( x ) .
Correspondingly, (3) corresponds to the following discrete form:
max β ≥ 0 min r : ∑ j = 1 n r j = 1 − ∫ log ∑ j = 1 n exp ( − β ρ ( x , y j n ) ) r j d p ( x ) − β D .
The solution of (6) or (7) can be represented as r n = ∑ j r j δ y j n , where δ y j n is the Dirac delta function at y j n .
Before proceeding with the subsequent discussion, we clarify some basic notations and terms used throughout the text. [ − M , M ] d denotes the d-fold Cartesian product of [ − M , M ] ; ∥ · ∥ denotes the ℓ ∞ norm; a n → a means convergence in R , while f n ⇉ f denotes uniform convergence [16], i.e., ∀ ε > 0 , | f n ( x ) − f ( x ) | ≤ ε , ∀ x when n is sufficiently large. For the sequence { r n } n = 1 ∞ , the limit points [23] are all the points satisfying that every punctured neighborhood contains at least one point in { r n } n = 1 ∞ , and we denote the set that contains all the limit points of the sequence { r n } n = 1 ∞ as L ( { r n } n = 1 ∞ ) . We also write weak convergence as r k → w r . For brevity, the expression log ∫ exp ( − β ρ ( x , y ) ) d r ( y ) will be abbreviated as H r ( y ) ( x ) when no confusion arises. We write X = { x i } i = 1 m and Y = { y j } j = 1 n for discretized spaces X and Y , respectively.

2.2. Convergence of Discrete Schemes

Before proceeding with the analysis, we outline the underlying assumption.
Assumption 1.
The distortion measure ρ and source distribution p satisfy
∀ β > 0 , ∀ ε > 0 , ∃ δ > 0 ,   s . t . ∀ x , ∀ ∥ y 1 − y 2 ∥ < δ , | exp ( − β ρ ( x , y 1 ) ) − exp ( − β ρ ( x , y 2 ) ) | < ε , ∫ max ∥ y ∥ ≤ A ρ ( x , y ) d p ( x ) < ∞ , ∀ A > 0 ,
and
| exp ( − β ρ ( x , y 1 ) ) ρ ( x , y 1 ) − exp ( − β ρ ( x , y 2 ) ) ρ ( x , y 2 ) | < ε .
We emphasize that this assumption constitutes general conditions applicable to broad scenarios. With this assumption, we summarize the main results of convergence and convergence rate in the following theorem:
Theorem 1.
The convergence and convergence rate results for discrete problem (7) are as follows:
(1) 
Under the assumption, the solutions ( r n , β n ) to the discrete problem (7) satisfy convergence of the objective values and convergence of the sequence, i.e.,
F ( r n , β n ) → F * , a n d L ( { ( r n , β n ) } n = 1 ∞ ) a r e s o l u t i o n s o f ( 3 ) ,
where F * is the optimal value of the continuous problem (3).
(2) 
When the probability distribution p of X is supported over [ − M , M ] d , the optimal values F ( r n , β n ) of the discrete problem (7) satisfy the error estimate
| F ( r n , β n ) − F * | ≤ C h ,
where C = C ( p , ρ ) is a constant independent of n, and  h = 2 M / n 1 d is the discretization step size.
To prove part (1) in Theorem 1, we first consider the case of fixed β , establishing the convergence of the discrete problem (6) to the continuous problem (5).
Lemma 1.
Under the assumption, for any fixed multiplier β > 0 , the solutions r n to the discrete problem (6) satisfy both value convergence and sequence convergence to (5), i.e.,
f ( r n ) → f * , a n d L ( { r n } n = 1 ∞ ) i s t h e s o l u t i o n s e t o f ( 5 ) ,
where f * is the optimal value of the continuous problem (5).
Proof. 
Detailed derivations are presented in Appendix A.1.    □
Next, we provide the convergence proof of the RD problem (3) via its discrete problem (7). Let the optimal solution of the continuous problem (3) and the discrete problem (7) be ( r * , β * ) and ( r n , β n ) respectively. Since r n has no concrete form, it is not straightforward to prove its convergence. The key idea is a transformation from the convergence of r n to that of a variable q n of certain concrete form, as summarized in Proposition 1 below, which has drawn some inspiration from [25].
Proposition 1.
Construct q n = ∑ j = 1 n A j n δ y j n , where A j n = ∫ I j d r * , and  I j is defined in Section 2.1. To prove the convergence of the objective value in problem (3), i.e., F ( r n , β n ) → F ( r * , β * ) , we only need to show F ( q n , β ˜ n ) → F ( r * , β * ) , where β ˜ n = a r g m a x β F ( q n , β ) .
Proof. 
Detailed derivations are presented in Appendix A.2.    □
In the following Lemma 2, we provide the convergence result of β ˜ n , as a prelude to the convergence proof for the RD problem.
Lemma 2.
Convergence properties of β ˜ n :
(1) 
β ˜ n is lower bounded away from zero for any n, i.e., ∃ B 1 > 0 , β ˜ n ≥ B 1 , ∀ n .
(2) 
β ˜ n converges to the optimal solution β * .
Proof 
(1). By using subsequence analysis [23] and uniform convergence analysis [16], we can obtain the result. A detailed derivation is presented in Appendix A.3.
(2). By using the sequentially compact property [23], the truncation technique and the tools of upper limits and lower limits [16], the convergence can be proven. Detailed derivations are presented in Appendix A.3.    □
At this point, we are ready to establish the convergence of the discrete problem (7) in Theorem 1.
Proof of Theorem 1(1).
We now show that F ( q n , β ˜ n ) → F ( r * , β * ) . By Lemma 1, F ( q n , β * ) → F ( r * , β * ) . Therefore, it suffices to prove that
F ( q n , β ˜ n ) − F ( q n , β * ) ⟶ 0 .
For this, we notice that
0 ≤ F ( q n , β ˜ n ) − F ( q n , β * ) = − ∫ log ∫ exp ( − β ˜ n ρ ( x , y ) ) d q n ( y ) ∫ exp ( − β * ρ ( x , y ) ) d q n ( y ) d p ( x ) − ( β ˜ n − β * ) D .
We divide the integral into two parts and estimate each of them. For simplicity, denote H r β ( x ) = ∫ exp ( − β ρ ( x , y ) ) d r ( y ) .
− ∫ ∥ x ∥ ≤ M log ∫ exp ( − β ˜ n ρ ( x , y ) ) d q n ( y ) ∫ exp ( − β * ρ ( x , y ) ) d q n ( y ) d p ( x ) = ∫ ∥ x ∥ ≤ M log H q n β * ( x ) − H q n β ˜ n ( x ) ∫ exp ( − β ˜ n ρ ( x , y ) ) d q n ( y ) + 1 d p ( x ) ≤ ∫ ∥ x ∥ ≤ M | H q n β * ( x ) − H q n β ˜ n ( x ) | ∫ exp ( − β ˜ n ρ ( x , y ) ) d q n ( y ) d p ( x ) ≤ ∫ ∥ x ∥ ≤ M | H q n β * ( x ) − H q n β ˜ n ( x ) | δ 0 d p ( x ) ,
where δ 0 is a lower bound and
∫ exp ( − β ˜ n ρ ( x , y ) ) d q n ( y ) ≥ ∫ ∥ y ∥ ≤ M exp ( − B 0 ρ ( x , y ) ) d q n ( y ) ≥ ∫ ∥ y ∥ ≤ M exp ( − B 0 ρ * ) d q n ( y ) ≥ 1 2 exp ( − B 0 ρ * ) ≜ δ 0 .
Here, B 0 is an upper bound of β ˜ n , since it is convergent, M is larger than the constant A in Lemma 1, and  ρ * is a constant equal to max x , y ∈ [ − M , M ] d ρ ( x , y ) . Using the same derivation as (A7) in the proof of Lemma 2, we have
∫ exp ( − β ˜ n ρ ( x , y ) ) d q n ( y ) − ∫ exp ( − β * ρ ( x , y ) ) d q n ( y ) ⇉ 0 .
Thus, when n is sufficiently large,
∫ ∥ x ∥ ≤ M | H q n β * ( x ) − H q n β ˜ n ( x ) | δ 0 d p ( x ) ≤ ε .
We obtain
lim n − ∫ ∥ x ∥ ≤ M log ∫ exp ( − β ˜ n ρ ( x , y ) ) d q n ( y ) ∫ exp ( − β * ρ ( x , y ) ) d q n ( y ) d p ( x ) = 0 .
Meanwhile, let g ( x ) = max ∥ y ∥ ≤ A ρ ( x , y ) , then
− ∫ ∥ x ∥ > M log H q n β ˜ n ( x ) H q n β * ( x ) d p ( x ) = ∫ ∥ x ∥ > M − log H q n β ˜ n ( x ) − log H q n β * ( x ) d p ( x ) ≤ ∫ ∥ x ∥ > M − log 1 2 e − β ˜ n g ( x ) − log 1 2 e − β * g ( x ) d p ( x ) = ∫ ∥ x ∥ > M 2 log 2 + β ˜ n g ( x ) + β * g ( x ) d p ( x ) ≤ ∫ ∥ x ∥ > M 2 log 2 + B 0 g ( x ) + β * g ( x ) d p ( x ) .
Here, we used the fact
H q n β ˜ n ( x ) ≥ ∫ ∥ y ∥ ≤ A exp ( − β ˜ n ρ ( x , y ) ) d q n ( y ) ≥ ∫ ∥ y ∥ ≤ A exp ( − β ˜ n g ( x ) ) d q n ( y ) ≥ 1 / 2 exp ( − β ˜ n g ( x ) ) .
Combining the two parts and taking the limit n → ∞ , we obtain
lim   sup n [ F ( q n , β ˜ n ) − F ( q n , β * ) ]   = lim   sup n − ∫ log ∫ exp ( − β ˜ n ρ ( x , y ) ) d q n ( y ) ∫ exp ( − β * ρ ( x , y ) ) d q n ( y ) d p ( x ) = lim   sup n − ∫ ∥ y ∥ > M log ∫ exp ( − β ˜ n ρ ( x , y ) ) d q n ( y ) ∫ exp ( − β * ρ ( x , y ) ) d q n ( y ) d p ( x ) ≤ ∫ ∥ x ∥ > M 2 log 2 + B 0 g ( x ) + β * g ( x ) d p ( x ) .
Then by taking the limit of M → ∞ , we obtain the convergence. Here we used the assumption, i.e., ∫ g ( x ) d p ( x ) < ∞ .
To prove the convergence of the solutions, let ( r ˜ , β ˜ ) be a limit point of the solution sequence { ( r n , β n ) } n = 1 ∞ . Then there exists a subsequence { ( r n k , β n k ) } k = 1 ∞ satisfying r n k → w r ˜ and β n k → β ˜ . Next, we have
F ( r ˜ , β ˜ ) = lim k F ( r n k , β n k ) = F ( r * , β * ) ,
since we have proven that lim n F ( r n , β n ) = F ( r * , β * ) . By the optimality property of ( r * , β * ) and ( r n k , β n k ) ,
F ( r ˜ , β ˜ ) = F ( r * , β * ) ≤ F ( r n k , β * ) ≤ F ( r n k , β n k ) ≤ F ( q ¯ n k , β n k ) .
Here, q ¯ n k ∈ W n k is a discrete version of r ¯ = argmin r ∈ W F ( r , β ˜ ) , i.e., q ¯ n k = ∑ j ∫ I j d r ¯ δ y j n k . Similarly to the preceding analysis, we have F ( q ¯ n k , β n k ) → F ( r ¯ , β ˜ ) . Thus,
F ( r ˜ , β ˜ ) ≤ F ( r ¯ , β ˜ ) ≤ F ( r , β ˜ ) , ∀ r ∈ W .
This means r ˜ = argmin r ∈ W F ( r , β ˜ ) and
F ( r ˜ , β ˜ ) = min r ∈ W F ( r , β ˜ ) ≜ h ( β ˜ ) .
However, F ( r ˜ , β ˜ ) = F ( r * , β * ) = h ( β * ) and h ( β * ) = max β ≥ 0 h ( β ) hold due to the optimality property of ( r * , β * ) . So, we obtain that β ˜ is optimal, i.e., β ˜ = argmax β ≥ 0 h ( β ) . Further combining r ˜ = argmin r ∈ W F ( r , β ˜ ) , we obtain that ( r ˜ , β ˜ ) is optimal.    □
To prove part (2) in Theorem 1, we first establish the convergence rate for the discrete problems (6).
Lemma 3.
When the probability distribution p of X is supported over [ − M , M ] d , the optimal values f ( r n ) of the discrete problem (6) satisfy the error estimate
| f ( r n ) − f * |   ≤   C h ,
where C is a constant and h = 2 M / n 1 d is the discretization step size.
Proof. 
By refining the estimation in Lemma 1, we obtain the convergence rate. A derivation is shown in Appendix A.4.    □
Correspondingly, the convergence rate of problem (7) can be proved as follows.
Proof of Theorem 1(2).
Since r is supported over [ − M , M ] d , we can simply take the equidistant discretization nodes { y j n } j = 1 n from [ − M , M ] d . Due to the inequality (A5) in the proof of Proposition 1,
0 ≤ F ( r n , β n ) − F ( r * , β * ) ≤ F ( q n , β ˜ n ) − F ( r * , β * ) .
Thus, we only need to evaluate F ( q n , β ˜ n ) − F ( r * , β * ) . Assume for x , y ∈ [ − M , M ] d that e − β ρ ( x , y ) and e − β ρ ( x , y ) ρ ( x , y ) are Lipschitz continuous with the common Lipschitz constant L, for  0 < B 1 ≤ β ≤ B 0 .
First, we estimate the convergence rate of β ˜ n → β * :
| ∫ exp ( − β ˜ n ρ ( x , y ) ) d q n ( y ) − ∫ exp ( − β ˜ n ρ ( x , y ) ) d r * ( y ) | ≤ ∑ i ∫ I i | exp ( − β ˜ n ρ ( x , y ) ) − exp ( − β ˜ n ρ ( x , y i n ) ) | d r * ( y ) ≤ ∑ i ∫ I i L ∥ y − y i n ∥ d r * ( y ) ≤ L h / 2 .
Here, we used the fact ⋃ i = 1 n I i ⊇ [ − M , M ] d , and the bound on β ˜ n , i.e., 0 < B 1 ≤ β ˜ n ≤ B 0 .
Similarly,
| ∫ exp ( − β ˜ n ρ ( x , y ) ) ρ ( x , y ) d q n ( y ) − ∫ exp ( − β ˜ n ρ ( x , y ) ) ρ ( x , y ) d r * ( y ) | ≤ L h / 2 .
Next, as in the proof of Theorem 1(1), we obtain the lower bounds
∫ e − β ˜ n ρ ( x , y ) d q n ( y ) ≥ δ 0 , ∫ e − β ˜ n ρ ( x , y ) d r * ( y ) ≥ δ 0 .
Moreover, since β ˜ n ≥ B 1 > 0 and e − β ρ is decreasing in β ,
∫ e − β ˜ n ρ ( x , y ) ρ ( x , y ) d r * ( y ) ≤ ∫ e − B 1 ρ ( x , y ) ρ ( x , y ) d r * ( y ) ≤ ∫ M 1 d r * ( y ) = M 1 ,
where M 1 is the upper bound on the function exp ( − B 1 t ) t , t ≥ 0 .
Now, since G r * ( β * ) = 0 = G q n ( β ˜ n ) , we have the following estimate:
| G r * ( β ˜ n ) − G r * ( β * ) | = | G r * ( β ˜ n ) − G q n ( β ˜ n ) | ≤ ∫ ∥ x ∥ ≤ M | ∫ exp ( − β ˜ n ρ ( x , y ) ) ρ ( x , y ) d q n ( y ) ∫ exp ( − β ˜ n ρ ( x , y ) ) d q n ( y ) − ∫ exp ( − β ˜ n ρ ( x , y ) ) ρ ( x , y ) d r * ( y ) ∫ exp ( − β ˜ n ρ ( x , y ) ) d r * ( y ) | d p ( x ) = ∫ ∥ x ∥ ≤ M | b 1 a 1 − b 2 a 2 | d p ( x ) = ∫ ∥ x ∥ ≤ M | a 2 b 1 − a 1 b 2 | a 1 a 2 d p ( x ) ≤ ∫ ∥ x ∥ ≤ M a 2 | b 1 − b 2 | + b 2 | a 2 − a 1 | a 1 a 2 d p ( x ) ≤ ∫ ∥ x ∥ ≤ M L h 2 δ 0 + M 1 L h / 2 δ 0 2 d p ( x ) ≤ L h 2 δ 0 + M 1 L h / 2 δ 0 2 = O ( h ) ,
wherein for the simplicity of notation, we write a 1 , a 2 , b 1 , b 2 for the respective integrals.
Next, we provide the estimate of β ˜ n − β * . Let − L 1 = G r * ′ ( β * ) < 0 . Then there exists δ 2 > 0 such that, for all β ∈ ( β * − δ 2 , β * + δ 2 ) ,
G r * ′ ( β ) ≤ − L 1 2 ,
and β ˜ n lies in this neighborhood once n is sufficiently large. Therefore, by the Lagrange mean value theorem,
| G r * ( β ˜ n ) − G r * ( β * ) | = | G r * ′ ( ζ ) | | β ˜ n − β * | ≥ L 1 2 | β ˜ n − β * | .
Here, ζ is a real number between β ˜ n and β * . Thus,
| β ˜ n − β * | ≤ 2 L 1 | G r * ( β ˜ n ) − G r * ( β * ) | = O ( h ) .
Now we provide the convergence rate of F ( q n , β ˜ n ) − F ( r * , β * ) :
| F ( q n , β ˜ n ) − F ( r * , β * ) | ≤ | F ( q n , β ˜ n ) − F ( q n , β * ) | + | F ( q n , β * ) − F ( r * , β * ) | .
By conducting the following evaluation
| ∫ exp ( − β * ρ ( x , y ) ) d q n ( y ) − ∫ exp ( − β ˜ n ρ ( x , y ) ) d q n ( y ) | ≤ ∫ e − β * ρ ( x , y ) | e ( β * − β ˜ n ) ρ ( x , y ) − 1 | d q n ( y ) ≤ ∫ ∥ y ∥ ≤ M ( e | β * − β ˜ n | ρ ( x , y ) − 1 ) d q n ( y ) ≤ ∫ ∥ y ∥ ≤ M ( e | β * − β ˜ n | ρ * − 1 ) d q n ( y ) ≤ ( e | β * − β ˜ n | ρ * − 1 ) ≤ 2 | β * − β ˜ n | ρ * = O ( h ) , when n is sufficiently large ,
where ρ * = max x , y ∈ [ − M , M ] d ρ ( x , y ) , we thus have the following estimate using the derivation in (8):
0 ≤ F ( q n , β ˜ n ) − F ( q n , β * ) ≤ ∫ ∥ x ∥ ≤ M | H q n β * ( x ) − H q n β ˜ n ( x ) | δ 0 d p ( x ) − ( β ˜ n − β * ) D ≤ ∫ ∥ x ∥ ≤ M O ( h ) / δ 0 d p ( x ) + O ( h ) = O ( h ) ,
where we denote H r β ( x ) = ∫ exp ( − β ρ ( x , y ) ) d r ( y ) . Meanwhile, due to Lemma 3, | F ( q n , β * ) − F ( r * , β * ) | = O ( h ) . Thus, we obtain the convergence rate | F ( r n , β n ) − F ( r * , β * ) | = O ( h ) = O ( 1 / n 1 d ) .    □
Remark 1.
We first want to clarify that Theorem 1, as presented here, is specifically centered on the CBA algorithm. Additionally, it should be noted that corresponding results for the BA algorithm are also covered: both Lemma 1 and Lemma 3 entail the same conclusions for the BA algorithm.

2.3. Numerical Verfication

We conduct experiments on a uniform source to confirm the convergence shown in this section. We consider the uniform source on interval [ − 8 , 8 ] and solve the corresponding discrete problems with different discretization parameters, with the node number varying according to n = 20 , 40 , 80 , 160 for the discretization of Y. In order to ensure accuracy for evaluating the integrals with respect to p ( x ) , we fix a sufficiently large node number m = 300 for X. We use both the BA and CBA algorithms to solve the discrete problems (6) and (7), respectively. The corresponding results of the reproduction distribution are illustrated in Figure 1.
Figure 1. The discrete optimal reproduction distribution produced by the BA algorithm for slope β = 0.1 (upper left) and β = 0.2 (upper right), and by the CBA algorithm for target distortion D = 4 (lower left) and D = 3 (lower right). For clearer visualization, the log 2 scale of the density is used on the vertical axis.
It has been well known (see, i.e., [17]) that the optimal reproduction distribution of the uniform source is discrete. From Figure 1, the convergence of the solutions of discrete problems to discrete reproduction distributions is clearly demonstrated, as the discretization becomes finer progressively.

3. Discrete RD Algorithms and Their ε -Accuracy Analysis

In the previous section, we have shown that for computing the RD function of a continuous source, as discretization step size asymptotically vanishes, solutions to discrete problems converge to those of the continuous problem. Discrete problems are typically solved via BA [10,11] and CBA [12] algorithms. In this section, we review these algorithms, and provide estimates on their required amount of arithmetic operations for attaining ε -accuracy within the solution of the continuous problem.

3.1. BA Algorithm

As a classical numerical method for computing the RD function, the BA algorithm [10,11] minimizes the RD Lagrangian with a fixed penalty parameter. Concretely, for a fixed penalty β > 0 , it minimizes
L RD β ( P Y | X ) ≜ I ( X ; Y ) + β E P X Y d ( X , Y ) .
Geometrically, β is the slope of a tangent line to the RD curve R ( D ) ; hence, minimizing L RD β at a fixed β yields a conditional distribution P Y | X * associated with the point of tangency ( D λ , R λ ) on the RD curve [26].
Write w ( y | x ) for the conditional probability P Y | X , and  r ( y ) for the marginal distribution of Y. The BA algorithm alternates between the two variables w ( y | x ) and r ( y ) in the following way [10]:
w ( y | x ) = r ( y ) e − β ρ ( x , y ) / ∫ e − β ρ ( x , y ) r ( y ) d y , r ( y ) = ∫ p ( x ) w ( y | x ) d x .
After discretization, the alternating iterations can be reformulated as:
w i j = r j e − β ρ i j / ∑ j = 1 n e − β ρ i j r j , i = 1 , 2 ⋯ m , j = 1 , 2 ⋯ n ,
r j = ∑ i = 1 m p i w i j , j = 1 , 2 ⋯ n ,
where w i j = w ( y j | x i ) h , p i = p ( x i ) h , r j = r ( y j ) h , ρ i j = ρ ( x i , y j ) , and h is the discretization step size of uniform discretization.
It has been shown in the literature (see, e.g., [26] (Chapter 8)) that, for discrete sources, the iterative procedure of the BA algorithm converges to the RD function at rate O ( 1 / n ) . Furthermore, as shown in [13] (Theorem 2, Equation (96)), the BA algorithm needs O ( log n / ε ) iterations to achieve ε -accuracy. In each iteration, the BA algorithm performs two matrix–vector multiplications, involving O ( m n ) arithmetic operations. Moreover, the space cost amounts to O ( m n ) since we need to store w i j and r j , i , = 1 , 2 , ⋯ , m , j = 1 , 2 ⋯ n .
Based on the convergence rate analysis in Lemma 3, we conduct a complexity analysis to estimate the computational cost of solving the continuous problem (5) to achieve ε -accuracy via the BA algorithm.
Theorem 2.
To ensure ε-accuracy for computing the continuous RD function, the BA algorithm needs O m | log ε | ε d + 1 arithmetic operations. Here, m is the number of discretization nodes of X when conducting numerical integration and d is the dimension of the reproduction space Y .
Proof. 
By Theorem 3, to ensure that f ( r n ) − f ( r * ) ≤ ε , the sample size n must satisfy 1 / n 1 / d ∼ ε , i.e., n ∼ ε − d . Subsequently, the BA algorithm is applied to solve the associated discrete problem up to an error tolerance at level ε . As shown in [13] (Theorem 2, Equation (96)), the BA algorithm needs O ( log n / ε ) iterations to achieve ε -accuracy. In each iteration, the BA algorithm alternates between w ( y i n | x ) and r ( y i n ) in the following way:
w ( y i n | x ) = r ( y i n ) e − β ρ ( x , y i n ) / ∑ i = 1 n e − β ρ ( x , y i n ) r ( y i n ) , r ( y i n ) = ∫ p ( x ) w ( y i n | x ) d x .
Let x 1 , x 2 ⋯ x m be the nodes of numerical integration with respect to x. When computing w ( y i n | x ) , we need to perform matrix–vector multiplication
∑ i = 1 n e − β ρ ( x j , y i n ) r ( y i n ) , j = 1 , 2 ⋯ m ,
and it involves O ( m n ) arithmetic operations. The total computation cost for w ( y i n | x ) is O ( m n ) . When computing r ( y i n ) , we need to perform numerical integration,
∫ p ( x ) w ( y i n | x ) d x ∼ ∑ j = 1 m A j p ( x j ) w ( y i n | x j ) , i = 1 , 2 ⋯ n ,
where A j are the numerical integration coefficients. This is a matrix–vector multiplication, and it involves O ( m n ) arithmetic operations. Thus, the computational cost for each iteration in the BA algorithm is O ( m n ) . Hence, the total computational cost is O ( m n log n / ε ) = O ( m | log ε | / ε d + 1 ) .    □

3.2. CBA Algorithm

Inspired by the connection between OT and RD [27,28], Chen et al. [12] introduced the CBA algorithm [12], which explicitly incorporates the expected distortion constraint of the RD function. This allows the Lagrange multiplier β to be updated via a one-dimensional root-finding step to meet a target distortion D in each iteration, thereby solving the original RD problem (1) directly, without sweeping the entire RD curve as in the BA algorithm. Specifically, when alternating between the two variables w ( y | x ) and r ( y ) , the CBA algorithm updates the multiplier β (see [12] for further details):
Solve G ( β ) ≜ ∫ ∫ e − β ρ ( x , y ) ρ ( x , y ) r ( y ) d y ∫ e − β ρ ( x , y ) r ( y ) d y p ( x ) d x − D = 0 , w ( y | x ) = r ( y ) e − β ρ ( x , y ) / ∫ e − β ρ ( x , y ) r ( y ) d y , r ( y ) = ∫ p ( x ) w ( y | x ) d x ,
where β can be efficiently evaluated by Newton’s method since G ( β ) is monotone, as shown in [12]. After discretization, the iterative procedure turns into:
Solve G ( β ) ≜ ∑ i = 1 m ∑ j = 1 n e − β ρ i j ρ i j r j ∑ j = 1 n e − β ρ i j r j p i − D = 0 ,
w i j = r j e − β ρ i j / ∑ j = 1 m e − β ρ i j r j , i = 1 , 2 , ⋯ , m , j = 1 , 2 ⋯ n ,
r j = ∑ i = 1 m p i w i j , j = 1 , 2 ⋯ n ,
where w i j = w ( y j | x i ) h , p i = p ( x i ) h , r j = r ( y j ) h , ρ i j = ρ ( x i , y j ) and h is the discretization step sizes. As shown in [12], for discrete sources, the iterative procedure of the CBA algorithm also converges to the RD function at rate O ( 1 / n ) . Note that differently from the BA algorithm which minimizes the RD Lagrangian for a given multiplier λ , the CBA algorithm directly reaches the RD function for a given target distortion D. By the analysis in [12], in each iteration, the CBA algorithm takes O m n ( 1 + log | log ε | ) arithmetic operations to achieve ε -accuracy for solving β , while the space cost is also O ( m n ) .
Analogous to Theorem 2, we provide the complexity analysis to estimate the computational cost of solving the continuous problem (3) to achieve ε -accuracy via the CBA algorithm.
Theorem 3.
To ensure ε-accuracy for computing the continuous RD function, the CBA algorithm needs O m | log ε | ε d + 1 ( 1 + log | log ε | ) arithmetic operations. Here, m is the number of discretization nodes of X when conducting numerical integration and d is the dimension of the reproduction space Y .
Proof. 
By Lemma 3, to ensure that F ( r n , β n ) − F ( r * , β * ) ≤ ε , the sample size n must satisfy 1 / n 1 / d ∼ ε , i.e., n ∼ 1 / ε d . Then when using the CBA algorithm to solve the discrete problem within ε error tolerance, as shown in [12], we need O m n log n ε ( 1 + log | log ε | ) arithmetic operations to achieve ε -accuracy. Thus, the computational cost is
O m n log n ε ( 1 + log | log ε | ) = O m | log ε | ε d + 1 ( 1 + log | log ε | ) ,
thereby completing the proof.    □

4. Acceleration Techniques for the CBA Algorithm

The previous section detailed the computational cost for discrete algorithms (i.e., BA and CBA) to obtain ε -accurate RD solutions for continuous sources. To this end, we exploit the structure of specific distortion measures (i.e., squared-error and absolute-error) for developing fast algorithms. For clarity, we present the algorithms for the case of m = n ; the case of m ≠ n follows with minor modifications.

4.1. Squared-Error Distortion

We begin with the one-dimensional case, i.e., d = 1 . Following the discretization form introduced in Section 3, we have for the squared-error distortion ρ ( x , y ) = ( x − y ) 2 :
ρ i j = ( x i − y j ) 2 = h 2 ( i − j ) 2 , K i j ≜ e − β ρ i j = e − β h 2 ( i − j ) 2 .
For simplicity, we denote by D ρ the matrix whose ( i , j ) -entry is ρ i j . Noting that K i j only depends on the difference between its indices, consequently, the two weighted sums in the CBA iterative procedure become linear convolutions and can be implemented in O ( m log m ) time by FFT with zero padding.
To begin, we clarify the notation and definitions. We refer to ∗ as linear convolution, and “ . / ” and “⊙” denote element-wise division and multiplication, respectively. Here we denote the standard FFT operation and the standard inverse FFT operation as F F T and I F F T , respectively.
For a given matrix K, K d denotes the even extension of its first column, constructed by concatenating the first column of K with the reversed first row of K, excluding the first entry. Thus, we can compute each convolution K ∗ v in O ( m log m ) time via the FFT [29,30]. Specifically, the vector v is zero-padded [31] to length L = 2 m − 1 and K d is constructed; their discrete Fourier transforms are then computed, multiplied component-wise in the Fourier domain, and followed by the inverse transform. The leading m coefficients are retained to recover the linear convolution. This process is referred to as the function FFT _ conv ( K , v ) .
Substituting (10b) into (10c), the iterations of the CBA algorithm turn into:
Solve G ( β ) = ∑ i = 1 m p i ∑ j K i j ρ i j r j ∑ j K i j r j − D = 0 ,
r j = r j ∑ i = 1 m p i K i j ∑ j = 1 m K i j r j , j = 1 , 2 ⋯ m .
We adopt the notation K ( 0 ) = K , K ( 2 ) = K ⊙ D ρ , K ( 4 ) = K ⊙ D ρ ⊙ D ρ , and let a = K ( 0 ) ∗ r and u = K ( 2 ) ∗ r . Then, β can be updated by
Solve G ( β ) = ∑ i = 1 m p i u i a i − D = 0 .
Differentiating G ( β ) yields
G ′ ( β ) = ∑ i = 1 m p i u i 2 − a i v i a i 2 , v = K ( 4 ) ∗ r .
Note that G ′ ( β ) and G ( β ) require three FFT-based convolutions ( a , u , v ) , which can be calculated within O ( m log m ) arithmetic operations. Thus, each Newton’s iteration involves O ( m log m ) arithmetic operations. Due to the locally quadratic convergence of Newton’s method, we need log | log ε | iterations to achieve ε -accuracy. Hence, we only need O ( m log | log ε | ) arithmetic operations to implement (11a). Additionally, the update of (11b) requires two FFT-based convolutions,
a = K ( 0 ) ∗ r , b = p . / a , s = K ( 0 ) ∗ b , r ← r ⊙ s ,
which can also be calculated within O ( m log m ) arithmetic operations. Therefore, in each iteration of (11), it involves O m log m ( 1 + log | log ε | ) arithmetic operations. Moreover, due to [12] (Theorem 3.2), we need O ( log m / ε ) iterations. Therefore, the total computational cost of our method is O m ( log m ) 2 ε ( 1 + log | log ε | ) . Since m ∼ 1 / ε is needed to ensure the accuracy of numerical integration, the computational cost turns out to be O | log ε | 2 ε 2 ( 1 + log | log ε | ) to achieve ε -accuracy. Meanwhile, the space cost is O ( m ) , since only O ( m ) variables are stored. The corresponding pseudo-code is shown in Algorithm 1:
Algorithm 1 FFT-CBA for squared-error distortion (1D)
Input: 
Source distribution p i , target distortion D, maximum number of iterations m a x _ i t e r
Output: 
Minimal value ∑ i = 1 m ∑ j = 1 m p i w i j log w i j r j
  1:
Initialization:  r = 1 m / m , β = 0
  2:
for  t = 1 : m a x _ i t e r  do
  3:
       while  | G ( β ) | ≥ ε  do
  4:
            Calculate K ( 0 ) , K ( 2 ) , K ( 4 ) and K d ( 0 ) , K d ( 2 ) , K d ( 4 )
  5:
            Calculate K ^ ( q ) = FFT ( K ( q ) ) , q = 0 , 2 , 4
  6:
             a = F F T _ c o n v ( K ( 0 ) , r )
  7:
             u = F F T _ c o n v ( K ( 2 ) , r )
  8:
             v = F F T _ c o n v ( K ( 4 ) , r )
  9:
             G ← ∑ i p i u i / a i − D ,     G ′ ← ∑ i p i ( u i 2 − a i v i ) / a i 2
10:
             β ← β − G / G ′
11:
        a = F F T _ c o n v ( K ( 0 ) , r )
12:
        b ← p . / a
13:
        s = F F T _ c o n v ( K ( 0 ) , b )
14:
        r ← r ⊙ s
After obtaining the optimal variables β and r via iterations (11), we can calculate the rate R for a given target distortion D directly:
R = − β D − ∑ i = 1 m p i log ∑ j = 1 m K i j r j .
Here, we can apply an additional FFT to compute R, allowing us to obtain R using only O ( m log m ) arithmetic operations.
Remark 2.
In the implementation, the matrices K ( 0 ) , K ( 2 ) , K ( 4 ) do not need to be computed explicitly. Instead, we first convert the distance matrix D ρ into vector form and then treat this vector as a constant that is combined with the iteration-dependent β via vector-wise operations in each iteration.
Next, we consider the case of multiple dimensions. Let X = Y = R d with ρ ( x , y ) = ∥ x − y ∥ 2 2 . Under a uniform grid of side M per dimension, m = M d , we have
ρ i j = h 2 ∑ k = 1 d ( i k − j k ) 2 , K i j = e − β h 2 ∑ k = 1 d ( i k − j k ) 2 = ∏ k = 1 d e − β h 2 ( i k − j k ) 2 .
Note that each convolution K ∗ v can be decomposed into d successive one-dimensional FFT-based convolutions:
K ∗ v = K ( 1 ) ∗ 1 K ( 2 ) ∗ 2 ( ⋯ ( K ( d ) ∗ d v ) ⋯ ) ,
where ∗ k denotes the one-dimensional convolution along the k-th coordinate axis, and  K i k j k ( k ) = exp − β h 2 ( i k − j k ) 2 . Therefore, the arithmetic operations per iteration are O m log M . Similarly to the analysis of the one-dimensional case, the complexity of the accelerated CBA algorithm under squared-error distortion with dimension d is
O m log m log m ε ( 1 + log | log ε | ) = O | log ε | 2 ε d + 1 ( 1 + log | log ε | ) ,
where m = M d ∼ ε − d .
Example 1.
We evaluate our accelerated algorithms on one-dimensional continuous sources and compare them with the baseline of the CBA algorithm without acceleration. We consider two classical examples—Gaussian and Laplacian sources—and evaluate each source under squared-error distortion measures. We set the accuracy to ε = 0.001 , yielding m = n = 1000 discretization nodes for X and Y, and we cap the number of iterations at m a x _ i t e r = 1000 . The discretization nodes are uniformly sampled from the interval [ − 10 , 10 ] .
Under the squared-error distortion setting, the computational time and the discrepancy in the output rate R between the two algorithms for various values of β are reported in Table 1. As shown in the table, We can see that the Fast CBA algorithm has an overwhelming advantage in computational speed. Moreover, the rates R obtained by the two algorithms are almost identical.
Table 1. Comparison between FFT-based Fast CBA and CBA algorithms under squared-error distortion.
Fixing D = 0.4 , by data fitting, we can see that the empirical complexity of the Fast CBA algorithm is O ( n 0.86 ) , while that of the CBA algorithm is O ( n 2.08 ) ; see Figure 2 for illustration.
Figure 2. The comparison of computational time between the Fast CBA algorithm and the CBA algorithm with different numbers of grid points n under square-error distortion.

4.2. Absolute-Error Distortion

4.2.1. One-Dimension Case

First, we consider the d = 1 case X = Y = R with distortion measure ρ ( x , y ) = | x − y | . Under a uniform discretization with step size h, this yields ρ i j = | x i − y j | = | i − j | h . For convenience, we denote λ = e − β h .
Substituting (10b) into (10c), the iterations of the CBA algorithm become:
Solve G ( β ) ≜ ∑ i = 1 m ∑ j = 1 m λ | i − j | | i − j | h r j ∑ j = 1 m λ | i − j | r j p i − D = 0 ,
r j = r j ∑ i = 1 m p i λ | i − j | ∑ j = 1 m λ | i − j | r j , j = 1 , 2 ⋯ m .
Although the equation G ( β ) = 0 cannot be solved exactly, the prescribed ε -accuracy of the final result is guaranteed, as established in [12] (Theorem 3.2). In practice, Newton’s method for solving (14a) is implemented via the following iterative scheme until the stopping criterion | G ( β ) | ≤ ε is satisfied.
β ← β − G ( β ) / G ′ ( β ) .
By calculation, G ′ ( β ) can be written as the following form:
G ′ ( β ) = ∑ i = 1 m p i − ∑ j = 1 m λ | i − j | | i − j | 2 h 2 r j ∑ j = 1 m λ | i − j | r j + ∑ j = 1 m λ | i − j | | i − j | h r j 2 ∑ j = 1 m λ | i − j | r j 2 .
Therefore, the main arithmetic complexity in the update of β lies in the computation of ∑ j = 1 m λ | i − j | | i − j | r j and ∑ j = 1 m λ | i − j | | i − j | 2 r j .
Since λ is related to β , we denote a i = ∑ j = 1 m λ | i − j | r j . Let
b i = ∑ j = 1 i λ | i − j | r j , c i = ∑ j = i + 1 m λ | i − j | r j , a i = b i + c i .
Similarly to the treatment in [20], we have the following recursive formulae:
b i + 1 = λ b i + r i + 1 , i = 1 , 2 ⋯ m − 1 , c i − 1 = λ ( c i + r i ) , i = m , m − 1 ⋯ 2 ,
with initial values b 1 = r 1 , c m = 0 .
By exploiting the above recursion, the sequences { b i } i = 1 m and { c i } i = 1 m can be computed sequentially. Each step requires only one multiplication and one addition. Consequently, the total number of arithmetic operations needed to compute b i and c i , for  i = 1 , 2 , ⋯ , m , is O ( m ) . Therefore, the evaluation of a i can be completed in O ( m ) arithmetic operations.
Next, we leverage dynamic programming [32] to compute the sums ∑ j = 1 m λ | i − j | | i − j | r j and ∑ j = 1 m λ | i − j | | i − j | 2 r j efficiently. Note that these sums differ from ∑ j = 1 m λ | i − j | r j , so we cannot directly adopt the approach in [20]. However, with appropriate adjustments, we can also compute them in linear complexity. We denote
u i = ∑ j = 1 i λ | i − j | | i − j | r j , v i = ∑ j = i + 1 m λ | i − j | | i − j | r j .
Then,
λ u i = u i + 1 − λ b i , λ v i = v i − 1 − λ r i − λ c i .
Thus, we obtain the following recursive formulae:
u i + 1 = λ ( u i + b i ) , i = 1 , 2 ⋯ m − 1 , v i − 1 = λ ( v i + c i + r i ) , i = m , m − 1 ⋯ 2 ,
with initial values u 1 = 0 , v m = 0 . In each recursion, we perform three additions and two multiplications. Since { b i } i = 1 m and { c i } i = 1 m can be calculated within O ( m ) arithmetic operations, to calculate u i , v i i = 1 , 2 , ⋯ m , O ( m ) arithmetic operations are needed. Then
∑ j = 1 m λ | i − j | | i − j | r j = u i + v i , i = 1 , 2 , ⋯ m ,
can also be calculated within O ( m ) arithmetic operations.
Meanwhile, let
ζ i = ∑ j = 1 i λ | i − j | | i − j | 2 r j , η i = ∑ j = i + 1 m λ | i − j | | i − j | 2 r j .
Then, it holds that
λ ζ i = ∑ j = 1 i λ i − j + 1 ( i − j ) 2 r j = ∑ j = 1 i λ i − j + 1 ( i − j + 1 ) 2 r j − 2 ∑ j = 1 i λ i − j + 1 ( i − j ) r j − ∑ j = 1 i λ i − j + 1 r j = ζ i + 1 − 2 λ u i − λ b i .
Similarly,
λ η i = η i − 1 − λ r i − 2 λ v i − λ c i .
Thus, we obtain the following recursive formulae:
ζ i + 1 = λ ( ζ i + 2 u i + b i ) , i = 1 , 2 ⋯ m − 1 , η i − 1 = λ ( η i + 2 v i + c i + r i ) , i = m , m − 1 ⋯ 2 ,
with initial values ζ 1 = 0 , η m = 0 . In each recursion, we perform five additions and four multiplications. Hence, to calculate ζ i , η i i = 1 , 2 , ⋯ m , O ( m ) arithmetic operations are needed. Then
∑ j = 1 m λ | i − j | | i − j | 2 r j = ζ i + η i , i = 1 , 2 , ⋯ m ,
can also be calculated within O ( m ) arithmetic operations.
Since ∑ j = 1 m λ | i − j | r j , ∑ j = 1 m λ | i − j | | i − j | r j , ∑ j = 1 m λ | i − j | | i − j | 2 r j , i = 1 , 2 , ⋯ m can be calculated within O ( m ) arithmetic operations, we can use only O ( m ) arithmetic operations to calculate G ′ ( β ) . Similarly, G ( β ) can also be calculated within O ( m ) arithmetic operations. Thus, each Newton’s iteration involves O ( m ) arithmetic operations. Due to the locally quadratic convergence of the Newton’s method, we need log | log ε | iterations to achieve ε -accuracy. Hence, we only need O ( m log | log ε | ) arithmetic operations to implement (14a). Notably, the iteration (14b) can be divided into two steps:
a i ← ∑ j = 1 m λ | i − j | r j , i = 1 , 2 ⋯ m , r j ← r j ∑ i = 1 m p i λ | i − j | a i , j = 1 , 2 ⋯ m .
Based on the above analysis, each iteration of (17) can be carried out with linear computational complexity O ( m ) .
Therefore, in each iteration of (14), it involves O m ( 1 + log | log ε | ) arithmetic operations. Due to [12] (Theorem 3.2), we need O ( log m / ε ) iterations. Thus, the total computational cost of our method is O m log m ε ( 1 + log | log ε | ) . Since m ∼ 1 / ε to ensure the accuracy of numerical integration, the computational cost turns out to be O | log ε | ε 2 ( 1 + log | log ε | ) to achieve ε -accuracy. Meanwhile, the space cost is O ( m ) , since only O ( m ) variables are stored. The corresponding pseudo-code is shown in Algorithm 2.
Algorithm 2 Accelerated CBA algorithm for absolute-error distortion (1D)
Input: 
Source distribution p i , target distortion D, maximum number of iterations m a x _ i t e r
Output: 
Minimal value ∑ i = 1 m ∑ j = 1 m p i w i j log w i j r j
  1:
Initialization:  r = 1 m / m , β = 0
  2:
for   ℓ = 1 : m a x _ i t e r  do
  3:
      while  | G ( β ) | ≥ ε  do
  4:
             λ ← e − β h
  5:
             b 1 ← r 1 , c m ← 0 , u 1 ← 0 , v m ← 0 , ζ 1 ← 0 , η m ← 0
  6:
            for  i = 1 : m − 1  do
  7:
                   b i + 1 ← λ b i + r i + 1
  8:
                   c m − i ← λ ( c m − i + 1 + r m − i + 1 )
  9:
                   u i + 1 ← λ ( u i + b i )
10:
                   v m − i ← λ ( v m − i + 1 + c m − i + 1 + r m − i + 1 )
11:
                   ζ i + 1 ← λ ( ζ i + 2 u i + b i )
12:
                   η m − i ← λ ( η m − i + 1 + 2 v m − i + 1 + c m − i + 1 + r m − i + 1 )
13:
             β ← β − ∑ i = 1 m p i h ( u i + v i ) ( b i + c i ) − D / ∑ i = 1 m p i h 2 − ( ζ i + η i ) ( b i + c i ) + ( u i + v i ) 2 ( b i + c i ) 2
14:
       a i ← b i + c i
15:
       b 1 ′ ← p 1 / a 1 , c m ′ ← 0
16:
      for  j = 1 : m − 1  do
17:
             b j + 1 ′ ← λ b j ′ + p j + 1 / a j + 1
18:
             c m − j ′ ← λ ( c m − j + 1 ′ + p m − j + 1 / a m − j + 1 )
19:
       r j ← r j ( b j ′ + c j ′ )
After obtaining the optimal variables β and r via iterations (14), we can calculate the rate R for given target distortion D directly:
R = I ( X ; Y ) = ∑ i = 1 m ∑ j = 1 m p i w i j log w i j r j = ∑ i = 1 m ∑ j = 1 m p i w i j log e − β ρ i j ∑ j = 1 m e − β ρ i j r j = − β ∑ i = 1 m ∑ j = 1 m p i w i j ρ i j − ∑ i = 1 m p i log ∑ j = 1 m e − β ρ i j r j = − β D − ∑ i = 1 m p i log ∑ j = 1 m λ | i − j | r j .
Here, we have used the condition ∑ j w i j = 1 . Since ∑ j = 1 m λ | i − j | r j , i = 1 , 2 , ⋯ m can be calculated within O ( m ) arithmetic operations, we only need O ( m ) arithmetic operations to obtain R.
Example 2.
We evaluate our accelerated algorithms on one-dimensional continuous sources and compare them with the baseline of the CBA algorithm without acceleration. We consider two classical examples—Gaussian and Laplacian sources—and evaluate each source under absolute-error distortion measures. We set the accuracy to ε = 0.001 , yielding m = n = 1000 discretization nodes for X and Y, and we cap the number of iterations at m a x _ i t e r = 1000 . The discretization nodes are uniformly sampled from the interval [ − 10 , 10 ] .
Under the absolute-error distortion setting, the computational time and the discrepancy in the output rate R between the two algorithms for different values of β are reported in Table 2. As shown in the table, We can see that the Fast CBA algorithm has an overwhelming advantage in computational speed. Moreover, the rate R obtained by the two algorithms are almost identical.
Table 2. Comparison between Fast CBA and CBA algorithms under absolute-error distortion.
Fixing D = 0.4 , by data fitting, we can see that the empirical complexity of the Fast CBA algorithm is O ( n 1.07 ) , while that of the CBA algorithm is O ( n 2.13 ) ; see Figure 3 for illustration.
Figure 3. The comparison of computational time between the Fast CBA algorithm and the CBA algorithm with different numbers of grid points n under absolute-error distortion.

4.2.2. Extension to Higher Dimensions

Next, we consider the case X = Y = R d with the distortion measure ρ ( x , y ) = ∥ x − y ∥ 1 = ∑ i = 1 d | x i − y i | , where x = ( x 1 , x 2 , ⋯ , x d ) , y = ( y 1 , y 2 , ⋯ , y d ) ∈ R d . Thus, after discretization, ρ i j = ∑ k = 1 d | x i k k − y j k k | = ∑ k = 1 d | i k − j k | h , i 1 , i 2 , ⋯ , i d , j 1 , j 2 , ⋯ j d = 1 , 2 , ⋯ M and i = ( i 1 , i 2 , ⋯ , i d ) , j = ( j 1 , j 2 , ⋯ , j d ) . The total number of discretization nodes is m = M d . Here, we adopt the uniform discretization with step size h. For simplicity, let λ = e − β h , | i − j | = ∑ k = 1 d | i k − j k | , and ∑ i be ∑ i 1 , i 2 ⋯ , i d = 1 M , i.e., taking the summation over all indices i 1 , i 2 , ⋯ , i d . Then, e − β ρ i j = ∏ k = 1 d λ | i k − j k | = λ | i − j | .
Similarly to the one-dimensional case, we only need to accelerate the calculation of (14a) and (14b) with dimension d. For (14b),
∑ j λ | i − j | r j = ∑ j 1 , ⋯ j d = 1 M λ | i 1 − j 1 | ⋯ λ | i d − j d | r j 1 ⋯ j d = ∑ j 1 , ⋯ j d − 1 = 1 M λ | i 1 − j 1 | ⋯ λ | i d − 1 − j d − 1 | ∑ j d = 1 M λ | i d − j d | r j 1 ⋯ j d .
By fixing j 1 , ⋯ , j d − 1 , we need O ( M ) arithmetic operations to calculate r ˜ i d , j 1 ⋯ j d − 1 = ∑ j d = 1 M λ | i d − j d | r j 1 ⋯ j d , i d = 1 , 2 ⋯ M . Thus, r ˜ i d , j 1 ⋯ j d − 1 , i d , j 1 , ⋯ j d − 1 = 1 , 2 ⋯ M can be calculated within O ( M d ) = O ( m ) arithmetic operations. Then,
∑ j λ | i − j | r j = ∑ j 1 , ⋯ j d − 1 = 1 M λ | i 1 − j 1 | ⋯ λ | i d − 1 − j d − 1 | r ˜ i d , j 1 ⋯ j d − 1 , i 1 , ⋯ i d − 1 = 1 , 2 ⋯ M ,
which is exactly the case for dimension d − 1 when fixing i d . Set T ( k ) as the complexity to calculate ∑ j λ | i − j | r j for dimension k. Then, the recursive formula for T ( k ) becomes:
T ( k ) = O ( M k ) + M · T ( k − 1 ) .
Since T ( 1 ) is the complexity of calculating ∑ j = 1 M λ | i − j | r j , we have T ( 1 ) = O ( M ) . Therefore, T ( d ) = O ( M d ) = O ( m ) .
For (14a), the main arithmetic complexity lies in the calculation of ∑ j λ | i − j | | i − j | r j and ∑ j λ | i − j | | i − j | 2 r j .
Note that
∑ j λ | i − j | | i − j | r j = ∑ k = 1 d ∑ j 1 , ⋯ j d = 1 M λ | i 1 − j 1 | ⋯ λ | i d − j d | | i k − j k | r j 1 ⋯ j d = ∑ k = 1 d ∑ j 1 ⋯ j k − 1 , j k + 1 ⋯ j d = 1 M ∏ s ≠ k λ | i s − j s | ∑ j k = 1 M λ | i k − j k | | i k − j k | r j 1 ⋯ j d .
Fixing j 1 ⋯ j k − 1 , j k + 1 ⋯ j d , we can then calculate r ˜ i k , j 1 ⋯ j k − 1 , j k + 1 ⋯ j d = ∑ j k = 1 M λ | i k − j k | | i k − j k | r j 1 ⋯ j d , i k = 1 , 2 ⋯ M within O ( M ) arithmetic operations. Furthermore, r ˜ i k , j 1 ⋯ j k − 1 , j k + 1 ⋯ j d , i k , j 1 ⋯ j k − 1 , j k + 1 ⋯ j d = 1 , 2 ⋯ M can be calculated within O ( M d ) = O ( m ) arithmetic operations. Meanwhile, ∑ j 1 ⋯ j k − 1 , j k + 1 ⋯ j d = 1 M ∏ s ≠ k λ | i s − j s | r ˜ i k , j 1 ⋯ j k − 1 , j k + 1 ⋯ j d can be calculated within O ( m ) arithmetic operations due to the aforementioned analysis. Thus, O ( d m ) = O ( m ) arithmetic operations are needed to calculate ∑ j λ | i − j | | i − j | r j .
In the meantime,
∑ j λ | i − j | | i − j | 2 r j = ∑ k , ℓ = 1 d ∑ j 1 , ⋯ j d = 1 M λ | i 1 − j 1 | ⋯ λ | i d − j d | | i k − j k | | i ℓ − j ℓ | r j 1 ⋯ j d = ∑ k ≠ ℓ ∑ j 1 ⋯ j k − 1 , j k + 1 ⋯ j ℓ − 1 , j ℓ + 1 ⋯ j d = 1 M ∏ s ≠ k , ℓ λ | i s − j s | ∑ j ℓ = 1 M λ | i ℓ − j ℓ | | i ℓ − j ℓ | ∑ j k = 1 M λ | i k − j k | | i k − j k | r j 1 ⋯ j d + ∑ k = 1 d ∑ j 1 ⋯ j k − 1 , j k + 1 ⋯ j d = 1 M ∏ s ≠ k λ | i s − j s | ∑ j k = 1 M λ | i k − j k | | i k − j k | 2 r j 1 ⋯ j d .
By similarly fixing j 1 , ⋯ , j k − 1 , j k + 1 , ⋯ , j d , each component of ∑ j λ | i − j | | i − j | 2 r j can be computed with O ( m ) arithmetic operations. Therefore, we obtain the estimate of computational complexity O | log ε | ε d + 1 ( 1 + log | log ε | ) to achieve ε -accuracy of our method. Moreover, the rate R can also be calculated using O ( m ) = O ( 1 / ε d ) arithmetic operations.

5. Conclusions

In this article, we conducted an integrated approach for computing rate–distortion functions, connecting the RD problem formulation of continuous sources and discretization schemes along with their corresponding efficient discrete algorithms. We first showed that discretized reproduction distributions provably converge to the solution of the underlying continuous RD problem, and derived quantitative error bounds that clarify the impact of discretization resolution and problem dimension. In the discrete setting, we revisited the Blahut–Arimoto (BA) and constrained BA (CBA) algorithms, establishing their arithmetic complexity properties for achieving ϵ -accuracy guarantees when used, together with discretization, as solvers for the underlying continuous RD problem. For certain distortion measures, we further designed acceleration techniques that exploit the structure in discretized problems, including squared-error and absolute-error distortion measures.

Author Contributions

Conceptualization, W.Z. and H.W. (Hao Wu); methodology, L.C.; software, L.C., H.T. and S.W.; validation, H.T.; investigation, H.W. (Huihui Wu) and S.W.; resources, W.Z.; writing—original draft preparation, H.T. and L.C.; writing—review and editing, W.Z., H.W. (Hao Wu) and H.W. (Huihui Wu); visualization, H.T.; supervision, W.Z.; project administration, W.Z.; funding acquisition, W.Z. and H.W. (Hao Wu). All authors have read and agreed to the published version of the manuscript.

Funding

This work was partially supported by National Natural Science Foundation of China (Grants 12271289 and 62231022) and by Ningbo Yongjiang Talent Program.

Data Availability Statement

All data generated for this study are presented within the paper. Scripts and numerical data can be shared by the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Proofs in Section 2

Appendix A.1. Proof of Lemma 1

Proof. 
We denote the optimal solution of (5) as r * and W n = { ∑ j = 1 n r j δ y j n | r j ≥ 0 , ∑ j = 1 n r j = 1 } . As shown in Section 2.1, the continuous RD problem has the discrete form (6), which is in fact minimizing f ( r ) as defined in (5), but over W n instead of W .
Denote the optimal solution of the discrete problem as r n . Then f ( r n ) ≤ f ( r ) , ∀ r ∈ W n . Notice that if there exists q ˜ n ∈ W n satisfying f ( q ˜ n ) → f ( r * ) , then
f ( r * ) ≤ f ( r n ) ≤ f ( q ˜ n ) → f ( r * ) .
Here, the first inequality is due to the fact W n ⊆ W . The relationship (A1) would then lead to the convergence f ( r n ) → f ( r * ) . Now, let q n = ∑ j = 1 n A j n δ y j n , where A j n = ∫ I j d r * and I j is defined in Section 2.1. Let q ˜ n = q n / ∫ d q n . Since ∫ d q n = ∑ j ∫ I j d r * ≤ 1 , one has
f ( q ˜ n ) = f ( q n ) + log ( ∫ d q n ) ≤ f ( q n ) .
Since q ˜ n ∈ W n and f ( q ˜ n ) ≤ f ( q n ) , it suffices to show that f ( q n ) → f ( r * ) . Before doing so, convergence under a truncation of X needs to be established. Choose A > 1 such that ∫ ∥ y ∥ ≤ A − 1 d r * ( y ) ≥ 1 2 , and fix any M ≥ A . First, for x ∈ [ − M , M ] d and sufficiently large n, the following estimate holds:
| ∫ exp ( − β ρ ( x , y ) ) d q n ( y ) − ∫ exp ( − β ρ ( x , y ) ) d r * ( y ) | ≤ ∑ i ∫ I i | exp ( − β ρ ( x , y ) ) − exp ( − β ρ ( x , y i n ) ) | d r * ( y ) + ∫ | y | > n 1 2 d exp ( − β ρ ( x , y ) ) d r * ( y ) ≤ ∑ i ∫ I i ε d r * ( y ) + ∫ | y | > n 1 2 d d r * ( y ) ≤ 2 ε ,
where the second inequality invokes the assumption together with the decomposition q n = ∑ j ∫ I j d r * δ y j n . Next, we establish the uniform convergence. For x ∈ [ − M , M ] d ,
∫ exp ( − β ρ ( x , y ) ) d q n ( y ) ≥ ∫ ∥ y ∥ ≤ M exp ( − β ρ ( x , y ) ) d q n ( y ) ≥ ∫ ∥ y ∥ ≤ M exp ( − β ρ * ) d q n ( y ) ≥ 1 2 exp ( − β ρ * ) ≜ δ .
Here ρ * = max x , y ∈ [ − M , M ] d ρ ( x , y ) and ∫ ∥ y ∥ ≤ M d q n ≥ 1 2 is due to
∫ ∥ y ∥ ≤ A d q n ( y ) = ∑ i : y i n ∈ [ − A , A ] d ∫ I i d r * ( y ) ≥ ∫ ∥ y ∥ ≤ A − 1 d r * ( y ) ≥ 1 2 .
Since log x is uniformly continuous over [ δ , + ∞ ) ,
log ∫ exp ( − β ρ ( x , y ) ) d q n ( y ) ⇉ log ∫ exp ( − β ρ ( x , y ) ) d r * ( y ) , x ∈ [ − M , M ] d .
Then, for sufficiently large n,
| ∫ ∥ x ∥ ≤ M log ∫ exp ( − β ρ ( x , y ) ) d q n ( y ) d p ( x ) − ∫ ∥ x ∥ ≤ M log ∫ exp ( − β ρ ( x , y ) ) d r * ( y ) d p ( x ) | ≤ ∫ ∥ x ∥ ≤ M ε d p ( x ) ≤ ε .
As n → + ∞ ,
∫ ∥ x ∥ ≤ M log ∫ exp ( − β ρ ( x , y ) ) d q n ( y ) d p ( x ) →                                                                                                                                         ∫ ∥ x ∥ ≤ M log ∫ exp ( − β ρ ( x , y ) ) d r * ( y ) d p ( x ) .
Hence, convergence after truncation holds. It remains to prove that f ( q n ) → f ( r * ) . For M ≥ A ,
| f ( q n ) − f ( r * ) | = | ∫ H q n ( y ) ( x ) d p ( x ) − ∫ H r * ( y ) ( x ) d p ( x ) | ≤ | ∫ ∥ x ∥ ≤ M [ H q n ( y ) ( x ) − H r * ( y ) ( x ) ] d p ( x ) | + ∫ ∥ x ∥ > M − H q n ( y ) ( x ) − H r * ( y ) ( x ) d p ( x ) ,
where H r ( y ) ( x ) = log ∫ exp ( − β ρ ( x , y ) ) d r ( y ) . Let g ( x ) = max ∥ y ∥ ≤ A ρ ( x , y ) . Note that
∫ exp ( − β ρ ( x , y ) ) d q n ( y ) ≥ exp ( − β g ( x ) ) ∫ ∥ y ∥ ≤ A d q n ( y ) ≥ 1 2 exp ( − β g ( x ) ) ,
where the second inequality is similar to (A3). Similarly, we have
∫ exp ( − β ρ ( x , y ) ) d r * ( y ) ≥ 1 2 exp ( − β g ( x ) ) .
Thus, combined with the assumption, we get
∫ ∥ x ∥ > M − H q n ( x ) − H r * ( x ) d p ( x ) ≤ ∫ ∥ x ∥ > M ( 2 log 2 + 2 β g ( x ) ) d p ( x ) → 0 , M → + ∞ .
Therefore, by (A4) in the proof of Lemma 2,
| f ( q n ) − f ( r * ) | ≤ | ∫ ∥ x ∥ ≤ M [ H q n ( y ) ( x ) − H r * ( y ) ( x ) ] d p ( x ) | + ∫ ∥ x ∥ > M ( 2 log 2 + 2 β g ( x ) ) d p ( x ) .
By taking the upper limit of n for this inequality, we obtain
lim   sup n | f ( q n ) − f ( r * ) | ≤ ∫ ∥ x ∥ > M ( 2 log 2 + 2 β g ( x ) ) d p ( x ) .
Taking the limit M → + ∞ , it follows that f ( q n ) → f ( r * ) .
To prove the convergence of the solutions, let r ˜ be a limit point of the solution sequence { r n } n = 1 ∞ . Then there exists a subsequence { r n k } k = 1 ∞ satisfying r n k → w r ˜ . Next,
f ( r ˜ ) = lim k f ( r n k ) = f ( r * ) ,
since lim n f ( r n ) = f ( r * ) . Therefore, we have shown that f ( r ˜ ) is equal to the optimal value, and consequently r ˜ is an optimal solution. □

Appendix A.2. Proof of Proposition 1

Proof. 
Denote W n = { ∑ j = 1 n r j δ y j n | r j ≥ 0 , ∑ j = 1 n r j = 1 } . Similarly to Lemma 1, the discrete problem (7) is equivalent to optimizing F ( r , β ) over W n .
By the property of max–min problems (7) and (3), ∀ r ∈ W n , ∀ β ≥ 0 ,
F ( r n , β n ) ≤ F ( r , β n ) , F ( r n , β n ) ≥ F ( r n , β ) .
Furthermore, ∀ r ∈ W , ∀ β ≥ 0 ,
F ( r * , β * ) ≤ F ( r , β * ) , F ( r * , β * ) ≥ F ( r * , β ) .
Next, let q ˜ n = q n / ∫ d q n ∈ W n . Since ∫ d q n ≤ 1 ,
F ( q ˜ n , β ) = F ( q n , β ) + log ( ∫ d q n ) ≤ F ( q n , β ) , ∀ β ≥ 0 .
Consequently, the following chain of inequalities holds:
F ( r * , β * ) ≤ F ( r n , β * ) ≤ F ( r n , β n ) ≤ F ( q ˜ n , β n ) ≤ F ( q n , β n ) ≤ F ( q n , β ˜ n ) ,
where β ˜ n = argmax β F ( q n , β ) and we have used the max–min optimality property of ( r * , β * ) . Note that if F ( q n , β ˜ n ) → F ( r * , β * ) , then
F ( r * , β * ) ≤ F ( r n , β n ) ≤ F ( q n , β ˜ n ) → F ( r * , β * ) .
Therefore, we obtain the convergence F ( r n , β n ) → F ( r * , β * ) . In summary, we only need to prove F ( q n , β ˜ n ) → F ( r * , β * ) . □

Appendix A.3. Proof of Lemma 2

Proof. 
(1). We first show that the sequence { β ˜ n } is bounded away from zero, i.e.,
β ˜ n ≥ B 1 > 0 , ∀ n .
Suppose, to the contrary, that there exists a subsequence with β ˜ n k → 0 . Therefore, there exists k 0 such that for all k ≥ k 0 , β ˜ n k < β * / 2 . Here we assume β * > 0 and the degenerate case β * = 0 can be disregarded. By optimality, β ˜ n satisfies the first-order optimality condition and thus is a root of a monotone function
G q n ( β ) = ∫ ∫ e − β ρ ( x , y ) ρ ( x , y ) d q n ( y ) ∫ e − β ρ ( x , y ) d q n ( y ) d p ( x ) − D .
Then by the monotone property of G q n k , we have
0 = G q n k ( β ˜ n k ) > G q n k ( β * / 2 ) .
The monotonicity follows from G q n k ′ ( β ) < 0 , which is ensured by the Cauchy–Schwarz inequality. Thus, for sufficiently large M,
D > ∫ e − β * ρ ( x , y ) / 2 ρ ( x , y ) d q n k ( y ) ∫ e − β * ρ ( x , y ) / 2 d q n k ( y ) d p ( x ) ≥ ∫ ∥ x ∥ ≤ M ∫ e − β * ρ ( x , y ) / 2 ρ ( x , y ) d q n k ( y ) ∫ e − β * ρ ( x , y ) / 2 d q n k ( y ) d p ( x ) .
By the proof of Lemma 1, we have
∫ e − β * ρ ( x , y ) / 2 d q n k ( y ) ⇉ ∫ e − β * ρ ( x , y ) / 2 d r * ( y ) .
Similarly,
∫ e − β * ρ ( x , y ) / 2 ρ ( x , y ) d q n k ( y ) ⇉ ∫ e − β * ρ ( x , y ) / 2 ρ ( x , y ) d r * ( y ) .
Similarly to (A2) in the proof of Lemma 1, we have
∫ e − β * ρ ( x , y ) / 2 d q n k ( y ) ≥ δ 0 .
Meanwhile, the upper bound can be estimated by
∫ e − β * ρ ( x , y ) / 2 ρ ( x , y ) d q n k ( y ) ≤ ∫ B d q n k ( y ) ≤ B .
Here, B is a bound of the function e − β * x / 2 x , x ≥ 0 .
Next, since g ( x , y ) = x / y is uniformly continuous over [ 0 , B ] × [ δ 0 , ∞ ) , we have
∫ exp ( − β * ρ ( x , y ) / 2 ) ρ ( x , y ) d q n k ( y ) ∫ exp ( − β * ρ ( x , y ) / 2 ) d q n k ( y ) ⇉ ∫ exp ( − β * ρ ( x , y ) / 2 ) ρ ( x , y ) d r * ( y ) ∫ exp ( − β * ρ ( x , y ) / 2 ) d r * ( y ) .
Thus, it holds that
D ≥ ∫ ∥ x ∥ ≤ M ∫ e − β * ρ ( x , y ) / 2 ρ ( x , y ) d q n k ( y ) ∫ e − β * ρ ( x , y ) / 2 d q n k ( y ) d p ( x ) → ∫ ∥ x ∥ ≤ M ∫ e − β * ρ ( x , y ) / 2 ρ ( x , y ) d r * ( y ) ∫ e − β * ρ ( x , y ) / 2 d r * ( y ) d p ( x ) .
Letting M → ∞ leads to
G r * ( β * / 2 ) ≤ 0 = G r * ( β * ) .
Using the monotonicity of G r * , we have β * / 2 ≥ β * , which is a contradiction.
(2). To prove β ˜ n → β * , we only need to show that every convergent subsequence converges to β * , i.e., if a convergent subsequence β ˜ n k → β ¯ , then β ¯ = β * . Now, let β ˜ n k be a convergent subsequence and β ˜ n k → β ¯ . Since β ˜ n k is lower bounded away from zero, as shown in Lemma 2, we have β ¯ > 0 . Let A 0 satisfy e − β ¯ t / 2 t ≤ ε and e − β ¯ t / 2 ≤ ε , ∀ t ≥ A 0 . We have
| ∫ e − β ˜ n k ρ ( x , y ) ρ ( x , y ) d q n k ( y ) − ∫ e − β ¯ ρ ( x , y ) ρ ( x , y ) d q n k ( y ) | ≤ ∫ e − β ˜ n k ρ ( x , y ) − e − β ¯ ρ ( x , y ) ρ ( x , y ) d q n k ( y ) ≤ ∫ e − β ¯ ρ ( x , y ) | e ( β ¯ − β ˜ n k ) ρ ( x , y ) − 1 | ρ ( x , y ) d q n k ( y ) .
Next, we divide the integral into two parts and estimate each of them. On one hand, when k is sufficiently large,
∫ y : ρ ( x , y ) > A 0 e − β ¯ ρ ( x , y ) | e ( β ¯ − β ˜ n k ) ρ ( x , y ) − 1 | ρ ( x , y ) d q n k ( y ) ≤ ∫ y : ρ ( x , y ) > A 0 e − β ¯ ρ ( x , y ) e | β ¯ − β ˜ n k | ρ ( x , y ) ρ ( x , y ) d q n k ( y ) ≤ ∫ y : ρ ( x , y ) > A 0 e − β ¯ ρ ( x , y ) / 2 ρ ( x , y ) d q n k ( y ) ≤ ∫ y : ρ ( x , y ) > A 0 ε d q n k ( y ) ≤ ε ,
where the second inequality is due to | β ¯ − β ˜ n k | ≤ β ¯ / 2 when k is sufficiently large; on the other hand, when k is sufficiently large,
∫ y : ρ ( x , y ) ≤ A 0 e − β ¯ ρ ( x , y ) | e ( β ¯ − β ˜ n k ) ρ ( x , y ) − 1 | ρ ( x , y ) d q n k ( y ) ≤ ∫ y : ρ ( x , y ) ≤ A 0 | e ( β ¯ − β ˜ n k ) ρ ( x , y ) − 1 | A 0 d q n k ( y ) ≤ ∫ y : ρ ( x , y ) ≤ A 0 ( e | β ¯ − β ˜ n k | ρ ( x , y ) − 1 ) A 0 d q n k ( y ) ≤ ∫ y : ρ ( x , y ) ≤ A 0 ( e | β ¯ − β ˜ n k | A 0 − 1 ) A 0 d q n k ( y ) ≤ ( e | β ¯ − β ˜ n k | A 0 − 1 ) A 0 ≤ ε .
Combining the two parts, we obtain
| ∫ e − β ˜ n k ρ ( x , y ) ρ ( x , y ) d q n k ( y ) − ∫ e − β ¯ ρ ( x , y ) ρ ( x , y ) d q n k ( y ) | ≤ 2 ε ,
when k is sufficiently large. Thus,
∫ e − β ˜ n k ρ ( x , y ) ρ ( x , y ) d q n k ( y ) − ∫ e − β ¯ ρ ( x , y ) ρ ( x , y ) d q n k ( y ) ⇉ 0 , ∀ x .
By the proof of Lemma 2,
∫ e − β ¯ ρ ( x , y ) ρ ( x , y ) d q n k ( y ) ⇉ ∫ e − β ¯ ρ ( x , y ) ρ ( x , y ) d r * ( y ) , ∀ x .
Thus,
∫ e − β ˜ n k ρ ( x , y ) ρ ( x , y ) d q n k ( y ) ⇉ ∫ e − β ¯ ρ ( x , y ) ρ ( x , y ) d r * ( y ) , ∀ x .
Similarly,
∫ e − β ˜ n k ρ ( x , y ) d q n k ( y ) ⇉ ∫ e − β ¯ ρ ( x , y ) d r * ( y ) , ∀ x .
Next, we prove that G q n k ( β ˜ n k ) → G r * ( β ¯ ) . Since β ˜ n k → β ¯ , for any ε > 0 there exists k 0 such that for all k ≥ k 0 , | β ˜ n k − β ¯ | ≤ ε . Using the monotonicity of G q n k , we obtain
G q n k ( β ¯ + ε ) ≤ G q n k ( β ˜ n k ) ≤ G q n k ( β ¯ − ε ) .
In the following, we divide G q n k ( β ¯ + ε ) into two parts and estimate each of them. Set β : = β ¯ + ε for brevity. We first estimate the part
∫ ∥ x ∥ > M ∫ e − β ρ ( x , y ) ρ ( x , y ) d q n k ( y ) ∫ e − β ρ ( x , y ) d q n k ( y ) d p ( x ) .
Denote A x = − 1 β log ∫ e − β ρ ( x , y ) d q n k ( y ) , then
∫ e − β ρ ( x , y ) ρ ( x , y ) d q n k ( y ) ≤ ∫ y : ρ ( x , y ) ≤ A x e − β ρ ( x , y ) ρ ( x , y ) d q n k ( y ) + ∫ y : ρ ( x , y ) > A x e − β ρ ( x , y ) ρ ( x , y ) d q n k ( y ) ≤ ∫ y : ρ ( x , y ) ≤ A x e − β ρ ( x , y ) A x d q n k ( y ) + ∫ y : ρ ( x , y ) > A x e − β max ( A x , 1 / β ) max ( A x , 1 / β ) d q n k ( y ) ≤ A x ∫ e − β ρ ( x , y ) d q n k ( y ) + e − β max ( A x , 1 / β ) max ( A x , 1 / β ) = A x exp ( − β A x ) + e − β max ( A x , 1 / β ) max ( A x , 1 / β ) .
Thus,
∫ ∥ x ∥ > M ∫ e − β ρ ( x , y ) ρ ( x , y ) d q n k ( y ) ∫ e − β ρ ( x , y ) d q n k ( y ) d p ( x ) ≤ ∫ ∥ x ∥ > M A x + max ( A x , 1 / β ) d p ( x ) ≤ ∫ ∥ x ∥ > M 2 A x + 1 / β d p ( x ) .
Note that when k is sufficiently large, we have
A x = − 1 β log ∫ e − β ρ ( x , y ) d q n k ( y ) ≤ − 1 β log ∫ ∥ y ∥ ≤ A e − β ρ ( x , y ) d q n k ( y ) ≤ − 1 β log ∫ ∥ y ∥ ≤ A e − β g ( x ) d q n k ( y ) ≤ − 1 β log ( e − β g ( x ) / 2 ) = g ( x ) + ( log 2 ) / β ,
Here, A is the constant in Theorem 1 and g ( x ) = max ∥ y ∥ ≤ A ρ ( x , y ) . Then,
∫ ( 2 A x + 1 / β ) d p ( x ) < ∞ .
Similarly to (A6), the other part satisfies
∫ ∥ x ∥ ≤ M ∫ e − β ρ ( x , y ) ρ ( x , y ) d q n k ( y ) ∫ e − β ρ ( x , y ) d q n k ( y ) d p ( x ) → ∫ ∥ x ∥ ≤ M ∫ e − β ρ ( x , y ) ρ ( x , y ) d r * ( y ) ∫ e − β ρ ( x , y ) d r * ( y ) d p ( x ) , as k → ∞ .
Finally, combining the two parts, we have
G q n k ( β ) = ∫ ∫ e − β ρ ( x , y ) ρ ( x , y ) d q n k ( y ) ∫ e − β ρ ( x , y ) d q n k ( y ) d p ( x ) − D ≤ ∫ ∥ x ∥ ≤ M ∫ e − β ρ ( x , y ) ρ ( x , y ) d q n k ( y ) ∫ e − β ρ ( x , y ) d q n k ( y ) d p ( x ) + ∫ ∥ x ∥ > M ( 2 A x + 1 / β ) d p ( x ) − D .
Letting k → ∞ first,
lim   sup k G q n k ( β ) ≤ ∫ ∥ x ∥ ≤ M ∫ e − β ρ ( x , y ) ρ ( x , y ) d r * ( y ) ∫ e − β ρ ( x , y ) d r * ( y ) d p ( x ) + ∫ ∥ x ∥ > M ( 2 A x + 1 / β ) d p ( x ) − D .
Then letting M → ∞ ,
lim   sup k G q n k ( β ) ≤ ∫ ∫ e − β ρ ( x , y ) ρ ( x , y ) d r * ( y ) ∫ e − β ρ ( x , y ) d r * ( y ) d p ( x ) − D = G r * ( β ) ,
i.e., lim   sup k G q n k ( β ¯ + ε ) ≤ G r * ( β ¯ + ε ) . Meanwhile,
G q n k ( β ) = ∫ ∫ e − β ρ ( x , y ) ρ ( x , y ) d q n k ( y ) ∫ e − β ρ ( x , y ) d q n k ( y ) d p ( x ) − D ≥ ∫ ∥ x ∥ ≤ M ∫ e − β ρ ( x , y ) ρ ( x , y ) d q n k ( y ) ∫ e − β ρ ( x , y ) d q n k ( y ) d p ( x ) − D .
Letting k → ∞ and then M → ∞ , we have
lim inf k G q n k ( β ) ≥ lim M → ∞ ∫ ∥ x ∥ ≤ M ∫ e − β ρ ( x , y ) ρ ( x , y ) d r * ( y ) ∫ e − β ρ ( x , y ) d r * ( y ) d p ( x ) − D = G r * ( β ) ,
i.e., lim inf k G q n k ( β ¯ + ε ) ≥ G r * ( β ¯ + ε ) . Thus, we obtain lim k G q n k ( β ¯ + ε ) = G r * ( β ¯ + ε ) . Similarly, lim k G q n k ( β ¯ − ε ) = G r * ( β ¯ − ε ) . Using (A8),
G r * ( β ¯ + ε ) = lim k G q n k ( β ¯ + ε ) ≤ lim inf k G q n k ( β ˜ n k ) ≤ lim   sup k G q n k ( β ˜ n k ) ≤ lim k G q n k ( β ¯ − ε ) = G r * ( β ¯ − ε ) .
Then, let ε → 0 , 0 = lim k G q n k ( β ˜ n k ) = G r * ( β ¯ ) . Therefore, G r * ( β ¯ ) = 0 = G r * ( β * ) . By the strict monotonicity, we have β ¯ = β * . Thus β ˜ n → β * holds. □

Appendix A.4. Proof of Lemma 3

Proof. 
By [33] (Lemma 4.1), the distribution r of the reproduction variable is supported on [ − M , M ] d whenever ρ ( x , y ) is a strictly increasing, continuous difference distortion measure. We can just take the equidistant discretization nodes { y j n } j = 1 n from [ − M , M ] d . When x , y ∈ [ − M , M ] d , exp ( − β ρ ( x , y ) ) is a Lipschitz continuous function with respect to y with L being the Lipschitz constant. Then, we have the evaluation
| ∫ exp ( − β ρ ( x , y ) ) d q n ( y ) − ∫ exp ( − β ρ ( x , y ) ) d r * ( y ) | ≤ ∑ i ∫ I i | exp ( − β ρ ( x , y ) ) − exp ( − β ρ ( x , y i n ) ) | d r * ( y ) ≤ ∑ i ∫ I i L ∥ y − y i n ∥ d r * ( y ) ≤ L h / 2 .
We now establish the convergence rate:
f ( q n ) − f ( r * ) = ∫ ∥ x ∥ ≤ M [ − log ∫ exp ( − β ρ ( x , y ) ) d q n ( y ) + log ∫ exp ( − β ρ ( x , y ) ) d r * ( y ) ] d p ( x ) = ∫ ∥ x ∥ ≤ M log ∫ exp ( − β ρ ( x , y ) ) d r * ( y ) ∫ exp ( − β ρ ( x , y ) ) d q n ( y ) d p ( x ) = ∫ ∥ x ∥ ≤ M log H ˜ r * ( y ) ( x ) − H ˜ q n ( y ) ( x ) ∫ exp ( − β ˜ n ρ ( x , y ) ) d q n ( y ) + 1 d p ( x ) ≤ ∫ ∥ x ∥ ≤ M | H ˜ r * ( y ) ( x ) − H ˜ q n ( y ) ( x ) | ∫ exp ( − β ˜ n ρ ( x , y ) ) d q n ( y ) d p ( x ) ≤ ∫ ∥ x ∥ ≤ M | H ˜ r * ( y ) ( x ) − H ˜ q n ( y ) ( x ) | δ 0 d p ( x ) ≤ ∫ ∥ x ∥ ≤ M L h / ( 2 δ ) d p ( x ) ≤ L h / ( 2 δ ) = O ( h ) ,
where δ is the lower bound of ∫ exp ( − β ρ ( x , y ) ) d q n ( y ) as shown in Theorem 1 and H ˜ r ( y ) ( x ) = ∫ exp ( − β ρ ( x , y ) ) d r ( y ) . Thus,
f ( r n ) − f ( r * ) = O ( h ) .
Since the total number of discrete nodes is n, there are n 1 d nodes in each dimension. So, the discretization step size is 2 M n 1 / d . Therefore, the convergence rate is O ( 1 / n 1 d ) . □

References

  1. Shannon, C.E. Coding Theorems for a Discrete Source with a Fidelity Criterion. Inst. Radio Eng. Int. Conv. Rec. 1959, 4, 1. [Google Scholar]
  2. Gray, R.M.; Neuhoff, D.L. Quantization. IEEE Trans. Inf. Theory 1998, 44, 2325–2383. [Google Scholar] [CrossRef] [Scilit]
  3. Skodras, A.; Christopoulos, C.; Ebrahimi, T. The JPEG 2000 Still Image Compression Standard. IEEE Signal Process. Mag. 2001, 18, 36–58. [Google Scholar] [CrossRef] [Scilit]
  4. Wiegand, T.; Sullivan, G.J.; Bjontegaard, G.; Luthra, A. Overview of the H. 264/AVC Video Coding Standard. IEEE Trans. Circuits Syst. Video Technol. 2003, 13, 560–576. [Google Scholar] [CrossRef] [Scilit]
  5. Sze, V.; Budagavi, M.; Sullivan, G.J. High Efficiency Video Coding (HEVC). Integr. Circuit Syst. Algorithms Archit. 2014, 39, 40. [Google Scholar]
  6. Berger, T. Rate Distortion Theory: A Mathematical Basis for Data Compression; Prentice-Hall: Hoboken, NJ, USA, 1971. [Google Scholar]
  7. Berger, T.; Gibson, J.D. Lossy Source Coding. IEEE Trans. Inf. Theory 1998, 44, 2693–2723. [Google Scholar] [CrossRef] [Scilit]
  8. El Gamal, A.; Kim, Y.H. Network Information Theory; Cambridge University Press: Cambridge, UK, 2011. [Google Scholar]
  9. Chen, J.; Fang, Y.; Khisti, A.; Özgür, A.; Shlezinger, N. Information Compression in the AI Era: Recent Advances and Future Challenges. IEEE J. Sel. Areas Commun. 2025, 43, 2333–2348. [Google Scholar] [CrossRef] [Scilit]
  10. Blahut, R. Computation of Channel Capacity and Rate-Distortion Functions. IEEE Trans. Inf. Theory 1972, 18, 460–473. [Google Scholar] [CrossRef] [Scilit]
  11. Arimoto, S. An Algorithm for Computing the Capacity of Arbitrary Discrete Memoryless Channels. IEEE Trans. Inf. Theory 1972, 18, 14–20. [Google Scholar] [CrossRef] [Scilit]
  12. Chen, L.; Wu, S.; Ye, W.; Wu, H.; Zhang, W.; Wu, H.; Bai, B. A Constrained BA algorithm for Rate-Distortion and Distortion-Rate Functions. CSIAM Trans. Appl. Math. 2025, 6, 350–379. [Google Scholar] [CrossRef] [Scilit]
  13. Hayashi, M. Bregman Divergence Based EM Algorithm and its Application to Classical and Quantum Rate Distortion Theory. IEEE Trans. Inf. Theory 2023, 69, 3460–3492. [Google Scholar] [CrossRef] [Scilit]
  14. Reyes, V.; Araya, I. ABSTAYLOR: Upper Bounding with Inner Regions in Nonlinear Continuous Global Optimization Problems. J. Glob. Optim. 2021, 79, 413–429. [Google Scholar] [CrossRef] [Scilit]
  15. Chen, L.; Wu, S.; Zhang, W.; Wu, H.; Wu, H. On Convergence of Discrete Schemes for Computing the Rate-Distortion Function of Continuous Source. In Proceedings of the 2024 IEEE International Symposium on Information Theory (ISIT), Athens, Greece, 7–12 July 2024; IEEE: New York, NY, USA, 2024; pp. 410–415. [Google Scholar]
  16. Rudin, W. Principles of Mathematical Analysis; McGraw-Hill: New York, NY, USA, 1976; Volume 3. [Google Scholar]
  17. Rose, K. A Mapping Approach to Rate-Distortion Computation and Analysis. IEEE Trans. Inf. Theory 1994, 40, 1939–1952. [Google Scholar] [CrossRef] [Scilit]
  18. Mao, M.Z.; Gray, R.M.; Linder, T. Rate-Constrained Simulation and Source Coding IID Sources. IEEE Trans. Inf. Theory 2011, 57, 4516–4529. [Google Scholar] [CrossRef] [Scilit]
  19. Finamore, W.; Pearlman, W. Optimal Encoding of Discrete-time Continuous-amplitude Memoryless Sources with Finite Output Alphabets. IEEE Trans. Inf. Theory 1980, 26, 144–155. [Google Scholar] [CrossRef] [Scilit]
  20. Liao, Q.; Chen, J.; Wang, Z.; Bai, B.; Jin, S.; Wu, H. Fast Sinkhorn I: An O(N) Algorithm for the Wasserstein-1 Metric. Commun. Math. Sci. 2022, 20, 2053–2067. [Google Scholar] [CrossRef] [Scilit]
  21. Cover, T.M.; Thomas, J.A. Elements of Information Theory; Wiley-Interscience: Weinheim, Germany, 2006. [Google Scholar]
  22. Lei, E.; Hassani, H.; Saeedi Bidokhti, S. Neural Estimation of the Rate-Distortion Function With Applications to Operational Source Coding. IEEE J. Sel. Areas Inf. Theory 2023, 3, 674–686. [Google Scholar] [CrossRef] [Scilit]
  23. Munkres, J. Topology, 2nd ed.; Prentice Hall: Hoboken, NJ, USA, 1999. [Google Scholar]
  24. Fix, S.L. Rate Distortion Functions for Continuous Alphabet Memoryless Sources; University of Michigan: Ann Arbor, MI, USA, 1977. [Google Scholar]
  25. Schochetman, I.E.; Smith, R.L. A Finite Algorithm for Solving Infinite Dimensional Optimization Problems. Ann. Oper. Res. 2001, 101, 119–142. [Google Scholar] [CrossRef] [Scilit]
  26. Csiszár, I.; Körner, J. Information Theory: Coding Theorems for Discrete Memoryless Systems, 2nd ed.; Cambridge University Press: Cambridge, UK, 2011. [Google Scholar]
  27. Wu, S.; Ye, W.; Wu, H.; Wu, H.; Zhang, W.; Bai, B. A Communication Optimal Transport Approach to the Computation of Rate Distortion Functions. In Proceedings of the 2023 IEEE Information Theory Workshop (ITW), Saint-Malo, France, 23–28 April 2023. [Google Scholar]
  28. Yang, Y.; Eckstein, S.; Nutz, M.; Mandt, S. Estimating the Rate-Distortion Function by Wasserstein Gradient Descent. In Proceedings of the 37th Conference on Neural Information Processing Systems (NeurIPS), New Orleans, LA, USA, 10–16 December 2023; Volume 36. [Google Scholar]
  29. Cooley, J.W.; Tukey, J.W. An Algorithm for the Machine Calculation of Complex Fourier Series. Math. Comput. 1965, 19, 297–301. [Google Scholar] [CrossRef]
  30. Solomon, J.; De Goes, F.; Peyré, G.; Cuturi, M.; Butscher, A.; Nguyen, A.; Du, T.; Guibas, L. Convolutional Wasserstein Distances: Efficient Optimal Transportation on Geometric Domains. ACM Trans. Graph. (ToG) 2015, 34, 1–11. [Google Scholar] [CrossRef] [Scilit]
  31. Oppenheim, A.V.; Schafer, R.W.; Buck, J.R. Discrete-Time Signal Processing, 2nd ed.; Prentice Hall: Hoboken, NJ, USA, 1999; p. 870. [Google Scholar]
  32. Bissiri, P.G.; Holmes, C.C.; Walker, S.G. A General Framework for Updating Belief Distributions. J. R. Stat. Soc. Ser. B Stat. Methodol. 2016, 78, 1103–1130. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  33. Fix, S.L. Rate Distortion Functions for Squared Error Distortion Measures. In Proceedings of the 16th Annual Allerton Conference on Communication, Control and Computing, Monticello, IL, USA, 29 September–1 October 1978; pp. 704–711. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.