On the Computational and Statistical Efficiency of the Empirical Maximum Entropy on the Mean Method
Matthew King-Roskamp, Gabriel Rioux, Rustum Choksi, Tim Hoheisel
MATTHEW KING-ROSKAMP †, GABRIEL RIOUX †, RUSTUM CHOKSI, AND TIM HOHEISEL
ABSTRACT. The Maximum Entropy on the Mean (MEM) method provides a flexible computational framework for solving inverse problems by combining data fidelity with entropy-based regularization. In practice, however, the prior distribution is typically unknown but can be estimated from data, giving rise to the empirical MEM method. We establish a parametric convergence rate of O(n−1/2) in expectation for empirical MEM, improving upon the previously established O(n−1/4) guarantee by [17]. Our proof is based on a novel stability analysis of the primal and dual optimization problems under perturbations of the underlying probability measure, relying only on foundational tools from convex analysis and probability. We further show that the MEM dual problem admits a reformulation as an expected risk minimization problem, thereby placing MEM within the modern framework of stochastic optimization and enabling scalable stochastic gradient algorithms for large-scale inverse problems. Together, these results place empirical MEM as a statistically and computationally efficient methodology for data-driven inverse problems.
1. INTRODUCTION
Linear inverse problems of the form
Ax≈b
are fundamental in statistics, signal processing, machine learning (in particular imaging). Such problems are frequently ill-conditioned or underdetermined, and the observation may additionally be corrupted by noise. Stable recovery therefore requires regularization, often via the incorporation of prior information about the unknown signal.
The Maximum Entropy on the Mean (MEM) method provides a convex and information-theoretic framework for incorporating such prior information; see, e.g., [20, 29, 34]. Given a prior probability measure μ∈P(X) supported on a compact set X⊂Rm, MEM associates with μ the (convex) function
κμ(x):=inf{KL(Q∥μ):Q∈P(X),EQ[X]=x},
which we call the MEM function, see, e.g., [34] for an extensive study of this object, and Section 2.3 for more details. The corresponding reconstruction is obtained by solving
(Pμ)
xμ∈x∈Rmargmin{αg(Ax−b)+κμ(x)},
where g is a proper, lower semicontinuous, and convex data-fidelity function and α>0 balances data fidelity against prior information/regularization. This is the MEM method in a nutshell, see Sections 2.2 and 2.3 for more details.
Emerging from ideas of E.T. Jaynes in 1957 [15, 16], various forms and interpretations of MEM (see [3, 12, 22, 9, 20]) have appeared in the literature. Applications have occurred in different disciplines such as earth sciences [11, 27, 33], crystallography [24, 25], and medical imaging [1, 6, 7, 13, 14]. Recently, the MEM method has been shown to be a powerful tool for blind deblurring of images that possess some form of symbology (for example, UPC and QR barcodes) [29, 28].
RC and TH acknowledge the support of NSERC through its Discovery grants program.
† Denotes equal contribution to this work.
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
However, MEM methods are not widely used and have yet to become a modern tool for solving contemporary data-driven inverse problems in image processing and machine learning.
The key to approaching the MEM problem theoretically and computationally is Fenchel-Rockafellar duality [31]. The (Fenchel) dual of the (primal) MEM problem (Pμ) reads:
(Dμ)
zμ∈z∈Rdargmin{αg∗(−z/α)−⟨b,z⟩+Lμ(A⊤z)},
where Lμ(y):=log∫Xexp⟨y,⋅⟩dμ is the log-moment generating function of the prior μ. The advantages of appealing to the dual problem (Dμ) instead of the primal MEM problem (Pμ) are as follows: The log-moment generating function has closed form for many priors μ and is essentially smooth (in the sense of [31]) thus enabling expedient primal-dual recovery
(1)
xμ=∇Lμ(A⊤zμ).
In many applications, however, the prior distribution μ is unknown. What is available instead is a collection of independent training samples from μ
X1,…,Xn∼i.i.d.μ.
A natural data-driven construction replaces μ by an empirical measure
(2)
μ^n:=n1i=1∑nδXi.
The MEM method based on this measure, which we call the empirical MEM method, was analyzed in [17]. That work established almost sure convergence of empirical MEM solutions xμ^n to xμ, including suitable approximate solutions, and obtained finite-sample convergence guarantees in expectation. To wit, an n−1/4 sample complexity with the quadratic data-fidelity term, g=21∥⋅∥2, was derived, but it was conjectured that this rate was not sharp and that the parametric rate n−1/2 should hold.
The first objective of the present paper is to resolve this question: We prove that the empirical MEM estimator converges in expectation at the parametric rate
(3)
E[∥xμ^n−xμ∥]=O(n−1/2)
for all convex and L-smooth fidelity terms (see Assumption (A1) below). Similar to the analysis in [17], we heavily rely on Fenchel-Rockafellar duality: First, we establish stability results for solutions of the (Fenchel-Rockafellar) dual MEM problem (Dμ) under perturbations of the underlying probability measure (Lemma 3.9). Using this, we then prove the n−1/2-rate of convergence of empirical dual solutions in expectation. Moreover, by establishing that the primal-dual recovery (1) is Lipschitz-stable (Lemma 3.11), we obtain stability of primal solutions with respect to the underlying measure (Lemma 3.13) and, ultimately, the desired convergence from (3) (Lemma 3.14). Moreover, we show that, for an ε-optimal empirical dual solution zμ^n,ε and its associated primal reconstruction xμ^n,ε:=∇Lμ^n(A⊤zμ^n,ε), the bound
(4)
E[∥xμ^n,ε−xμ∥]≤C1n−1/2+C2ε,
holds for constants independent of n and ε (Lemma 3.15).
The second objective of the paper is computational: The empirical prior in (2) is attractive precisely when a large training set is available, but the standard empirical MEM dual involves the full sample at every evaluation. Consequently, deterministic full-batch methods become increasingly costly as n grows. To address this limitation, we show that the empirical dual can be reformulated as a risk minimization problem. Concretely, we show that with ℓ(x,z)=exp(αg∗(−z/α)−⟨b,z⟩+⟨A⊤z,x⟩), the MEM dual problem (Dμ) has the same solution(s) as
(5)
z∈RdminEX∼μ[ℓ(X,z)]
Consequently, the empirical MEM dual can be cast as
(6)
z∈Rdminn1i=1∑nℓ(Xi,z).
This reformulation places empirical MEM within the standard framework of stochastic optimization. It permits stochastic-gradient updates based on individual samples or mini-batches and removes the need to process the entire prior dataset at every iteration.
The exponential terms inherited from the moment generating function create a difficulty that is specific to this formulation: stochastic gradients need not be uniformly bounded and may become numerically unstable when the iterates move into unfavorable regions. Motivated by stochastic gradient clipping methods, including the analysis of [21], we study a projected clipped stochastic-gradient scheme adapted to the empirical MEM objective. In this extended real-valued setting, we refine the previous treatment to explicitly account for domain considerations on ℓ. We establish almost sure convergence under explicit assumptions and investigate the method numerically on inverse problems of increasing scale. The experiments demonstrate that the stochastic formulation can use substantially larger empirical priors than the original full-batch formulation while retaining competitive reconstruction quality.
The statistical and computational contributions are complementary. The statistical analysis controls the error introduced by replacing the population prior μ with the empirical prior μ^n. The optimization analysis controls the additional error introduced by solving the empirical problem only approximately, cf. (4). This decomposition separates the statistical error from the optimization error and gives a natural stopping principle: solving the empirical problem far beyond the accuracy permitted by the sample size provides little statistical benefit.
To summarize, our main contributions are the following:
(i) We prove nonasymptotic stability bounds for the dual and primal MEM solutions under perturbations of the prior measure.
(ii) We establish the parametric convergence rate O(n−1/2) in expectation for empirical dual and primal solutions, improving the previously known O(n−1/4) rate from [17].
(iii) We extend the statistical analysis to approximate empirical solutions and obtain an explicit decomposition of statistical and optimization errors.
(iv) We reformulate the empirical MEM dual as an empirical risk minimization problem, thereby enabling stochastic optimization methods whose per-iteration cost does not scale with the full sample size.
(v) We develop and analyze a projected clipped stochastic-(sub)gradient method for the reformulated problem and demonstrate its performance on large-scale image reconstruction examples.
The paper is organized as follows: In Section 2 we collect the required material from convex analysis and probability theory, and provide some more details on the MEM method. Section 3 develops the stability theory and proves the parametric convergence rates for exact and approximate empirical solutions. Section 4 derives the expected-risk reformulation and studies stochastic-subgradient methods for the empirical dual. Section 5 presents the numerical experiments.
Notation: Throughout we equip Rm with the Euclidean norm ∥⋅∥:=∥⋅∥2. The (Euclidean) distance of a point x∈Rm to a set C∈Rm is denoted by dist(x,C). The closed ball of radius r (in the Euclidean norm) centered at 0 is denoted by Br. For a matrix A∈Rd×m we denote ∥A∥ as
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
its operator 2-norm (i.e., its largest singular value), and σmin(A)=λmin(A⊤A) as the smallest singular value of A. For any C⊂Rd set ∣C∣∞:=supc∈C∥c∥.
2. Preliminaries
In this section we review some concepts from convex analysis and probability theory that are essential for our study. We then recall the MEM problem briefly introduced above with some more technical details.
2.1. Fundamentals from convex analysis. Throughout, we work with extended real-valued functions f:Rm→R=R∪{±∞}. The domain of a function f is the set dom(f)={x∈Rm:f(x)<+∞}. If dom(f)=∅ and f is never −∞, f is called proper. A function f is said to be lower semicontinuous (lsc) if the preimage f−1([−∞,a]) is a closed (possibly empty) set for all a∈R. We say that a proper function f is convex if
f(λx+(1−λ)y)≤λf(x)+(1−λ)f(y)
for every x,y∈dom(f) and all λ∈(0,1).
For f:Rm→R, its subdifferential at x is the collection of all subgradients of f at x, given by
(7)
∂f(x):={v∈Rm:f(x)≥f(x)+⟨v,x−x⟩,∀x∈Rm},
which reduces to singleton {∇f(xˉ)} when f is convex and differentiable at xˉ. We defer to [31] for more details on subdifferential calculus.
The (Fenchel) conjugate of f:Rm→R is the function f∗:Rm→R defined as
f∗(x∗):=x∈Rmsup{⟨x,x∗⟩−f(x)}.
An important notion for our study is strong convexity. The following result records useful properties of strongly convex functions from standard reference texts, see, e.g., [32].
Proposition 2.1 (Strong convexity). Let f:Rm→R be lsc proper convex and let σ>0. The following hold:
i) (Characterizations) The following are equivalent:
f is σ-strongly convex.
f∗ is 1/σ-smooth, i.e., ∇f∗ is (globally) 1/σ-Lipschitz.
∂f is strongly monotone, i.e., for all x1,x2∈Rm:
i) (Strong duality) p = d, and the dual problem has a solution.
ii) (Primal-dual recovery) If yˉ solves the dual problem (D) and κ∗ is differentiable (at L⊤yˉ), then xˉ=∇κ∗(L⊤yˉ) (uniquely) solves the primal problem (P).
2.2. Basic notions from probability theory. Throughout this paper, we fix a compact set X⊂Rm and let P(X) denote the set of Borel probability measures on X. For any two probability measures ν,μ∈P(X), ν+μ is a finite Borel measure. Hence, for any f which is integrable with respect to μ and ν we often write ∫fdν+∫fdμ as ∫fd(ν+μ) and similarly for differences of Borel measures.
The expectation of a random variable X with distribution μ∈P(X) is
E[X]=∫Xxdμ(x)∈Rm.∗
We sometimes write Eμ[X] to stress that the expectation is a function of the underlying distribution. The covariance matrix of X is
(10)
cov(X)=Eμ[(X−Eμ[X])(X−Eμ[X])⊤]∈Rm×m,
which we sometimes write as covμ(X). For scalar random variables (i.e., m=1), we instead write var for the variance.
The Kullback-Leibler (KL) divergence [19] of Q∈P(X) with respect to μ∈P(X) is defined as
(11)
KL(Q∥μ):={∫Xlog(dμdQ)dQ,+∞,ifQ≪μ,otherwise.
2.3. The MEM problem. As mentioned in the introduction, the Maximum Entropy on the Mean (MEM) function is given by
κμ(y):=inf{KL(Q∥μ):EQ[X]=y,Q∈P(X)},
where μ∈P(X) is a given prior distribution. Given a signal b∈Rd and an operator A∈Rd×m, the MEM problem, introduced in [20], consists of solving the convex optimization problem
(P μ)
xμ=x∈Rmargmin{αg(Ax−b)+κμ(x)},
where g is a lsc, proper, and convex function which measures the discrepancy between Ax and b and α>0 is a hyperparameter that enables balancing the influence of both terms in the objective. Therefore, the MEM problem aims to recover a signal based on a transformed and perhaps noisy
∗This vector-valued integral is to be understood component-wise which is consistent with the usual definition E[X]=(E[X1],…,E[Xm])⊤ of the random vector X. This idea also extends to random matrices.
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
observation thereof. The function g is generally used to enforce the fidelity of the signal, Ax≈b, whereas the MEM function enables incorporating prior beliefs about the distribution of the signal. As shown in, e.g., [17, Lemma 2.1], this problem has a unique solution under the qualification condition 0∈int(dom(g)−Adom(κμ)) and solutions can be obtained by first solving the Fenchel-Rockafellar dual problem
(Dμ)
zμ∈z∈Rdargminϕμ(z):=αg∗(−z/α)−⟨b,z⟩+Lμ(A⊤z),
Here Lμ is the log-moment generating function (also known as the cumulant generating function) of μ given by
Lμ(y):=logMμ(y)=log∫Xexp⟨y,⋅⟩dμ.
Under our standing assumption that X is compact, we record the following key properties of Lμ and κμ for ease of reference.
Lemma 2.3. For compact X, let μ∈P(X). The following hold:
(i) Lμ is convex, finite-valued, and analytic. In particular, Lμ is continuously differentiable with gradient
(12)
∇Lμ(y)=∫exp⟨y,⋅⟩dμ∫(⋅)exp⟨y,⋅⟩dμ.
(ii) κμ=Lμ∗ and κμ∗=Lμ.
(iii) lim∥x∥→∞∥x∥κμ(x)=∞, and κμ is strictly convex on every convex subset of {x∣∂κμ(x)=∅}. Namely, κμ is supercoercive and essentially strictly convex.
These properties are collected in, e.g., [17, Section 2.2].
Given a solution zμ to (Dμ), the solution, xμ, to (Pμ) can be obtained via the primal-dual recovery formula given by Lemma 2.2,
(13)
xμ=∇Lμ(A⊤zμ).
It is noteworthy that the dual solution zμ can also be used to recover
Qˉ=argmin{KL(Q∥μ):EQ[X]=xμ,Q∈P(X)},
i.e., the optimal distribution in the definition of κμ(xμ), see [28, Lemma 3]. Namely, it is given by Qˉ=γμ,zμ where, for each z∈Rd, γμ,z∈P(X) is the unique probability distribution which admits the Radon-Nikodym derivative
(14)
dμdγμ,z:u∈X↦∫exp⟨A⊤z,⋅⟩dμexp⟨A⊤z,u⟩.
In effect, in light of the primal-dual recovery condition, it is easily seen that the expectation of γμ,zμ is indeed xμ. Precisely, we observe that
Here the left equality is found by applying Eγμ,zμ[X]=∫xdγμ,zμ(x)=∫xdμdγμ,zμ(x)dμ(x) as follows from the Radon-Nikodym theorem, see e.g., [10, Theorem 5.5.4], and the right equality follows from evaluating (12) at A⊤zμ.
Throughout this work we make the following mild standing assumption:
(A1)
g:Rd→R is convex and β1-smooth, i.e., ∇g is (globally) β1-Lipschitz.
Moreover, (A1) implies that g∗ is β-strongly convex which, in particular, yields that
The dual objective function ϕμ is αβ-strongly convex for all μ∈P(X).
The prototypical example g=21∥⋅∥2 satisfies (A1), but there are other examples of interest beyond this. For example, any g which is the Moreau envelope of another proper lsc convex function satisfies (A1) [32, Example 10.32]. From the machine learning literature, the softplus g(x)=log(1+e⟨a,x⟩) with a∈Rd and the radial loss g(x)=1+∥x∥2 also satisfy this condition. Finally, we may also consider any separable loss functions which satisfies the assumptions component-wise, e.g., g=∑i=1dgi(xi) for gi convex and βi1-smooth. This last category includes, for example, the log-cosh loss gi=logcosh(⋅) with βi=1.
As noted in Section 1, in the case where μ is unknown – such as in imaging problems – a natural approach is to approximate μ via observed data samples. Explicitly, given samples
X1,…,Xn∼i.i.d.μ,
the empirical distribution,
μ^n=n1i=1∑nδXi,
serves as a natural surrogate for a population-level prior distribution. This choice of prior leads to an empirical dual problem
zμ^n∈z∈Rdargmin{αg∗(−αz)−⟨b,z⟩+Lμ^n(A⊤z)}
for the log-moment generating Lμ^n of μ^n.
3. PARAMETRIC RATES FOR CONVERGENCE IN EXPECTATION
In the sequel, we establish the parametric mean rate of convergence of the empirical primal and dual solutions towards their population-level counterparts. The main result of this section is as follows.
Theorem 3.1 (Primal and dual rates). Fix α>0, a fidelity function g:Rd→R satisfying (A1), a prior μ∈P(X), and let X1,…,Xn∼i.i.d.μ. Further, let zμ^n,ε be a ε-approximate solution to the (empirical) dual MEM problem for μ^n for some ε≥0, i.e.,
ϕμ^n(zμ^n,ε)≤zinfϕμ^n(z)+ε,
which is obtained by a measurable selection from the set of all ε-approximate solutions. Then, letting zμ denote the solution of the (population) dual MEM problem for μ,
(16)
E[∥zμ^n,ε−zμ∥]≤nC+β2αε,
where C=βα∥A∥C′ for C′=2∣supp(μ)∣∞exp(2∥A∥∥zμ∥∣supp(μ)∣∞). Moreover, setting K′=∣supp(μ)∣∞2∥A∥, if xμ^n,ε:=∇Lμ^n(A⊤zμ^n,ε) is the recovered (approximate) primal solution for μ^n and xμ is the primal solution for μ,
(17)
E[∥xμ^n,ε−xμ∥]≤nK′C+C′+K′β2αε.
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
If, moreover, A is injective, and g is γ1-strongly convex, then
E[∥xμ^n,ε−xμ∥]≤ασmin(A)γCn1+K′β2αε.
We first comment on the condition that solutions are obtained via a measurable selection.
Remark 3.2 (Measurable selection). Fix n∈N and consider the function
is closed-valued and measurable, noting that the infimum is always attained by strong convexity of the objective, see Proposition 14.33 and Theorem 14.37 from the same reference. By [32, Corollary 14.6], there exists a measurable selection of ε-minimizer for Fn(x1,…,xn,⋅) and, since the data generating process ω∈Ω↦(X1(ω),…,Xn(ω))∈Xn is measurable (by definition), there exists a measurable selection of the dual ε-minimizers zμ^n,ε as the composition of Borel measurable maps is measurable. It follows that the corresponding selection of primal solutions is measurable. If ε=0, no selection is required as each problem admits a unique solution.
Practically, any algorithm which takes the samples and returns a ε-minimizer based on an iterative application of measurable operations is a measurable selection rule provided that the initialization and stopping rules are also measurable.
The proof of Lemma 3.1 follows the following main steps.
(1) We show that for any ρ,η∈P(X), the unique minimizers zρ,zη, of ϕρ,ϕη, satisfy
for constants C1,C2≥0 which are independent of the choice of ρ and η, see Lemmas 3.7 and 3.8. This is accomplished by leveraging the strong monotonicity of the subgradients of ϕρ and ϕη and the fact that the subgradients depend on ρ,η only through the terms ∇Lρ and ∇Lη whose difference can be controlled in terms of the integral terms in (18), see Lemma 3.3.
(2) Next, for a prior μ∈P(X) and the empirical measure μ^n from n i.i.d. samples X1,…,Xn from μ, it follows from (18) that E[∥zμ^n−zμ∥] is bounded above by
so that both terms scale as n−1/2 upon showing that the variance/covariance of the summands are uniformly bounded, see Lemma 3.9. To this effect, we show in Lemma 3.5 that ∥zμ∥ can be bounded a priori. Applying the triangle inequality,
where the first term on the right-hand side is bounded as described above whereas the second is bounded as β2α(ϕμ^n(zμ^n,ε)−ϕμ^n(zμ^n))≤β2αε as follows from (9).
(3) Finally, we transfer the rates for dual solutions to the primal solutions by using the (approximate) primal-dual recovery formula xμ^n,ε=∇Lμ^n(A⊤zμ^n,ε). This is accomplished by leveraging the stability of the gradient with respect to perturbations in the measures mentioned previously and by establishing that ∇Lμ is Lipschitz continuous. The error due to the approximate nature of solutions is handled exactly as in item 2.
The remainder of this section is dedicated to proving Lemma 3.1 starting with two technical lemmas. The first will enable us to characterize the stability of ∇Lρ at a fixed point z under perturbations of the underlying measure as outlined in item 1 above.
Lemma 3.3 (Gradient stability). Fix B∈Rd×m, z∈Rd, and ρ,η∈P(X). Then:
where in the last line we have added and subtracted ∫B(⋅)exp⟨A⊤z,⋅⟩dρ∫exp⟨A⊤z,⋅⟩dρ from the numerator. Taking the norm on both sides, using the linearity of the integral, and using the fact that ∥Bw∥≤∥B∥∥w∥ for any w∈Rm,
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
On the other hand, item (ii) follows from a direct application of Jensen's inequality, whereby ∥Eγρ,z[X]∥≤Eγρ,z[∥X∥]≤∣supp(ρ)∣∞, where the latter inequality is a consequence of the definition of γρ,z in (14) which asserts that supp(γρ,z)⊂supp(ρ).
For the estimates in item (iii), we first observe that for any u∈supp(η), we have that exp(−∥A∥∥z∥∥supp(η)∥∞)≤exp⟨A⊤z,u⟩≤exp(∥A∥∥z∥∥supp(η)∥∞). Integrating this inequality gives
The second technical lemma establishes the existence of subgradients at certain points, which is used when carrying out item 1 in the proof outline.
Lemma 3.4 (Nonempty subdifferential). Fix ρ,η∈P(X) and let zρ,zη be solutions to the dual MEM problem with prior ρ and η. Then, ∂ϕρ(zη) is nonempty and, in particular,
(19)
A∇Lρ(A⊤zη)−A∇Lη(A⊤zη)∈∂ϕρ(zη).
Proof. First, observe that rint(dom(Lη∘A⊤−⟨b,⋅⟩))=Rd, and as both g∗ and Lρ∘A⊤−⟨b,⋅⟩ are proper convex functions, the sum rule [31, Theorem 23.8]
holds for each z∈Rd, where the final equality uses the differentiability of Lη from Lemma 2.3. At the minimizer zη, the first-order optimality condition reads
0∈∂ϕη(zη)=−∂g∗(−zη/α)−b+A∇Lη(A⊤zη),
and hence
b−A∇Lη(A⊤zη)∈−∂g∗(−zη/α).
For any other measure ρ, the sum rule then gives ∂ϕρ(zη)=−∂g∗(−zη/α)−b+A∇Lρ(A⊤zη), which is nonempty as it contains, e.g., A∇Lρ(A⊤zη)−A∇Lη(A⊤zη) as follows from the previous display.
With the technical results of Lemma 3.3 and Lemma 3.4 in hand, we now move to analyzing the stability properties of dual solutions of the MEM problem under perturbations of the prior measure which will naturally lead to the claimed statistical rates.
3.1. Stability and rates for dual solutions. As noted in the proof outline, our approach relies on the β/α-strong convexity of the dual objective, which follows from (A1). In effect, it enables us to bound the difference between solutions for different priors in terms of the norm of a subgradient of one of the objectives and to obtain a priori estimates on the norm of dual solutions as stated next.
Theorem 3.5 (Estimates for dual solutions). Fix ρ,η∈P(X), and let zρ,zη be solutions to the dual MEM problem with prior ρ and η, respectively. Then,
Proof. (i): First by Lemma 3.4, there exists v∈∂ϕη(zρ), and w∈∂ϕη(zη). Then, as ϕη is β/α-strongly convex, by Equation (8)
∥zρ−zη∥2≤βα⟨v−w,zρ−zη⟩≤βα∥v−w∥∥zρ−zη∥,
so that ∥zρ−zη∥≤βα∥v−w∥. In particular, as zη is a minimizer of ϕη, we may choose w=0∈∂ϕη(zη). Hence
∥zρ−zη∥≤βα∥v∥∀v∈∂ϕη(zρ).
As ϕρ is also β/α-strongly convex, we may repeat this argument with reversed roles of η and ρ to find
∥zρ−zη∥≤βα∥v∥∀v∈∂ϕρ(zη)
Combining the last two inequalities, we find
∥zρ−zη∥≤βαv∈Ginf∥v∥,
for G as defined above. Finally, as G is closed and ∥⋅∥ has compact level sets, the infimum is attained.
(ii): By the subdifferential sum rule [31, Theorem 23.8],
∂ϕη(z)=−∂g∗(−z/α)−b+A∇Lη(A⊤z),∀z∈Rd.
We split the proof into two cases: first, if ∂ϕη(z)=∅, for each v∈∂ϕη(z), and for the particular point 0∈∂ϕη(zη), we have (by the same arguments as above) that
∥zη−z∥≤βα∥v∥.
Since v∈∂ϕη(z), it is of the form v=−vg−b+A∇Lη(A⊤z) for some vg∈∂g∗(−z/α), so
where the penultimate line uses the property ∇Lη(A⊤z)=Eγη,z[X] from (15) and where the last line follows from Lemma 3.3 (ii) and the triangle inequality. Once again, we emphasize that the minimum over subgradients is attained.
In the case that ∂ϕη(z)=∅, then also −∂g∗(−z/α)=∂ϕη(z)+b−A∇Lη(A⊤z)=∅. Therefore the upper bound (ii) is a minimization over the empty set and takes the value +∞ so that the result holds vacuously.
Remark 3.6 (On solution estimates). As stated, the bound on the norm of solutions in Lemma 3.5 (ii) may be vacuous depending on the choice of evaluation point z∈Rd. Indeed, as stated in the proof of that result, ∂g∗(−z/α) may be empty.
Nevertheless, we point out that dom∂g∗={u:∂g∗(u)=∅} is non-empty as g∗ is proper, see, e.g., [31, Corollary 23.4] (and use the fact that g∗ is proper).
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
We now show that the upper bound on ∥zρ−zη∥ furnished in Lemma 3.5 can be rewritten in terms of an expression involving the differences between the measures η and ρ. In the sequel, it will be expedient to establish the following shorthand notation. Given a matrix B, and measures ρ,η∈P(X) we define
Proof. We first apply Lemma 3.5, which asserts that ∥zη−zρ∥≤βαminv∈∂ϕρ(zη)∪∂ϕη(zρ)∥v∥. Taking v=A∇Lρ(A⊤zη)−A∇Lη(A⊤zη)∈∂ϕρ(zη) from Lemma 3.4 (19),
(20)
∥zη−zρ∥≤βα∥A∇Lρ(A⊤zη)−A∇Lη(A⊤zη)∥,
and it remains to bound the right-hand side. Recalling the expressions for ∇Lρ and ∇Lη from (12), we then apply Lemma 3.3 (i) with B=A and z=zη to obtain that
Repeating this computation with -v in place of v, we apply Lemma 3.3 (i) once more B = A and z=zη with the roles of Lρ and Lη interchanged. This gives
Finally, as ∣∫exp⟨A⊤zη,⋅⟩d(η−ρ)∣=∣∫exp⟨A⊤zη,⋅⟩d(ρ−η)∣, and ∥∫(⋅)exp⟨A⊤zη,⋅⟩d(η−ρ)∥=∥∫(⋅)exp⟨A⊤zη,⋅⟩d(ρ−η)∥, we take the maximum of these bounds and substitute into (20) which yields
with the constants κ′(A,ρ,η), ζ′(A,ρ,η) defined previously.
In order to establish the desired parametric rate of convergence for the empirical dual MEM solutions, it remains to provide uniform bounds on the constants from Lemma 3.7.
Lemma 3.8 (Constant bounds). Let μ∈P(X) and set μ^n:=n1∑i=1nδXi to be the empirical measure from n i.i.d. samples X1,…,Xn from μ. Then, with probability 1,
With these preliminary results in hand, we now establish the parametric rate of convergence of empirical dual solutions as stated in Lemma 3.1.
Theorem 3.9 (Parametric rates for dual solutions). Fix μ∈P(X) and let μ^n:=n1∑i=1nδXi be the empirical measure from n i.i.d. samples X1,…,Xn from μ. Denoting zμ,zμ^n as the solutions to the dual MEM problem with priors μ and μ^n, respectively, we have
E[∥zμ^n−zμ∥]≤nC,
where C=β2α∥A∥supp(μ)∣∞exp(2∥A∥∥zμ∥supp(μ)∣∞).
Proof. We first apply Lemma 3.7 with ρ=μ^n and η=μ to obtain that
Given that κ′(A,μ^n,μ), ζ′(A,μ^n,μ) admit upper bounds which do not depend on the choice of samples by Lemma 3.8 we proceed by bounding the expected value of the two integral terms.
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
where the first line follows from Jensen's inequality, and we have used the fact that ∫fdμ=n1∑i=1n∫fdμ in the next equality. The final equality follows from setting Y=∑i=1nf(Xi) and applying the definition of the variance of Y, (10). As the samples X1,…,Xn are independent,
Here, the final equality can be observed by computing the covariance matrix of the random vector Y=∑i=1nh(Xi). Moreover, cov[∑i=1nh(Xi)]=ncov[h(X1)] due to independence of the samples. Now, expanding the diagonal entries of the covariance matrix,
The above result naturally generalizes to approximate dual solutions as stated next.
Corollary 3.10 (Parametric rates for approximate dual solutions). In the setting of Lemma 3.9, let zμ^n,ε be a measurable selection of an ε-approximate minimizer of ϕμ^n. Then,
With this result in hand, we proceed to proving the corresponding convergence rate for the primal solutions.
3.2. Stability and rates for primal solutions. To derive stability and convergence rate results for primal solutions, we now first establish that the gradient of Lρ is Lipschitz continuous for any choice of ρ∈P(X).
Lemma 3.11 (Lipschitz continuity). For any ρ∈P(X), Lρ∘A⊤ is K-smooth, where K=∣supp(ρ)∣∞2∥A∥2.
Proof. We compute the first and second partial derivatives of Lρ∘A⊤ below:
It follows from the previous two lines that all eigenvalues of ∇2(Lρ∘A⊤)(y) are bounded above by ∣supp(ρ)∣∞2∥A∥2=:K so that ∇(Lρ∘A⊤) is K-Lipschitz continuous.
We briefly comment on some implications of Lemma 3.11.
Remark 3.12. We make two observations as immediate consequences of Lemma 3.11:
(i) As supp(ρ)⊂X, ∇(Lρ∘A⊤) is ∣X∣∞2∥A∥2-Lipschitz for all ρ∈P(X).
(ii) For the choice A=I, this also shows that Lρ is ∣supp(ρ)∣∞2-smooth.
With this technical lemma in place, we can leverage the primal-dual recovery formula to establish a stability property for primal solutions under perturbations of the prior.
Proposition 3.13 (Primal solution stability). Fix ρ,η∈P(X). Let xρ,xη solve the primal MEM problem with priors ρ,η, and zρ,zη solve the respective dual MEM problems. Then:
Observing that ∥∇Lρ(A⊤zη)−∇Lη(A⊤zη)∥=∥∇Lη(A⊤zη)−∇Lρ(A⊤zη)∥, we also apply Lemma 3.3 (i) for the choices of B=I and z=zη, with the order of Lη and Lρ interchanged. This gives
Taking the maximum over these two bounds gives the result with the corresponding constants κ′(I,ρ,η) and ζ′(I,ρ,η) as was stated in the theorem.
(ii) Assuming that A is injective and g is γ1-strongly convex, g∗ is differentiable and γ-smooth. Rearranging the first order optimality conditions ∇ϕρ(zρ)=∇ϕη(zη)=0 gives
where we have used (24) for the first inequality, and the γ-smoothness of g∗ in the latter.
As with the dual solutions, the stability properties provided above enable us to obtain the parametric rate for empirical primal solutions.
Theorem 3.14 (Parametric rates for primal solutions). Fix μ∈P(X) and let μ^n:=n1∑i=1nδXi be the empirical measure from n i.i.d. samples X1,…,Xn from μ. Let xμ,xμ^n denote the solutions to the primal MEM problem with priors μ and μ^n respectively. Then:
(i) Letting C′=2∣supp(μ)∣∞exp(2∥A∥∥zμ∥∥supp(μ)∣∞), C=βα∥A∥C′ be the constants from Lemma 3.9 and K′=∣supp(μ)∣∞2∥A∥, we have
E[∥xμ^n−xμ∥]≤nK′C+C′.
(ii) If A is injective and g is γ1-strongly convex, then
E[∥xμ^n−xμ∥]≤ασmin(A)γCn1.
Proof. (i) Applying Lemma 3.13 (i) with η=μ,ρ=μ^n gives
where K=∥A∥∥supp(μ^n)∥∞2≤K′, noting that supp(μ^n)⊂supp(μ). Taking the expectation of the above inequality and applying Lemma 3.9 to the first term yields
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
As for κ′(I,μ^n,μ), ζ′(I,μ^n,μ), we apply Lemma 3.8 with B=I to obtain that κ′(I,μ^n,μ)≤∣supp(μ)∣∞exp(∥A∥∥zμ∥)supp(μ)∣∞ and ζ′(I,μ^n,μ)≤exp(∥A∥∥zμ∥supp(μ)∣∞). This enables us to control the terms involving the integrals as
\frac{1}{\sqrt{n}}\left(|\operatorname{s u p p}(\mu)|_{\infty}\exp\left(2\|A\|\|z_{\mu}\|\right|\operatorname{s u p p}(\mu)|_{\infty}\right)+|\operatorname{s u p p}(\mu)|_{\infty}\exp\left(2\|A\|\|z_{\mu}\|\right|\operatorname{s u p p}(\mu)|_{\infty})\right),
which coincides with nC′, thus completing the proof of item (i).
(ii) Supposing that A is injective and g is γ1-strongly convex, we apply Lemma 3.13 (ii) with ρ=μ^n,η=μ, giving
∥xμ^n−xμ∥≤ασmin(A)γ∥zμ^n−zμ∥.
Taking the expectation and applying Lemma 3.9 yields
As before, we extend the sample complexity to the case of approximate minimizers.
Theorem 3.15 (Parametric rates for approximate solutions). Let zμ^n,ε be a measurable selection of an ε-approximate solution to the dual MEM problem for μ^n and set xμ^n,ε:=∇Lμ^n(A⊤zμ^n,ε). Then,
E[∥xμ^n,ε−xμ∥]≤nK′C+C′+K′β2αε,
where K′,C,C′ are the constants of Lemma 3.14. If, additionally, A is injective and g is γ1-strongly convex, then
The expectation of the latter term has already been bounded in these different cases in Lemma 3.14, so it remains to bound the former term. However, Lemma 3.11 yields that ∇Lμ^n is ∣supp(μ^n)∣∞2-Lipschitz continuous and hence
In turn, using the β/α-strong convexity of ϕμ^n, we use (9) and the fact that zμ^n is a minimizer of ϕμ^n (hence 0∈∂ϕμ^n(zμ^n)) to obtain
Taking the expectation in (25) then gives the result.
☐
4. MAXIMUM ENTROPY ON THE MEAN AS EMPIRICAL RISK MINIMIZATION
In the sequel, we show that the dual MEM problem can be construed as a risk minimization problem. This enables us to solve the dual empirical MEM problem using stochastic gradient-based methods and to leverage standard results on the statistical properties of empirical risk minimization problems.
4.1. An Empirical Risk Minimization Perspective. The classical study of empirical risk minimization consists of analyzing the effects of estimating θμ∈argminθ∈ΘEμ[ℓ(X,θ)] by θμ^n∈argminθ∈ΘEμ^n[ℓ(X,θ)] where ℓ is a loss function. In words, we wish to perform inference on the minimizer of a function of interest, but only observe surrogates of this function which are obtained via sample-based approximations. Standard results regarding consistency, rates of convergence, and limit distributions are available in the reference textbooks [18, 36, 35] under the broader study of M-estimation.
Remarkably, for a given prior μ∈P(X), the dual problem (Dμ) can be written in the standard form described above. Precisely, for each z∈Rd,
from which one can recover xμ and xμ^n from their respective primal-dual recovery formulae, see (13). This formulation coincides with the standard empirical risk minimization setting described above and, importantly, preserves strong convexity of the original objective.
Proposition 4.1 (Strong convexity under composition with exp). Suppose that h:Rd→R is proper, lsc, and γ-strongly convex. Then, z∈Rd↦eh(z) is γ′-strongly convex for γ′=γeinfRdh>0 and ∂(eh)(z)={veh(z):v∈∂h(z)}.
Proof. We record that exp is proper, lsc, convex, increasing, and finite valued. Hence, with the convention e+∞=+∞, for any z∈dom(h)=dom(eh), we may apply the chain rule of [5, Corollary 4] to obtain that
∂(eh)(z)=eh(z)∂h(z).
The same reference also asserts that eh is convex so that this subdifferential is well-defined. Now, let z1,z2∈dom(eh), and take v2∈∂h(z2). Then,
where the first inequality uses the (sub)gradient inequality (7) for the convex function ex, and the latter uses the strong convexity of h, namely (9). We conclude by using the chain rule at v2, observing {v2eh(z2):v2∈∂h(z2)}=∂(eh)(z2) and γeh(z2)≥γeinfRdh, whereby
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
which, by Lemma 2.1, implies strong convexity of eh with modulus γ′.
The implications of connecting MEM problems to empirical risk minimization are twofold:
First, we may leverage the existing literature on M-estimation to establish statistical properties of the empirical MEM problem. As noted above, there is a vast literature on analyzing M-estimators under different assumptions on the underlying problem. A recent example is given in the work of [4] which establishes limit laws for M-estimators in a general setting. While rates of convergence (in expectation) for M-estimators are accounted for in the literature (cf., e.g., [2]), these results are stated in greater generality than is required here, and hence require the verification of a number of technical conditions. By contrast, the rates obtained in Section 3 follow from first principles of convex analysis and probability theory, enabling a simpler, and more self-contained exposition.
Second, the alternative formulation of the dual MEM problem is amenable to optimization via stochastic gradient methods. As such, even in the case where a population-level prior, μ, is known, but does not admit a tractable log moment generating function, we may approximate the gradient via a sample-based approximation and derive meaningful convergence results as expounded next.
4.2. Clipped SGD and convergence. As noted above, the dual MEM problem with prior μ∈P(X) can be reformulated as
Both of these problems are thus amenable to optimization via stochastic gradient methods. The main distinction between these problems is that optimizing (Dμ′) using such methods requires a mechanism to draw new i.i.d. samples from the population measure μ at each iteration to approximate the population gradient via mini-batching. On the other hand, if we only have a fixed finite number of samples from μ (e.g., a dataset) we may also consider solving (Dμ^n′) using stochastic methods by taking random subsets of the finite collection of samples to form mini-batched gradients. This is particularly useful in the case that the number of samples is so large that storing the entire dataset in memory is prohibitively expensive or that summing over all of the samples is costly. The results of the previous section establish that xμ^n can serve as a good proxy for xμ (on average) if the samples used to form μ^n are i.i.d. from μ and n is sufficiently large.
This perspective is thus advantageous in cases where excessively large amounts of data are available, as it enables scalability via mini-batching gradients and the ability to stream the data in place of storing it. On the other hand, dropping the outer logarithm introduces numerical instability as the gradients involve exponential terms.
which can lead to numerical overflow if ∥z∥ is even moderately large.
To account for this, we propose to use a stochastic gradient method with clipped gradients as discussed in [21]. The crux of this approach consists of normalizing the stochastic gradient before taking a step to avoid taking excessively large steps. We note, however, that the method analyzed in that work appears to tacitly assume that the function being minimized has full domain † and that subgradients are chosen in a measurable manner. To account for functions with restricted domain,
†In effect, the clipped SGD update [21, Equation 2] does not enforce that iterates lie in the domain of the objective. Further, their assumption A4 requires the expectation of the squared norm of a subgradient to be uniformly bounded.
we introduce a projection step into the clipped SGD method and work under appropriate conditions guaranteeing that all iterates of the algorithm are in int(dom(g∗(−⋅/α))) which guarantees that subgradients at each iterate are bounded. We provide a sufficient condition for this assumption to hold in (A2) ahead.
4.2.1. Projected Clipped SGD. We now state and explain the proposed algorithm. As aforementioned, there are two situations to consider, namely
(S1) we have access to a mechanism which generates fresh collections of i.i.d. samples of a prescribed size from the population μ which are conditionally independent from the previously generated collections.
(S2) we have a fixed dataset D=(xi)i=1n of samples from μ and have access to a mechanism which generates fresh collections of i.i.d. samples from the corresponding empirical measure μ^n which are conditionally independent from the previous collections and from the original dataset.
Remark 4.2 (Generating batches under (S2)). Given a fixed dataset D, a standard approach for generating batches of samples satisfying the conditions of (S2) consists of simply resampling m samples from D uniformly at random with replacement. That is, we generate an i.i.d. collection of indices {σ1,…,σm} from the uniform distribution on {1,…,n} which is independent from previous draws and the original dataset, and take the mini-batch to be {xσ1,…,xσm}. With this, {xσ1,…,xσm} is conditionally i.i.d. from μ^n and independent from the previously drawn mini-batches conditionally on D so that (S2) holds.
Notably, when applying Algorithm 1 ahead using mini-batched gradients with collections generated according to (S1) the aim is to approximately solve (Dμ′), i.e., the dual MEM problem with prior μˉ=μ. If the collections are generated according to (S2), we approximately solve (Dμ^n′), i.e., the dual MEM problem with prior μˉ=μ^n. Here and in the sequel, we use μˉ to denote the population prior μ under (S1) or the empirical prior μ^n under (S2) to simplify notation. To clearly state and motivate the projected clipped SGD method, we make the following assumption
As noted in Lemma 3.5 (ii), ∥zμˉ∥≤βα(minv∈∂g∗(0)∥v∥+∥b∥+∥A∥∥X∣∞)=:r, where we underscore that ∂g∗(0) is non-empty and bounded as 0∈int(dom(g∗)) by assumption, see [31, Theorem 23.4]. It follows that the above assumption holds if int(Brˉ/α)⊂int(dom(g∗(⋅))) for some r<rˉ which is equivalent to the following condition on g itself.
The fidelity term g satisfies liminf∥z∥→∞∥z∥g(z)≥αrˉ for some rˉ>r.
Thus, if lim∥z∥→∞∥z∥g(z)=∞, i.e., g is supercoercive, (A2) is satisfied. For instance, the prototypical fidelity term g=21∥⋅∥2 is supercoercive. We now state and prove this equivalence.
Proposition 4.3. Suppose that h:Rd→R is proper, lsc, and convex. Then, int(dom(h∗)) contains the open ball of radius rˉ>0 centered at 0 if and only if liminf∥z∥→∞∥z∥h(z)≥rˉ.
As the subdifferential of a convex function f is non-empty and bounded only at points in int(dom(f)) such conditions generally cannot hold at boundary points of dom(f).
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
Proof. By [31, Corollary 13.3.4 (c)], z∈int(dom(h∗)) if and only if the recession function of h−⟨⋅,z⟩ is strictly greater than 0 on Rd∖{0}. Following [32, Theorem 3.26 (a)], this latter condition is equivalent to the property that h−⟨⋅,z⟩ is bounded below on bounded sets and
∥w∥→∞liminf∥w∥h(w)−⟨w,z⟩>0.
Now, suppose that liminf∥w∥→∞∥w∥h(w)≥rˉ>0, then, for any z∈Rd with ∥z∥<rˉ,
Evidently h−⟨⋅,z⟩ is bounded below on any bounded set so that z∈int(dom(h∗)) by the previous deliberations. Thus the open ball of radius rˉ is contained in int(dom(h∗)).
On the other hand, if the open ball of radius rˉ is contained in int(dom(h∗)), we have from [32, Theorems 3.26 and 11.5] that, for any r′<rˉ,
since, for any w∈Rd, r′∥w∥w∈dom(h∗) and so supv∈dom(h∗)⟨w,v⟩≥r′∥w∥. Taking the limit r′→rˉ above proves the claimed result.
With this explanation of the projection step in hand, we now state the algorithm:
Algorithm 1: Projected Clipped SGD
Data: Fix a radius r satisfying (A2). Initialize z0∈Br, a stepsize schedule (βk)k∈N, a sequence of batch sizes (mk)k∈N, and a clipping parameter γ>0.
for k=0,1,2,3… do
Draw a collection of samples xk1,…,xkmk according to (S1) or (S2)
gk←mk1∑i=1mkℓ′(xki,zk), for a measurable selection ℓ′(xki,zk)∈∂zℓ(xki,zk)
zk+1←PBr(zk−βkmin{1,∥gk∥γ}gk)
The main feature of this algorithm is the final line, known as the clipping step, where instead of taking the usual gradient step −βkgk, the update is enforced to have norm βkmin{∥gk∥,γ}. This prevents instability if the gradient has a large magnitude. Our method also includes a projection onto Br, denoted PBr, which ensures that the iterates remain in the interior of the domain of the objective; this step is not present in the original algorithm. As presented, the algorithm does not include a stopping criterion and, in our examples, is run up to a pre-specified allowance of iterations.
The remainder of this section is devoted to proving the almost sure convergence of Algorithm 1 for the empirical risk formulation of the MEM dual problem. We do so by adapting the proof techniques of [21] for the projected version of the CSGD algorithm. As noted previously, the results of that work only appear to apply to objectives with full domain. We begin by compiling some useful properties of ℓ.
Lemma 4.4 (Properties of ℓ). Let g,r satisfy assumptions (A1) and (A2) and, for x∈X, let
(26)
ℓ′(x,z)=(v(z)−b+Ax)exp(αg∗(−z/α)−⟨b,z⟩+⟨A⊤z,x⟩),
where v(z)∈−∂g∗(−z/α) is independent of x and z∈Br↦v(z) is measurable. Then ℓ′(x,z) is a measurable selection of subgradient of ℓ(x,⋅) at z∈Br and, if X∼μˉ, the following hold: (P1) (Unbiased gradient estimates). E[ℓ′(X,z)]∈∂E[ℓ(X,z)].
(P2) (Quadratic growth). Let {zμˉ}=argminRdE[ℓ(X,⋅)]. There exists a>0 for which
E[ℓ(X,z)]−E[ℓ(X,zμˉ)]≥a∥z−zμˉ∥2forallz∈Br
(P3) (Finite variance). There exists σ>0 such that
E[∥ℓ′(X,z)−E[ℓ′(X,z)]∥2]≤σ2forallz∈Br.
Proof. We begin by proving that ℓ′(x,z) corresponds to a measurable selection of subgradient. From Lemma 4.1, for each x∈X and z∈Br⊂int(dom(ℓ(x,⋅))),
Hence, ℓ′(x,z) from (26) corresponds to a certain choice of subgradient of ℓ(x,⋅). For fixed z,v, ℓ′(⋅,z) is a continuous function on the compact set X and is, in particular, bounded and measurable and, in fact, integrable.
(P1) Given that ℓ′(x,z)∈∂zℓ(x,z),
ℓ(x,z′)−ℓ(x,z)≥⟨ℓ′(x,z),z′−z⟩,foreachz′∈Rd.
Taking expectations on both sides of the inequality, we obtain that
This demonstrates that E[ℓ′(X,z)] is a subgradient of E[ℓ(X,⋅)] at z as desired. (P2) Fix z∈Br, and let zμˉ∈Br be the unique minimizer of E[ℓ(X,z)]. Then
Taking the expectation on both sides of the inequality shows that E[ℓ(X,⋅)] is strongly convex with modulus E[γX]≥αβeinfx∈supp(μˉ)infRdhx>0. This final lower bound is due to the fact that, setting zˉ as the unique global minimizer of g∗(−⋅/α),
where the final lower bound is a convex parabola in ∥z∥ which is independent of x and hence admits a finite minimum. By (9) and using the fact that zμˉ is the minimizer of E[ℓ(X,⋅)],
E[ℓ(X,z)]−E[ℓ(X,zμˉ)]≥2E[γX]∥z−zμˉ∥2,
proving the claim.
(P3) Given z∈Br, we have from (26) that
ℓ′(x,z)=(v(z)−b+Ax)exp(αg∗(−z/α)−⟨b,z⟩+⟨A⊤z,x⟩)
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
Note that since Bαr⊂int(domg∗) by assumption, [31, Theorem 24.7] asserts that ∂g∗(Bαr)=∪z∈Bαr∂g∗(z) is bounded. Therefore supz∈Brsupv∈−∂g∗(−z/α)∥v−b∥2<∞ and, moreover, it holds that supz∈Brg∗(−z/α)<+∞ as any convex function is continuous on the interior of its domain [31, Theorem 10.1] and Br is compact. It follows that E[∥ℓ′(X,z)−E[ℓ′(X,z)]∥2]≤σ2 for a finite constant σ2>0.
We note that a measurable selection of subgradient always exists under (A2) (cf. e.g., [32, Corollary 14.6 and Theorem 14.56]) and, in cases where g∗ is differentiable, the subdifferential is a singleton so that no choice is required. In any case subgradient selection rule which can be expressed in terms of compositions of Borel measurable operations will be measurable recalling Lemma 3.2. Furthermore by taking measurable subgradients it is guaranteed that the iterates of the Algorithm 1 are also measurable.
The properties proved in Lemma 4.4 are paramount in showing the convergence of Algorithm 1 as stated next.
Theorem 4.5 (Convergence of Algorithm 1). Let g and r satisfy assumptions A1 and A2 and suppose that the stepsizes βk≥0 satisfy ∑k=0∞βk=+∞, ∑k=0∞βk2<∞ and ∑k=0∞βk/mk<+∞. Then, any sequence of iterates zk generated by Algorithm 1 as applied to f(x,z)=ℓ(x,z) converges almost surely to {zμˉ}=argminRdEX∼μˉ[ℓ(X,⋅)].
Proof. The proof of this result follows similar lines to that of [21, Theorem 1], but accounts for extended real-valued functions. For notational brevity, we introduce the quantity ρk=min{1,∥gk∥γ}. Then, as PBr is non-expansive,
Here, zk∈Br, by the projection step combined with the assumption z0∈Br, and Hk=E[gk∣Fk], where Fk is the σ-algebra generated by the first k batches † under (S1) and, under (S2), Fk also includes the dataset D as a generator. From Lemma 4.4 (P2),
where the second inequality follows from the subgradient inequality for convex functions. Indeed, noting that conditionally on Fk, zk is fixed and the mini-batch used to obtain gk is independent of Fk, E[gk∣Fk]=EX∼μˉ[ℓ′(X,zk)]∈∂(E[ℓ(X,⋅)])(zk) by Lemma 4.4 (P1). Applying the Cauchy-Schwarz and ε-Young inequalities with ε=a, we obtain that
We now invoke the classical almost supermartingale convergence theorem of [30, Theorem 1], which states that if Xk,Yk,Uk,Vk,Wk are non-negative Fk-measurable random variables satisfying
E[Xk+1∣Fk]≤Xk(1+Uk)+Vk−Wk,
for each k∈N, then limk→∞Xk exists and is almost surely finite and ∑k=1∞Wk<∞ almost surely on the event that ∑k=1∞Uk and ∑k=1∞Vk are finite. Evidently (29) is of this form with Xk=∥zk−zμˉ∥2, Uk=0, Vk=aβkE[∥gk−Hk∥2∣Fk]+γ2βk2, and Wk=βk⟨Hk,zk−zμˉ⟩E[ρk∣Fk] (which was shown to be non-negative in (28)). It follows that there exists an almost surely finite random variable Z∞ for which
on the event that ∑k=0∞(aβkE[∥gk−Hk∥2∣Fk]+γ2βk2)<∞. We now establish that this event occurs with probability 1.
To this end, recall from the previous deliberations that, conditionally on Fk, zk is fixed and, since the mini-batch samples used for gk are independent of Fk and independent of each other,
†i.e.Fk=σ(x01,x02,…x0m0,…,xk−11,…,xk−1mk−1) is the smallest σ-algebra containing the first k batches, where xij as defined in Algorithm 1 is the j-th mini-batch sample at iteration i.
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
where the final inequality is due to Lemma 4.4 (P3). Conclude that
as follows from the assumptions that ∑k=0∞βk2<∞ and ∑k=0∞mkβk<∞. That is, this event occurs with probability 1.
It follows that ∑k=0∞βk⟨Hk,zk−zμˉ⟩E[ρk∣Fk]<∞ a.s. and ∥zk−zμˉ∥2 converges a.s. to Z∞ which is almost surely finite. It remains to be shown that Z∞=0. Following the proof of [21, Theorem 1] we have that
and underscore that supz∈Brsupv∈∂g∗(−αz)∥v∥<∞ as argued in the proof of Lemma 4.4 (P3). Letting S denote the right-hand side of the above display, insert this bound in (31) which yields that
where we have also applied (28) and (32) and used the fact that mk≥1. It follows that ∑k=0∞βk∥zk−zμˉ∥2<∞ almost surely. On the other hand, ∥zk−zμˉ∥2 converges a.s. to some Z∞<∞.
Suppose now that Z∞>0 on a set with positive probability (note that Z∞ is non-negative by construction). Then, Z∞>0 and ∥zk−zμˉ∥2→Z∞, ∑k=0∞βk∥zk−zμˉ∥2=∞ since ∑k=0∞βk=+∞, but this contradicts the fact that ∑k=0∞βk∥zk−zμˉ∥2<∞. Conclude that Z∞=0 with probability 1 so that ∥zk−zμˉ∥→0 a.s., as required.
5. NUMERICAL EXPERIMENTS
Having established the convergence of projected clipped SGD we now study the performance of this method on image denoising problems. Throughout we set the fidelity term to g=21∥⋅∥22 so that g∗=21∥⋅∥22 has full domain and g∗ is smooth so that no measurability issues arise in the subgradient selection. Moreover, (A2) is satisfied for any choice of r>0 such that zμ∈Br. We emphasize that Lemma 3.5 (ii) ensures that such r is available.
In the following experiments we set r=500 for simplicity and note that the iterates in each run all lie in the interior of this ball. In the sequel, we adopt setting (S2) wherein a dataset D of fixed sized n is given and the corresponding prior is μ^n. In this context, the primal-dual recovery can be accomplished as follows.
Algorithm 2: Primal Solution Recovery
Data: Output z∗ of Algorithm 1.
Initialize ℓ1=0∈Rm, ℓ2=0∈R.
for k=1,2,3,…,n do
ℓ1←ℓ1+xkexp⟨A⊤z∗,xk⟩ℓ2←ℓ2+exp⟨A⊤z∗,xk⟩
Return x∗=ℓ1/ℓ2.
For our experiments, we apply some common ad hoc engineering techniques to improve the performance of the method. Concretely, we apply a “cosine learning rate”, as implemented in, e.g., PyTorch which consists of taking βk to behave like a cosine curve and is common in deep learning problems, see the specific hyperparameters for each experiment for explicit expressions. Moreover, for certain larger experiments we incorporate momentum to this algorithm as is standard in the SGD literature, see Section 5.2 for details.
The numerics are arranged as follows. We begin with an experiment on the extended MNIST (EMNIST) dataset [8] which consists of 28×28 black and white pictures of letters and digits, see Section 5.1 for details and Figures 1 and 2 for the results. We next apply our method to the more realistic Street View House Numbers (SVHN) dataset [26] which consists of 32×32 black and white and colored cropped images of house number digits. Exact details are provided in Section 5.2. We use this dataset to compare the performance of stochastic gradient methods with deterministic methods, see Figures 4 to 6 for examples. We conclude with a case where the method fails to accurately recover a noisy image which illustrates the importance of having representative data in the prior, see Figure 7.
5.1. Extended MNIST. For the first host of experiments, we use the Extended MNIST dataset which consists of 800,000 hand drawn 28x28 pixel images including the numbers 0-9, and letters A-Z. We underscore that directly loading this complete dataset into memory requires 4GB of RAM, so that stochastic gradient methods which allow streaming data will be required for larger real-life datasets. Importantly, optimizing the original objective with the empirical prior on the entire dataset using gradient-based methods requires evaluating the full gradient ∇ϕμn(z) at any point z and hence requires a full data-pass of 800,000 inner products. While one could in principle store each Axi to expedite this process (which is already prohibitive), this does not sidestep the need to compute the sum ∑i=1ne⟨z,Axi⟩ at each step of optimization, as is required to evaluate ∇ϕμn(z). In the following experiments, the ground truth images are hand drawn by the authors and hence are not present in the original dataset which is used to construct the prior.
For our first experiment, Figure 1, we denoise and deblur an image generated as b=Ax+N(0,(0.1∥x∥)2) where A is a tridiagonal matrix with constant diagonal entries 0.25, 0.5, 0.25 and N(0,(0.1∥x∥)2) is the mean-zero normal distribution with variance (0.1∥x∥)2. For this experiment, we set the following hyperparameters for the projected clipped SGD: α=10, βk=10−4+21(10−2−10−4)(1+cos(60000k+1π)), mk=5, γ=100, z0=0, and a maximum iteration count of 2000. Moreover in the final display we postprocess the output by setting pixels with intensity above 0.8 to 1 and those below 0.2 to 0.
For Figure 2 the same blurring kernel A is used along with the following hyperparameters for the projected clipped SGD: α=2, βk=10−4+21(10−2−10−4)(1+cos(60000k+1π)), mk=5, γ=10, and z0=0 with a maximum iteration count of 50000.
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
(A) Ground truth
(B) Observed image
(c) CSGD output (2000 iterations)
(D) Postprocessed
FIGURE 1. Result of solving the MEM problem using Projected Clipped SGD using a mini-batched stochastic gradient.
(A) Ground truth
(B) Observed image
full reconstruction of 50000 iterations.
(c) CSGD output (50000 iterations)
Post processed.
(D) Postprocessed
FIGURE 2. Result of solving the MEM problem using Projected Clipped SGD using a mini-batched stochastic gradient.
In both cases, the postprocessed output is close to the ground truth image. While the hyperparameters used above are tuned for each example, we underscore that, in testing, once the hyperparameters fall within a reasonable range further tuning does not significantly improve the quality of the recovered image except for the batchsize. Indeed, if the batchsize mk is set to be too small with the same amount of iterations this can result in significantly worse results.
We remark that in Figure 2, the postprocessed image could be interpreted as a 5 or the character g. This visual artifact can be explained by noting that in many handwriting styles these characters differ only by a small stroke and so, in the presence of large noise, it is difficult to discern if that stroke was present or not.
5.2. Street View House Numbers. We now consider the more realistic Street View House Numbers (SVHN) dataset [26] which contains 630000 images of house numbers taken directly from Google street view. This dataset contains both original images of the numbers as well as cropped images of each digit of size 32×32 for a total of 1.8 million digits. This dataset presents additional real-world challenges, such as confounding features, color channels, differing aspect ratios, rotations, and so on. See Figure 3 for an example of the original image and the corresponding cropped digit.
Throughout we consider only the cropped images so that all images are of the same size (i.e., 32×32). The corresponding problems are thus d=1024 dimensional in black and white or d=3072 dimensional in color. Furthermore, for each of the following experiments, the ground truth is taken as a point originally found in SVHN, but during recovery is removed from the dataset and hence not used to construct the prior.
(A) Example data
(B) Example data
(c) 32×32 cropped
(D) 32×32 cropped
FIGURE 3. Examples of original house numbers and the corresponding cropped digits from the SVHN dataset.
We now demonstrate the advantage of clipped SGD over solving the original formulation of the problem. As before, we generate the observed image as b=x+N(0,(0.15∥x∥)2) which corresponds to adding noise to the image only. To denoise the image we draw n=50000 and n=100000 samples and solve the corresponding full empirical MEM problem with the empirical prior via black-box BFGS applied to the original dual objective. It is critical to emphasize that even for n=500000, it has become prohibitively expensive to compute the MEM solution for the full empirical problem, as simply storing the partial dataset already requires 4GB of ram, with each gradient evaluation requiring a full data-pass, a problem that will only become worse as the ambient dimension increases. Furthermore, we solve the reformulated problem using the projected clipped method with the parameters α=1, βk=10−4+21(10−2−10−4)(1+cos(60000k+1π)), mk=10, γ=10, and z0=0 with a maximum iteration count of 500000. We also incorporate a momentum term which is seen to speed up convergence. Concretely, the update in Algorithm 1 for gk is replaced by
with the convention that g−1=0. This modification preserves some information about the direction of previous gradients before the clipping is performed. The results are compiled in Figure 4.
We underscore that, while the stochastic method is more scalable, a natural downside is that any given iteration may fail to decrease the objective value and it is prone to oscillate in some neighborhood of the minimum.
Next, we illustrate how the solution quality improves as the number of stochastic gradient steps increases. To this end, we plot the recovered solutions after a fixed number of iterations for a black and white image and a colored image. In both cases case, we set α=2, βk=10−4+21(10−2−10−4)(1+cos(60000k+1π)), mk=10, γ=10, and z0=0 with a maximum iteration count of 250000. The results are compiled in Figures 5 and 6.
We note that the solutions obtained in Figure 6 have a discolored background; this can be understood by noting that the solution is obtained by taking a weighted combination of the datapoints so that the different background colors get averaged together. While color-valued postprocessing could potentially aid in the visual recovery, this introduces another layer of complexity beyond the scope of the MEM problem.
Finally, we note that this approach depends strongly on the dataset used to form the prior. Indeed, as illustrated in Figure 7, if the ground truth is not well-represented by elements of the dataset our method cannot accurately approximate it. In that figure, the ground truth is blurry and includes two digits due to poor cropping. Given that such images are outliers within the SVHN dataset it is unsurprising that the corresponding recovered image does not match the ground truth.
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
(A) Ground truth
(B) Observed image
(c) Original formulation, n = 50000
(D) Original formulation, n=100000
Too much data
use reformulation
(E) Reformulation 500000 iterations
FIGURE 4. Comparison of solving the MEM problem with the prior μ^n with n=50000 and n=100000 using full gradient-based methods and using 500000 iterations of the stochastic gradient method.
(A) Ground truth
(B) Observed image
(c) 50000 iterations
(D) 500000 iterations
FIGURE 5. Result of applying the clipped SGD algorithm after 50000 and 500000 iterations. The observed image is generated via b=x+N(0,(0.2∥x∥)2). After 50000 iterations the digit 2 is visible albeit with some blurring around the edges. After 500000 iterations the digit is clearer.
well. Here, this image is constructed with the hyperparameters α=2, βk=10−4+21(10−2−10−4)(1+cos(60000k+1π)), mk=10, γ=10, and z0=0.
6. CONCLUSION
This work has advanced the statistical and computational study of the MEM problem. Namely, a parametric rate of convergence for empirical dual and primal solutions in expectation was derived which improves upon the O(n−1/4) rate obtained in [17]. This statistical result was obtained by characterizing the stability properties of the primal and dual MEM solutions under perturbations.
(A) Ground truth
(B) Observed image
(c) 1000 iterations
(D) 100000 iterations
(E) 250000 iterations
FIGURE 6. Result of applying the clipped SGD algorithm after 1000, 100000, and 2500000 iterations. The observed image is generated via b=x+N(0,(0.3∥x∥)2). We note that the output at 100000 iterations is very similar to that at 250000 indicating that the convergence occurs relatively fast.
(A) Ground truth
(B) Observed image
(c) Recovered image
FIGURE 7. Results of attempting to denoise an outlier within the SVHN dataset.
of the prior distribution and follows from standard results in convex analysis and statistics. Furthermore, a connection between the MEM problem and conventional expected risk minimization was established. This connection was leveraged to propose and analyze new stochastic gradient methods for solving MEM problem which were shown to yield good results even in the presence of large amounts of noise.
Many promising research directions stem from this line of work. For instance, it is of interest to generalize the sample complexity results derived herein to the case of priors with unbounded support and to establish if these rates are minimax optimal. Establishing further statistical properties of these estimators such as central limit theorem or finite sample Gaussian approximation results à la Stein's method would also be useful for understanding the quality of approximations by empirical measures in the MEM framework and for calibrating statistical and optimization error.
The aforementioned connection to expected risk minimization also opens the door to a more engineering-based study of alternative stochastic optimization methods for the MEM problem with the aim of improving its empirical performance.
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
APPENDIX A. ALTERNATE DERIVATION OF PARAMETRIC RATES
In this section, we establish how the expected rate of convergence of the dual MEM solutions (established in Lemma 3.9) can be derived using standard techniques in the M-estimation literature. Namely, we will apply Corollary 1 in [2]. To leverage this result, we make two additional assumptions on top of the already global assumptions (A1):
(A3) g is level bounded and g∗ is Lipschitz continuous on the closed ball α−1Br.
Here r is defined as
r=βα[vg∈−∂g∗(0)min∥vg∥+∥b∥+∥A∥∥supp(μ)∥],
which is well defined by the level-boundedness of g, and has a necessary property, zμ∈Br by Lemma 3.5, that we will need later. This continuity assumption was notably not required in the derivation of the parametric rate via elementary arguments, see Lemma 3.9.
Lemma A.1. For any x∈X, hx:z∈Br↦exp(αg∗(−z/α)−⟨b,z⟩+⟨A⊤z,x⟩) is Lipschitz continuous with parameter
With these lemmas in hand, we will apply Corollary 1 in [2]. We underscore that the cited reference deals with a more general setting, wherein a random variable Zi=f(Xi,Wi,s) taking values in a measurable space X is observed. Here, Xi,Wi are independent random variables taking values in the measurable spaces X and W respectively, s∈S is a parameter, and f:X×W×S is a measurable function. In this setting, (Xi,Wi,Zi) is distributed according to a population distribution Psi which depends on the choice of s. The aim is to perform inference on the (unknown) parameter s∈S based on the observations (Zi)i=1n under the assumption that there is a known function γ:X×S→R for which
(34)
t∈SinfEPˉs[γ(Z,t)]=EPˉs[γ(Z,s)]for everys∈S,
where Pˉs:=n1∑i=1nPsi. γ is called a contrast function and the minimum contrast estimator is any minimizer of the function t∈S↦n1∑i=1nγ(Zi,t), recalling that (Zi)i=1n is the observed sample.
However, the setting considered in the present work assumes access to i.i.d. observations from a fixed prior μ and we wish to perform inference on the unique minimizer, zμ, of
This corresponds to minimum contrast estimation with S=Br, where the true parameter is given by s=zμ, Zi=f(Xi,Wi,s)=Xi, γ(Z,t)=ℓ(X,t)=hX(t), and Psi can be identified with μ for every i=1,2,…,n so that Pˉs=μ. An important distinction is that (34) holds for s=zμ, but not for any other choice of t∈S (indeed, Pˉt is not even defined for t=s). This difference is innocuous however, as in [2] the true parameter s is assumed to be fixed and the population-level distribution Pˉs is considered only for the true parameter in the subsequent arguments.
As the conditions of Corollary 1 in [2] are relatively technical, we summarize them here in the interest of keeping the presentation self-contained. The following correspond to conditions (A1)-(A'4) in their work.
(A1) There exist positive functions M:W→R and Δ:X×S2→R and B>0 for which
∣γ(z,t)−γ(z,t′)∣≤M(w)Δ(x,t,t′)≤BM(w),Pˉs−a.s.
where z=f(x,w,s) and the inequality holds for every t,t′∈S.
(A2) There exists positive constants a,Γ such that ∫eaM(w)dPsi≤Γ for every 1≤i≤n.
(A3) For any δ>0 there exists a covering Sδ of S of finite cardinality for which
for every z,z′∈Br and μ-a.e. x∈X. That is, M(w)=supx∈supp(μ)Lhx=:M, Δ(x,t,t′)=∥t−t′∥, and B=2r in (A1).
For item (2), we follow point (2) of the remark on p.118 of [2] and take a=2/M and Γ=eaM=e2 so that Γ/a=Me/2 in (A2).
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
For item (3) we have that Δ(x,t,t′)=∥t−t′∥ as noted above. Consequently, any cover Sδ of Br by closed balls of radius δ/2 satisfies
Eμ[t,t′∈Bδsup∥t−t′∥2]≤δ2
and is hence admissible for (A3). Applying Lemma 4.14 of [23], the minimal such cover consists of at most
{(δ4r+1)d,1,ifδ≤2r,otherwise,
sets.
Item (4) follows directly from the proof of (P2) in Lemma 4.4, noting that we must set C=max{β2αsupx∈supp(μ)(infRdhx)−1,4r/(Me2)} recalling that ΓBa=4r/(Me2) from the definitions of a,B,Γ, and M from points (A1) and (A2).
The desired convergence rate result, Corollary 1 in [2], depends implicitly on Theorem 2 from the same reference which we state presently. To state this result we define H(u,Bσ(zμ))=log(card(Bσ(zμ)u⋆)), where Bσ(zμ)u⋆ is the minimal covering which satisfies
analogously to the definition of H(u,S). Moreover, we define the outer probability of an arbitrary subset B of the underlying sample set Ω as
P∗(B)=inf{P(A):B⊂A,AisBorelmeasurable}.
Lemma A.3 (Theorem 2 in [2]). Under assumptions (A1)−(A′4), let Bσ(zμ)={t∈Br:∥t−zμ∥≤σ} and let H~:(0,∞)×(0,1]→[1,∞) be such that
H(u,Bσ(zμ))≤H~(u,σ)forany(u,σ)∈(0,∞)×(0,1]
and such that the function φ:σ∈(0,1/2]↦∫128ΓCσ22σH~(u,2σ)du satisfies the property that σ∈(0,1/2]↦φ(σ)/σ is non-increasing and continuous. Then, if σ∗>0 is the unique solution of the equation
(37)
a3840CΓφ(σ)=nσ2,
for any non-negative integer L satisfying 22L(σ∗)2≤aBCΓ, it holds that
is at most 8.1 exp(−22L+1n(σ∗)2/b) for b=a29(3840)2C2Γ≤n(σ∗)2.
To apply this Lemma in the present setting, it will be useful to characterize the solutions of (37).
Proposition A.4. The function
H~(δ,σ)={δ4σd,2d,ifδ≤2σ,otherwise.
satisfies the conditions of Lemma A.3. Moreover, for each n∈N sufficiently large, the solution of (37) is unique and of the form σ⋆(n)=K(n)n−1/2∈(0,1/2] where
From these expressions we see that φ(σ)/σ is nonincreasing and continuous on (0,1/2]. Now, we wish to find some σ⋆(n) solving (37). Taking the ansatz σ⋆(n)=K(n)n−1/2 in the equation
a3840CΓφ(σ)=nσ2,
we observe that if K(n)n−1/2≤512ΓC, the equation reads
Letting R=a3840CΓ8d, the above equation can be written as
K(n)n−1/2(K(n)+256ΓCRn−1/4K(n)1/2−R)=0,
which admits the solutions K(n)=0 and K(n)=(21256ΓCR2n−1/2+4R−2256ΓCRn−1/4)2, as follows by solving a quadratic equation in Z(n)=K(n)1/2 and preserving the positive root. Note that K(n)=0 is not admissible since σ must be positive and that if K(n)n−1/2>512ΓC, the right-hand side of (38) is negative. Finally, note that σ⋆(n)∈(0,1/2] for each n sufficiently large.
Furthermore, if K(n)n−1/2>512ΓC, the equation reads
Note that the right-hand side is negative in this case since 128ΓCK(n)n−1/2>4 so that no solution exists in this case.
With this result, establishing the desired parametric convergence rate is straightforward.
Theorem A.5. In the setting of Lemma A.4, if zμ^n,ε is a measurable ε-minimizer of ℓ^n:z∈Br↦n1∑i=1nℓ(Xi,z) in the sense that ℓ^n(zμ^n,ε)≤ℓ^n(zμ^n)+ε, then it holds that
E[∥zμ^n,ε−zμ∥]≤4.052πK(n)n−1/2+2Cε
provided that K(n)n−1/2∈(0,1/2]. On the other hand, the bound E[∥zμ^n,ε−zμ∥]≤2r holds for any choice of n∈N.
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
Proof. Fix λ>0 and consider the set, Ωλ, of all ω∈Ω (the sample space) such that there exists some z∈Br for which
Now, suppose that the first term in the above display is bounded above by max{∥zμ−z∥2,λ(σ∗)2}/(2C) so that the chain C−1∥z−zμ∥2≤max{∥zμ−z∥2,λ(σ∗)2}/(2C)+ε holds. Suppose first that λ(σ∗)2≤∥zμ−z∥2 in which case ∥z−zμ∥2≤∥zμ−z∥2/2+Cε, that is, ∥zμ−z∥2≤2Cε. In the other case λ(σ∗)2≥∥zμ−z∥2. In summary, ∥zμ−z∥2≤max{2Cε,λ(σ∗)2}, which is a contradiction of our choice z∈Ωλ. As a consequence, instead we have that
Now, suppose that λ≥1 so that there exists a nonnegative integer L satisfying 22(L+1)≥λ≥22L. In this case, we may apply Lemma A.3 under the additional proviso that 22L(σ∗)2≤aBCΓ to obtain that
(39)
P∗(Ωλ)≤8.1exp(−22L+1n(σ∗)2/b)≤8.1exp(−λ/2),
where the final upper bound follows from the fact that 22L+1≥λ/2 and n(σ∗)2/b≥1. Note that the above upper bound is vacuous if λ≤2ln(8.1), as it states that P∗(Ωλ)≤1; this covers the case λ<1.
Now, note that ∥z−zμ∥≤2r for every z∈Br. Hence, if λ(σ∗)2≥4r2, the set Ωλ is necessarily empty since then ∥z−zμ∥2≤max{2Cε,λ(σ∗)2}. Now, if λ is such that λ(σ∗)2≥22L(σ∗)2>aBCΓ, we may use the fact that C≥ΓBa by definition to obtain that λ(σ∗)2≥B2. Consequently, the upper bound in Equation (39) remains true for every λ>0.
Now, if zμ^n,ε∈Rd satisfies the property that n1∑i=1nℓ(Xi,zμ^n,ε)−n1∑i=1nℓ(Xi,zμ^n)≤ε, it holds that
where the final inequality follows from splitting the integration region and noting that the (outer) probability is bounded above by 1. Taking the change of variables t2=λ(σ∗(n))2, we obtain that
where the first upper bound follows by applying the results of the first half of the proof and using monotonicity of the (outer) probability. The final upper bound follows by extending the integral over the complete interval (0,∞). The claimed formula then follows by inserting the expression for σ∗(n) from Lemma A.4.
M. KING-ROSKAMP, G. RIOUX, R. CHOKSI, AND T. HOHEISEL
REFERENCES
[1] C. Amblard, E. Lapalme, and J.-M. Lina. Biomagnetic source detection by maximum entropy and graphical models. IEEE Trans. Biomed. Eng., 51(3):427–442, 2004.
[2] L. Birgé and P. Massart. Rates of convergence for minimum contrast estimators. Probab. Theory Relat. Fields, 97(1):113–150, 1993.
[3] L. D. Brown. Fundamentals of Statistical Exponential Families: with Applications in Statistical Decision Theory. Institute of Mathematical Statistics, Hayward, California, 1986.
[4] V.-E. Brunel. Asymptotics of constrained M-estimation under convexity, 2025.
[5] J. V. Burke, T. Hoheisel, and Q. V. Nguyen. A study of convex convex-composite functions via infimal convolution with applications. Math. Oper. Res., 46(4):1324–1348, 2021.
[6] Z. Cai, A. Machado, R. A. Chowdhury, A. Spilkin, T. Vincent, Ü. Aydin, G. Pellegrino, J.-M. Lina, and C. Grova. Diffuse optical reconstructions of functional near infrared spectroscopy data using maximum entropy on the mean. Sci. Rep., 12(1), 2022. 2316.
[7] R. A. Chowdhury, J. M. Lina, E. Kobayashi, and C. Grova. MEG source localization of spatially extended generators of epileptic activity: comparing entropic and hierarchical bayesian approaches. PloS one, 8(2), 2013. E55969.
[8] G. Cohen, S. Afshar, J. Tapson, and A. van Schaik. Emnist: Extending mnist to handwritten letters. In 2017 International Joint Conference on Neural Networks (IJCNN), pages 2921–2926, 2017.
[9] D. Dacunha-Castelle and F. Gamboa. Maximum d'entropie et problème des moments. Ann. Inst. Henri Poincaré, Probab. Stat., 26(4):567–596, 1990.
[10] R. M. Dudley. Real analysis and probability. CRC Press, 2018.
[11] A. K. Fermin, J.-M. Loubes, and C. Ludena. Bayesian methods for a particular inverse problem seismic tomography. Int. J. Tomogr. Stat, 4(W06):1–19, 2006.
[12] F. Gamboa. Méthode du Maximum d'Entropie sur la Moyenne et Applications. PhD thesis, Université Paris-Sud, 1989.
[13] C. Grova, J. Daunizeau, J.-M. Lina, C. G. Bénar, H. Benali, and J. Gotman. Evaluation of EEG localization methods using realistic simulations of interictal spikes. Neuroimage, 29(3):734–753, 2006.
[14] M. Heers, R. A. Chowdhury, T. Hedrich, F. Dubeau, J. A. Hall, J.-M. Lina, C. Grova, and E. Kobayashi. Localization accuracy of distributed inverse solutions for electric and magnetic source imaging of interictal epileptic discharges in patients with focal epilepsy. Brain Topogr., 29(1):162–181, 2016.
[15] E. T. Jaynes. Information theory and statistical mechanics. Phys. Rev., 106:620–630, 1957.
[16] E. T. Jaynes. Information theory and statistical mechanics. II. Phys. Rev., 108:171–190, 1957.
[17] M. King-Roskamp, R. Choksi, and T. Hoheisel. Data-driven priors in the maximum entropy on the mean method for linear inverse problems. SIAM J. Math. Data Sci., 8(1):108–140, 2026.
[18] M. R. Kosorok. Introduction to empirical processes and semiparametric inference. Springer, 2008.
[19] S. Kullback and R. Leibler. On information and sufficiency. Ann. Stat., 22(1):79–86, 1951.
[20] G. Le Besnerais, J.-F. Bercher, and G. Demoment. A new look at entropy for solving linear inverse problems. IEEE Trans. Inf. Theory, 45(5):1565–1578, 1999.
[21] V. Mai and M. Johansson. Stability and convergence of stochastic gradient clipping: Beyond Lipschitz continuity and smoothness. In International Conference on Machine Learning, pages 7325–7335. PMLR, 2021.
[22] P. Maréchal and A. Lannes. Unification of some deterministic and probabilistic methods for the solution of linear inverse problems via the principle of maximum entropy on the mean. Inverse Probl., 13(1), 1997.
[23] P. Massart. Gaussian model selection. In Concentration Inequalities and Model Selection: Ecole d'Été de Probabilités de Saint-Flour XXXIII - 2003, pages 83–146. Springer Berlin Heidelberg, Berlin, Heidelberg, 2007.
[24] J. Navaza. On the maximum-entropy estimate of the electron density function. Acta Crystallogr. Sect. A, 41(3):232–244, 1985.
[25] J. Navaza. The use of non-local constraints in maximum-entropy electron density reconstruction. Acta Crystallogr. Sect. A, 42(4):212–223, 1986.
[26] Y. Netzer, T. Wang, A. Coates, A. Bissacco, B. Wu, A. Y. Ng, et al. Reading digits in natural images with unsupervised feature learning. In NIPS workshop on deep learning and unsupervised feature learning, volume 5, page 7, 2011.
[27] E. Rietsch. The maximum entropy approach to inverse problems-spectral analysis of short data records and density structure of the earth. J. Geophys., 42(1):489–506, 1976.
[28] G. Rioux, R. Choksi, T. Hoheisel, P. Maréchal, and C. Scarvelis. The maximum entropy on the mean method for image deblurring. Inverse Probl., 37(1):015011, 2020.
[29] G. Rioux, C. Scarvelis, R. Choksi, T. Hoheisel, and P. Maréchal. Blind deblurring of barcodes via Kullback-Leibler divergence. IEEE Trans. Pattern Anal. Mach. Intell., 43(1):77–88, 2021.
[30] H. Robbins and D. Siegmund. A convergence theorem for non negative almost supermartingales and some applications. In J. S. Rustagi, editor, Optimizing Methods in Statistics, pages 233–257. Academic Press, 1971.
[31] R. T. Rockafellar. Convex Analysis, volume 18. Princeton University Press, 1970.
[32] R. T. Rockafellar and R. J.-B. Wets. Variational analysis. Springer, 1998.
[33] B. Urban. Retrieval of atmospheric thermodynamical parameters using satellite measurements with a maximum entropy method. Inverse Probl., 12(5), 1996. 779.
[34] Y. Vaisbourd, R. Choksi, A. Goodwin, T. Hoheisel, and C.-B. Schönlieb. Maximum entropy on the mean and the Cramér rate function in statistical estimation and inverse problems: properties, models, and algorithms. Math. Program., 214(1):441–490, 2025.
[35] A. W. van der Vaart. Asymptotic statistics, volume 3. Cambridge University Press, 2000.
[36] A. W. van der Vaart and J. A. Wellner. Weak Convergence and Empirical Processes: With Applications to Statistics. Springer, 1996.
(M. King-Roskamp) DEPARTMENT OF MATHEMATICS AND STATISTICS, McGILL UNIVERSITY