Introduction
Inverse problems governed by partial differential equations (PDEs) seek to estimate an unknown physical coefficient field a a a from sparse and sometimes noisy observations u o b s u_{\mathrm{obs}} u obs . These problems are ubiquitous in observational science, where an incomplete observation must be described by a physical model, and arise in many applications including geophysics [72 , 14 ] , astrophysics [50 , 19 ] , biomedical imaging [3 , 52 ] , and materials science [9 , 6 ] . Recovering the physical coefficient field a a a is ill-posed , since the observations u o b s u_{\mathrm{obs}} u obs often correspond to several possible coefficient fields a a a . Thus, one aims to sample from the posterior π ( a ∣ u o b s ) \pi(a \mid u_{\mathrm{obs}}) π ( a ∣ u obs ) [68 ] , e.g., classical methods use Markov Chain Monte Carlo (MCMC), which can exhibit slow convergence for multimodal posteriors [27 ] or in high dimensions [55 ] . Additionally, practical use of classical methods often requires a fast surrogate for the forward model; these surrogates are frequently highly application-specific, limiting their generalizability [70 ] .
Recently, generative diffusion models [31 ] have emerged as a powerful framework for representing expressive, multimodal priors and enabling posterior sampling in high-dimensional inverse problems [17 , 43 , 80 ] . Since a a a and u o b s u_{\mathrm{obs}} u obs are discretized functions, a recent line of work lifts diffusion inverse solvers to infinite-dimensional function spaces [Lim+25]. Existing diffusion PDE inverse solvers, including the current state-of-the-art Decoupled Diffusion Inverse Solver (DDIS) [45 ] , first denoise a diffusion state a t a_t a t to obtain an estimate of the clean coefficient field a ^ 0 \hat{a}_0 a ^ 0 and then separately modify this estimate to enforce measurement consistency so that a 0 ≈ a ^ 0 a_0 \approx\hat{a}_0 a 0 ≈ a ^ 0 and u o b s ≈ A ( a 0 ) u_{\mathrm{obs}} \approx\mathcal{A}(a_0) u obs ≈ A ( a 0 ) , where A \mathcal{A} A is the forward operator. We refer to this class of methods as output space optimization methods, since this amounts to optimizing in the denoiser’s output space while holding the denoiser input fixed (Figure 2 a).
Figure 2. Overview of the differences between output space optimization methods (e.g., DDIS) (a) and our input space optimization method (b). DDIS enforces measurement consistency on a reconstruction near the denoiser’s (D θ D_\theta D θ ) output, requiring 20 optimization steps at each of its 100 noise levels. In contrast, our input space optimization jointly incorporates measurement consistency and denoising by iteratively computing the denoiser output, requiring 10 noise levels for which the number of input-space optimization steps, F ( t ) F(t) F ( t ) , is dynamically allocated using the scheduler presented in § 5.2 .
However, output space optimization can be ineffective for sparsely observed PDE inverse problems. Measurement consistency updates may leave the unobserved component of the reconstruction a 0 a_0 a 0 unchanged from the denoiser prediction, allowing errors in directions invisible to the forward operator to persist. This limitation is particularly pronounced for discontinuous a a a , whose prior can exhibit distinct modes corresponding to different discontinuity locations. When these modes differ substantially in unobserved directions, measurement-consistency updates alone may fail to correct an erroneous mode selected by the denoiser. This motivates the following research question:
Can we obtain a diffusion-based PDE inverse solver that modifies both the observed and unobserved components of the denoiser prediction?
Background
Contributions. We address the question affirmatively, showing that input space optimization , or selecting the input to the denoiser such that measurement consistency is satisfied (Figure 2 b), can effectively update unobserved components. For finite-dimensional diffusion, input-space optimization is backward-consistent sampling [1 ] , where the reconstruction is constrained to be in the denoiser’s range. Our contributions can be summarized as follows:
Theoretical analysis of output space optimization. We prove that, on a discontinuous Poisson PDE inverse problem, output space optimization methods, such as DDIS, can fail to change the unobserved components of the denoiser prediction and hence fail to recover the correct prior mode.
Input space optimization analysis, scheduling function, and algorithm. We theoretically demonstrate that input space optimization can change the unobserved component, thus obtaining less unobserved error than DDIS and recovering the correct prior mode. Furthermore, we analyze where to allocate most of the input optimization steps across the sampling process, and use this to design a scheduling function for various noise levels. Combining these, we introduce Function Space Backward-Consistent Sampling (FunBCS), our diffusion input space optimization method.
Comprehensive evaluation. We extensively evaluate our method across four smooth and discontinuous PDE inverse problems. Compared to the current state-of-the-art, our method reduces the reconstruction error by 27–64% (Figure 1 ) while running 1.4–2.1× faster. For example, on the same hardware, FunBCS at 8 seconds per sample achieves 11.8% relative ℓ 2 \ell_2 ℓ 2 error on Poisson, whereas DDIS, at best, obtains 13.7% error while running for 72 seconds (Figure 3 ).
Figure 1. Darcy reconstruction from 3% sparse solution observations (first column). The last two columns show the reconstruction error. DDIS, a SOTA output space optimization method, misplaces the discontinuities, mostly by assigning low permeability to regions where the true field is highly permeable, whereas FunBCS recovers the discontinuity structure significantly more faithfully.
Figure 3. Poisson reconstruction error with respect to the time per sample. All methods are run using the same hardware. FunBCS and DDIS use the same diffusion prior.
Background
PDE inverse problems. A partial differential equation (PDE) can be written as:
{ J a ( ⋅ ) u ( ⋅ ) = f ( ⋅ ) on Ω , u ( ⋅ ) = g ( ⋅ ) on ∂ Ω , (1) \begin{cases}
\mathcal{J}_{a(\cdot)}u(\cdot)=f(\cdot) & \text{on }\Omega,\\
u(\cdot)=g(\cdot) & \text{on }\partial\Omega, \tag*{(1)}
\end{cases} { J a ( ⋅ ) u ( ⋅ ) = f ( ⋅ ) u ( ⋅ ) = g ( ⋅ ) on Ω , on ∂ Ω , (1)
for functions u ( ⋅ ) ∈ H u(\cdot)\in\mathcal{H} u ( ⋅ ) ∈ H and a ( ⋅ ) ∈ F a(\cdot)\in\mathcal{F} a ( ⋅ ) ∈ F , where H , F \mathcal{H},\mathcal{F} H , F are separable Hilbert spaces, Ω ⊂ R d \Omega\subset\mathbb{R}^{d} Ω ⊂ R d is a domain, ∂ Ω \partial\Omega ∂ Ω is the domain boundary, and J a ( ⋅ ) \mathcal{J}_{a(\cdot)} J a ( ⋅ ) is a (potentially nonlinear) differential operator that depends on a ( ⋅ ) a(\cdot) a ( ⋅ ) . The goal of a PDE inverse problem is to reconstruct physical coefficient field a ( ⋅ ) a(\cdot) a ( ⋅ ) from sparse observations of PDE solution u ( ⋅ ) u(\cdot) u ( ⋅ ) , assuming known f ( ⋅ ) f(\cdot) f ( ⋅ ) and g ( ⋅ ) g(\cdot) g ( ⋅ ) . Specifically, we have:
u o b s ( ⋅ ) = A ( a ( ⋅ ) ) + η ( ⋅ ) , (2) u_{\mathrm{obs}}(\cdot)=\mathcal{A}(a(\cdot))+\eta(\cdot), \tag*{(2)} u obs ( ⋅ ) = A ( a ( ⋅ )) + η ( ⋅ ) , (2)
where A \mathcal{A} A is a measurement operator and η ( ⋅ ) \eta(\cdot) η ( ⋅ ) is a noise term. Letting G : F → H \mathcal{G}:\mathcal{F}\to\mathcal{H} G : F → H be the solution operator which maps coefficient fields to PDE solution fields, and O : H → H \mathcal{O}:\mathcal{H}\to\mathcal{H} O : H → H be an observation operator (e.g., a mask), we can write A = O ∘ G \mathcal{A}=\mathcal{O}\circ\mathcal{G} A = O ∘ G . Critically, u o b s ( ⋅ ) u_{\mathrm{obs}}(\cdot) u obs ( ⋅ ) often corresponds to several possible a ( ⋅ ) a(\cdot) a ( ⋅ ) , and small variations in u o b s ( ⋅ ) u_{\mathrm{obs}}(\cdot) u obs ( ⋅ ) result in drastically different a ( ⋅ ) a(\cdot) a ( ⋅ ) ; that is, A \mathcal{A} A is not injective and the inverse problem corresponding to Eq. (2) is severely ill-posed. To address this, research on PDE inverse problems often takes the Bayesian perspective [68 ] , where one assumes a prior π ( a ( ⋅ ) ) \pi(a(\cdot)) π ( a ( ⋅ )) on F \mathcal{F} F and aims to sample from the posterior π ( a ( ⋅ ) ∣ u o b s ( ⋅ ) ) \pi(a(\cdot)\mid u_{\mathrm{obs}}(\cdot)) π ( a ( ⋅ ) ∣ u obs ( ⋅ )) via Bayes’ theorem, i.e.,
π ( a ( ⋅ ) ∣ u o b s ( ⋅ ) ) ∝ π ( u o b s ( ⋅ ) ∣ a ( ⋅ ) ) π ( a ( ⋅ ) ) . \pi(a(\cdot)\mid u_{\mathrm{obs}}(\cdot))\propto\pi(u_{\mathrm{obs}}(\cdot)\mid a(\cdot))\pi(a(\cdot)). π ( a ( ⋅ ) ∣ u obs ( ⋅ )) ∝ π ( u obs ( ⋅ ) ∣ a ( ⋅ )) π ( a ( ⋅ )) .
Throughout, we consider the discretized version of the problem in Eq. (2) ; in particular, we select n n n collocation points x i ∈ Ω x_i\in\Omega x i ∈ Ω for i = 1 , … , n i=1,\ldots,n i = 1 , … , n , and evaluate only at those finitely many points1 . For example, we discretize a ( ⋅ ) a(\cdot) a ( ⋅ ) as a = ( a ( x 1 ) , … , a ( x n ) ) a=(a(x_1),\ldots,a(x_n)) a = ( a ( x 1 ) , … , a ( x n )) ; we respectively discretize u ( ⋅ ) u(\cdot) u ( ⋅ ) , u o b s ( ⋅ ) u_{\mathrm{obs}}(\cdot) u obs ( ⋅ ) , η ( ⋅ ) \eta(\cdot) η ( ⋅ ) , G \mathcal{G} G , and O \mathcal{O} O as u ∈ R n u\in\mathbb{R}^{n} u ∈ R n , u o b s , η ∈ R m u_{\mathrm{obs}},\eta\in\mathbb{R}^{m} u obs , η ∈ R m , G h : R n → R n \mathcal{G}_h:\mathbb{R}^{n}\to\mathbb{R}^{n} G h : R n → R n , and O h : R n → R m \mathcal{O}_h:\mathbb{R}^{n}\to\mathbb{R}^{m} O h : R n → R m where m ≪ n m\ll n m ≪ n . Importantly, note that G h \mathcal{G}_h G h and O h \mathcal{O}_h O h can remain nonlinear in this setting, and thus do not necessarily admit matrix representations. We thus let A h = O h G h \mathcal{A}_h=\mathcal{O}_h\mathcal{G}_h A h = O h G h . A detailed overview of our notation is provided in App. § 9 .
Function space diffusion. One important way of obtaining a prior π ( a ) \pi(a) π ( a ) for the PDE inverse problem in Eq. (2) is to set π ( a 0 ) : = π ( a ) \pi(a_0):=\pi(a) π ( a 0 ) := π ( a ) and sample a 0 ∼ π ( a 0 ) a_0\sim\pi(a_0) a 0 ∼ π ( a 0 ) by running a learned reverse diffusion process initialized with a sample from a simple distribution a T ∼ π ( a T ) a_T\sim\pi(a_T) a T ∼ π ( a T ) . Since a ( ⋅ ) a(\cdot) a ( ⋅ ) is a function, this involves training diffusion on (discretized) functions [Lim+25]. After discretization, this is equivalent to the standard diffusion process [31 ] with two slight alterations, specifically that the noise has kernel matrix K K K as its covariance instead of I I I and that K K K multiplies the score in Tweedie’s formula. More specifically, we have the variance exploding (VE) diffusion forward process [65 ] at 0 < t 0 < ⋯ < t k < ⋯ < t N = T 0<t_0<\cdots<t_k<\cdots<t_N=T 0 < t 0 < ⋯ < t k < ⋯ < t N = T , where N N N is the number of sampling steps:
a t k + 1 = a t k + σ t k + 1 2 − σ t k 2 ϵ k , k = 0 , … , N − 1 , (3) a_{t_{k+1}}=a_{t_k}+\sqrt{\sigma_{t_{k+1}}^{2}-\sigma_{t_k}^{2}}\,\epsilon_k,\qquad k=0,\ldots,N-1, \tag*{(3)} a t k + 1 = a t k + σ t k + 1 2 − σ t k 2 ϵ k , k = 0 , … , N − 1 , (3)
where ϵ k ∼ N ( 0 , K ) \epsilon_k\sim\mathcal{N}(0,K) ϵ k ∼ N ( 0 , K ) are independent across k k k . We perform reverse diffusion with respect to Tweedie’s formula given by:
D ∗ ( a t , t ) : = E [ a 0 ∣ a t ] = a t + σ t 2 K ∇ a t log p t ( a t ) . (4) D^{*}(a_t,t):=\mathbb{E}[a_0\mid a_t]=a_t+\sigma_t^{2}K\nabla_{a_t}\log p_t(a_t). \tag*{(4)} D ∗ ( a t , t ) := E [ a 0 ∣ a t ] = a t + σ t 2 K ∇ a t log p t ( a t ) . (4)
For a learned score s θ ≈ ∇ a t log p t ( a t ) s_\theta\approx\nabla_{a_t}\log p_t(a_t) s θ ≈ ∇ a t log p t ( a t ) [65 ] , we denote the denoiser by D θ ≈ E [ a 0 ∣ a t ] D_\theta\approx\mathbb{E}[a_0\mid a_t] D θ ≈ E [ a 0 ∣ a t ] . We provide a more detailed formal characterization of function space diffusion in App. § 10 .
Diffusion PDE inverse solvers. Diffusion models [64 ] are successful at modeling high-dimensional priors [56 ] , including in function spaces [Lim+25]. Thus, several diffusion solvers have been developed for PDE inverse problems, with standard [33 ] or function space [78 , 45 ] diffusion priors. At a sampling step t k t_k t k , these solvers perform two key operations: (D) using the diffusion denoiser to estimate the coefficient field and (M) enforcing measurement consistency. We use the term output space optimization to describe methods where (D) and (M) are disjoint , since this amounts to optimizing in the output space of the denoiser while leaving the denoiser input fixed. From this perspective, DiffusionPDE [33 ] , FunDPS [78 ] , and Decoupled Diffusion Inverse Solver (DDIS) [45 ] are all output space optimization procedures. We discuss these solvers in further detail in App. § 13 . We provide an extensive related work section in App. § 11 covering classical numerical solvers, diffusion inverse solvers and theory, approaches to updating unobserved components, and guidance scheduling.
Analysis of Output Space Optimization Sampling
We instantiate DDIS as an example output space optimization method for which we provide a discontinuous PDE inverse problem, demonstrating that unobserved differences in prior modes arise naturally. Consequently, DDIS does not alter the denoiser’s unobserved component, and hence fails to recover the correct prior mode. All proofs are deferred to App. § 19 .
To sample from π ( a ∣ u o b s ) \pi(a \mid u_{\mathrm{obs}}) π ( a ∣ u obs ) , diffusion inverse solvers, as discussed earlier, do the following at timestep t k t_k t k with noisy instance a t k a_{t_k} a t k :
(M) enforce measurement consistency on the reconstruction a 0 ( t k ) ≈ a ^ 0 ( t k ) a_0^{(t_k)} \approx\hat{a}_0^{(t_k)} a 0 ( t k ) ≈ a ^ 0 ( t k ) , i.e., incorporate likelihood information π ( u o b s ∣ a ) \pi(u_{\mathrm{obs}} \mid a) π ( u obs ∣ a ) so that u o b s ≈ A h ( a 0 ( t k ) ) u_{\mathrm{obs}} \approx\mathcal{A}_h(a_0^{(t_k)}) u obs ≈ A h ( a 0 ( t k ) ) .
The defining characteristic of output space inverse solvers is that the operations (D) and (M) are performed separately at time t k t_k t k . Notably, output space inverse solvers may perform other operations before, between, or after (D) and (M). Next, we formalize the DDIS sampler. Fix consecutive diffusion times t k > t k − 1 t_k > t_{k-1} t k > t k − 1 . DDIS assumes Gaussian likelihood at timestep 0, with γ > 0 \gamma> 0 γ > 0 , yielding
p ( u o b s ∣ a 0 ) ∝ exp { − ∥ A h a 0 − u o b s ∥ 2 2 γ 2 } . p(u_{\mathrm{obs}} \mid a_0) \propto\exp\left\{-\frac{\lVert\mathcal{A}_h a_0-u_{\mathrm{obs}}\rVert^2}{2\gamma^2}\right\}. p ( u obs ∣ a 0 ) ∝ exp { − 2 γ 2 ∥ A h a 0 − u obs ∥ 2 } .
At time t k t_k t k , DDIS approximates the denoising law π ( a 0 ∣ a t k ) \pi(a_0 \mid a_{t_k}) π ( a 0 ∣ a t k ) with π D ( a 0 ∣ a t k ( D ) ) \pi_D(a_0 \mid a_{t_k}^{(D)}) π D ( a 0 ∣ a t k ( D ) ) which has density q D ( a 0 ∣ a t k ( D ) ) = N ( a 0 ; a ^ 0 ( t k ) , r t k 2 I ) q_D(a_0 \mid a_{t_k}^{(D)}) = \mathcal{N}(a_0;\hat{a}_0^{(t_k)},r_{t_k}^2 I) q D ( a 0 ∣ a t k ( D ) ) = N ( a 0 ; a ^ 0 ( t k ) , r t k 2 I ) with a ^ 0 ( t k , D ) : = D θ ( a t k , t k ) \hat{a}_0^{(t_k,D)} := D_\theta(a_{t_k},t_k) a ^ 0 ( t k , D ) := D θ ( a t k , t k ) , where superscript (D) denotes DDIS. Setting r t k = σ t k r_{t_k}=\sigma_{t_k} r t k = σ t k gives:
q D , t k ( a 0 ∣ a t k ( D ) , u o b s ) ∝ exp { − ∥ A h a 0 − u o b s ∥ 2 2 γ 2 − ∥ a 0 − a ^ 0 ( t k , D ) ∥ 2 2 σ t k 2 } . (5) q_{D,t_k}(a_0 \mid a_{t_k}^{(D)},u_{\mathrm{obs}}) \propto\exp\left\{-\frac{\lVert\mathcal{A}_h a_0-u_{\mathrm{obs}}\rVert^2}{2\gamma^2}-\frac{\lVert a_0-\hat{a}_0^{(t_k,D)}\rVert^2}{2\sigma_{t_k}^2}\right\}. \tag*{(5)} q D , t k ( a 0 ∣ a t k ( D ) , u obs ) ∝ exp { − 2 γ 2 ∥ A h a 0 − u obs ∥ 2 − 2 σ t k 2 ∥ a 0 − a ^ 0 ( t k , D ) ∥ 2 } . (5)
The next iteration of DDIS is given by:
a t k − 1 ( D ) = a ~ 0 ( t k ) + σ t k ε k ( D ) , a ~ 0 ( t k ) ∼ q D , t k ( ⋅ ∣ a t k ( D ) , u o b s ) , ε k ( D ) ∼ N ( 0 , K ) , (6) a_{t_{k-1}}^{(D)}=\tilde{a}_0^{(t_k)}+\sigma_{t_k}\varepsilon_k^{(D)},\qquad\tilde{a}_0^{(t_k)}\sim q_{D,t_k}(\cdot\mid a_{t_k}^{(D)},u_{\mathrm{obs}}),\quad\varepsilon_k^{(D)}\sim\mathcal{N}(0,\mathbf{K}), \tag*{(6)} a t k − 1 ( D ) = a ~ 0 ( t k ) + σ t k ε k ( D ) , a ~ 0 ( t k ) ∼ q D , t k ( ⋅ ∣ a t k ( D ) , u obs ) , ε k ( D ) ∼ N ( 0 , K ) , (6)
where ε k ( D ) \varepsilon_k^{(D)} ε k ( D ) are drawn independently. In practice, DDIS uses Langevin dynamics [59 ] to sample from Eq. (5) for use in Eq. (6) at every diffusion timestep t k t_k t k . In particular, DDIS finds a ~ 0 ( t k ) \tilde{a}_0^{(t_k)} a ~ 0 ( t k ) close to a ^ 0 ( t k , D ) \hat{a}_0^{(t_k,D)} a ^ 0 ( t k , D ) , enforces measurement consistency on a 0 a_0 a 0 , and then renoises to t k − 1 t_{k-1} t k − 1 . This is run until time t 0 t_0 t 0 to obtain a final reconstructed physical coefficient field.
Next, towards explaining why output space optimization can fail, we provide an example PDE inverse problem on which we will show that DDIS fails:
u ′ ′ ( ⋅ ) = a ( ⋅ ) , on ( 0 , 1 ) , u ( 1 ) = u ( 0 ) = 0. (7) u''(\cdot)=a(\cdot),\ \text{ on }(0,1),\qquad u(1)=u(0)=0. \tag*{(7)} u ′′ ( ⋅ ) = a ( ⋅ ) , on ( 0 , 1 ) , u ( 1 ) = u ( 0 ) = 0. (7)
We now assume that a ( ⋅ ) a(\cdot) a ( ⋅ ) has a single discontinuity at z ∈ ( 0 , 1 ) z\in(0,1) z ∈ ( 0 , 1 ) , so that admissible coefficient fields are { a ( ⋅ ) ∈ L 2 ( 0 , 1 ) : a ( x ) = a ( 1 ) 1 ( 0 , z ) + a ( 2 ) 1 [ z , 1 ] , z ∈ ( 0 , 1 ) } \{a(\cdot)\in L^2(0,1):a(x)=a^{(1)}\mathbf{1}_{(0,z)}+a^{(2)}\mathbf{1}_{[z,1]},\ z\in(0,1)\} { a ( ⋅ ) ∈ L 2 ( 0 , 1 ) : a ( x ) = a ( 1 ) 1 ( 0 , z ) + a ( 2 ) 1 [ z , 1 ] , z ∈ ( 0 , 1 )} , where L 2 L^2 L 2 are square-integrable functions. We assume that the coefficients a ( 1 ) a^{(1)} a ( 1 ) , a ( 2 ) a^{(2)} a ( 2 ) are known beforehand so that the uncertainty is only over the discontinuity location; upon reconstruction one can place a ( 1 ) a^{(1)} a ( 1 ) , a ( 2 ) a^{(2)} a ( 2 ) on either side of z z z . Furthermore, we consider two physical coefficient fields a − ( ⋅ ) a_-(\cdot) a − ( ⋅ ) and a + ( ⋅ ) a_+(\cdot) a + ( ⋅ ) with respective distinct discontinuity locations z − ≠ z + z_-\ne z_+ z − = z + . With discretization at n n n collocation points x i ∈ ( 0 , 1 ) x_i\in(0,1) x i ∈ ( 0 , 1 ) , consider a prior which weights these two discontinuity locations equally, i.e.,
π ( a 0 ) = 1 2 δ a − + 1 2 δ a + . \pi(a_0)=\frac{1}{2}\delta_{a_-}+\frac{1}{2}\delta_{a_+}. π ( a 0 ) = 2 1 δ a − + 2 1 δ a + .
In this setting, we consider a noiseless Bayesian inverse problem per Eq. (2) given by u o b s = O G ( a + ) u_{\mathrm{obs}}=O G(a_+) u obs = O G ( a + ) , where G G G is a linear solution operator and O O O is a selection matrix. Thus, given u o b s u_{\mathrm{obs}} u obs , a successful diffusion inverse solver should recover a + a_+ a + at the end of the sampling process. Note that while the prior on a + a_+ a + and a − a_- a − is not exactly learnable by a diffusion model, it can be approximated by a mixture of Gaussians with small variance. The noiseless setting of η = 0 \eta=0 η = 0 matches both our experiments in § 6 and the DDIS experiments in Lin, Yao, et al. [45 ] .
Note that this setting is a linear analogue of the nonlinear Darcy inverse problem in Figure 1 where we assume that a ( 1 ) a^{(1)} a ( 1 ) and a ( 2 ) a^{(2)} a ( 2 ) are known, and find the correct discontinuity location for linear Poisson. We simplify this setting by assuming only two possible discontinuity locations; we find that this is sufficient to observe the limitations of output space optimization methods, and the benefits of input space optimization (which we will discuss in the upcoming sections).
Remark 1. Let A : = O G A:=OG A := O G be the forward operator and P ker A P_{\ker A} P k e r A be the orthogonal projection matrix onto its nullspace. We prove in Prop. 8, described in App. § 19 .11, that the setting described above yields that the measurements differ (A a + ≠ A a − Aa_+\ne Aa_- A a + = A a − ) and that the nullspace components differ (P ker A a + ≠ P ker A a − P_{\ker A}a_+\ne P_{\ker A}a_- P k e r A a + = P k e r A a − ) with high probability. We thus take these as assumptions throughout.
In the setting above, we find that output space optimization can do no better than the denoiser in unobserved error. This issue is critical if the denoiser chooses the incorrect prior mode. Formally:
Proposition 1 (DDIS preserves denoiser nullspace component). Fix t k > t k − 1 t_k>t_{k-1} t k > t k − 1 . Suppose A a + ≠ A a − Aa_+\ne Aa_- A a + = A a − and P ker A a + ≠ P ker A a − P_{\ker A}a_+\ne P_{\ker A}a_- P k e r A a + = P k e r A a − and let a ˉ D , t k − 1 : = E [ a t k − 1 ( D ) ∣ a t k ( D ) , u o b s ] \bar{a}_{D,t_{k-1}}:=\mathbb{E}[a_{t_{k-1}}^{(D)}\mid a_{t_k}^{(D)},u_{\mathrm{obs}}] a ˉ D , t k − 1 := E [ a t k − 1 ( D ) ∣ a t k ( D ) , u obs ] , where a t k − 1 ( D ) , a t k ( D ) a_{t_{k-1}}^{(D)},a_{t_k}^{(D)} a t k − 1 ( D ) , a t k ( D ) are given by Eq. (6) under the exact denoiser D ∗ ( ⋅ , t k ) D^*(\cdot,t_k) D ∗ ( ⋅ , t k ) in Eq. (4) . We then have that:
∥ P ker A ( a ˉ D , t k − 1 − a + ) ∥ 2 = ∥ P ker A ( D ∗ ( a t k ( D ) , t k ) − a + ) ∥ 2 . (8) \lVert P_{\ker A}(\bar{a}_{D,t_{k-1}}-a_+)\rVert_2=\lVert P_{\ker A}(D^*(a_{t_k}^{(D)},t_k)-a_+)\rVert_2. \tag*{(8)} ∥ P k e r A ( a ˉ D , t k − 1 − a + ) ∥ 2 = ∥ P k e r A ( D ∗ ( a t k ( D ) , t k ) − a + ) ∥ 2 . (8)
Remark 2. Per Eq. (8) , DDIS at step t k − 1 t_{k-1} t k − 1 does not grow any closer in nullspace to a + a_+ a + than the denoiser does at step t k t_k t k . This is precisely because the measurement consistency error in Eq. (5) does not update the unobserved components, while the second term aligns the reconstruction with the denoiser. While the reconstruction a ~ 0 ( t k ) \tilde{a}_0^{(t_k)} a ~ 0 ( t k ) influences the denoiser input at the next diffusion timestep after renoising, this merely gives the denoiser another chance to correct itself, which is not guaranteed. Consequently, if the denoiser remains mistaken at later timesteps, particularly near the end of the reverse process, the corresponding nullspace error may persist in the final reconstruction. We provide experimental validation for this on Darcy flow in § 6 .
We note that in practice DDIS uses the probability flow ODE instead of the denoiser; per Lemma 9 in App. § 19 .§ 1 , the above Prop. 1 still holds in this case. Prop. 1 immediately yields that DDIS fails to recover a + a_{+} a + more generally:
Corollary 1 (DDIS does not recover a + a_{+} a + ). Fix t k > t k − 1 t_k > t_{k-1} t k > t k − 1 . With the same assumptions as Prop. 1, let k t k ( v ) = P ( a 0 = a + ∣ a t k = v ) k_{t_k}(v) = \mathbb{P}(a_0 = a_{+} \mid a_{t_k} = v) k t k ( v ) = P ( a 0 = a + ∣ a t k = v ) be the regular conditional probability of recovering the correct a + a_{+} a + . Then, this probability is well-defined and we have that:
∥ a ˉ D , t k − 1 − a + ∥ 2 ≥ ( 1 − k t k ( a t k ( D ) ) ) ∥ P ker A d ∥ 2 > 0. (9) \lVert\bar{a}_{D,t_{k-1}} - a_{+} \rVert_2 \geq\left(1-k_{t_k}\left(a_{t_k}^{(D)}\right)\right)\lVert P_{\ker A}d\rVert_2 > 0. \tag*{(9)} ∥ a ˉ D , t k − 1 − a + ∥ 2 ≥ ( 1 − k t k ( a t k ( D ) ) ) ∥ P k e r A d ∥ 2 > 0. (9)
Remark 3. Note that Cor. 1 holds for t k t_k t k arbitrary, including at the end of the sampling process, and that Eq. (9) continues to hold as σ t 0 → 0 \sigma_{t_0} \to0 σ t 0 → 0 . Furthermore, as discussed in Remark 2, DDIS’ inability to recover the true a + a_{+} a + is exacerbated when the wrong mode is preferred (i.e., when k t k ( a t k ( D ) ) < 1 2 k_{t_k}(a_{t_k}^{(D)}) < \frac{1}{2} k t k ( a t k ( D ) ) < 2 1 ), particularly near the end of the reverse process; we confirm this empirically on Darcy flow in § 6 .
Input Space Optimization Sampling in Function Space
In this section, we propose merging steps (D) and (M) discussed above, iteratively denoising and finding the input to the denoiser such that measurement consistency holds. We demonstrate theoretically that this scheme does not fail in the same Poisson setting of the previous section. Subsequently, we provide insights and a procedure on how to select the number of optimization steps for the input at each sampling iteration, and present the FunBCS algorithm. To motivate input space optimization, we note the following fact about the denoiser in the setting of § 4 :
Proposition 2 (Denoiser nullspace component). Suppose A a + ≠ A a − Aa_{+} \ne Aa_{-} A a + = A a − and P ker A a + ≠ P ker A a − P_{\ker A}a_{+} \ne P_{\ker A}a_{-} P k e r A a + = P k e r A a − hold. Let d = a + − a − d = a_{+} - a_{-} d = a + − a − be the difference between the two prior modes, and v v v be a fixed denoiser input. We then have:
D ∗ ( v , t k ) = a − + k t k ( v ) d , P ker A D ∗ ( v , t k ) = P ker A a − + k t k ( v ) P ker A d . (10) D^{*}(v,t_k) = a_{-} + k_{t_k}(v)d,\qquad P_{\ker A}D^{*}(v,t_k) = P_{\ker A}a_{-} + k_{t_k}(v)P_{\ker A}d. \tag*{(10)} D ∗ ( v , t k ) = a − + k t k ( v ) d , P k e r A D ∗ ( v , t k ) = P k e r A a − + k t k ( v ) P k e r A d . (10)
Per Prop. 2 , the unobserved component of D ∗ ( ⋅ , t k ) D^{*}(\cdot,t_k) D ∗ ( ⋅ , t k ) can be changed by updating k t ( v ) k_t(v) k t ( v ) ; since k t ( ⋅ ) k_t(\cdot) k t ( ⋅ ) is a function of the denoiser input, it suffices to optimize in the input space of the denoiser. Thus, to enable input space optimization, at every t k t_k t k , we propose solving:
arg min v ∥ O h ∘ G h , ϕ ∘ D θ ( v , t k ) − u o b s ∥ 2 2 , A h = O h ∘ G h , ϕ , (11) \underset{v}{\operatorname{arg\,min}}\ \lVert\mathcal{O}_h \circ\mathcal{G}_{h,\phi} \circ D_{\theta}(v,t_k) - u_{\mathrm{obs}} \rVert_2^2,\qquad\mathcal{A}_h = \mathcal{O}_h \circ\mathcal{G}_{h,\phi}, \tag*{(11)} v arg min ∥ O h ∘ G h , ϕ ∘ D θ ( v , t k ) − u obs ∥ 2 2 , A h = O h ∘ G h , ϕ , (11)
for a neural surrogate G h , ϕ \mathcal{G}_{h,\phi} G h , ϕ , since G h \mathcal{G}_h G h may be difficult to differentiate. Using superscript ( B ) (B) ( B ) for FunBCS, consider the gradient flow on v v v with respect to the objective in Eq. (11) with γ > 0 \gamma> 0 γ > 0 and optimization time s ≥ 0 s \geq0 s ≥ 0 :
d v ( s ) d s = − 1 2 γ 2 ∇ v ∥ O h ∘ G h , ϕ ∘ D θ ( v , t k ) − u o b s ∥ 2 2 ∣ v = v ( s ) , v ( 0 ) = a t k ( B ) . (12) \frac{\mathrm{d}v(s)}{\mathrm{d}s} = -\left.\frac{1}{2\gamma^2}\nabla_v\left\lVert\mathcal{O}_h \circ\mathcal{G}_{h,\phi} \circ D_{\theta}(v,t_k) - u_{\mathrm{obs}}\right\rVert_2^2\right|_{v=v(s)},\qquad v(0) = a_{t_k}^{(B)}. \tag*{(12)} d s d v ( s ) = − 2 γ 2 1 ∇ v ∥ O h ∘ G h , ϕ ∘ D θ ( v , t k ) − u obs ∥ 2 2 v = v ( s ) , v ( 0 ) = a t k ( B ) . (12)
Remark 4. After discretizing Eq. (12) , this amounts to iteratively denoising and optimizing the input, thus merging steps (D) and (M). Under the exact denoiser, the solution of Eq. (12) exists and is unique per Lemma 6 in App. § 19 .§ 1 , and the probability k t k ( v ( s ) ) k_{t_k}(v(s)) k t k ( v ( s )) is monotonically increasing in s s s per Lemma 7 in App. § 19 .§ 1 . Additionally, input space optimization is equivalent to preconditioned output space optimization, with the preconditioner (which we further discuss in App. § 18 )
∇ v D ∗ ( v , t k ) ∇ v D ∗ ( v , t k ) T ∣ v = v ( s ) . \nabla_v D^{*}(v,t_k)\nabla_v D^{*}(v,t_k)^{\mathsf{T}}\big|_{v=v(s)}. ∇ v D ∗ ( v , t k ) ∇ v D ∗ ( v , t k ) T v = v ( s ) .
Solving Eq. (11) with Eq. (12) and renoising yields the update rule at a diffusion time t k t_k t k and optimization time s s s , for ϵ k ( B ) \epsilon_k^{(B)} ϵ k ( B ) drawn independently:
a t k − 1 ( B ) = D θ ( v ( s ) , t k ) + σ t k − 1 ϵ k ( B ) , ϵ k ( B ) ∼ N ( 0 , K ) . (13) a_{t_{k-1}}^{(B)} = D_{\theta}(v(s),t_k) + \sigma_{t_{k-1}}\epsilon_k^{(B)},\qquad\epsilon_k^{(B)} \sim\mathcal{N}(0,K). \tag*{(13)} a t k − 1 ( B ) = D θ ( v ( s ) , t k ) + σ t k − 1 ϵ k ( B ) , ϵ k ( B ) ∼ N ( 0 , K ) . (13)
Algorithm 1 Function Space Backward-Consistent Sampling (FunBCS)
Require: observations u o b s u_{\mathrm{obs}} u obs ; observation operator O \mathcal{O} O ; denoiser D θ D_\theta D θ ; neural operator surrogate G h , ϕ \mathcal{G}_{h,\phi} G h , ϕ ; diffusion schedule { σ t k } \{\sigma_{t_k}\} { σ t k } ; optimization step function F ( t k ) F(t_k) F ( t k ) ; Adam step size α \alpha α .
a t N ( B ) ← σ t N ϵ N , ϵ N ∼ N ( 0 , K ) a_{t_N}^{(B)} \leftarrow\sigma_{t_N}\epsilon_N,\quad\epsilon_N \sim\mathcal{N}(0,K) a t N ( B ) ← σ t N ϵ N , ϵ N ∼ N ( 0 , K ) ▷ initial latent drawn from the training GRF
for k = N , … , 1 k=N,\ldots,1 k = N , … , 1 do
ν 0 ← a t k ( B ) \nu_0 \leftarrow a_{t_k}^{(B)} ν 0 ← a t k ( B ) ▷ warm start at the current noisy state
for s = 0 , … , F ( t k ) − 1 s=0,\ldots,F(t_k)-1 s = 0 , … , F ( t k ) − 1 do
J ← 1 2 γ 2 ∥ O h ∘ G h , ϕ ( D θ ( ν s , σ t k ) ) − u o b s ∥ 2 2 \mathcal{J} \leftarrow\frac{1}{2\gamma^2}\left\|\mathcal{O}_h\circ\mathcal{G}_{h,\phi}\left(D_\theta(\nu_s,\sigma_{t_k})\right)-u_{\mathrm{obs}}\right\|_2^2 J ← 2 γ 2 1 ∥ O h ∘ G h , ϕ ( D θ ( ν s , σ t k ) ) − u obs ∥ 2 2 ▷ compute denoiser output (D)
ν s + 1 ← AdamStep α ( ν s , ∇ ν s J ) \nu_{s+1}\leftarrow\operatorname{AdamStep}_{\alpha}(\nu_s,\nabla_{\nu_s}\mathcal{J}) ν s + 1 ← AdamStep α ( ν s , ∇ ν s J ) ▷ enforce measurement consistency (M)
end for
a t k − 1 ( B ) ← D θ ( ν F ( t k ) , σ t k ) + σ t k − 1 ϵ K , ϵ K ∼ N ( 0 , K ) a_{t_{k-1}}^{(B)}\leftarrow D_\theta\left(\nu_{F(t_k)},\sigma_{t_k}\right)+\sigma_{t_{k-1}}\epsilon_K,\quad\epsilon_K\sim\mathcal{N}(0,K) a t k − 1 ( B ) ← D θ ( ν F ( t k ) , σ t k ) + σ t k − 1 ϵ K , ϵ K ∼ N ( 0 , K ) ▷ renoise
end for
return a t 0 ( B ) a_{t_0}^{(B)} a t 0 ( B )
Analysis of Input Space Optimization
To analyze input space optimization, we revisit the setting of § 4 , where we assume access to the exact operator G G G . We begin by analyzing how the recurrence in Eq. (13) changes the nullspace error:
Proposition 3 (Input space optimization reduces nullspace error better). Under the same assumptions as Prop. 1, we have that E [ a t k − 1 ( B ) ∣ a t k ( B ) , u o b s ] = D ∗ ( ν ( s ) , t k ) \mathbb{E}[a_{t_{k-1}}^{(B)}\mid a_{t_k}^{(B)},u_{\mathrm{obs}}]=D^*(\nu(s),t_k) E [ a t k − 1 ( B ) ∣ a t k ( B ) , u obs ] = D ∗ ( ν ( s ) , t k ) and for any s > 0 s>0 s > 0 :
∥ P ker A ( D ∗ ( ν ( s ) , t k ) − a + ) ∥ 2 ≤ ∥ P ker A ( D ∗ ( a t k ( B ) , t k ) − a + ) ∥ 2 . (14) \left\|P_{\ker A}\left(D^*(\nu(s),t_k)-a_+\right)\right\|_2
\leq
\left\|P_{\ker A}\left(D^*(a_{t_k}^{(B)},t_k)-a_+\right)\right\|_2 . \tag*{(14)} ∥ P k e r A ( D ∗ ( ν ( s ) , t k ) − a + ) ∥ 2 ≤ P k e r A ( D ∗ ( a t k ( B ) , t k ) − a + ) 2 . (14) Additionally, there exists an s ∗ > 0 s^*>0 s ∗ > 0 such that s ≥ s ∗ s\geq s^* s ≥ s ∗ yields:
∥ P ker A ( D ∗ ( ν ( s ) , t k ) − a + ) ∥ 2 ≤ ∥ P ker A ( a ˉ D , t k − 1 − a + ) ∥ 2 . (15) \left\|P_{\ker A}\left(D^*(\nu(s),t_k)-a_+\right)\right\|_2
\leq
\left\|P_{\ker A}\left(\bar{a}_{D,t_{k-1}}-a_+\right)\right\|_2 . \tag*{(15)} ∥ P k e r A ( D ∗ ( ν ( s ) , t k ) − a + ) ∥ 2 ≤ ∥ P k e r A ( a ˉ D , t k − 1 − a + ) ∥ 2 . (15)
Remark 5. As expected per our discussion in Prop. 2, the input space optimization recurrence in Eq. (13) contracts nullspace error better than both the denoiser evaluated at the previous iterate and DDIS, since it can update k t ( ν ) k_t(\nu) k t ( ν ) . We demonstrate Prop. 3 empirically in App. § 17 .§ 4 .
Furthermore, input space optimization can recover the correct a + a_+ a + in this PDE inverse setting:
Theorem 1 (Input space optimization can recover a + a_+ a + ). Consider diffusion times t k > t k − 1 t_k>t_{k-1} t k > t k − 1 . Under the same assumptions as Prop. 1, we have that:
π s ( a t k − 1 ( B ) ∣ a t k ( B ) , u o b s ) = N ( D ∗ ( ν ( s ) , t k ) , σ t k − 1 2 K ) ⇒ N ( a + , σ t k − 1 2 K ) , as s → ∞ . (16) \pi_s\left(a_{t_{k-1}}^{(B)}\mid a_{t_k}^{(B)},u_{\mathrm{obs}}\right)
=
\mathcal{N}\left(D^*(\nu(s),t_k),\sigma_{t_{k-1}}^2K\right)
\Rightarrow
\mathcal{N}\left(a_+,\sigma_{t_{k-1}}^2K\right),
\quad\text{as }s\to\infty. \tag*{(16)} π s ( a t k − 1 ( B ) ∣ a t k ( B ) , u obs ) = N ( D ∗ ( ν ( s ) , t k ) , σ t k − 1 2 K ) ⇒ N ( a + , σ t k − 1 2 K ) , as s → ∞. (16) At the final step t k − 1 = t 0 t_{k-1}=t_0 t k − 1 = t 0 the limiting law converges in distribution to δ a + \delta_{a_+} δ a + as σ t 0 → 0 \sigma_{t_0}\to0 σ t 0 → 0 .
Thus, for a multimodal prior and with differences between prior modes partially lying in measurement nullspace, which arises naturally in the discontinuous PDE inverse problem setting per Prop. 8 in App. § 19 .11, input space optimization can significantly outperform output optimization. We note that this happens regardless of whether the denoiser begins by preferring the wrong mode; we provide experimental validation for this on Darcy flow in § 6 . The resulting algorithm not only provides a mechanism to change the unobserved components of the denoiser prediction (as we theoretically support), but also reduces the need for a large number of sampling steps as we show in our experimental results in § 6 .
Allocating Input Space Optimization Steps Across Noise Levels
In this subsection, we address the question of how many measurement consistency steps we should take per one noise level (or sampling step). Let F ( t k ) F(t_k) F ( t k ) denote the number of gradient flow steps taken at noise level t k t_k t k , so that the sampler takes M = ∑ k = 1 N F ( t k ) M = \sum_{k=1}^{N} F(t_k) M = ∑ k = 1 N F ( t k ) steps in total. Every such step differentiates through the denoiser, so this allocation sets the cost of the sampler.
To make our sampler more efficient, we ask how a fixed budget of steps should be distributed across noise levels, and we answer in the setting of § 4 . We begin with the case in which the sampler leans towards the wrong prior mode and a noise level receives no optimization steps at all. In particular, for t k + 1 > t k t_{k+1} > t_k t k + 1 > t k , we let
κ t k + 1 ( a t k + 1 ( B ) ) < 1 2 − δ , for δ ∈ ( 0 , 1 / 2 ) , and a t k ( B ) = D ∗ ( a t k + 1 ( B ) , t k + 1 ) + σ t k ϵ k ( B ) . \kappa_{t_{k+1}}\left(a_{t_{k+1}}^{(B)}\right) < \frac{1}{2} - \delta, \quad\text{for } \delta\in(0,1/2), \quad\text{and} \quad a_{t_k}^{(B)} = D^*\left(a_{t_{k+1}}^{(B)},t_{k+1}\right) + \sigma_{t_k}\epsilon_k^{(B)}. κ t k + 1 ( a t k + 1 ( B ) ) < 2 1 − δ , for δ ∈ ( 0 , 1/2 ) , and a t k ( B ) = D ∗ ( a t k + 1 ( B ) , t k + 1 ) + σ t k ϵ k ( B ) .
We can then characterize the number of gradient flow steps necessary to escape to the correct mode in the subsequent diffusion step t k t_k t k as follows:
Proposition 4 (Time explosion with no optimization steps). Consider the setting of § 5.2 with A a + ≠ A a − A_{a+} \ne A_{a-} A a + = A a − and P ker A a + ≠ P ker A a − P_{\ker A_{a+}} \ne P_{\ker A_{a-}} P k e r A a + = P k e r A a − . Let v t k ( s ) v_{t_k}(s) v t k ( s ) solve Eq. (12) and define the hitting time τ t k : = inf { s ≥ 0 : κ t k ( v t k ( s ) ) ≥ 1 2 } \tau_{t_k} := \inf\{s \ge0 : \kappa_{t_k}(v_{t_k}(s)) \ge\frac{1}{2}\} τ t k := inf { s ≥ 0 : κ t k ( v t k ( s )) ≥ 2 1 } . Then, for constants Q , C > 0 Q,C > 0 Q , C > 0 , we have that:
P ( τ t k ≥ σ t k 4 C [ exp ( Q δ 2 σ t k 2 ) − 1 ] | a t k + 1 ( B ) ) ≥ 1 − exp ( − Q δ 2 8 σ t k 2 ) . (17) \mathbb{P}\left(\tau_{t_k} \ge\frac{\sigma_{t_k}^{4}}{C}\left[\exp\left(\frac{Q\delta}{2\sigma_{t_k}^{2}}\right)-1\right] \,\middle|\, a_{t_{k+1}}^{(B)}\right) \ge1-\exp\left(-\frac{Q\delta^{2}}{8\sigma_{t_k}^{2}}\right). \tag*{(17)} P ( τ t k ≥ C σ t k 4 [ exp ( 2 σ t k 2 Q δ ) − 1 ] a t k + 1 ( B ) ) ≥ 1 − exp ( − 8 σ t k 2 Q δ 2 ) . (17)
Remark 6. For fixed δ > 0 \delta> 0 δ > 0 , the lower bound on the hitting time tends to ∞ \infty ∞ exponentially, with probability tending to 1 as σ t k → 0 \sigma_{t_k} \to0 σ t k → 0 . That is, a lean towards the wrong mode that is not corrected with input space optimization steps can result in an exponentially larger cost to correct in later steps. We conclude that we should retain a positive number of optimization steps to avoid this critical scenario.
We next consider at which noise level(s) to allocate most of the gradient flow steps in our method. To address this, we allow the noise standard deviation σ > 0 \sigma> 0 σ > 0 to vary continuously and consequently use σ \sigma σ , in place of t k t_k t k , to index. We then fix a single denoiser input leaning to the wrong mode, and see where the minimal time to escape to the correct mode is. Formally, we fix an input v ∗ ∈ R n v_* \in\mathbb{R}^{n} v ∗ ∈ R n satisfying κ σ ( v ∗ ) < 1 2 \kappa_{\sigma}(v_*) < \frac{1}{2} κ σ ( v ∗ ) < 2 1 , and compute the fastest hitting time across σ \sigma σ :
Proposition 5 (Selection window). Under the assumptions of Prop. 4, let w σ ( s ) w_{\sigma}(s) w σ ( s ) denote κ σ ( v ( s ) ) \kappa_{\sigma}(v(s)) κ σ ( v ( s )) for v ( s ) v(s) v ( s ) a solution to Eq. (12) at noise level σ \sigma σ with initialization v ∗ v_* v ∗ , and define τ ( σ ) : = inf { s ≥ 0 : w σ ( s ) ≥ 1 2 } \tau(\sigma) := \inf\{s \ge0 : w_{\sigma}(s) \ge\frac{1}{2}\} τ ( σ ) := inf { s ≥ 0 : w σ ( s ) ≥ 2 1 } . Then, there exist σ l o w , σ h i g h ∈ ( 0 , ∞ ) \sigma_{\mathrm{low}},\sigma_{\mathrm{high}} \in(0,\infty) σ low , σ high ∈ ( 0 , ∞ ) and σ ⋆ ∈ [ σ l o w , σ h i g h ] \sigma^{\star} \in[\sigma_{\mathrm{low}},\sigma_{\mathrm{high}}] σ ⋆ ∈ [ σ low , σ high ] such that τ ( σ ⋆ ) = min σ > 0 τ ( σ ) \tau(\sigma^{\star}) = \min_{\sigma>0}\tau(\sigma) τ ( σ ⋆ ) = min σ > 0 τ ( σ ) .
Remark 7. At very high noise levels, the denoiser is undecided between the two modes, but its output responds only weakly to its input, so the gradient flow moves prohibitively slowly. At very low noise levels, the denoiser responds strongly to input changes, but it has already committed to the wrong mode. The correct prior mode is therefore selected most cheaply at intermediate noise levels, inside an interval [ σ l o w , σ h i g h ] [\sigma_{\mathrm{low}},\sigma_{\mathrm{high}}] [ σ low , σ high ] that we call the selection window . By our experiments in § 6 with our scheduler described in App. § 15 , we find this generalizes across PDEs.
Together, the two propositions constrain how a budget of optimization steps should be distributed. By Prop. 4, every noise level must retain a positive number of steps, so that a lean towards the wrong mode is never carried uncorrected into the lower noise levels. By Prop. 5, the remaining steps are best spent inside the selection window. We therefore treat the total number of optimization steps M M M as a budget, which a scheduling function allocates across noise levels by choosing F ( t k ) F(t_k) F ( t k ) , which keeps a floor of steps at every level and concentrates the rest in a computed selection window, with further details in App. § 15 . At a fixed budget, this moves steps to where they matter; at a smaller budget, it removes the steps that matter least.
Algorithm. Our sampler is given in Algorithm 1. Equation (13) yields backward-consistent sampling, but not in the finite-dimensional regime as in Alkhouri, Liang, et al. [1 ] . This means that the reconstruction a 0 ( t k ) a_0^{(t_k)} a 0 ( t k ) before renoising is exactly the output of the denoiser, rather than approximately.
Experiments
Setup. We evaluate on four PDE inverse problems, each at a resolution of 128 2 128^2 12 8 2 points: Poisson , Helmholtz , Navier–Stokes (NS) and Darcy flow, each observed at 500 randomly placed points of the solution field (3% of the grid) without noise following [45 ] . We report the relative ℓ 2 \ell_2 ℓ 2 error of the recovered coefficient field in percent and the spectral energy error E s E_s E s averaged across 100 inference samples. FunBCS uses N = 10 N=10 N = 10 noise levels (sampling steps) with two scheduling schemes, Accuracy mode (AC) and Efficiency mode (EF). See App. § 15 for details. Other experimental details are given in App. § 14 .
Main reconstruction results. Per Table 1 , our sampler attains the lowest reconstruction error on every task when compared to baselines. Relative to DDIS, the error falls by 39% on Poisson, 41% on Helmholtz, 30% on Navier–Stokes, and 69% on Darcy. Box plots of the Table 1 errors are visualized in Figure 15 in App. § 17 .§ 3 . In line with our theory, the largest gain is on Darcy flow, whose piecewise-constant coefficient makes the prior sharply multimodal: the error rate drops from 7.48% to 2.32%, a 3.2× reduction, and the visualization in Figure 1 shows that DDIS misplaces interfaces whereas our reconstructions recover the correct discontinuity locations and geometries. Qualitative visualizations of the results on all four PDEs are in Figure 16 and Figure 17 in App. § 17 .§ 1 . The spectral energy error of our method is better on Poisson, Helmholtz and Darcy, whereas DDIS retains a lower E s E_s E s on Navier–Stokes despite its higher ℓ 2 \ell_2 ℓ 2 error. This is because E s E_s E s only checks whether a reconstruction has the right amount of detail at each spatial scale, not whether that detail is in the right place. As we show in App. § 16 , DDIS produces more fine-scale detail than FunBCS, which brings this amount closer to that of the ground truth, but neither method places the fine-scale detail where it appears in the true field.
Table 1. Recovery of physical coefficient fields a a a with relative ℓ 2 \ell_2 ℓ 2 error and spectral energy error E s E_s E s on 100 sampled instances from 3% observations. s/sample is seconds per sample on one NVIDIA A100. FunBCS-AC and FunBCS-EF denote FunBCS in accuracy mode and in efficiency mode, respectively (App. § 15 ). FunBCS (uniform) is FunBCS without the scheduling function, which corresponds to the case of assigning F ( t k ) = 80 F(t_k)=80 F ( t k ) = 80 at every noise level (M = 800 M=800 M = 800 ). Errors are mean ± \pm ± standard deviation over these instances. Lower is better.
Figure 15. Per-sample errors of the recovered coefficient field on the 100 test samples of Table 1 : relative ℓ 2 \ell_2 ℓ 2 error on Poisson, Helmholtz and Navier–Stokes, and pixel error rate on Darcy. Each box spans the interquartile range, with the median as a line and the mean reported in Table 1 as a white dot. Whiskers extend to 1.5 times the interquartile range, and samples beyond them are drawn individually.
Figure 16. Reconstructions on one test sample of Poisson and of Helmholtz. For each PDE, the upper block shows the coefficient field and the lower block the solution field estimated from the same sparse observations, each with its absolute error to the ground truth underneath and its error on that sample. Every method here was run with their published default test-time compute budget, and FunBCS was run in efficiency mode, which is 1.7×, 1.4×, and 26.4× faster than DDIS, FunDPS, and DiffusionPDE, respectively. FunBCS and DDIS obtain the solution field by applying the neural operator to their recovered coefficient field, whereas FunDPS and DiffusionPDE sample both fields jointly.
Figure 17. Reconstructions on one test sample of Navier–Stokes and of Darcy, arranged as in Figure 16 . On Darcy, the error of the coefficient field is the pixel error rate.
Impact of the proposed scheduling function. At a budget of M = 800 M = 800 M = 800 steps, concentrating them in the selection window (i.e., FunBCS-AC) lowers the error when compared to the uniform allocation (i.e., FunBCS without the scheduling function in Table 1 ). For example, on Poisson, the error is reduced by 9%. Trimming the steps outside the window, i.e., FunBCS-EF, removes 24–49% of them, yet FunBCS-EF still outperforms every baseline on every task, running 1.4–2.1× faster than DDIS with 27–64% lower reconstruction error (App. § 15 .§ 1 ). We show in App. § 15 .§ 4 that our scheduling function also improves DDIS on its efficiency, though not as much in magnitude as the gain we observed for FunBCS.
Scaling with compute. Figure 3 presents how the Poisson error of every method scales (Figure 6 in App. § 14 presents the results on the other PDEs). At every time budget, FunBCS is more accurate than baselines. For example, FunBCS at 8 seconds per sample achieves 11.8% relative ℓ 2 \ell_2 ℓ 2 error on Poisson, whereas DDIS, at best, obtains 13.7% error while running for 72 seconds.
Figure 6. Scaling behavior of all methods with increasing inference time per sample on Helmholtz, Navier–Stokes and Darcy, as in Figure 3 for Poisson. Darcy reports the pixel error rate. All methods are run using the same hardware.
FunBCS ability of escaping a wrong mode. In § 4 and § 5 , we highlighted that DDIS on a discontinuous Poisson inverse problem can fail when the denoiser selects the wrong mode, while FunBCS fixes this problem. We test this mechanism on Darcy flow, where several possible discontinuity locations result in a learned multimodal prior and, as discussed in § 4 and Prop. 8 in App. § 19 .11, a component of the denoiser decision lies in measurement nullspace with high probability. Results across 50 test instances are given in Figure 4 where we move every discontinuity location of the true field a + a_+ a + by five pixels to obtain a wrong field a − a_- a − , resulting in 11% pixel error. We say an instance escapes when its final reconstruction assigns most of the pixels where a + a_+ a + and a − a_- a − differ to the true field a + a_+ a + , with a lower error rate than a − a_- a − . We find that when started at σ = 0.5 \sigma= 0.5 σ = 0.5 , FunBCS escapes a − a_- a − on 94% of the instances, whereas DDIS escapes on none; doubling the inference budget of DDIS only increases this to 18%. We visualize this across noise levels σ \sigma σ in Figure 4 . This is precisely the behavior predicted by Cor. 1 for DDIS and Thm. 1 for FunBCS: if the denoiser is wrong, DDIS can fail, and this is exacerbated towards the end of the sampling process, while in contrast FunBCS can adjust the denoiser’s decision and solve this problem.
Figure 4. Share of the 50 Darcy test instances on which each sampler escapes the wrong field a − a_- a − against the noise level σ \sigma σ at which sampling starts from denoised a − a_- a − . The hollow marker is DDIS with twice its inference budget.
Conclusion
We introduce FunBCS, an input space optimization approach for solving sparse PDE inverse problems. We demonstrate that existing methods, such as the state-of-the-art DDIS, perform output space optimization and consequently can fail to obtain the correct coefficient field, especially when the prior is naturally multimodal (e.g., when discontinuities are present in the coefficient field). We demonstrate that FunBCS does not suffer from this issue: across four PDE inverse problems, it significantly reduces the reconstruction error of the state-of-the-art at significantly lower runtime. We discuss limitations and future directions in App. § 12 .
Acknowledgements
This material is based upon work supported by the National Science Foundation Graduate Research Fellowship Program under Grant No. DGE 2241144, which supports M.H.A. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation. J.M.M. and I.A. were supported by the U.S. Department of Energy through the Laboratory Directed Research and Development at Los Alamos National Laboratory (LANL) under projects 20260060DR and 20250048DR, respectively. LANL is operated by Triad National Security, LLC, for the National Nuclear Security Administration of U.S. Department of Energy (Contract No. 89233218CNA000001). Q.Q., C.J., and Y.J. acknowledge support from NSF CAREER grant CCF-2143904; NSF grants CCF-2212066, CCF-2212326, and IIS-2402950; ONR grant N000142512339; and Google TPU Research Awards.
Notation
We use a ( ⋅ ) a(\cdot) a ( ⋅ ) to denote a function; a \boldsymbol{a} a to denote a vector, which may be a discretization of function a ( ⋅ ) a(\cdot) a ( ⋅ ) at collocation points x 1 , … , x n x_1,\ldots,x_n x 1 , … , x n ; and a a a to denote a scalar. We use A \mathcal{A} A to denote an operator, A h \mathcal{A}_h A h to denote a discretized operator at points x 1 , … , x n x_1,\ldots,x_n x 1 , … , x n ; and A A A to denote a linear operator (i.e., a matrix). We use π \pi π to denote a probability distribution and p p p or q q q to denote its density, if it exists. ∇ x f ( x ) \nabla_x f(x) ∇ x f ( x ) is taken to be either the gradient or Jacobian of f f f , depending on the codomain dimension of f f f . We use 1 A \mathbb{1}_A 1 A to denote the indicator on event A A A . We use a t k a_{t_k} a t k to denote a sample drawn from the VE diffusion reverse process at timestep t k t_k t k , per Eq. (20) , and a 0 a_0 a 0 to denote a sample drawn from the end of this process; a ^ 0 ( t k ) = D θ ( a t k , t k ) \hat{a}_0^{(t_k)} = D_\theta(a_{t_k}, t_k) a ^ 0 ( t k ) = D θ ( a t k , t k ) to denote the denoiser output given sample a t k a_{t_k} a t k ; a 0 ( t k ) a_0^{(t_k)} a 0 ( t k ) to denote the reconstruction of the signal a a a obtained from a generic diffusion inverse solver at time t k t_k t k ; and a ~ 0 ( t k ) \tilde{a}_0^{(t_k)} a ~ 0 ( t k ) to denote the reconstruction of the signal a a a obtained from DDIS specifically. We use u o b s u_{\mathrm{obs}} u obs systematically to denote the measurements. π ⇒ π ′ \pi\Rightarrow\pi' π ⇒ π ′ represents convergence in distribution of π \pi π to π ′ \pi' π ′ . We denote by L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) the space of square (Lebesgue) integrable functions on domain Ω \Omega Ω .
Function Space Diffusion Setup
Let K K K be a kernel matrix, with entries K i j = k ( x i , x j ) K_{ij} = k(x_i, x_j) K ij = k ( x i , x j ) , where k : R d × R d → R k : \mathbb{R}^d \times\mathbb{R}^d \to\mathbb{R} k : R d × R d → R is a trace-class, positive definite kernel. For example, k ( ⋅ , ⋅ ) k(\cdot,\cdot) k ( ⋅ , ⋅ ) can be the radial basis function (RBF) kernel
k ( x i , x j ) = exp ( − ∥ x i − x j ∥ 2 2 / ℓ ) k(x_i,x_j) = \exp(-\lVert x_i-x_j\rVert_2^2/\ell) k ( x i , x j ) = exp ( − ∥ x i − x j ∥ 2 2 / ℓ )
for a fixed length scale ℓ > 0 \ell> 0 ℓ > 0 . We assume K K K is positive definite and write K 1 / 2 K^{1/2} K 1/2 for its symmetric positive definite square root. Let σ t > σ 0 = 0 \sigma_t > \sigma_0 = 0 σ t > σ 0 = 0 for t > 0 t > 0 t > 0 be a diffusion noise schedule, and assume that t ↦ σ t 2 t \mapsto\sigma_t^2 t ↦ σ t 2 is continuously differentiable and nondecreasing. We write p t p_t p t for the density of a t a_t a t so that a t ∣ a 0 ∼ N ( a 0 , σ t 2 K ) a_t \mid a_0 \sim\mathcal{N}(a_0,\sigma_t^2 K) a t ∣ a 0 ∼ N ( a 0 , σ t 2 K ) and consider the variance exploding (VE) diffusion forward process at 0 < t 0 < ⋯ < t N = T 0 < t_0 < \cdots< t_N = T 0 < t 0 < ⋯ < t N = T :
a t k + 1 = a t k + σ t k + 1 2 − σ t k 2 ε k , k = 0 , … , N − 1 , (18) a_{t_{k+1}} = a_{t_k} + \sqrt{\sigma_{t_{k+1}}^2-\sigma_{t_k}^2}\,\varepsilon_k,\qquad k=0,\ldots,N-1, \tag*{(18)} a t k + 1 = a t k + σ t k + 1 2 − σ t k 2 ε k , k = 0 , … , N − 1 , (18)
where the ε k ∼ N ( 0 , K ) \varepsilon_k \sim\mathcal{N}(0,K) ε k ∼ N ( 0 , K ) are independent across k k k .
With g ( t ) = d d t σ t 2 g(t) = \sqrt{\frac{d}{dt}\sigma_t^2} g ( t ) = d t d σ t 2 , the continuous-time forward process is given by the VE SDE:
d a t = g ( t ) K 1 / 2 d W t , 0 ≤ t ≤ T , (19) d a_t = g(t)K^{1/2}dW_t,\qquad0 \leq t \leq T, \tag*{(19)} d a t = g ( t ) K 1/2 d W t , 0 ≤ t ≤ T , (19)
where W t W_t W t is an n n n -dimensional Brownian motion. With t t t decreasing from T T T to 0 0 0 , the reverse VE SDE is given by:
d a t = − g ( t ) 2 K ∇ a t log p t ( a t ) d t + g ( t ) K 1 / 2 d W ‾ t , 0 ≤ t ≤ T , (20) d a_t = -g(t)^2K\nabla_{a_t}\log p_t(a_t)\,dt + g(t)K^{1/2}d\overline{W}_t,\qquad0 \leq t \leq T, \tag*{(20)} d a t = − g ( t ) 2 K ∇ a t log p t ( a t ) d t + g ( t ) K 1/2 d W t , 0 ≤ t ≤ T , (20)
where W ‾ t \overline{W}_t W t is n n n -dimensional Brownian motion in reverse time. To obtain the appropriate reverse diffusion process, one learns s θ ( a t , t ) ≈ ∇ a t log p t ( a t ) s_\theta(a_t,t) \approx\nabla_{a_t}\log p_t(a_t) s θ ( a t , t ) ≈ ∇ a t log p t ( a t ) with score matching and then discretizes Eq. (20) at times t k t_k t k via, e.g., Euler-Maruyama [41 ] . Additionally, by the function-space analogue of Tweedie’s formula [Lim+25], which after discretization yields the standard multivariate Tweedie’s formula [24 ] , we have:
D ∗ ( a t , t ) : = E [ a 0 ∣ a t ] = a t + σ t 2 K ∇ a t log p t ( a t ) . (21) D^*(a_t,t) := \mathbb{E}[a_0\mid a_t] = a_t + \sigma_t^2 K\nabla_{a_t}\log p_t(a_t). \tag*{(21)} D ∗ ( a t , t ) := E [ a 0 ∣ a t ] = a t + σ t 2 K ∇ a t log p t ( a t ) . (21)
We note that this does not require a 0 a_0 a 0 to have a density, making it compatible with our prior in § 4 ; under this prior, a density is admitted for all numerical times t 0 < ⋯ < t N t_0 < \cdots< t_N t 0 < ⋯ < t N , yielding that Eq. (21) is well-defined. For a learned score s θ s_\theta s θ , we denote the denoiser by D θ D_\theta D θ .
Extended Related Work
Classical Inverse Solvers
The partial differential equation (PDE) inverse problem in § 3 is prevalent across many subfields of science and engineering, including geophysics [72 ] , astrophysics [50 , 19 ] , fluid dynamics [14 ] , imaging [3 ] , and materials [6 ] . Thus, many methods have been developed to solve PDE inverse problems [Bel12].
One key approach involves specifying different structured priors, such as Besov [23 ] or level set [35 ] priors, and sampling from the posterior with an MCMC method such as the preconditioned Crank-Nicolson method [20 ] . While these methods often come with formal guarantees, they can take prohibitively long to sample from the posterior, especially under multimodality or in high dimensions [27 , 28 ] .
Because of the expense of these methods, exact forward models are rarely used in the inner loop, and rather domain-specific emulators are used instead. These forward models are often highly tuned and problem-specific, limiting generalization. For example, the gravitational wave community replaces its expensive numerical relativity simulations with hand-parametrized effective models, and doing so has been a decades-long endeavor [70 ] .
Recently, multi-fidelity techniques have been leveraged to build emulators in these data-sparse environments [29 ] . Other methods include optimization-based samplers, such as randomized-then-optimize methods [8 ] , which repeatedly compute the maximum a posteriori estimate under different random perturbations of the observations and prior, as well as ensemble approaches based on the Kalman filter [34 ] . These methods, however, fail to sample from the correct posterior under nonlinear forward operators and complicated priors [26 ] .
Recently a concerted effort has been made in many communities, such as plasma physics [18 ] , to make differentiable forward models that may be placed into optimization loops [60 ] . We note that many other methods have been developed for the inverse problem in § 3 without taking the Bayesian perspective, such as compressed sensing [4 ] , but these only produce point estimates, thus falling outside the scope of our work.
Physics-Informed Learning
Physics-informed learning has become a widely used approach for accelerating scientific computation [38 ] across diverse fields such as climate modeling [39 ] and plasma physics [53 ] . Below, we discuss key approaches towards solving forward and inverse problems.
Forward Solvers
Representative approaches to solving the forward problem include physics-informed neural networks (PINNs) [RK19], which encode the governing PDE into the training objective, and neural operators [Li+21], which learn mappings between function spaces and can amortize repeated PDE solves. For modeling the forward operator, neural ODEs [15 ] are often leveraged to replace a component of a solver with a neural network. Deterministic formulations of these methods return a single reconstruction rather than samples across the posterior. Probabilistic variants have been developed [49 ] , but require problem-specific training and additional modeling assumptions. We study methods which can be used across several measurement operators without retraining. Thus, in our setting, we primarily use neural operators as differentiable surrogates for the forward PDE operator and as the denoiser for function space diffusion in our experiments. Separately, several approaches have been presented for physics-informed [13 ] and physics-constrained [71 ] generation; these approaches are complementary to, but distinct from, solving PDE inverse problems with diffusion.
Priors
Diffusion models have seen enormous success in modeling complicated, high-dimensional priors [56 ] . Thus, several recent works have constructed approaches to function space diffusion priors. Kerrigan, Ley, et al. [40 ] develop diffusion models on possibly infinite-dimensional Hilbert spaces using Gaussian measures, and Pidstrigach, Marzouk, et al. [51 ] similarly formulate diffusion models in infinite dimensions and study well-posedness and approximation bounds. Lim, Kovachki, et al. [Lim+25] develop Denoising Diffusion Operators (DDO), where neural operator architectures parameterize the learned score during score matching. These provide a concrete mathematical and algorithmic basis for using diffusion models to model function space priors for use in diffusion-based PDE inverse solvers.
Inverse Solvers
Due to their ability to model complicated priors, diffusion models have been adapted to PDE inverse problems. In our work, we focus on developing diffusion solvers which are agnostic to the choice of measurement operator; that is, one learned prior can be used with many different measurement operators during inference. DiffusionPDE [33 ] replaces the diffusion likelihood π ( u o b s ∣ a t ) \pi(u_{\mathrm{obs}} \mid a_t) π ( u obs ∣ a t ) with a Gaussian centered at the denoiser estimate a ^ 0 ( t ) \hat{a}_0^{(t)} a ^ 0 ( t ) , and samples from the joint distribution ( a , u ) (a,u) ( a , u ) . Notably, DiffusionPDE trains a standard diffusion prior at fixed discretization; instead, FunDPS [78 ] trains a function space prior. More recent work, such as the state-of-the-art DDIS [45 ] , has decoupled the physical parameter and solution fields ( a , u ) (a,u) ( a , u ) , specifically approximating u u u with a neural operator surrogate while performing prior learning and posterior sampling on a a a . In our work, we also decouple the learning of a a a and u u u . DDIS also relaxes the assumptions of DiffusionPDE and FunDPS; instead of approximating the diffusion likelihood with a Gaussian, DDIS approximates π ( a 0 ∣ a t ) \pi(a_0 \mid a_t) π ( a 0 ∣ a t ) with an isotropic Gaussian, as discussed in § 4 . Another approach, RED-DiffEq [61 ] , performs regularized optimization on the measurement consistency objective, but uses diffusion to encode the regularization; however, this approach is not Bayesian and has not been compared with the strong diffusion posterior samplers discussed above. The concurrent work DiLO [46 ] adopts the same decoupling as DDIS, but instead discusses the issue of evaluating the neural operator surrogate on noisy diffusion states a t a_t a t instead of clean reconstructions, which the operator was originally trained on. We note that their solution for this issue can easily be incorporated into our input optimization procedure introduced in § 5 , and the failure modes of the neural operator surrogate are not the focus of our work. Additionally, the concurrent work FAPS [67 ] is similar to DDIS, instead using operator flow matching [62 ] to encode the prior and approximating the denoising distribution with an anisotropic Gaussian.
To distinguish these diffusion PDE inverse solvers, consider two key operations that occur within a reverse sampling step t k t_k t k with noisy a t k a_{t_k} a t k : (D) computing an estimate of the signal a ( ⋅ ) a(\cdot) a ( ⋅ ) as a ^ 0 ( t k ) = D θ ( a t k , t k ) \hat{a}_0^{(t_k)} = D_\theta(a_{t_k}, t_k) a ^ 0 ( t k ) = D θ ( a t k , t k ) , where D θ D_\theta D θ is the diffusion denoiser and (M) enforcing measurement consistency on a reconstruction a 0 ( t k ) ≈ a ^ 0 ( t k ) a_0^{(t_k)} \approx\hat{a}_0^{(t_k)} a 0 ( t k ) ≈ a ^ 0 ( t k ) , so that it is consistent with the observations (i.e., A ( a 0 ( t k ) ) ≈ u o b s \mathcal{A}(a_0^{(t_k)}) \approx u_{\mathrm{obs}} A ( a 0 ( t k ) ) ≈ u obs ). We use the term output space optimization to describe methods where (D) and (M) are disjoint, since this amounts to optimizing in the output space of the denoiser, while leaving the denoiser input fixed. From this perspective, DiffusionPDE [33 ] , FunDPS [78 ] , and Decoupled Diffusion Inverse Solver (DDIS) [45 ] are all output space optimization procedures. We discuss this further in App. § 13 .
In § 4 , we demonstrate that output space approaches can fail to update unobserved components of the denoiser estimate appropriately for a PDE inverse problem. We thus use this to motivate input space optimization in § 5 , where steps (D) and (M) are combined : we iteratively compute the denoiser output (D) and optimize the input such that measurement consistency is satisfied (M). We show that this updates the unobserved components as desired. This results in backward-consistent sampling [1 ] , where the reconstruction is constrained to be in the denoiser’s range. We note that our approach is different, motivated by the setting of PDE inverse problems where priors can be sharply multimodal and with a new approach to allocate input optimization steps motivated by our theory. Additionally, the concurrent work FAPS [67 ] uses its anisotropic Gaussian covariance to precondition the measurement gradient. We note that input space optimization can be viewed as preconditioned output space optimization, as discussed in App. § 18 . Note that our preconditioner differs from FAPS, and furthermore is grounded in the theory of PDE inverse problems and does not require additional estimation from training data after the diffusion model has been trained.
The computer vision literature also contains several approaches to address the unobserved component of the reconstruction while solving the inverse problem. Most notably, DDNM [75 ] assumes a linear forward operator and does diffusion only in nullspace; NullFlow [63 ] extends this approach to one-step sampling with flow matching. Note that these approaches do not solve the issue that DDIS suffers from discussed in Prop. 1. In particular, the nullspace component of the reconstruction is still the same as that of the denoiser. Separately, Posterior-DDIM [37 ] performs ODE-based diffusion sampling in each singular direction separately, incorporating measurement consistency in a singular direction only when the diffusion signal-to-noise ratio is small. Importantly, this approach assumes a linear forward operator so that the singular value decomposition is easily computable. However, PDE inverse problems can have highly nonlinear forward operators, e.g., Darcy flow as considered in our experiments in § 6 . One can obtain a local approximation with the Jacobian, but this still comes at a high computational expense and may not have the same desirable properties.
Finally, note that there have been several recent approaches developed to use diffusion for data assimilation [2 , 36 ] . While data assimilation is closely related to Bayesian inverse problems, it considers a sequential setting; rather than recovering a fixed coefficient field a a a from measurements u o b s u_{\mathrm{obs}} u obs , data assimilation repeatedly propagates a state a 0 ( ℓ ) a_0^{(\ell)} a 0 ( ℓ ) and assimilates new observations u o b s ( ℓ ) u_{\mathrm{obs}}^{(\ell)} u obs ( ℓ ) . Accordingly, recent generative data assimilation work focuses on combining learned generative priors with state transition operators. These approaches are complementary to our work. Furthermore, moment-matching posterior samplers like DPS [17 ] or MMPS [57 ] have been adopted for use in data assimilation [16 SRYL26] ; backward-consistent sampling can be adopted as well, and we leave a comprehensive study of this to future work.
Theoretical Guarantees
Classical inverse solver theory provides guarantees for recovering an unknown signal from incomplete observations. For deterministic inverse problems, where one recovers a point estimate, regularization theory extensively studies the existence, stability, and convergence of solutions, especially with linear forward operators [25 ] . Bayesian inverse solver theory studies when the posterior is well-defined and when the problem is well-posed and stable [68 ] ; theory for MCMC methods is likewise used to study MCMC-based solvers for these problems [32 ] , including using diffusion priors [74 ] . Due to the prevalence of these diffusion priors in recent inverse solvers, recent works likewise have developed theory for diffusion inverse solvers. For Gaussian priors, approximating the denoising distribution exactly by first- and second-moment Tweedie’s formulas can recover the posterior [12 ] . Other recent work obtains insights into the bias and stability of diffusion posterior samplers [Del+26]; the robustness of these samplers to likelihood misspecification and outliers [77 ] ; connections to projected gradient descent and its convergence theory [47 ] ; convergence to the posterior [37 ] ; and how this relates to maximum a posteriori estimation [76 ] . Notably, Burns and Fridovich-Keil [11 ] study multimodal priors; however, they focus on a different failure mode of diffusion posterior samplers, specifically issues with likelihood approximations such as those made by DPS. Additionally, several works have used multimodal Gaussian mixture priors to empirically study the behaviors of diffusion posterior samplers [21 , 79 ] ; however, these works do not study the PDE setting or the unobserved components of the denoiser. Much of the literature studies the finite-dimensional image inverse problem setting; for the function space setting present in our PDE inverse problems, FunDPS [78 ] develops an analogue of Tweedie’s formula while DDIS [45 ] obtains theoretical results characterizing why learning the coupled prior ( a , u ) (a, u) ( a , u ) is problematic, motivating the learning of the prior over only a a a done in both their and our algorithms. More broadly, there has been significant work on how diffusion models select modes under multimodal priors [73 , 5 ] . Our work adds to this literature in the PDE inverse problem setting; we study when and why diffusion solvers based on output space optimization fail in the PDE setting, where multimodal priors naturally arise, and instantiate a solution based on input space optimization, validating our results empirically. We also study what unique conditions on the measurements and nullspace components of different prior modes arise due to the PDE setting in Prop. 8 in App. § 19 .11 and connect our results to preconditioning in App. § 18 .
The effectiveness of conditioning in diffusion models depends on when and how guidance is applied throughout the reverse process; while classifier and classifier-free guidance are frequently implemented using a constant guidance scale, several works show that this is suboptimal across diffusion noise levels [48 ] . In the setting of Bayesian inverse solvers based on diffusion models, there has been work done on designing schedules for likelihood or measurement guidance across the diffusion sampling process. For example, Jacobian-aware posterior sampling [Hen+26] adapts the step size of the likelihood gradient based on the denoiser Jacobian, while the recent work TriPS [7 ] adjusts this step size for conditional priors based on the classifier-free guidance schedule and added stochasticity in the sampling process. Additionally, Delgadino, Motsch, et al. [Del+26] show that DPS guidance can become numerically unstable towards the end of the reverse process, providing a principled explanation for early stopping the DPS measurement-consistency guidance in the sampling process. We add to this body of work, designing a principled approach to scheduling input optimization steps across noise levels based on our theoretical analysis of an inverse problem on Poisson’s equation. Notably, we control a different quantity than, e.g., gradient step size or guidance weight; instead, we control the computational effort used to enforce measurement consistency at each diffusion noise level, done so by a function that automatically allocates more steps on critical noise levels during inference.
Limitations & Future Directions
Limitations include that FunBCS is reliant on the accuracy of the neural operator surrogate G h , ϕ \mathcal{G}_{h,\phi} G h , ϕ and the diffusion prior π ( a ) \pi(a) π ( a ) . Additionally, our current input optimization scheduler requires task-specific calibration. Future directions include addressing these limitations, improving our method further for discontinuous inverse problems by, e.g., using discontinuous bases [35 ] , and extending input space optimization to PDE data assimilation [16 ] .
Overview of Recent Diffusion PDE Inverse Solvers
We provide an overview of the recurrences of diffusion PDE inverse solvers, to make clear how existing methods perform output space optimization (with separate (D) and (M) steps) while our method performs input optimization (combined (D) and (M) steps). We present these all for fixed diffusion times t k > t k − 1 t_k > t_{k-1} t k > t k − 1 .
DiffusionPDE/FunDPS recurrence. DiffusionPDE [33 ] applies diffusion posterior sampling [17 ] with a standard diffusion prior at a fixed discretization, and FunDPS [78 ] extends it to function space priors. Both use the following recurrence:
a t k − 1 ( P ) = a ~ t k − 1 ( P ) − ζ k ∇ a t k ( P ) ∥ A h a ^ 0 ( P , t k ) − u o b s ∥ 2 2 (22) a_{t_{k-1}}^{(P)} = \tilde{a}_{t_{k-1}}^{(P)} - \zeta_k \nabla_{a_{t_k}^{(P)}} \lVert\mathcal{A}_h \hat{a}_0^{(P,t_k)} - u_{\mathrm{obs}} \rVert_2^2 \tag*{(22)} a t k − 1 ( P ) = a ~ t k − 1 ( P ) − ζ k ∇ a t k ( P ) ∥ A h a ^ 0 ( P , t k ) − u obs ∥ 2 2 (22)
where:
a ~ t k − 1 ( P ) = a t k ( P ) + Δ t k s θ ( a t k ( P ) , t k ) + Δ t k ϵ k ( P ) (23) \tilde{a}_{t_{k-1}}^{(P)} = a_{t_k}^{(P)} + \Delta t_k s_\theta(a_{t_k}^{(P)},t_k) + \sqrt{\Delta t_k}\epsilon_k^{(P)} \tag*{(23)} a ~ t k − 1 ( P ) = a t k ( P ) + Δ t k s θ ( a t k ( P ) , t k ) + Δ t k ϵ k ( P ) (23)
and Δ t k = t k − t k − 1 \Delta t_k = t_k - t_{k-1} Δ t k = t k − t k − 1 with a ^ 0 ( P , t k ) : = D θ ( a t k ( P ) , t k ) \hat{a}_0^{(P,t_k)} := D_\theta(a_{t_k}^{(P)},t_k) a ^ 0 ( P , t k ) := D θ ( a t k ( P ) , t k ) , and ϵ k ( P ) ∼ N ( 0 , I ) \epsilon_k^{(P)} \sim\mathcal{N}(0,I) ϵ k ( P ) ∼ N ( 0 , I ) for DiffusionPDE and N ( 0 , K ) \mathcal{N}(0,K) N ( 0 , K ) for FunDPS, independent across k k k .
DDIS recurrence. As presented in Eq. (6) , the DDIS recurrence is given by:
a t k − 1 ( D ) = a ~ 0 ( t k ) + σ t k − 1 ϵ k ( D ) , a ~ 0 ( t k ) ∼ q D , t k ( ⋅ ∣ a t k ( D ) , u o b s ) , ϵ k ( D ) ∼ N ( 0 , K ) (24) a_{t_{k-1}}^{(D)} = \tilde{a}_0^{(t_k)} + \sigma_{t_{k-1}}\epsilon_k^{(D)}, \qquad\tilde{a}_0^{(t_k)} \sim q_{D,t_k}(\cdot\mid a_{t_k}^{(D)},u_{\mathrm{obs}}), \quad\epsilon_k^{(D)} \sim\mathcal{N}(0,K) \tag*{(24)} a t k − 1 ( D ) = a ~ 0 ( t k ) + σ t k − 1 ϵ k ( D ) , a ~ 0 ( t k ) ∼ q D , t k ( ⋅ ∣ a t k ( D ) , u obs ) , ϵ k ( D ) ∼ N ( 0 , K ) (24)
with
q D , t k ( a 0 ∣ a t k ( D ) , u o b s ) ∝ exp { − ∥ A h a 0 − u o b s ∥ 2 2 2 γ 2 − ∥ a 0 − a ^ 0 ( D , t k ) ∥ 2 2 2 σ t k 2 } (25) q_{D,t_k}(a_0 \mid a_{t_k}^{(D)},u_{\mathrm{obs}}) \propto\exp\left\{-\frac{\lVert\mathcal{A}_h a_0-u_{\mathrm{obs}}\rVert_2^2}{2\gamma^2}-\frac{\lVert a_0-\hat{a}_0^{(D,t_k)}\rVert_2^2}{2\sigma_{t_k}^2}\right\} \tag*{(25)} q D , t k ( a 0 ∣ a t k ( D ) , u obs ) ∝ exp { − 2 γ 2 ∥ A h a 0 − u obs ∥ 2 2 − 2 σ t k 2 ∥ a 0 − a ^ 0 ( D , t k ) ∥ 2 2 } (25)
where a ^ 0 ( D , t k ) : = D θ ( a t k ( D ) , t k ) \hat{a}_0^{(D,t_k)} := D_\theta(a_{t_k}^{(D)},t_k) a ^ 0 ( D , t k ) := D θ ( a t k ( D ) , t k ) and ϵ k ( D ) \epsilon_k^{(D)} ϵ k ( D ) are drawn independently.
FunBCS recurrence. As presented in Eq. (13) , the FunBCS recurrence is given by:
a t k − 1 ( B ) = D θ ( v ( s ) , t k ) + σ t k − 1 ϵ k ( B ) , ϵ k ( B ) ∼ N ( 0 , K ) (26) a_{t_{k-1}}^{(B)} = D_\theta(v(s),t_k) + \sigma_{t_{k-1}}\epsilon_k^{(B)}, \qquad\epsilon_k^{(B)} \sim\mathcal{N}(0,K) \tag*{(26)} a t k − 1 ( B ) = D θ ( v ( s ) , t k ) + σ t k − 1 ϵ k ( B ) , ϵ k ( B ) ∼ N ( 0 , K ) (26)
where v ( s ) v(s) v ( s ) is a solution to the gradient flow:
d v ( s ) d s = − ∇ v ∥ O h ∘ G h , ϕ ∘ D θ ( v , t k ) − u o b s ∥ 2 2 γ 2 ∣ v = v ( s ) , v ( 0 ) = a t k ( B ) , (27) \frac{\mathrm{d}v(s)}{\mathrm{d}s}=-\nabla_v\left.\frac{\left\|\mathcal{O}_h\circ\mathcal{G}_{h,\phi}\circ D_\theta(v,t_k)-u_{\mathrm{obs}}\right\|^2}{2\gamma^2}\right|_{v=v(s)},\qquad v(0)=a_{t_k}^{(B)}, \tag*{(27)} d s d v ( s ) = − ∇ v 2 γ 2 ∥ O h ∘ G h , ϕ ∘ D θ ( v , t k ) − u obs ∥ 2 v = v ( s ) , v ( 0 ) = a t k ( B ) , (27)
and ε k ( B ) \varepsilon_k^{(B)} ε k ( B ) are drawn independently.
Remark 10. At a fixed diffusion timestep t k t_k t k , per Eq. (27) , for an optimization step s i s_i s i , we alternate between computing the denoiser output D θ ( v ( s i ) , t k ) D_\theta(v(s_i),t_k) D θ ( v ( s i ) , t k ) and finding the input v ( s i + Δ s ) v(s_i+\Delta s) v ( s i + Δ s ) so that measurement consistency is satisfied. This thus optimizes in the input space of the denoiser and couples steps (D) and (M). Hence, our method FunBCS is an input space optimization procedure.
Experimental Details
Tasks. We use the four PDE inverse problems of DDIS [45 ] , whose data were generated by DiffusionPDE [33 ] with the solvers of FNO [Li+21]; we use the normalized version provided with DDIS’s public codebase. Every problem is posed on the unit square Ω = ( 0 , 1 ) 2 \Omega=(0,1)^2 Ω = ( 0 , 1 ) 2 , discretized on a 128 × 128 128\times128 128 × 128 grid. In each problem, we recover the coefficient field a a a from 500 noiseless observations of the solution u u u at random grid points, about 3% of the grid. The observation locations are drawn anew for each test sample and are the same for FunBCS, DDIS and FunDPS, whereas DiffusionPDE’s public code uses one fixed set of locations for every sample. Below, ∇ 2 \nabla^2 ∇ 2 denotes the Laplacian, and a Gaussian random field with parameters ( α , τ ) (\alpha,\tau) ( α , τ ) has covariance proportional to ( − ∇ 2 + τ 2 I ) − α (-\nabla^2+\tau^2I)^{-\alpha} ( − ∇ 2 + τ 2 I ) − α . The coefficient fields of Poisson, Helmholtz and Darcy flow are all built from such a field with ( α , τ ) = ( 2 , 3 ) (\alpha,\tau)=(2,3) ( α , τ ) = ( 2 , 3 ) and zero Neumann boundary conditions.
Poisson. The source term a a a is the Gaussian random field above, and
∇ 2 u ( x ) = a ( x ) , x ∈ Ω , u ( x ) = 0 , x ∈ ∂ Ω . \nabla^2u(x)=a(x),\qquad x\in\Omega,\qquad u(x)=0,\qquad x\in\partial\Omega. ∇ 2 u ( x ) = a ( x ) , x ∈ Ω , u ( x ) = 0 , x ∈ ∂ Ω.
Helmholtz. The source term a a a is drawn as for Poisson and set to zero on ∂ Ω \partial\Omega ∂ Ω , and with wavenumber k = 1 k=1 k = 1 ,
∇ 2 u ( x ) + k 2 u ( x ) = a ( x ) , x ∈ Ω , u ( x ) = 0 , x ∈ ∂ Ω . \nabla^2u(x)+k^2u(x)=a(x),\qquad x\in\Omega,\qquad u(x)=0,\qquad x\in\partial\Omega. ∇ 2 u ( x ) + k 2 u ( x ) = a ( x ) , x ∈ Ω , u ( x ) = 0 , x ∈ ∂ Ω.
Navier–Stokes. The vorticity w = ∇ × v w=\nabla\times v w = ∇ × v of an incompressible velocity field v v v on the periodic domain Ω \Omega Ω evolves as
∂ t w + v ⋅ ∇ w = ν ∇ 2 w + f , ∇ ⋅ v = 0 , x ∈ Ω , t ∈ ( 0 , T ] , \partial_t w+v\cdot\nabla w=\nu\nabla^2w+f,\qquad\nabla\cdot v=0,\qquad x\in\Omega,\ t\in(0,T], ∂ t w + v ⋅ ∇ w = ν ∇ 2 w + f , ∇ ⋅ v = 0 , x ∈ Ω , t ∈ ( 0 , T ] ,
with viscosity ν = 10 − 3 \nu=10^{-3} ν = 1 0 − 3 (Reynolds number 1,000) and forcing f ( x ) = 0.1 ( sin ( 2 π ( x 1 + x 2 ) ) + cos ( 2 π ( x 1 + x 2 ) ) ) f(x)=0.1\bigl(\sin(2\pi(x_1+x_2))+\cos(2\pi(x_1+x_2))\bigr) f ( x ) = 0.1 ( sin ( 2 π ( x 1 + x 2 )) + cos ( 2 π ( x 1 + x 2 )) ) . The coefficient field is the initial vorticity a = w ( ⋅ , 0 ) a=w(\cdot,0) a = w ( ⋅ , 0 ) , a periodic Gaussian random field with ( α , τ ) = ( 2.5 , 7 ) (\alpha,\tau)=(2.5,7) ( α , τ ) = ( 2.5 , 7 ) , and the solution is the vorticity u = w ( ⋅ , T ) u=w(\cdot,T) u = w ( ⋅ , T ) at T = 1 T=1 T = 1 .
Darcy flow. The permeability a a a equals 12 where a Gaussian random field drawn as for Poisson is nonnegative and 3 elsewhere, so it is piecewise constant, and
− ∇ ⋅ ( a ( x ) ∇ u ( x ) ) = 1 , x ∈ Ω , u ( x ) = 0 , x ∈ ∂ Ω . -\nabla\cdot\left(a(x)\nabla u(x)\right)=1,\qquad x\in\Omega,\qquad u(x)=0,\qquad x\in\partial\Omega. − ∇ ⋅ ( a ( x ) ∇ u ( x ) ) = 1 , x ∈ Ω , u ( x ) = 0 , x ∈ ∂ Ω.
DDIS’s public codebase supports Darcy flow, but DDIS does not report it, so we include it because its piecewise-constant coefficient makes the prior multimodal.
Evaluation. All methods are evaluated on the same 100 test samples. On Poisson, Helmholtz and Navier–Stokes, we report the relative ℓ 2 \ell_2 ℓ 2 error ∥ a ^ − a ∥ 2 / ∥ a ∥ 2 \lVert\hat{a}-a\rVert_2/\lVert a\rVert_2 ∥ a ^ − a ∥ 2 / ∥ a ∥ 2 in percent. On Darcy flow, we threshold the reconstruction at 7.5, the midpoint of the two coefficient values, and report the percentage of misclassified pixels [33 ] . The spectral energy error, from [45 ] , E s E_s E s compares the radially averaged power spectra P ^ ( k ) \hat{P}(k) P ^ ( k ) and P ( k ) P(k) P ( k ) of the reconstruction and of the ground truth. We take the geometric mean of ∣ P ^ ( k ) − P ( k ) ∣ / P ( k ) |\hat{P}(k)-P(k)|/P(k) ∣ P ^ ( k ) − P ( k ) ∣/ P ( k ) over wavenumbers k k k , and then average over the test samples.
Models and samplers. FunBCS uses the same pretrained diffusion prior, neural operator surrogate and noise schedule as DDIS [45 ] . DDIS uses the settings of DDIS’s public codebase: 100 noise levels, 20 Langevin steps per level, and the likelihood weights recommended in the paper. For Darcy flow, which DDIS does not report, we tuned and chose the weight 30 from {5, 10, 15, 20, 30}. FunBCS uses N = 10 N = 10 N = 10 noise levels and optimizes the denoiser input with Adam at learning rate γ = 0.03 \gamma= 0.03 γ = 0.03 . Its scheduling function (App. § 15 ) uses the selection windows ( σ l o w , σ h i g h ) = ( 0 , 0.711 ) (\sigma_{\mathrm{low}}, \sigma_{\mathrm{high}}) = (0, 0.711) ( σ low , σ high ) = ( 0 , 0.711 ) on Poisson, ( 0 , 0.335 ) (0, 0.335) ( 0 , 0.335 ) on Helmholtz, ( 0 , 0.144 ) (0, 0.144) ( 0 , 0.144 ) on Navier–Stokes and ( 0.335 , 2.6 ) (0.335, 2.6) ( 0.335 , 2.6 ) on Darcy flow. FunBCS-AC uses M = N K = 800 M = NK = 800 M = N K = 800 optimization steps per sample, and FunBCS-EF uses M ⋆ = 607 , 506 , 406 M^\star= 607, 506, 406 M ⋆ = 607 , 506 , 406 and 488 steps on the four tasks, respectively. We note that these M ⋆ M^\star M ⋆ budgets are not hardcoded, but instead dynamically determined by our method during inference.
Baselines. DiffusionPDE [33 ] trains a diffusion model on the joint distribution of the coefficient and solution fields at a fixed resolution, and guides its sampling with the observation misfit and the PDE residual, evaluated on the denoiser estimate. FunDPS [78 ] follows the same approach with a joint diffusion prior in function space built from neural operators. DDIS [45 ] learns a diffusion prior on the coefficient field only, predicts the solution with a neural operator surrogate, and enforces the observations with annealed Langevin sampling in the output space of the denoiser. We run each baseline with its authors’ public code and default settings. For the scaling curves of Figure 3 and Figure 6 , we run every method at 0.5×, 1×, 2× and 4× its default budget and change nothing else: FunBCS with 400, 800, 1,600 and 3,200 optimization steps, distributed over its N = 10 N = 10 N = 10 noise levels by the scheduling function; DDIS with 50, 100, 200 and 400 noise levels of 20 Langevin steps each, that is, 1,000 to 8,000 Langevin steps; and FunDPS with 250, 500, 1,000 and 2,000 sampling steps. DiffusionPDE, which is much slower, is run with 500, 2,000 and 3,000 sampling steps, where 2,000 is its default.
Choosing N N N and K K K . We fix the max budget of FunBCS at N K = 800 NK = 800 N K = 800 optimization steps. In order to determine the optimal N N N , assuming a uniform allocation of K K K inner steps per outer level, we had to choose how to split between the number of noise levels N N N and the number of steps K K K per level. Figure 5 compares three splits on Poisson and Darcy flow. These runs place the same K K K steps on every noise level and do not use the scheduling function at all, so that the choice of N N N and K K K is not confounded with how the steps are allocated. The split N = 10 N = 10 N = 10 , K = 80 K = 80 K = 80 reaches the lowest error on both tasks, and we use it for every task. The scheduling function then redistributes these 800 steps across the N = 10 N = 10 N = 10 noise levels (App. § 15 ).
Figure 5. Reconstruction error of FunBCS during sampling for three splits N × K N \times K N × K of 800 optimization steps, with the same K K K at every noise level and without the scheduling function, on 50 samples: relative ℓ 2 \ell_2 ℓ 2 error on Poisson (left) and pixel error rate on Darcy flow (right). The error jumps up at the end of each noise level, when the sample is renoised.
Timing. We measure seconds per sample on a single NVIDIA A100 GPU with one process per GPU, at batch size 25 for FunBCS, DDIS and FunDPS and at batch size 1 for DiffusionPDE. DiffusionPDE’s public code reconstructs one test sample at a time, with a single ground truth, observation mask and guidance loss per run, so we time it unmodified at batch size 1. The time covers the whole sampling process, including all denoiser and surrogate evaluations. Each optimization step of FunBCS differentiates through both the denoiser and the surrogate, so it costs more than a Langevin step of DDIS, which differentiates through the surrogate only. FunBCS, however, uses 10 noise levels instead of 100, which DDIS uses.
Scaling with compute. Figure 6 shows the error of every method against its time per sample on Helmholtz, Navier–Stokes and Darcy, as Figure 3 does for Poisson. As on Poisson, FunBCS is more accurate than every baseline at every budget, and at about 8 seconds per sample it is more accurate than every baseline at any of the budgets we tested.
The Proposed Scheduling Function
A uniform schedule gives every noise level the same number of optimization steps, although the analysis of § 5.2 shows that steps matter unequally across noise levels: every level needs a few, so that a lean towards the wrong mode is corrected before it is carried to lower noise levels (Prop. 4), and the remaining steps are worth the most inside the selection window (Prop. 5). The scheduling function therefore treats the optimization steps of algorithm 1 as a total budget M M M and allocates it across noise levels, keeping a floor at every level and concentrating the remainder in the selection window. Figure 7 shows the resulting allocations, and that withholding the steps of a single noise level hurts most where the scheduler concentrates them. We define the allocation below, then ablate it (App. § 15 .§ 1 ), describe how the window is tuned (App. § 15 .§ 3 ), and apply it to DDIS (App. § 15 .§ 4 ).
Figure 7. Top: Optimization steps per noise level under the scheduling function (App. § 15 ). The accuracy mode (blue) reallocates the N K = 800 NK = 800 N K = 800 steps of the uniform allocation (grey) towards the selection window (shaded), and the efficiency mode (red) cuts the budget to M ⋆ M^\star M ⋆ ; every noise level keeps at least k min = 10 k_{\min} = 10 k m i n = 10 steps (dotted). Numbers give the resulting error (Table 1 ). Bottom: increase in error, in percentage points, when a single noise level receives no optimization steps, which is largest where the scheduler places its steps.
Effort weights. The scheduling function assigns each noise level σ \sigma σ an effort weight through a smooth window whose only task-specific parameters are the two edges σ l o w ≤ σ h i g h \sigma_{\mathrm{low}} \le\sigma_{\mathrm{high}} σ low ≤ σ high of the selection window:
ω ( σ ) = [ 1 + ( σ σ h i g h ) β ] − 1 [ 1 + ( σ l o w σ ) β ] − 1 . (28) \omega(\sigma) = \left[1 + \left(\frac{\sigma}{\sigma_{\mathrm{high}}}\right)^\beta\right]^{-1}\left[1 + \left(\frac{\sigma_{\mathrm{low}}}{\sigma}\right)^\beta\right]^{-1}. \tag*{(28)} ω ( σ ) = [ 1 + ( σ high σ ) β ] − 1 [ 1 + ( σ σ low ) β ] − 1 . (28)
The weight is close to one inside the window and decays polynomially outside it, at a rate set by the exponent β > 0 \beta> 0 β > 0 . Setting σ l o w = 0 \sigma_{\mathrm{low}} = 0 σ low = 0 removes the lower edge, setting σ h i g h = ∞ \sigma_{\mathrm{high}} = \infty σ high = ∞ removes the upper edge, and β → ∞ \beta\to\infty β → ∞ recovers a hard window. Because ω \omega ω depends on the noise level rather than on the index k k k , the same edges apply to any number and spacing of noise levels.
Allocation. Given a total budget of M M M optimization steps, the scheduler reserves a floor of k min k_{\min} k m i n steps at every noise level and distributes the remainder in proportion to the effort weights ω k : = ω ( σ t k ) \omega_k := \omega(\sigma_{t_k}) ω k := ω ( σ t k ) :
F ( t k ) = k min + ( M − N k min ) ω k ∑ j = 1 N ω j , k = 1 , … , N . (29) F(t_k) = k_{\min} + (M - N k_{\min}) \frac{\omega_k}{\sum_{j=1}^{N} \omega_j}, \qquad k = 1,\ldots,N. \tag*{(29)} F ( t k ) = k m i n + ( M − N k m i n ) ∑ j = 1 N ω j ω k , k = 1 , … , N . (29)
We round each share down and give the remaining steps, one each, to the noise levels with the largest remainders, so that ∑ k F ( t k ) = M \sum_k F(t_k) = M ∑ k F ( t k ) = M exactly. A uniform allocation of K K K steps per noise level corresponds to ω ≡ 1 \omega\equiv1 ω ≡ 1 , and at the same budget M = N K M = NK M = N K , Eq. (29) moves steps towards the selection window without changing the cost of the sampler.
Accuracy and efficiency modes. Since the effort weights identify the noise levels on which optimization steps matter, the scheduler also determines a natural budget below N K NK N K :
M ⋆ = N k min + ( K − k min ) ∑ j ω j τ max j ω j , τ ∈ ( 0 , 1 ] , (30) M^{\star} = Nk_{\min} + (K-k_{\min})\frac{\sum_j \omega_j}{\tau\max_j\omega_j}, \qquad\tau\in(0,1], \tag*{(30)} M ⋆ = N k m i n + ( K − k m i n ) τ max j ω j ∑ j ω j , τ ∈ ( 0 , 1 ] , (30)
capped at N K NK N K . At this budget, Eq. (29) assigns exactly K K K steps to a noise level whose weight is a fraction τ \tau τ of the peak, so every noise level with at least this weight keeps at least as many steps as under the uniform allocation, and the saving comes from the noise levels outside the window. We call M = N K M = NK M = N K the accuracy mode and M = M ⋆ M = M^{\star} M = M ⋆ the efficiency mode , and write FunBCS-AC and FunBCS-EF for FunBCS in these two modes. For every run, FunBCS-AC seeks to non-uniformly disperse the M M M total optimization steps in order to reach higher accuracy without changing the budget, while FunBCS-EF seeks to cut as much budget as possible while maintaining similar accuracy to the uniform allocation. During inference, one can easily interpolate between the two modes with no tuning as the two modes differ only in the budget.
Shared constants. All FunBCS experiments use β = 2 \beta= 2 β = 2 , k min = 10 k_{\min} = 10 k m i n = 10 and τ = 0.7 \tau= 0.7 τ = 0.7 on every PDE and in both modes, with N = 10 N = 10 N = 10 noise levels and K = 80 K = 80 K = 80 , so that the accuracy mode has a budget of 800 steps. Only the window edges are chosen per PDE (App. § 15 .§ 3 ): ( σ l o w , σ h i g h ) = ( 0 , 0.711 ) (\sigma_{\mathrm{low}}, \sigma_{\mathrm{high}}) = (0, 0.711) ( σ low , σ high ) = ( 0 , 0.711 ) on Poisson, ( 0 , 0.335 ) (0, 0.335) ( 0 , 0.335 ) on Helmholtz, ( 0 , 0.144 ) (0, 0.144) ( 0 , 0.144 ) on Navier–Stokes and ( 0.335 , 2.6 ) (0.335, 2.6) ( 0.335 , 2.6 ) on Darcy.
Scheduler Ablations
Table 1 compares FunBCS with the scheduler (FunBCS-AC and FunBCS-EF) against FunBCS without it, which places K = 80 K = 80 K = 80 optimization steps on each of its N = 10 N = 10 N = 10 noise levels. At the same budget of 800 steps, the accuracy mode lowers the error by 10% on average, and on every task, at unchanged cost. The efficiency mode removes 37% of the steps on average, which makes FunBCS 1.6× faster, with 2% lower error on average. On Poisson, Helmholtz, Navier–Stokes and Darcy, it uses 607, 506, 406 and 488 of the 800 steps, which take 12.6, 10.5, 8.4 and 10.1 seconds per sample; Table 1 reports their mean. Even without the scheduler, FunBCS is more accurate than every baseline on every task, and faster than DDIS.
Varying the shared constants. Figure 8 to Figure 10 vary the three constants that are shared across tasks, on 50 samples with everything else fixed. The slope β \beta β controls how sharply the effort weight of Eq. (28) falls off at the edges of the window. As β → 0 \beta\to0 β → 0 , the weight becomes flat and the allocation approaches the uniform one; as β → ∞ \beta\to\infty β → ∞ , the window becomes a hard box, and every noise level outside it keeps only the floor. We use β = 2 \beta= 2 β = 2 , which gives the lowest error averaged over the four tasks. The constant τ \tau τ controls the budget of the efficiency mode through Eq. (30) . At τ = 1 \tau= 1 τ = 1 , the noise level with the largest weight keeps the K K K steps of the uniform allocation and all other levels receive fewer; lowering τ \tau τ scales the steps above the floor by 1 / τ 1/\tau 1/ τ , until M ⋆ M^{\star} M ⋆ reaches the budget N K NK N K of the accuracy mode. The floor k min k_{\min} k m i n is the number of steps that every noise level keeps regardless of its weight. Without a floor, the noise levels outside the window receive almost no steps, while a large floor moves the allocation back towards the uniform one.
Figure 8. Error of FunBCS in the accuracy mode on 50 samples as the slope β \beta β of Eq. (28) varies, at the selected window edges; ∞ \infty ∞ denotes a hard window, and the outlined marker is the value used, β = 2 \beta= 2 β = 2 . The grey line is the uniform allocation of the same 800 steps. Darcy reports the pixel error rate and the other tasks the relative ℓ 2 \ell_2 ℓ 2 error.
Figure 10. Error of FunBCS on Helmholtz on 50 samples as the floor k min k_{\min} k m i n varies, at 800 and at 560 steps. Outlined markers are the value used, k min = 10 k_{\min}=10 k m i n = 10 , and the grey line is the uniform allocation at 800 steps.
Tuning the Selection Window
Since β \beta β , k min k_{\min} k m i n and τ \tau τ are shared across tasks, only the two edges of the selection window are set for a new PDE. We choose them with the grid search of algorithm 2, run with FunBCS in the accuracy mode. The candidate edges are the geometric midpoints between consecutive noise levels, roughly a factor of two apart; the upper edge is selected first, and a lower edge is kept only if it lowers the error further. Each candidate window is evaluated on 20 samples, so the search, which needs at most nine runs, takes about 50 minutes per PDE on a single A100 GPU.
Figure 9. Error of FunBCS on 50 samples against the budget M ⋆ M^\star M ⋆ resolved by Eq. (30) for τ = 1 , 0.9 , 0.8 , 0.7 , 0.65 , 0.6 \tau= 1, 0.9, 0.8, 0.7, 0.65, 0.6 τ = 1 , 0.9 , 0.8 , 0.7 , 0.65 , 0.6 and 0.5 0.5 0.5 , from left to right. The outlined marker is the value used, τ = 0.7 \tau= 0.7 τ = 0.7 , the square is the accuracy mode (M = N K = 800 M = NK = 800 M = N K = 800 ), and the grey line is the uniform allocation at 800 steps. On Poisson, τ = 0.5 \tau= 0.5 τ = 0.5 reaches the cap and coincides with the accuracy mode.
Sensitivity to the window edges. A coarse grid suffices because the error depends on the shape of the window far more than on the exact position of its edges. Figure 11 shows this on Darcy, the only task whose selected window has both edges. Moving one or both edges of the selected window by one grid step, a factor of about two in σ \sigma σ , keeps the error rate between 2.34 and 2.60%, against 2.88% for the uniform allocation, and 12 of the 13 windows with both edges improve on the uniform allocation. A window of the wrong shape, in contrast, does not: three of the four one-sided low-noise windows that suit the smooth tasks are worse than uniform on Darcy, with error rates up to 4.67%. The selection window is therefore not a sensitive choice. Once its shape is right, each edge only needs to be located to within a grid step, which the coarse search of algorithm 2 does in a few short runs.
Figure 11. Darcy error rate (%) of FunBCS on 50 samples for each window; σ l o w = 0 \sigma_{\mathrm{low}}=0 σ low = 0 and σ h i g h = ∞ \sigma_{\mathrm{high}}=\infty σ high = ∞ remove an edge, so the bottom-right cell is the uniform allocation. Blue cells beat it, and the outlined cell is the selected window.
Algorithm 2 Finding the selection window for each PDE
Require: A few samples of the PDE (outside the training and testing sets); set of candidate window bounds S \mathcal{S} S , the midpoints σ t k σ t k + 1 \sqrt{\sigma_{t_k}\sigma_{t_{k+1}}} σ t k σ t k + 1 between consecutive noise levels; a tolerance ϵ \epsilon ϵ for noise in the measured error.
Run every configuration below with FunBCS (algorithm 1) in the accuracy mode, using the shared β \beta β and k min k_{\min} k m i n .
Measure the error e u n i e_{\mathrm{uni}} e uni of the uniform allocation.
Upper bound. For each s ∈ S s\in\mathcal{S} s ∈ S , measure the error e ( s ) e(s) e ( s ) of the window ( 0 , s ) (0,s) ( 0 , s ) .
Set σ h i g h \sigma_{\mathrm{high}} σ high to the s s s with the lowest error, or to ∞ \infty ∞ (no upper bound) if no window beats the uniform allocation. If σ h i g h \sigma_{\mathrm{high}} σ high is the smallest or largest candidate, also try the next midpoint beyond it and keep the better of the two.
Lower bound. For each s ∈ S s\in\mathcal{S} s ∈ S below σ h i g h \sigma_{\mathrm{high}} σ high , measure the error e ′ ( s ) e'(s) e ′ ( s ) of the window ( s , σ h i g h ) (s,\sigma_{\mathrm{high}}) ( s , σ high ) , and let s ⋆ s^\star s ⋆ be the s s s with the lowest error.
Set σ l o w = s ⋆ \sigma_{\mathrm{low}}=s^\star σ low = s ⋆ if e ′ ( s ⋆ ) e'(s^\star) e ′ ( s ⋆ ) is lower than the error of the window ( 0 , σ h i g h ) (0,\sigma_{\mathrm{high}}) ( 0 , σ high ) by more than ϵ \epsilon ϵ , and σ l o w = 0 \sigma_{\mathrm{low}}=0 σ low = 0 (no lower bound) otherwise.
return ( σ l o w , σ h i g h ) (\sigma_{\mathrm{low}},\sigma_{\mathrm{high}}) ( σ low , σ high )
Generalizing Scheduling Function to DDIS
We evaluate whether the scheduling function generalizes to DDIS, an output space optimization method. It significantly improves the speed and also the accuracy of DDIS after only a short tuning of the window [ σ l o w , σ h i g h ] [\sigma_{\mathrm{low}},\sigma_{\mathrm{high}}] [ σ low , σ high ] . DDIS spends its budget on the Langevin steps with which it samples Eq. (5) at each of its N = 100 N=100 N = 100 noise levels. We allocate these steps with Eq. (29) , using K = 20 K=20 K = 20 steps per noise level for the uniform budget of 2,000 steps, a floor of k min = 2 k_{\min}=2 k m i n = 2 , and the same β \beta β and τ \tau τ as for FunBCS. The floor differs from that of FunBCS only because DDIS takes fewer steps per noise level: we keep the same fraction, one eighth of the steps of each noise level (10 of K = 80 K=80 K = 80 for FunBCS), which gives k min = 2 k_{\min}=2 k m i n = 2 for K = 20 K=20 K = 20 after rounding down. The edges are chosen with the same search (algorithm 2), which takes under an hour per PDE on a single A100 GPU. On Poisson, Helmholtz and Navier–Stokes it returns a one-sided low-noise window, ( 0 , 0.335 ) (0, 0.335) ( 0 , 0.335 ) on Poisson and Helmholtz and ( 0 , 0.144 ) (0, 0.144) ( 0 , 0.144 ) on Navier–Stokes, identical to or one grid step from the window of FunBCS. On Darcy it returns the window ( 0.144 , ∞ ) (0.144, \infty) ( 0.144 , ∞ ) .
Table 2 reports the results on the 100 test samples of Table 1 . In the accuracy mode, the scheduler lowers the error of DDIS by 8% on average at unchanged cost, and on all four tasks. In the efficiency mode, it makes DDIS 1.3× faster on average while lowering its error by 1% on average. On Darcy, the window covers most noise levels of DDIS, so M ⋆ M^\star M ⋆ reaches the full budget and the two modes coincide. The time falls by less than the number of steps because the probability-flow solve that DDIS runs at every noise level does not depend on the budget.
Table 2 : DDIS with and without the scheduling function on the 100 test samples of Table 1 . The uniform allocation is DDIS as in Table 1 , with K = 20 K = 20 K = 20 Langevin steps on each of its N = 100 N = 100 N = 100 noise levels. The accuracy mode redistributes the same 2,000 steps, and the efficiency mode cuts steps while maintaining baseline accuracy. On Darcy, M ⋆ M^\star M ⋆ reaches the full budget, so the two modes coincide. Errors are mean ± standard deviation over the test samples.
Table 2.
Navier–Stokes Spectral Analysis
Navier–Stokes is the only task where our two metrics disagree: our method improves relative ℓ 2 \ell_2 ℓ 2 over DDIS but worsens the spectral energy error E s E_s E s (Table 1 ). This section examines what drives that gap.
The two metrics can disagree because E s E_s E s compares radially averaged power spectra, and is therefore phase-blind. It measures whether a reconstruction carries the right amount of energy at each spatial frequency, but not whether that energy sits in the right places. A reconstruction whose high-frequency content is entirely unrelated to the ground truth can still score well on E s E_s E s , as long as its spectrum has roughly the right shape.
To tell these two cases apart, we take the 2D Fourier transform of the reconstruction and of the ground truth, group the modes into radial bins by wavenumber k k k , and compute a normalized inner product between the two sets of coefficients in each bin,
K ( k ) = ∣ ∑ k ∈ S k A ^ ( k ) A ( k ) ‾ ∣ ∑ k ∈ S k ∣ A ^ ( k ) ∣ 2 ∑ k ∈ S k ∣ A ( k ) ∣ 2 (31) \mathcal{K}(k) = \frac{\left|\sum_{\mathbf{k}\in S_k} \widehat{A}(\mathbf{k})\overline{A(\mathbf{k})}\right|}{\sqrt{\sum_{\mathbf{k}\in S_k}|\widehat{A}(\mathbf{k})|^2}\sqrt{\sum_{\mathbf{k}\in S_k}|A(\mathbf{k})|^2}} \tag*{(31)} K ( k ) = ∑ k ∈ S k ∣ A ( k ) ∣ 2 ∑ k ∈ S k ∣ A ( k ) ∣ 2 ∑ k ∈ S k A ( k ) A ( k ) (31)
where A ^ \widehat{A} A and A A A are the Fourier coefficients of the reconstruction and the ground truth, ( ⋅ ) ‾ \overline{(\cdot)} ( ⋅ ) denotes complex conjugation, and S k S_k S k collects every mode falling in radial bin k k k , across all test instances.
This is a correlation coefficient computed in the Fourier domain, and Cauchy–Schwarz places it in [ 0 , 1 ] [0,1] [ 0 , 1 ] . It equals 1 when the reconstructed modes match the true modes in both amplitude and phase, and falls toward 0 when the two are unrelated, no matter how much energy the reconstruction places at that frequency.
Figure 12 : We find that in nullspace (a) and overall (b), FunBCS (orange) has significantly less error on our discontinuous Poisson problem discussed in § 4 , as compared to DDIS (blue) validating our theoretical results.
Figure 12. (a) Nullspace error to a + a_+ a + . FunBCS (orange) performs significantly better than DDIS (blue). (b) Cumulative mean error to a + a_+ a + . FunBCS (orange) performs significantly better than DDIS (blue).
We observe that in Figure 13 , at the crossover at k ≈ 8 k \approx8 k ≈ 8 , DDIS retains considerably more power than we do, and this is what produces its lower E s E_s E s . However, the coherence of both methods is near zero over exactly this range, so the extra power DDIS retains is not aligned with the true modes.
Figure 13. Radially averaged power spectral density of the Navier–Stokes reconstructions against the ground truth, alongside three other PDEs. Above k ≈ 8 k \approx8 k ≈ 8 , DDIS retains substantially more power than our method and exceeds the ground-truth spectrum over part of this range, which is what drives its lower E s E_s E s in Table 1 .
Comparing both curves against the ground truth sharpens this. Our reconstructions fall below the true spectrum in this range, whereas DDIS rises above it over part of it, so DDIS is adding high-frequency detail that the true field does not contain and that does not match the true modes. Because this content is uncorrelated with the ground truth, it adds to the squared error rather than reducing it, which is consistent with our lower relative ℓ 2 \ell_2 ℓ 2 , as shrinking unrecoverable modes toward zero is the better choice under an ℓ 2 \ell_2 ℓ 2 objective, even though it costs spectral realism. We therefore report E s E_s E s alongside coherence, since on this benchmark a lower E s E_s E s reflects plausible but spurious high-frequency texture rather than recovered structure.
Additional Experiments
Figure 14. Per-wavenumber coherence with the ground truth on four PDEs. Beyond the same k ≈ 8 k \approx8 k ≈ 8 crossover, coherence is near zero for both methods, indicating that neither recovers the true high-wavenumber modes. Together with Figure 13 , this suggests the E s E_s E s gap reflects prior-consistent texture in unidentified modes rather than recovered information.
Visualizing Reconstructed Fields & Solutions
In this section we provide additional visualizations of the reconstructed coefficient fields, together with the solution fields estimated from the same sparse observations, on Poisson and Helmholtz (Figure 16 ) and on Navier–Stokes and Darcy (Figure 17 ).
Box Plots of Main Results
Figure 15 shows the distribution of the errors in Table 1 over the 100 test samples.
Study of Discontinuous Poisson’s Equation
In order to validate Prop. 3, and the distinction between DDIS and FunBCS more broadly, we perform an experiment on discontinuous Poisson following our setting in § 4 except we use a neural operator surrogate; learned prior; compute a ˉ D , t k − 1 \bar{a}_{D,t_{k-1}} a ˉ D , t k − 1 by averaging 100 samples a t k − 1 ( D ) a_{t_{k-1}}^{(D)} a t k − 1 ( D ) . We consider Ω = ( − 32 , 32 ) \Omega= (-32, 32) Ω = ( − 32 , 32 ) , and z − = − 2 , z + = 2 z_- = -2, z_+ = 2 z − = − 2 , z + = 2 . Note that we do not configure an input optimization scheduler, instead using 10 reverse sampling steps each with 30 input optimization steps. We compute P ker A P_{\ker A} P k e r A with respect to the finite difference approximation G G G . As expected, per Figure 12 a, FunBCS obtains significantly less error than DDIS in nullspace; per Figure 12 b, FunBCS thus obtains significantly less error overall.
Connection with Preconditioned Output Space Optimization
As discussed in App. § 11 , input optimization is equivalent to preconditioned output space optimization. We discuss this further below. We consider the setting of § 4 . Firstly, we note that output space optimization fails because the unobserved component of the measurement consistency gradient is 0:
Proposition 6. Let L ( a ) : = ∥ A a − u o b s ∥ 2 2 γ 2 \mathcal{L}(a) := \frac{\lVert Aa-u_{\mathrm{obs}}\rVert^{2}}{2\gamma^{2}} L ( a ) := 2 γ 2 ∥ A a − u obs ∥ 2 for a γ > 0 \gamma> 0 γ > 0 . Then,
∇ a L ( a ) = 1 γ 2 A T ( A a − u o b s ) (32) \nabla_a \mathcal{L}(a) = \frac{1}{\gamma^{2}} A^{T}(Aa-u_{\mathrm{obs}}) \tag*{(32)} ∇ a L ( a ) = γ 2 1 A T ( A a − u obs ) (32) and thus
P ker A ∇ a L ( a ) = 0. (33) P_{\ker A}\nabla_a \mathcal{L}(a) = 0. \tag*{(33)} P k e r A ∇ a L ( a ) = 0. (33)
Proof: See App. § 19 .9.
Consequently, an output space optimization procedure which leverages the measurement consistency gradient, unchanged, will not update the nullspace component. In particular, output space optimization can be viewed in continuous time as computing a ˙ = − ∇ a L ( a ) \dot{a}=-\nabla_a\mathcal{L}(a) a ˙ = − ∇ a L ( a ) , and consequently P ker A a ˙ = 0 P_{\ker A}\dot{a}=0 P k e r A a ˙ = 0 . However, one can leverage a preconditioner to couple the observed and unobserved components. Then, changing the observed component in output space by minimizing the measurement consistency loss will also change the unobserved component. In particular, our approach as outlined in § 5 is equivalent to performing preconditioned output space optimization:
Proposition 7. Assume A d ≠ 0 Ad \ne0 A d = 0 and P ker A d ≠ 0 P_{\ker A}d \ne0 P k e r A d = 0 . Fix diffusion time t k t_k t k and consider the exact denoiser D θ ( ⋅ , t k ) = D ∗ ( ⋅ , t k ) D_{\theta}(\cdot,t_k)=D^{*}(\cdot,t_k) D θ ( ⋅ , t k ) = D ∗ ( ⋅ , t k ) . Let v ( s ) v(s) v ( s ) be defined per the gradient flow in Eq. (12) . Let a ( s ) : = D ∗ ( v ( s ) , t k ) a(s):=D^{*}(v(s),t_k) a ( s ) := D ∗ ( v ( s ) , t k ) . Then, we have that:
d d s a ( s ) = − P ( v ( s ) , t k ) ∇ a L ( a ) ∣ a = a ( s ) , (34) \frac{d}{ds}a(s)=-P(v(s),t_k)\nabla_a\mathcal{L}(a)\big|_{a=a(s)}, \tag*{(34)} d s d a ( s ) = − P ( v ( s ) , t k ) ∇ a L ( a ) a = a ( s ) , (34) where
P ( v , t k ) : = ∇ v D ∗ ( v , t k ) ∇ v D ∗ ( v , t k ) T . (35) P(v,t_k):=\nabla_vD^{*}(v,t_k)\nabla_vD^{*}(v,t_k)^{T}. \tag*{(35)} P ( v , t k ) := ∇ v D ∗ ( v , t k ) ∇ v D ∗ ( v , t k ) T . (35) Consequently,
P ker A d d s a ( s ) ≠ 0. (36) P_{\ker A}\frac{d}{ds}a(s)\ne0. \tag*{(36)} P k e r A d s d a ( s ) = 0. (36)
Proof: See App. § 19 .10.
Thus, optimizing over the input is equivalent to preconditioned output space optimization, which can update the unobserved components. We note that the recent approach of [67 ] also incorporates a preconditioner, but does not motivate it rigorously and requires extra computation; our approach is instead motivated from the perspective of PDE inverse problems and leverages the diffusion denoiser.
Proofs
Consider the setting of App. § 10 . Fix diffusion times t k > t k − 1 t_k > t_{k-1} t k > t k − 1 with σ t k ≥ σ t 0 > 0 \sigma_{t_k} \ge\sigma_{t_0} > 0 σ t k ≥ σ t 0 > 0 . Throughout, we consider the setting of § 4 . In proofs, k t k ( ⋅ ) k_{t_k}(\cdot) k t k ( ⋅ ) denotes the function defined by k t k ( v ) : = P ( a 0 = a + ∣ a t k = v ) k_{t_k}(v) := \mathbb{P}(a_0 = a_+ \mid a_{t_k} = v) k t k ( v ) := P ( a 0 = a + ∣ a t k = v ) , and w ( s ) : = k t k ( v ( s ) ) w(s) := k_{t_k}(v(s)) w ( s ) := k t k ( v ( s )) . Here, k t k ( a t k ) k_{t_k}(a_{t_k}) k t k ( a t k ) means evaluation at the forward random vector a t k a_{t_k} a t k , while k t k ( a t k ( D ) ) k_{t_k}(a_{t_k}^{(D)}) k t k ( a t k ( D ) ) and k t k ( a t k ( B ) ) k_{t_k}(a_{t_k}^{(B)}) k t k ( a t k ( B ) ) mean evaluation of this same function at the algorithmic states. We show this regular conditional probability is well-defined in Lemma 4.
Helpful Lemmas
Lemma 1 (Conditional laws after renoising). The update in Eq. (6) satisfies
a t k − 1 ( D ) ∣ a t k ( D ) , u o b s ∼ N ( a ˉ D , t k − 1 , ( A T A γ 2 + I σ t k 2 ) − 1 + σ t k − 1 2 K ) , (37) a_{t_{k-1}}^{(D)} \mid a_{t_k}^{(D)}, u_{\mathrm{obs}} \sim\mathcal{N}\left(\bar{a}_{D,t_{k-1}}, \left(\frac{A^{\mathsf{T}}A}{\gamma^2}+\frac{I}{\sigma_{t_k}^2}\right)^{-1}+\sigma_{t_{k-1}}^2 K\right), \tag*{(37)} a t k − 1 ( D ) ∣ a t k ( D ) , u obs ∼ N ( a ˉ D , t k − 1 , ( γ 2 A T A + σ t k 2 I ) − 1 + σ t k − 1 2 K ) , (37)
where a ˉ D , t k − 1 \bar{a}_{D,t_{k-1}} a ˉ D , t k − 1 is given by Lemma 2, and under the exact denoiser D ∗ ( ⋅ , t k ) D^*(\cdot,t_k) D ∗ ( ⋅ , t k ) , the update in Eq. (13) satisfies:
a t k − 1 ( B ) ∣ a t k ( B ) , u o b s ∼ N ( D ∗ ( v ( s ) , t k ) , σ t k − 1 2 K ) . (38) a_{t_{k-1}}^{(B)} \mid a_{t_k}^{(B)}, u_{\mathrm{obs}} \sim\mathcal{N}\left(D^*(v(s),t_k),\sigma_{t_{k-1}}^2 K\right). \tag*{(38)} a t k − 1 ( B ) ∣ a t k ( B ) , u obs ∼ N ( D ∗ ( v ( s ) , t k ) , σ t k − 1 2 K ) . (38)
Proof. Conditional on a t k ( D ) , u o b s a_{t_k}^{(D)}, u_{\mathrm{obs}} a t k ( D ) , u obs , Lemma 2 gives
a ~ 0 ∼ N ( a ˉ D , t k − 1 , Σ D , t k ) , ε k ( D ) ∼ N ( 0 , K ) , a ~ 0 ⊥ ⊥ ε k ( D ) . (39) \widetilde{a}_0 \sim\mathcal{N}(\bar{a}_{D,t_{k-1}},\Sigma_{D,t_k}), \qquad\varepsilon_k^{(D)} \sim\mathcal{N}(0,K), \qquad\widetilde{a}_0 \perp\!\!\!\perp\varepsilon_k^{(D)}. \tag*{(39)} a 0 ∼ N ( a ˉ D , t k − 1 , Σ D , t k ) , ε k ( D ) ∼ N ( 0 , K ) , a 0 ⊥ ⊥ ε k ( D ) . (39)
Therefore
σ t k − 1 ε k ( D ) ∼ N ( 0 , σ t k − 1 2 K ) , a ~ 0 + σ t k − 1 ε k ( D ) ∼ N ( a ˉ D , t k − 1 , Σ D , t k + σ t k − 1 2 K ) , (40) \sigma_{t_{k-1}}\varepsilon_k^{(D)} \sim\mathcal{N}(0,\sigma_{t_{k-1}}^2K), \qquad\widetilde{a}_0+\sigma_{t_{k-1}}\varepsilon_k^{(D)} \sim\mathcal{N}(\bar{a}_{D,t_{k-1}},\Sigma_{D,t_k}+\sigma_{t_{k-1}}^2K), \tag*{(40)} σ t k − 1 ε k ( D ) ∼ N ( 0 , σ t k − 1 2 K ) , a 0 + σ t k − 1 ε k ( D ) ∼ N ( a ˉ D , t k − 1 , Σ D , t k + σ t k − 1 2 K ) , (40)
proving Eq. (37) .
For Eq. (38) , Lemma 6 determines v ( s ) v(s) v ( s ) uniquely for fixed a t k ( B ) , u o b s a_{t_k}^{(B)}, u_{\mathrm{obs}} a t k ( B ) , u obs . Thus D ∗ ( v ( s ) , t k ) ∈ R n D^*(v(s),t_k) \in\mathbb{R}^n D ∗ ( v ( s ) , t k ) ∈ R n is fixed under this conditioning, and
ε k ( B ) ∼ N ( 0 , K ) ⟹ D ∗ ( v ( s ) , t k ) + σ t k − 1 ε k ( B ) ∼ N ( D ∗ ( v ( s ) , t k ) , σ t k − 1 2 K ) . (41) \varepsilon_k^{(B)} \sim\mathcal{N}(0,K) \quad\Longrightarrow\quad D^*(v(s),t_k)+\sigma_{t_{k-1}}\varepsilon_k^{(B)} \sim\mathcal{N}(D^*(v(s),t_k),\sigma_{t_{k-1}}^2K). \tag*{(41)} ε k ( B ) ∼ N ( 0 , K ) ⟹ D ∗ ( v ( s ) , t k ) + σ t k − 1 ε k ( B ) ∼ N ( D ∗ ( v ( s ) , t k ) , σ t k − 1 2 K ) . (41)
This proves Lemma 1. □
Lemma 2 (DDIS mean and covariance). The density in Eq. (5) , given A h = A \mathcal{A}_h=A A h = A , is that of N ( a ˉ D , t k − 1 , Σ D , t k ) \mathcal{N}(\bar{a}_{D,t_{k-1}},\Sigma_{D,t_k}) N ( a ˉ D , t k − 1 , Σ D , t k ) , where
a ˉ D , t k − 1 = ( A T A γ 2 + I σ t k 2 ) − 1 ( A T u o b s γ 2 + D θ ( a t k ( D ) , t k ) σ t k 2 ) (42) \bar{a}_{D,t_{k-1}}=
\left(\frac{A^{\mathsf{T}}A}{\gamma^2}+\frac{I}{\sigma_{t_k}^2}\right)^{-1}
\left(\frac{A^{\mathsf{T}}u_{\mathrm{obs}}}{\gamma^2}+\frac{D_\theta(a_{t_k}^{(D)},t_k)}{\sigma_{t_k}^2}\right) \tag*{(42)} a ˉ D , t k − 1 = ( γ 2 A T A + σ t k 2 I ) − 1 ( γ 2 A T u obs + σ t k 2 D θ ( a t k ( D ) , t k ) ) (42)
and
Σ D , t k : = ( A T A γ 2 + I σ t k 2 ) − 1 . (43) \Sigma_{D,t_k}:=\left(\frac{A^{\mathsf{T}}A}{\gamma^2}+\frac{I}{\sigma_{t_k}^2}\right)^{-1}. \tag*{(43)} Σ D , t k := ( γ 2 A T A + σ t k 2 I ) − 1 . (43)
Proof. Fix t k > 0 t_k > 0 t k > 0 , a t k ( D ) ∈ R n a_{t_k}^{(D)} \in\mathbb{R}^n a t k ( D ) ∈ R n , and u o b s ∈ R m u_{\mathrm{obs}} \in\mathbb{R}^m u obs ∈ R m . Throughout the proof, a 0 ∈ R n a_0 \in\mathbb{R}^n a 0 ∈ R n is the variable in the density. DDIS approximates the denoising conditional density by
q D ( a 0 ∣ a t k ( D ) ) = 1 ( 2 π σ t k 2 ) n / 2 exp { − ∥ a 0 − D θ ( a t k ( D ) , t k ) ∥ 2 2 σ t k 2 } . (44) q_D(a_0 \mid a_{t_k}^{(D)})=\frac{1}{(2\pi\sigma_{t_k}^2)^{n/2}}\exp\left\{-\frac{\lVert a_0-D_\theta(a_{t_k}^{(D)},t_k)\rVert^2}{2\sigma_{t_k}^2}\right\}. \tag*{(44)} q D ( a 0 ∣ a t k ( D ) ) = ( 2 π σ t k 2 ) n /2 1 exp { − 2 σ t k 2 ∥ a 0 − D θ ( a t k ( D ) , t k ) ∥ 2 } . (44)
The observation likelihood is
p ( u o b s ∣ a 0 ) = 1 ( 2 π γ 2 ) m / 2 exp { − ∥ A a 0 − u o b s ∥ 2 2 γ 2 } . (45) p(u_{\mathrm{obs}} \mid a_0) = \frac{1}{(2\pi\gamma^2)^{m/2}} \exp\left\{-\frac{\lVert Aa_0-u_{\mathrm{obs}}\rVert^2}{2\gamma^2}\right\}. \tag*{(45)} p ( u obs ∣ a 0 ) = ( 2 π γ 2 ) m /2 1 exp { − 2 γ 2 ∥ A a 0 − u obs ∥ 2 } . (45)
DDIS defines the following density
q D , t k ( a 0 ∣ a t k ( D ) , u o b s ) : = p ( u o b s ∣ a 0 ) q D ( a 0 ∣ a t k ( D ) ) ∫ R n p ( u o b s ∣ x ) q D ( x ∣ a t k ( D ) ) d x . (46) q_{D,t_k}\left(a_0 \mid a_{t_k}^{(D)},u_{\mathrm{obs}}\right) := \frac{p(u_{\mathrm{obs}}\mid a_0)q_D\left(a_0\mid a_{t_k}^{(D)}\right)}{\int_{\mathbb{R}^n}p(u_{\mathrm{obs}}\mid x)q_D\left(x\mid a_{t_k}^{(D)}\right)\,\mathrm{d}x}. \tag*{(46)} q D , t k ( a 0 ∣ a t k ( D ) , u obs ) := ∫ R n p ( u obs ∣ x ) q D ( x ∣ a t k ( D ) ) d x p ( u obs ∣ a 0 ) q D ( a 0 ∣ a t k ( D ) ) . (46)
The denominator is strictly positive because its integrand is everywhere positive. It is finite because p ( u o b s ∣ x ) ≤ ( 2 π γ 2 ) − m / 2 p(u_{\mathrm{obs}}\mid x) \le(2\pi\gamma^2)^{-m/2} p ( u obs ∣ x ) ≤ ( 2 π γ 2 ) − m /2 and q D ( ⋅ ∣ a t k ( D ) ) q_D(\cdot\mid a_{t_k}^{(D)}) q D ( ⋅ ∣ a t k ( D ) ) integrates to one. Thus Eq. (46) is well-defined.
Substituting Eqs. (44) and (45) into Eq. (46) gives
q D , t k ( a 0 ∣ a t k ( D ) , u o b s ) = exp { − ∥ A a 0 − u o b s ∥ 2 2 γ 2 − ∥ a 0 − D θ ( a t k ( D ) , t k ) ∥ 2 2 σ t k 2 } ( 2 π γ 2 ) m / 2 ( 2 π σ t k 2 ) n / 2 ∫ R n exp { − ∥ A x − u o b s ∥ 2 2 γ 2 − ∥ x − D θ ( a t k ( D ) , t k ) ∥ 2 2 σ t k 2 } d x ( 2 π γ 2 ) m / 2 ( 2 π σ t k 2 ) n / 2 . (47) q_{D,t_k}\left(a_0 \mid a_{t_k}^{(D)},u_{\mathrm{obs}}\right) =
\frac{\dfrac{\exp\left\{-\dfrac{\lVert Aa_0-u_{\mathrm{obs}}\rVert^2}{2\gamma^2}-\dfrac{\lVert a_0-D_\theta(a_{t_k}^{(D)},t_k)\rVert^2}{2\sigma_{t_k}^2}\right\}}{(2\pi\gamma^2)^{m/2}(2\pi\sigma_{t_k}^2)^{n/2}}}
{\dfrac{\int_{\mathbb{R}^n}\exp\left\{-\dfrac{\lVert Ax-u_{\mathrm{obs}}\rVert^2}{2\gamma^2}-\dfrac{\lVert x-D_\theta(a_{t_k}^{(D)},t_k)\rVert^2}{2\sigma_{t_k}^2}\right\}\,\mathrm{d}x}{(2\pi\gamma^2)^{m/2}(2\pi\sigma_{t_k}^2)^{n/2}}}. \tag*{(47)} q D , t k ( a 0 ∣ a t k ( D ) , u obs ) = ( 2 π γ 2 ) m /2 ( 2 π σ t k 2 ) n /2 ∫ R n exp { − 2 γ 2 ∥ A x − u obs ∥ 2 − 2 σ t k 2 ∥ x − D θ ( a t k ( D ) , t k ) ∥ 2 } d x ( 2 π γ 2 ) m /2 ( 2 π σ t k 2 ) n /2 exp { − 2 γ 2 ∥ A a 0 − u obs ∥ 2 − 2 σ t k 2 ∥ a 0 − D θ ( a t k ( D ) , t k ) ∥ 2 } . (47)
We next complete the square in the exponent. The matrix A T A / γ 2 + I / σ t k 2 A^{\mathsf{T}}A/\gamma^2+I/\sigma_{t_k}^2 A T A / γ 2 + I / σ t k 2 is symmetric, and for every nonzero x ∈ R n x\in\mathbb{R}^n x ∈ R n ,
x T ( A T A γ 2 + I σ t k 2 ) x = ∥ A x ∥ 2 γ 2 + ∥ x ∥ 2 σ t k 2 > 0. (48) x^{\mathsf{T}}\left(\frac{A^{\mathsf{T}}A}{\gamma^2}+\frac{I}{\sigma_{t_k}^2}\right)x=\frac{\lVert Ax\rVert^2}{\gamma^2}+\frac{\lVert x\rVert^2}{\sigma_{t_k}^2}>0. \tag*{(48)} x T ( γ 2 A T A + σ t k 2 I ) x = γ 2 ∥ A x ∥ 2 + σ t k 2 ∥ x ∥ 2 > 0. (48)
Hence it is positive definite and invertible, so Σ D , t k \Sigma_{D,t_k} Σ D , t k in Lemma 2 is well-defined and positive definite. By definition, we have
Σ D , t k − 1 a ˉ D , t k − 1 = A T u o b s γ 2 + D θ ( a t k ( D ) , t k ) σ t k 2 . (49) \Sigma_{D,t_k}^{-1}\bar a_{D,t_k-1}=\frac{A^{\mathsf{T}}u_{\mathrm{obs}}}{\gamma^2}+\frac{D_\theta(a_{t_k}^{(D)},t_k)}{\sigma_{t_k}^2}. \tag*{(49)} Σ D , t k − 1 a ˉ D , t k − 1 = γ 2 A T u obs + σ t k 2 D θ ( a t k ( D ) , t k ) . (49)
Expanding the two squared norms and using Eq. (49) yields
∥ A a 0 − u o b s ∥ 2 2 γ 2 + ∥ a 0 − D θ ( a t k ( D ) , t k ) ∥ 2 2 σ t k 2 = 1 2 γ 2 ( A a 0 − u o b s ) ⊤ ( A a 0 − u o b s ) + 1 2 σ t k 2 ( a 0 − D θ ( a t k ( D ) , t k ) ) ⊤ ( a 0 − D θ ( a t k ( D ) , t k ) ) = 1 2 γ 2 ( a 0 ⊤ A ⊤ A a 0 − 2 a 0 ⊤ A ⊤ u o b s + ∥ u o b s ∥ 2 ) + 1 2 σ t k 2 ( a 0 ⊤ a 0 − 2 a 0 ⊤ D θ ( a t k ( D ) , t k ) + ∥ D θ ( a t k ( D ) , t k ) ∥ 2 ) = 1 2 a 0 ⊤ ( A ⊤ A γ 2 + I σ t k 2 ) a 0 − a 0 ⊤ ( A ⊤ u o b s γ 2 + D θ ( a t k ( D ) , t k ) σ t k 2 ) + ∥ u o b s ∥ 2 2 γ 2 + ∥ D θ ( a t k ( D ) , t k ) ∥ 2 2 σ t k 2 = 1 2 a 0 ⊤ Σ D , t k − 1 a 0 − a 0 ⊤ ( A ⊤ u o b s γ 2 + D θ ( a t k ( D ) , t k ) σ t k 2 ) + ∥ u o b s ∥ 2 2 γ 2 + ∥ D θ ( a t k ( D ) , t k ) ∥ 2 2 σ t k 2 = 1 2 a 0 ⊤ Σ D , t k − 1 a 0 − a 0 ⊤ Σ D , t k − 1 a ˉ D , t k − 1 + ∥ u o b s ∥ 2 2 γ 2 + ∥ D θ ( a t k ( D ) , t k ) ∥ 2 2 σ t k 2 . (50) \begin{aligned}
\frac{\lVert Aa_0-u_{\mathrm{obs}}\rVert^2}{2\gamma^2}+\frac{\lVert a_0-D_\theta(a_{t_k}^{(D)},t_k)\rVert^2}{2\sigma_{t_k}^2}
&=\frac{1}{2\gamma^2}(Aa_0-u_{\mathrm{obs}})^\top(Aa_0-u_{\mathrm{obs}})\\
&\quad+\frac{1}{2\sigma_{t_k}^2}(a_0-D_\theta(a_{t_k}^{(D)},t_k))^\top(a_0-D_\theta(a_{t_k}^{(D)},t_k))\\
&=\frac{1}{2\gamma^2}(a_0^\top A^\top Aa_0-2a_0^\top A^\top u_{\mathrm{obs}}+\lVert u_{\mathrm{obs}}\rVert^2)\\
&\quad+\frac{1}{2\sigma_{t_k}^2}(a_0^\top a_0-2a_0^\top D_\theta(a_{t_k}^{(D)},t_k)+\lVert D_\theta(a_{t_k}^{(D)},t_k)\rVert^2)\\
&=\frac{1}{2}a_0^\top\left(\frac{A^\top A}{\gamma^2}+\frac{I}{\sigma_{t_k}^2}\right)a_0\\
&\quad-a_0^\top\left(\frac{A^\top u_{\mathrm{obs}}}{\gamma^2}+\frac{D_\theta(a_{t_k}^{(D)},t_k)}{\sigma_{t_k}^2}\right)+\frac{\lVert u_{\mathrm{obs}}\rVert^2}{2\gamma^2}+\frac{\lVert D_\theta(a_{t_k}^{(D)},t_k)\rVert^2}{2\sigma_{t_k}^2}\\
&=\frac{1}{2}a_0^\top\Sigma_{D,t_k}^{-1}a_0-a_0^\top\left(\frac{A^\top u_{\mathrm{obs}}}{\gamma^2}+\frac{D_\theta(a_{t_k}^{(D)},t_k)}{\sigma_{t_k}^2}\right)+\frac{\lVert u_{\mathrm{obs}}\rVert^2}{2\gamma^2}+\frac{\lVert D_\theta(a_{t_k}^{(D)},t_k)\rVert^2}{2\sigma_{t_k}^2}\\
&=\frac{1}{2}a_0^\top\Sigma_{D,t_k}^{-1}a_0-a_0^\top\Sigma_{D,t_k}^{-1}\bar a_{D,t_{k-1}}+\frac{\lVert u_{\mathrm{obs}}\rVert^2}{2\gamma^2}+\frac{\lVert D_\theta(a_{t_k}^{(D)},t_k)\rVert^2}{2\sigma_{t_k}^2}. \tag*{(50)}
\end{aligned} 2 γ 2 ∥ A a 0 − u obs ∥ 2 + 2 σ t k 2 ∥ a 0 − D θ ( a t k ( D ) , t k ) ∥ 2 = 2 γ 2 1 ( A a 0 − u obs ) ⊤ ( A a 0 − u obs ) + 2 σ t k 2 1 ( a 0 − D θ ( a t k ( D ) , t k ) ) ⊤ ( a 0 − D θ ( a t k ( D ) , t k )) = 2 γ 2 1 ( a 0 ⊤ A ⊤ A a 0 − 2 a 0 ⊤ A ⊤ u obs + ∥ u obs ∥ 2 ) + 2 σ t k 2 1 ( a 0 ⊤ a 0 − 2 a 0 ⊤ D θ ( a t k ( D ) , t k ) + ∥ D θ ( a t k ( D ) , t k ) ∥ 2 ) = 2 1 a 0 ⊤ ( γ 2 A ⊤ A + σ t k 2 I ) a 0 − a 0 ⊤ ( γ 2 A ⊤ u obs + σ t k 2 D θ ( a t k ( D ) , t k ) ) + 2 γ 2 ∥ u obs ∥ 2 + 2 σ t k 2 ∥ D θ ( a t k ( D ) , t k ) ∥ 2 = 2 1 a 0 ⊤ Σ D , t k − 1 a 0 − a 0 ⊤ ( γ 2 A ⊤ u obs + σ t k 2 D θ ( a t k ( D ) , t k ) ) + 2 γ 2 ∥ u obs ∥ 2 + 2 σ t k 2 ∥ D θ ( a t k ( D ) , t k ) ∥ 2 = 2 1 a 0 ⊤ Σ D , t k − 1 a 0 − a 0 ⊤ Σ D , t k − 1 a ˉ D , t k − 1 + 2 γ 2 ∥ u obs ∥ 2 + 2 σ t k 2 ∥ D θ ( a t k ( D ) , t k ) ∥ 2 . (50)
Symmetry of Σ D , t k − 1 \Sigma_{D,t_k}^{-1} Σ D , t k − 1 gives
1 2 ( a 0 − a ˉ D , t k − 1 ) ⊤ Σ D , t k − 1 ( a 0 − a ˉ D , t k − 1 ) = 1 2 ( a 0 ⊤ − a ˉ D , t k − 1 ⊤ ) Σ D , t k − 1 ( a 0 − a ˉ D , t k − 1 ) = 1 2 ( a 0 ⊤ Σ D , t k − 1 a 0 − a 0 ⊤ Σ D , t k − 1 a ˉ D , t k − 1 − a ˉ D , t k − 1 ⊤ Σ D , t k − 1 a 0 + a ˉ D , t k − 1 ⊤ Σ D , t k − 1 a ˉ D , t k − 1 ) = 1 2 ( a 0 ⊤ Σ D , t k − 1 a 0 − 2 a 0 ⊤ Σ D , t k − 1 a ˉ D , t k − 1 + a ˉ D , t k − 1 ⊤ Σ D , t k − 1 a ˉ D , t k − 1 ) = 1 2 a 0 ⊤ Σ D , t k − 1 a 0 − a 0 ⊤ Σ D , t k − 1 a ˉ D , t k − 1 + 1 2 a ˉ D , t k − 1 ⊤ Σ D , t k − 1 a ˉ D , t k − 1 . (51) \begin{aligned}
\frac{1}{2}(a_0-\bar a_{D,t_{k-1}})^\top\Sigma_{D,t_k}^{-1}(a_0-\bar a_{D,t_{k-1}})
&=\frac{1}{2}(a_0^\top-\bar a_{D,t_{k-1}}^\top)\Sigma_{D,t_k}^{-1}(a_0-\bar a_{D,t_{k-1}})\\
&=\frac{1}{2}\left(a_0^\top\Sigma_{D,t_k}^{-1}a_0-a_0^\top\Sigma_{D,t_k}^{-1}\bar a_{D,t_{k-1}}-\bar a_{D,t_{k-1}}^\top\Sigma_{D,t_k}^{-1}a_0+\bar a_{D,t_{k-1}}^\top\Sigma_{D,t_k}^{-1}\bar a_{D,t_{k-1}}\right)\\
&=\frac{1}{2}\left(a_0^\top\Sigma_{D,t_k}^{-1}a_0-2a_0^\top\Sigma_{D,t_k}^{-1}\bar a_{D,t_{k-1}}+\bar a_{D,t_{k-1}}^\top\Sigma_{D,t_k}^{-1}\bar a_{D,t_{k-1}}\right)\\
&=\frac{1}{2}a_0^\top\Sigma_{D,t_k}^{-1}a_0-a_0^\top\Sigma_{D,t_k}^{-1}\bar a_{D,t_{k-1}}+\frac{1}{2}\bar a_{D,t_{k-1}}^\top\Sigma_{D,t_k}^{-1}\bar a_{D,t_{k-1}}. \tag*{(51)}
\end{aligned} 2 1 ( a 0 − a ˉ D , t k − 1 ) ⊤ Σ D , t k − 1 ( a 0 − a ˉ D , t k − 1 ) = 2 1 ( a 0 ⊤ − a ˉ D , t k − 1 ⊤ ) Σ D , t k − 1 ( a 0 − a ˉ D , t k − 1 ) = 2 1 ( a 0 ⊤ Σ D , t k − 1 a 0 − a 0 ⊤ Σ D , t k − 1 a ˉ D , t k − 1 − a ˉ D , t k − 1 ⊤ Σ D , t k − 1 a 0 + a ˉ D , t k − 1 ⊤ Σ D , t k − 1 a ˉ D , t k − 1 ) = 2 1 ( a 0 ⊤ Σ D , t k − 1 a 0 − 2 a 0 ⊤ Σ D , t k − 1 a ˉ D , t k − 1 + a ˉ D , t k − 1 ⊤ Σ D , t k − 1 a ˉ D , t k − 1 ) = 2 1 a 0 ⊤ Σ D , t k − 1 a 0 − a 0 ⊤ Σ D , t k − 1 a ˉ D , t k − 1 + 2 1 a ˉ D , t k − 1 ⊤ Σ D , t k − 1 a ˉ D , t k − 1 . (51)
Define
c D , t k : = ∥ u o b s ∥ 2 2 γ 2 + ∥ D θ ( a t k ( D ) , t k ) ∥ 2 2 σ t k 2 − 1 2 a ˉ D , t k − 1 ⊤ Σ D , t k − 1 a ˉ D , t k − 1 . (52) c_{D,t_k}:=\frac{\lVert u_{\mathrm{obs}}\rVert^2}{2\gamma^2}+\frac{\lVert D_\theta(a_{t_k}^{(D)},t_k)\rVert^2}{2\sigma_{t_k}^2}-\frac{1}{2}\bar a_{D,t_{k-1}}^\top\Sigma_{D,t_k}^{-1}\bar a_{D,t_{k-1}}. \tag*{(52)} c D , t k := 2 γ 2 ∥ u obs ∥ 2 + 2 σ t k 2 ∥ D θ ( a t k ( D ) , t k ) ∥ 2 − 2 1 a ˉ D , t k − 1 ⊤ Σ D , t k − 1 a ˉ D , t k − 1 . (52)
Incorporating Eq. (51) into Eq. (50) yields
∥ A a 0 − u o b s ∥ 2 2 γ 2 + ∥ a 0 − D θ ( a t k ( D ) , t k ) ∥ 2 2 σ t k 2 = 1 2 ( a 0 − a ˉ D , t k − 1 ) ⊤ Σ D , t k − 1 ( a 0 − a ˉ D , t k − 1 ) + c D , t k . (53) \frac{\lVert Aa_0-u_{\mathrm{obs}}\rVert^2}{2\gamma^2}+\frac{\lVert a_0-D_\theta(a_{t_k}^{(D)},t_k)\rVert^2}{2\sigma_{t_k}^2}
=\frac{1}{2}(a_0-\bar a_{D,t_{k-1}})^\top\Sigma_{D,t_k}^{-1}(a_0-\bar a_{D,t_{k-1}})+c_{D,t_k}. \tag*{(53)} 2 γ 2 ∥ A a 0 − u obs ∥ 2 + 2 σ t k 2 ∥ a 0 − D θ ( a t k ( D ) , t k ) ∥ 2 = 2 1 ( a 0 − a ˉ D , t k − 1 ) ⊤ Σ D , t k − 1 ( a 0 − a ˉ D , t k − 1 ) + c D , t k . (53)
The scalar c D , t k c_{D,t_k} c D , t k is independent of a 0 a_0 a 0 . Since Eq. (53) holds for every a 0 ∈ R n a_0 \in\mathbb{R}^n a 0 ∈ R n , it also holds with the integration variable x x x in place of a 0 a_0 a 0 , with the same scalar c D , t k c_{D,t_k} c D , t k . Consequently, Eq. (47) becomes
q D , t k ( a 0 ∣ a t k ( D ) , u o b s ) = e − c D , t k exp { − 1 2 ( a 0 − a ˉ D , t k − 1 ) T Σ D , t k − 1 ( a 0 − a ˉ D , t k − 1 ) } e − c D , t k ∫ R n exp { − 1 2 ( x − a ˉ D , t k − 1 ) T Σ D , t k − 1 ( x − a ˉ D , t k − 1 ) } d x = exp { − 1 2 ( a 0 − a ˉ D , t k − 1 ) T Σ D , t k − 1 ( a 0 − a ˉ D , t k − 1 ) } ∫ R n exp { − 1 2 ( x − a ˉ D , t k − 1 ) T Σ D , t k − 1 ( x − a ˉ D , t k − 1 ) } d x . (54) \begin{aligned}
q_{D,t_k}\left(a_0 \mid a_{t_k}^{(D)},\boldsymbol{u}_{\mathrm{obs}}\right)=\frac{e^{-c_{D,t_k}}\exp\left\{-\frac{1}{2}(a_0-\bar{a}_{D,t_{k-1}})^\mathsf{T}\Sigma_{D,t_k}^{-1}(a_0-\bar{a}_{D,t_{k-1}})\right\}}{e^{-c_{D,t_k}}\int_{\mathbb{R}^n}\exp\left\{-\frac{1}{2}(x-\bar{a}_{D,t_{k-1}})^\mathsf{T}\Sigma_{D,t_k}^{-1}(x-\bar{a}_{D,t_{k-1}})\right\}\,dx} \\
&=\frac{\exp\left\{-\frac{1}{2}(a_0-\bar{a}_{D,t_{k-1}})^\mathsf{T}\Sigma_{D,t_k}^{-1}(a_0-\bar{a}_{D,t_{k-1}})\right\}}{\int_{\mathbb{R}^n}\exp\left\{-\frac{1}{2}(x-\bar{a}_{D,t_{k-1}})^\mathsf{T}\Sigma_{D,t_k}^{-1}(x-\bar{a}_{D,t_{k-1}})\right\}\,dx}. \tag*{(54)}
\end{aligned} q D , t k ( a 0 ∣ a t k ( D ) , u obs ) = e − c D , t k ∫ R n exp { − 2 1 ( x − a ˉ D , t k − 1 ) T Σ D , t k − 1 ( x − a ˉ D , t k − 1 ) } d x e − c D , t k exp { − 2 1 ( a 0 − a ˉ D , t k − 1 ) T Σ D , t k − 1 ( a 0 − a ˉ D , t k − 1 ) } = ∫ R n exp { − 2 1 ( x − a ˉ D , t k − 1 ) T Σ D , t k − 1 ( x − a ˉ D , t k − 1 ) } d x exp { − 2 1 ( a 0 − a ˉ D , t k − 1 ) T Σ D , t k − 1 ( a 0 − a ˉ D , t k − 1 ) } . (54)
To evaluate the remaining integral, the spectral theorem provides the symmetric positive definite square root Σ D , t k 1 / 2 \Sigma_{D,t_k}^{1/2} Σ D , t k 1/2 . Define z = Σ D , t k − 1 / 2 ( x − a ˉ D , t k − 1 ) z=\Sigma_{D,t_k}^{-1/2}(x-\bar{a}_{D,t_{k-1}}) z = Σ D , t k − 1/2 ( x − a ˉ D , t k − 1 ) , i.e., x = a ˉ D , t k − 1 + Σ D , t k 1 / 2 z x=\bar{a}_{D,t_{k-1}}+\Sigma_{D,t_k}^{1/2}z x = a ˉ D , t k − 1 + Σ D , t k 1/2 z . The map z ↦ a ˉ D , t k − 1 + Σ D , t k 1 / 2 z z\mapsto\bar{a}_{D,t_{k-1}}+\Sigma_{D,t_k}^{1/2}z z ↦ a ˉ D , t k − 1 + Σ D , t k 1/2 z is a continuously differentiable bijection of R n \mathbb{R}^n R n with continuously differentiable inverse and Jacobian determinant ( det Σ D , t k ) 1 / 2 > 0 (\det\Sigma_{D,t_k})^{1/2}>0 ( det Σ D , t k ) 1/2 > 0 . The change of variables theorem therefore gives
∫ R n exp { − 1 2 ( x − a ˉ D , t k − 1 ) T Σ D , t k − 1 ( x − a ˉ D , t k − 1 ) } d x = ( det Σ D , t k ) 1 / 2 ∫ R n e − ∥ z ∥ 2 / 2 d z = ( det Σ D , t k ) 1 / 2 ( 2 π ) n / 2 , (55) \begin{aligned}
\int_{\mathbb{R}^n}\exp\left\{-\frac{1}{2}(x-\bar{a}_{D,t_{k-1}})^\mathsf{T}\Sigma_{D,t_k}^{-1}(x-\bar{a}_{D,t_{k-1}})\right\}\,dx \\
&=(\det\Sigma_{D,t_k})^{1/2}\int_{\mathbb{R}^n}e^{-\lVert z\rVert^2/2}\,dz \\
&=(\det\Sigma_{D,t_k})^{1/2}(2\pi)^{n/2}, \tag*{(55)}
\end{aligned} ∫ R n exp { − 2 1 ( x − a ˉ D , t k − 1 ) T Σ D , t k − 1 ( x − a ˉ D , t k − 1 ) } d x = ( det Σ D , t k ) 1/2 ∫ R n e − ∥ z ∥ 2 /2 d z = ( det Σ D , t k ) 1/2 ( 2 π ) n /2 , (55)
by Tonelli’s theorem and the Gaussian integral ∫ R e − r 2 / 2 d r = 2 π \int_{\mathbb{R}}e^{-r^2/2}\,dr=\sqrt{2\pi} ∫ R e − r 2 /2 d r = 2 π . Substituting Eq. (55) into Eq. (54) yields
q D , t k ( a 0 ∣ a t k ( D ) , u o b s ) = exp { − 1 2 ( a 0 − a ˉ D , t k − 1 ) T Σ D , t k − 1 ( a 0 − a ˉ D , t k − 1 ) } ( 2 π ) n / 2 ( det Σ D , t k ) 1 / 2 . (56) q_{D,t_k}\left(a_0\mid a_{t_k}^{(D)},\boldsymbol{u}_{\mathrm{obs}}\right)=\frac{\exp\left\{-\frac{1}{2}(a_0-\bar{a}_{D,t_{k-1}})^\mathsf{T}\Sigma_{D,t_k}^{-1}(a_0-\bar{a}_{D,t_{k-1}})\right\}}{(2\pi)^{n/2}(\det\Sigma_{D,t_k})^{1/2}}. \tag*{(56)} q D , t k ( a 0 ∣ a t k ( D ) , u obs ) = ( 2 π ) n /2 ( det Σ D , t k ) 1/2 exp { − 2 1 ( a 0 − a ˉ D , t k − 1 ) T Σ D , t k − 1 ( a 0 − a ˉ D , t k − 1 ) } . (56)
This is exactly the density of N ( a ˉ D , t k − 1 , Σ D , t k ) \mathcal{N}(\bar{a}_{D,t_{k-1}},\Sigma_{D,t_k}) N ( a ˉ D , t k − 1 , Σ D , t k ) , as desired. □
Lemma 3 (Orthogonal projection onto ker A \ker A ker A ). For every u ∈ R m u\in\mathbb{R}^m u ∈ R m and a ∈ R n a\in\mathbb{R}^n a ∈ R n ,
P ker A ( A T u ) = 0 , ∥ P ker A a ∥ 2 2 ≤ ∥ a ∥ 2 2 . (57) P_{\ker A}(A^\mathsf{T}u)=0,\qquad\lVert P_{\ker A}a\rVert_2^2\leq\lVert a\rVert_2^2. \tag*{(57)} P k e r A ( A T u ) = 0 , ∥ P k e r A a ∥ 2 2 ≤ ∥ a ∥ 2 2 . (57) Proof. For every u ∈ R m u\in\mathbb{R}^m u ∈ R m and z ∈ ker A z\in\ker A z ∈ ker A ,
⟨ A T u , z ⟩ = ⟨ u , A z ⟩ = 0. (58) \langle A^\mathsf{T}u,z\rangle=\langle u,Az\rangle=0. \tag*{(58)} ⟨ A T u , z ⟩ = ⟨ u , A z ⟩ = 0. (58) Thus A T u ∈ ( ker A ) ⊥ A^\mathsf{T}u\in(\ker A)^\perp A T u ∈ ( ker A ) ⊥ , so P ker A ( A T u ) = 0 P_{\ker A}(A^\mathsf{T}u)=0 P k e r A ( A T u ) = 0 .
For every a ∈ R n a\in\mathbb{R}^n a ∈ R n , the vectors P ker A a P_{\ker A}a P k e r A a and a − P ker A a a-P_{\ker A}a a − P k e r A a are orthogonal with a = P ker A a + ( I − P ker A ) a a=P_{\ker A}a+(I-P_{\ker A})a a = P k e r A a + ( I − P k e r A ) a . Hence
∥ a ∥ 2 2 = ∥ P ker A a ∥ 2 2 + ∥ a − P ker A a ∥ 2 2 ≥ ∥ P ker A a ∥ 2 2 , (59) \lVert a\rVert_2^2=\lVert P_{\ker A}a\rVert_2^2+\lVert a-P_{\ker A}a\rVert_2^2\geq\lVert P_{\ker A}a\rVert_2^2, \tag*{(59)} ∥ a ∥ 2 2 = ∥ P k e r A a ∥ 2 2 + ∥ a − P k e r A a ∥ 2 2 ≥ ∥ P k e r A a ∥ 2 2 , (59) which gives ∥ P ker A a ∥ 2 2 ≤ ∥ a ∥ 2 2 \lVert P_{\ker A}a\rVert_2^2\leq\lVert a\rVert_2^2 ∥ P k e r A a ∥ 2 2 ≤ ∥ a ∥ 2 2 as desired. □
Lemma 4 (Exact denoiser under π 0 \pi_0 π 0 ). For every v ∈ R n v\in\mathbb{R}^n v ∈ R n ,
D ∗ ( v , t k ) = a − + P ( a 0 = a + ∣ a t k = v ) ( a + − a − ) , (60) D^*(v,t_k)=a_-+\mathbb{P}(a_0=a_+\mid a_{t_k}=v)(a_+-a_-), \tag*{(60)} D ∗ ( v , t k ) = a − + P ( a 0 = a + ∣ a t k = v ) ( a + − a − ) , (60)
where
P ( a 0 = a + ∣ a t k = v ) = ( 1 + exp { − ( a + − a − ) ⊤ K − 1 ( v − ( a − + a + ) / 2 ) σ t k 2 } ) − 1 (61) \mathbb{P}(a_0 = a_+ \mid a_{t_k} = v) = \left(1 + \exp\left\{-\frac{(a_+ - a_-)^\top K^{-1}\left(v - (a_- + a_+)/2\right)}{\sigma_{t_k}^2}\right\}\right)^{-1} \tag*{(61)} P ( a 0 = a + ∣ a t k = v ) = ( 1 + exp { − σ t k 2 ( a + − a − ) ⊤ K − 1 ( v − ( a − + a + ) /2 ) } ) − 1 (61)
is well-defined.
Proof. For v ∈ R n v \in\mathbb{R}^n v ∈ R n , by definition of the diffusion forward process, we have that
p ( a t k = v ∣ a 0 = a ± ) = exp { − ( v − a ± ) ⊤ K − 1 ( v − a ± ) / ( 2 σ t k 2 ) } ( 2 π ) n / 2 σ t k n ( det K ) 1 / 2 > 0. (62) p(a_{t_k} = v \mid a_0 = a_\pm) = \frac{\exp\left\{-(v-a_\pm)^\top K^{-1}(v-a_\pm)/(2\sigma_{t_k}^2)\right\}}{(2\pi)^{n/2}\sigma_{t_k}^n(\det K)^{1/2}} > 0. \tag*{(62)} p ( a t k = v ∣ a 0 = a ± ) = ( 2 π ) n /2 σ t k n ( det K ) 1/2 exp { − ( v − a ± ) ⊤ K − 1 ( v − a ± ) / ( 2 σ t k 2 ) } > 0. (62)
By the law of total probability,
p ( a t k = v ) = 1 2 p ( a t k = v ∣ a 0 = a − ) + 1 2 p ( a t k = v ∣ a 0 = a + ) > 0. (63) p(a_{t_k} = v) = \frac{1}{2}p(a_{t_k} = v \mid a_0 = a_-) + \frac{1}{2}p(a_{t_k} = v \mid a_0 = a_+) > 0. \tag*{(63)} p ( a t k = v ) = 2 1 p ( a t k = v ∣ a 0 = a − ) + 2 1 p ( a t k = v ∣ a 0 = a + ) > 0. (63)
Define
k t k ( v ) : = 1 2 p ( a t k = v ∣ a 0 = a + ) p ( a t k = v ) . (64) k_{t_k}(v) := \frac{\frac{1}{2}p(a_{t_k} = v \mid a_0 = a_+)}{p(a_{t_k} = v)}. \tag*{(64)} k t k ( v ) := p ( a t k = v ) 2 1 p ( a t k = v ∣ a 0 = a + ) . (64)
This function is Borel measurable and takes values in ( 0 , 1 ) (0,1) ( 0 , 1 ) . Thus k t k ( a t k ) k_{t_k}(a_{t_k}) k t k ( a t k ) is integrable and σ ( a t k ) \sigma(a_{t_k}) σ ( a t k ) -measurable. For every Borel set B ⊆ R n B \subseteq\mathbb{R}^n B ⊆ R n ,
E [ k t k ( a t k ) 1 { a t k ∈ B } ] = ∫ B k t k ( v ) p ( a t k = v ) d v = 1 2 ∫ B p ( a t k = v ∣ a 0 = a + ) d v = P ( a 0 = a + ) P ( a t k ∈ B ∣ a 0 = a + ) = P ( a 0 = a + , a t k ∈ B ) = E [ 1 { a 0 = a + } 1 { a t k ∈ B } ] . (65) \begin{aligned}
\mathbb{E}\left[k_{t_k}(a_{t_k})1_{\{a_{t_k}\in B\}}\right]
&= \int_B k_{t_k}(v)p(a_{t_k}=v)\,\mathrm{d}v \\
&= \frac{1}{2}\int_B p(a_{t_k}=v\mid a_0=a_+)\,\mathrm{d}v \\
&= \mathbb{P}(a_0=a_+)\mathbb{P}(a_{t_k}\in B\mid a_0=a_+) \\
&= \mathbb{P}(a_0=a_+,a_{t_k}\in B) \\
&= \mathbb{E}\left[1_{\{a_0=a_+\}}1_{\{a_{t_k}\in B\}}\right]. \tag*{(65)}
\end{aligned} E [ k t k ( a t k ) 1 { a t k ∈ B } ] = ∫ B k t k ( v ) p ( a t k = v ) d v = 2 1 ∫ B p ( a t k = v ∣ a 0 = a + ) d v = P ( a 0 = a + ) P ( a t k ∈ B ∣ a 0 = a + ) = P ( a 0 = a + , a t k ∈ B ) = E [ 1 { a 0 = a + } 1 { a t k ∈ B } ] . (65)
Since the events { a t k ∈ B } \{a_{t_k}\in B\} { a t k ∈ B } form σ ( a t k ) \sigma(a_{t_k}) σ ( a t k ) , by the definition of conditional expectation this verifies k t k ( a t k ) = E [ 1 { a 0 = a + } ∣ σ ( a t k ) ] = P ( a 0 = a + ∣ σ ( a t k ) ) k_{t_k}(a_{t_k})=\mathbb{E}[1_{\{a_0=a_+\}}\mid\sigma(a_{t_k})]=\mathbb{P}(a_0=a_+\mid\sigma(a_{t_k})) k t k ( a t k ) = E [ 1 { a 0 = a + } ∣ σ ( a t k )] = P ( a 0 = a + ∣ σ ( a t k )) almost surely. Define Q ( ⋅ , ⋅ ) Q(\cdot,\cdot) Q ( ⋅ , ⋅ ) by Q ( v , C ) = k t k ( v ) 1 { a + ∈ C } + ( 1 − k t k ( v ) ) 1 { a − ∈ C } Q(v,C)=k_{t_k}(v)1_{\{a_+\in C\}}+(1-k_{t_k}(v))1_{\{a_-\in C\}} Q ( v , C ) = k t k ( v ) 1 { a + ∈ C } + ( 1 − k t k ( v )) 1 { a − ∈ C } for v ∈ R n v\in\mathbb{R}^n v ∈ R n and Borel set C ⊂ R n C\subset\mathbb{R}^n C ⊂ R n . For every fixed v v v , the map C ↦ Q ( v , C ) C\mapsto Q(v,C) C ↦ Q ( v , C ) is a probability measure on R n \mathbb{R}^n R n , and for every Borel set C ⊂ R n C\subset\mathbb{R}^n C ⊂ R n , the map v ↦ Q ( v , C ) v\mapsto Q(v,C) v ↦ Q ( v , C ) is Borel measurable. Moreover, since a 0 a_0 a 0 takes values only in { a + , a − } \{a_+,a_-\} { a + , a − } ,
E [ 1 { a 0 ∈ C } ∣ σ ( a t k ) ] = 1 { a + ∈ C } E [ 1 { a 0 = a + } ∣ σ ( a t k ) ] + 1 { a − ∈ C } E [ 1 { a 0 = a − } ∣ σ ( a t k ) ] = 1 { a + ∈ C } k t k ( a t k ) + 1 { a − ∈ C } ( 1 − k t k ( a t k ) ) = Q ( a t k , C ) \begin{aligned}
\mathbb{E}[1_{\{a_0\in C\}}\mid\sigma(a_{t_k})]
&=1_{\{a_+\in C\}}\mathbb{E}[1_{\{a_0=a_+\}}\mid\sigma(a_{t_k})]
+1_{\{a_-\in C\}}\mathbb{E}[1_{\{a_0=a_-\}}\mid\sigma(a_{t_k})] \\
&=1_{\{a_+\in C\}}k_{t_k}(a_{t_k})+1_{\{a_-\in C\}}(1-k_{t_k}(a_{t_k})) \\
&=Q(a_{t_k},C)
\end{aligned} E [ 1 { a 0 ∈ C } ∣ σ ( a t k )] = 1 { a + ∈ C } E [ 1 { a 0 = a + } ∣ σ ( a t k )] + 1 { a − ∈ C } E [ 1 { a 0 = a − } ∣ σ ( a t k )] = 1 { a + ∈ C } k t k ( a t k ) + 1 { a − ∈ C } ( 1 − k t k ( a t k )) = Q ( a t k , C )
almost surely, since 1 { a 0 = a − } = 1 − 1 { a 0 = a + } 1_{\{a_0=a_-\}}=1-1_{\{a_0=a_+\}} 1 { a 0 = a − } = 1 − 1 { a 0 = a + } . Hence Q Q Q is a regular conditional distribution of a 0 a_0 a 0 given a t k a_{t_k} a t k . In particular, P ( a 0 = a + ∣ a t k = v ) : = Q ( v , { a + } ) = k t k ( v ) \mathbb{P}(a_0=a_+\mid a_{t_k}=v):=Q(v,\{a_+\})=k_{t_k}(v) P ( a 0 = a + ∣ a t k = v ) := Q ( v , { a + }) = k t k ( v ) is well-defined for every v ∈ R n v\in\mathbb{R}^n v ∈ R n . Incorporating Eqs. (62) and (63) into Eq. (64) yields
k t k ( v ) = ( 1 + p ( a t k = v ∣ a 0 = a − ) p ( a t k = v ∣ a 0 = a + ) ) − 1 = ( 1 + exp { ( v − a + ) ⊤ K − 1 ( v − a + ) − ( v − a − ) ⊤ K − 1 ( v − a − ) 2 σ t k 2 } ) − 1 . (66) \begin{aligned}
k_{t_k}(v)
&=\left(1+\frac{p(a_{t_k}=v\mid a_0=a_-)}{p(a_{t_k}=v\mid a_0=a_+)}\right)^{-1} \\
&=\left(1+\exp\left\{\frac{(v-a_+)^\top K^{-1}(v-a_+)-(v-a_-)^\top K^{-1}(v-a_-)}{2\sigma_{t_k}^2}\right\}\right)^{-1}. \tag*{(66)}
\end{aligned} k t k ( v ) = ( 1 + p ( a t k = v ∣ a 0 = a + ) p ( a t k = v ∣ a 0 = a − ) ) − 1 = ( 1 + exp { 2 σ t k 2 ( v − a + ) ⊤ K − 1 ( v − a + ) − ( v − a − ) ⊤ K − 1 ( v − a − ) } ) − 1 . (66)
By symmetry of K − 1 K^{-1} K − 1 ,
( v − a + ) T K − 1 ( v − a + ) − ( v − a − ) T K − 1 ( v − a − ) = ( v T K − 1 v − v T K − 1 a + − a + T K − 1 v + a + T K − 1 a + ) − ( v T K − 1 v − v T K − 1 a − − a − T K − 1 v + a − T K − 1 a − ) = − 2 v T K − 1 a + + 2 v T K − 1 a − + a + T K − 1 a + − a − T K − 1 a − = − 2 v T K − 1 ( a + − a − ) + a + T K − 1 a + − a − T K − 1 a − = − 2 v T K − 1 ( a + − a − ) + ( a + − a − ) T K − 1 ( a + + a − ) = − 2 ( a + − a − ) T K − 1 v + ( a + − a − ) T K − 1 ( a + + a − ) = − 2 ( a + − a − ) T K − 1 ( v − a − + a + 2 ) , (67) \begin{aligned}
(v-a_+)^{\mathsf{T}}K^{-1}(v-a_+)-(v-a_-)^{\mathsf{T}}K^{-1}(v-a_-)
&=(v^{\mathsf{T}}K^{-1}v-v^{\mathsf{T}}K^{-1}a_+-a_+^{\mathsf{T}}K^{-1}v+a_+^{\mathsf{T}}K^{-1}a_+)\\
&\quad-(v^{\mathsf{T}}K^{-1}v-v^{\mathsf{T}}K^{-1}a_--a_-^{\mathsf{T}}K^{-1}v+a_-^{\mathsf{T}}K^{-1}a_-)\\
&=-2v^{\mathsf{T}}K^{-1}a_++2v^{\mathsf{T}}K^{-1}a_-+a_+^{\mathsf{T}}K^{-1}a_+-a_-^{\mathsf{T}}K^{-1}a_-\\
&=-2v^{\mathsf{T}}K^{-1}(a_+-a_-)+a_+^{\mathsf{T}}K^{-1}a_+-a_-^{\mathsf{T}}K^{-1}a_-\\
&=-2v^{\mathsf{T}}K^{-1}(a_+-a_-)+(a_+-a_-)^{\mathsf{T}}K^{-1}(a_++a_-)\\
&=-2(a_+-a_-)^{\mathsf{T}}K^{-1}v+(a_+-a_-)^{\mathsf{T}}K^{-1}(a_++a_-)\\
&=-2(a_+-a_-)^{\mathsf{T}}K^{-1}\left(v-\frac{a_-+a_+}{2}\right), \tag*{(67)}
\end{aligned} ( v − a + ) T K − 1 ( v − a + ) − ( v − a − ) T K − 1 ( v − a − ) = ( v T K − 1 v − v T K − 1 a + − a + T K − 1 v + a + T K − 1 a + ) − ( v T K − 1 v − v T K − 1 a − − a − T K − 1 v + a − T K − 1 a − ) = − 2 v T K − 1 a + + 2 v T K − 1 a − + a + T K − 1 a + − a − T K − 1 a − = − 2 v T K − 1 ( a + − a − ) + a + T K − 1 a + − a − T K − 1 a − = − 2 v T K − 1 ( a + − a − ) + ( a + − a − ) T K − 1 ( a + + a − ) = − 2 ( a + − a − ) T K − 1 v + ( a + − a − ) T K − 1 ( a + + a − ) = − 2 ( a + − a − ) T K − 1 ( v − 2 a − + a + ) , (67)
proving Eq. (61) .
Finally, since a 0 a_0 a 0 takes only the values a − a_- a − , a + a_+ a + ,
D ∗ ( v , t k ) = E [ a 0 ∣ a t k = v ] = ( 1 − k t k ( v ) ) a − + k t k ( v ) a + = a − + k t k ( v ) ( a + − a − ) . (68) \begin{aligned}
D^*(v,t_k)&=\mathbb{E}[a_0\mid a_{t_k}=v]\\
&=(1-k_{t_k}(v))a_-+k_{t_k}(v)a_+\\
&=a_-+k_{t_k}(v)(a_+-a_-). \tag*{(68)}
\end{aligned} D ∗ ( v , t k ) = E [ a 0 ∣ a t k = v ] = ( 1 − k t k ( v )) a − + k t k ( v ) a + = a − + k t k ( v ) ( a + − a − ) . (68)
Substitute k t k ( v ) = P ( a 0 = a + ∣ a t k = v ) k_{t_k}(v)=\mathbb{P}(a_0=a_+\mid a_{t_k}=v) k t k ( v ) = P ( a 0 = a + ∣ a t k = v ) to obtain Lemma 4 as desired. □
Lemma 5 (Strict positivity of the conditional weights). For every v ∈ R n v\in\mathbb{R}^n v ∈ R n ,
0 < P ( a 0 = a + ∣ a t k = v ) < 1 , 0 < P ( a 0 = a − ∣ a t k = v ) < 1. (69) 0<\mathbb{P}(a_0=a_+\mid a_{t_k}=v)<1,\qquad0<\mathbb{P}(a_0=a_-\mid a_{t_k}=v)<1. \tag*{(69)} 0 < P ( a 0 = a + ∣ a t k = v ) < 1 , 0 < P ( a 0 = a − ∣ a t k = v ) < 1. (69) Proof. By Eq. (62) , both conditional densities p ( a t k = v ∣ a 0 = a + ) p(a_{t_k}=v\mid a_0=a_+) p ( a t k = v ∣ a 0 = a + ) and p ( a t k = v ∣ a 0 = a − ) p(a_{t_k}=v\mid a_0=a_-) p ( a t k = v ∣ a 0 = a − ) are strictly positive. Thus
0 < p ( a t k = v ∣ a 0 = a ± ) p ( a t k = v ∣ a 0 = a + ) + p ( a t k = v ∣ a 0 = a − ) < 1. (70) 0<\frac{p(a_{t_k}=v\mid a_0=a_\pm)}{p(a_{t_k}=v\mid a_0=a_+)+p(a_{t_k}=v\mid a_0=a_-)}<1. \tag*{(70)} 0 < p ( a t k = v ∣ a 0 = a + ) + p ( a t k = v ∣ a 0 = a − ) p ( a t k = v ∣ a 0 = a ± ) < 1. (70) By Eqs. (63) and (64) , these ratios are the two conditional probabilities, yielding Eq. (69) as desired. □
Lemma 6 (Global existence and uniqueness of the gradient flow). For any current state a t k ( B ) ∈ R n a_{t_k}^{(B)}\in\mathbb{R}^n a t k ( B ) ∈ R n , with the exact denoiser D θ ( ⋅ , ⋅ ) = D ∗ ( ⋅ , ⋅ ) D_\theta(\cdot,\cdot)=D^*(\cdot,\cdot) D θ ( ⋅ , ⋅ ) = D ∗ ( ⋅ , ⋅ ) , the gradient flow in Eq. (12) , initialized by v ( 0 ) = a t k ( B ) v(0)=a_{t_k}^{(B)} v ( 0 ) = a t k ( B ) , has a solution v ( s ) v(s) v ( s ) that exists and is unique for all s ≥ 0 s\geq0 s ≥ 0 .
Proof. Throughout, set
b : = K − 1 ( a + − a − ) σ t k 2 , c : = ∥ A ( a + − a − ) ∥ 2 2 γ 2 , ℓ t k ( v ) : = b T ( v − a − + a + 2 ) . (71) b:=\frac{K^{-1}(a_+-a_-)}{\sigma_{t_k}^{2}},\qquad c:=\frac{\lVert A(a_+-a_-)\rVert_2^2}{\gamma^2},\qquad\ell_{t_k}(v):=b^{\mathsf{T}}\left(v-\frac{a_-+a_+}{2}\right). \tag*{(71)} b := σ t k 2 K − 1 ( a + − a − ) , c := γ 2 ∥ A ( a + − a − ) ∥ 2 2 , ℓ t k ( v ) := b T ( v − 2 a − + a + ) . (71) By Lemma 4,
k t k ( v ) = ( 1 + e − ℓ t k ( v ) ) − 1 . (72) k_{t_k}(v)=\left(1+e^{-\ell_{t_k}(v)}\right)^{-1}. \tag*{(72)} k t k ( v ) = ( 1 + e − ℓ t k ( v ) ) − 1 . (72)
Since ∇ v ℓ t k ( v ) = b \nabla_v\ell_{t_k}(v)=b ∇ v ℓ t k ( v ) = b , differentiation gives
∇ v k t k ( v ) = − ( 1 + e − ℓ t k ( v ) ) − 2 ( − e − ℓ t k ( v ) b ) = e − ℓ t k ( v ) ( 1 + e − ℓ t k ( v ) ) 2 b . \begin{aligned}
\nabla_v k_{t_k}(v)
&=-\left(1+e^{-\ell_{t_k}(v)}\right)^{-2}\left(-e^{-\ell_{t_k}(v)}b\right)\\
&=\frac{e^{-\ell_{t_k}(v)}}{\left(1+e^{-\ell_{t_k}(v)}\right)^2}b.
\end{aligned} ∇ v k t k ( v ) = − ( 1 + e − ℓ t k ( v ) ) − 2 ( − e − ℓ t k ( v ) b ) = ( 1 + e − ℓ t k ( v ) ) 2 e − ℓ t k ( v ) b .
Moreover,
k t k ( v ) = 1 1 + e − ℓ t k ( v ) , 1 − k t k ( v ) = e − ℓ t k ( v ) 1 + e − ℓ t k ( v ) . (73) k_{t_k}(v)=\frac{1}{1+e^{-\ell_{t_k}(v)}},\qquad1-k_{t_k}(v)=\frac{e^{-\ell_{t_k}(v)}}{1+e^{-\ell_{t_k}(v)}}. \tag*{(73)} k t k ( v ) = 1 + e − ℓ t k ( v ) 1 , 1 − k t k ( v ) = 1 + e − ℓ t k ( v ) e − ℓ t k ( v ) . (73)
Therefore,
∇ v k t k ( v ) = k t k ( v ) ( 1 − k t k ( v ) ) b . (74) \nabla_v k_{t_k}(v)=k_{t_k}(v)\left(1-k_{t_k}(v)\right)b. \tag*{(74)} ∇ v k t k ( v ) = k t k ( v ) ( 1 − k t k ( v ) ) b . (74)
Using u o b s = A a + u_{\mathrm{obs}}=Aa_+ u obs = A a + and Lemma 4,
A D ∗ ( v , t k ) − u o b s = A a − + k t k ( v ) A ( a + − a − ) − A a + = − ( 1 − k t k ( v ) ) A ( a + − a − ) . (75) \begin{aligned}
AD^*(v,t_k)-u_{\mathrm{obs}}
&=Aa_-+k_{t_k}(v)A(a_+-a_-)-Aa_+\\
&=-\left(1-k_{t_k}(v)\right)A(a_+-a_-). \tag*{(75)}
\end{aligned} A D ∗ ( v , t k ) − u obs = A a − + k t k ( v ) A ( a + − a − ) − A a + = − ( 1 − k t k ( v ) ) A ( a + − a − ) . (75)
Hence the measurement objective is
J t k ( v ) : = ∥ A D ∗ ( v , t k ) − u o b s ∥ 2 2 2 γ 2 = c 2 ( 1 − k t k ( v ) ) 2 . (76) J_{t_k}(v):=\frac{\left\|AD^*(v,t_k)-u_{\mathrm{obs}}\right\|_2^2}{2\gamma^2}
=\frac{c}{2}\left(1-k_{t_k}(v)\right)^2. \tag*{(76)} J t k ( v ) := 2 γ 2 ∥ A D ∗ ( v , t k ) − u obs ∥ 2 2 = 2 c ( 1 − k t k ( v ) ) 2 . (76)
The chain rule and Eq. (74) yield
∇ v J t k ( v ) = c 2 2 ( 1 − k t k ( v ) ) ( − ∇ v k t k ( v ) ) = − c k t k ( v ) ( 1 − k t k ( v ) ) 2 b . (77) \begin{aligned}
\nabla_vJ_{t_k}(v)
&=\frac{c}{2}2\left(1-k_{t_k}(v)\right)\left(-\nabla_vk_{t_k}(v)\right)\\
&=-c\,k_{t_k}(v)\left(1-k_{t_k}(v)\right)^2b. \tag*{(77)}
\end{aligned} ∇ v J t k ( v ) = 2 c 2 ( 1 − k t k ( v ) ) ( − ∇ v k t k ( v ) ) = − c k t k ( v ) ( 1 − k t k ( v ) ) 2 b . (77)
Substituting the definitions of b b b and c c c into v ′ ( s ) = − ∇ J t k ( v ( s ) ) v'(s)=-\nabla J_{t_k}(v(s)) v ′ ( s ) = − ∇ J t k ( v ( s )) gives
v ′ ( s ) = ∥ A ( a + − a − ) ∥ 2 2 γ 2 2 t k 2 P ( a 0 = a + ∣ a t k = v ( s ) ) × P ( a 0 = a − ∣ a t k = v ( s ) ) 2 K − 1 ( a + − a − ) , v ( 0 ) = a t k ( B ) . (78) \begin{aligned}
v'(s)
&=\frac{\left\|A(a_+-a_-)\right\|_2^2}{\gamma^2 2^{2}_{t_k}}
\mathbb{P}\left(a_0=a_+\mid a_{t_k}=v(s)\right)\\
&\qquad\times\mathbb{P}\left(a_0=a_-\mid a_{t_k}=v(s)\right)^2K^{-1}(a_+-a_-),\\
v(0)&=a_{t_k}^{(B)}. \tag*{(78)}
\end{aligned} v ′ ( s ) v ( 0 ) = γ 2 2 t k 2 ∥ A ( a + − a − ) ∥ 2 2 P ( a 0 = a + ∣ a t k = v ( s ) ) × P ( a 0 = a − ∣ a t k = v ( s ) ) 2 K − 1 ( a + − a − ) , = a t k ( B ) . (78)
It remains to show that the vector field − ∇ J t k -\nabla J_{t_k} − ∇ J t k is globally Lipschitz. To compute the Hessian, fix i , j ∈ { 1 , … , n } i,j\in\{1,\ldots,n\} i , j ∈ { 1 , … , n } . By Eq. (77) ,
∂ J t k ∂ v i ( v ) = − c b i k t k ( v ) ( 1 − k t k ( v ) ) 2 . (79) \frac{\partial J_{t_k}}{\partial v_i}(v)=-c\,b_i\,k_{t_k}(v)\left(1-k_{t_k}(v)\right)^2. \tag*{(79)} ∂ v i ∂ J t k ( v ) = − c b i k t k ( v ) ( 1 − k t k ( v ) ) 2 . (79)
Since b i b_i b i and c c c are constant with respect to v v v , the product rule gives
∂ ∂ v j ∂ J t k ∂ v i ( v ) = − c b i ∂ ∂ v j [ k t k ( v ) ( 1 − k t k ( v ) ) 2 ] = − c b i [ ∂ k t k ∂ v j ( v ) ( 1 − k t k ( v ) ) 2 + k t k ( v ) ∂ ∂ v j ( 1 − k t k ( v ) ) 2 ] . \begin{aligned}
\frac{\partial}{\partial v_j}\frac{\partial J_{t_k}}{\partial v_i}(v)
&=-c\,b_i\frac{\partial}{\partial v_j}\left[k_{t_k}(v)\left(1-k_{t_k}(v)\right)^2\right]\\
&=-c\,b_i\left[\frac{\partial k_{t_k}}{\partial v_j}(v)\left(1-k_{t_k}(v)\right)^2
+k_{t_k}(v)\frac{\partial}{\partial v_j}\left(1-k_{t_k}(v)\right)^2\right].
\end{aligned} ∂ v j ∂ ∂ v i ∂ J t k ( v ) = − c b i ∂ v j ∂ [ k t k ( v ) ( 1 − k t k ( v ) ) 2 ] = − c b i [ ∂ v j ∂ k t k ( v ) ( 1 − k t k ( v ) ) 2 + k t k ( v ) ∂ v j ∂ ( 1 − k t k ( v ) ) 2 ] .
By the chain rule,
∂ ∂ v j ( 1 − k t k ( v ) ) 2 = − 2 ( 1 − k t k ( v ) ) ∂ k t k ∂ v j ( v ) . (80) \frac{\partial}{\partial v_j}\left(1-k_{t_k}(v)\right)^2=-2\left(1-k_{t_k}(v)\right)\frac{\partial k_{t_k}}{\partial v_j}(v). \tag*{(80)} ∂ v j ∂ ( 1 − k t k ( v ) ) 2 = − 2 ( 1 − k t k ( v ) ) ∂ v j ∂ k t k ( v ) . (80)
Substituting this identity gives
∂ ∂ v j ∂ J t k ∂ v i ( v ) = − c b i [ ( 1 − k t k ( v ) ) 2 − 2 k t k ( v ) ( 1 − k t k ( v ) ) ] ∂ k t k ∂ v j ( v ) = − c b i ( 1 − k t k ( v ) ) ( 1 − 3 k t k ( v ) ) ∂ k t k ∂ v j ( v ) . \begin{aligned}
\frac{\partial}{\partial v_j}\frac{\partial J_{t_k}}{\partial v_i}(v)=-c b_i\left[\left(1-k_{t_k}(v)\right)^2-2k_{t_k}(v)\left(1-k_{t_k}(v)\right)\right]\frac{\partial k_{t_k}}{\partial v_j}(v) \\
&=-c b_i\left(1-k_{t_k}(v)\right)\left(1-3k_{t_k}(v)\right)\frac{\partial k_{t_k}}{\partial v_j}(v).
\end{aligned} ∂ v j ∂ ∂ v i ∂ J t k ( v ) = − c b i [ ( 1 − k t k ( v ) ) 2 − 2 k t k ( v ) ( 1 − k t k ( v ) ) ] ∂ v j ∂ k t k ( v ) = − c b i ( 1 − k t k ( v ) ) ( 1 − 3 k t k ( v ) ) ∂ v j ∂ k t k ( v ) .
By Eq. (74) ,
∂ k t k ∂ v j ( v ) = k t k ( v ) ( 1 − k t k ( v ) ) b j . (81) \frac{\partial k_{t_k}}{\partial v_j}(v)=k_{t_k}(v)\left(1-k_{t_k}(v)\right)b_j. \tag*{(81)} ∂ v j ∂ k t k ( v ) = k t k ( v ) ( 1 − k t k ( v ) ) b j . (81)
Therefore,
∂ ∂ v j ∂ J t k ∂ v i ( v ) = − c b i ( 1 − k t k ( v ) ) ( 1 − 3 k t k ( v ) ) k t k ( v ) ( 1 − k t k ( v ) ) b j = − c k t k ( v ) ( 1 − k t k ( v ) ) 2 ( 1 − 3 k t k ( v ) ) b i b j . \begin{aligned}
\frac{\partial}{\partial v_j}\frac{\partial J_{t_k}}{\partial v_i}(v)=-c b_i\left(1-k_{t_k}(v)\right)\left(1-3k_{t_k}(v)\right)k_{t_k}(v)\left(1-k_{t_k}(v)\right)b_j \\
&=-c k_{t_k}(v)\left(1-k_{t_k}(v)\right)^2\left(1-3k_{t_k}(v)\right)b_i b_j.
\end{aligned} ∂ v j ∂ ∂ v i ∂ J t k ( v ) = − c b i ( 1 − k t k ( v ) ) ( 1 − 3 k t k ( v ) ) k t k ( v ) ( 1 − k t k ( v ) ) b j = − c k t k ( v ) ( 1 − k t k ( v ) ) 2 ( 1 − 3 k t k ( v ) ) b i b j .
Since ( b b ⊤ ) i j = b i b j (bb^\top)_{ij}=b_i b_j ( b b ⊤ ) ij = b i b j , we obtain
∇ 2 J t k ( v ) = − c k t k ( v ) ( 1 − k t k ( v ) ) 2 ( 1 − 3 k t k ( v ) ) b b ⊤ . (82) \nabla^2 J_{t_k}(v)=-c k_{t_k}(v)\left(1-k_{t_k}(v)\right)^2\left(1-3k_{t_k}(v)\right)bb^\top. \tag*{(82)} ∇ 2 J t k ( v ) = − c k t k ( v ) ( 1 − k t k ( v ) ) 2 ( 1 − 3 k t k ( v ) ) b b ⊤ . (82)
By Lemma 5, 0 < k t k ( v ) < 1 0<k_{t_k}(v)<1 0 < k t k ( v ) < 1 . Hence
k t k ( v ) ≤ 1 , ( 1 − k t k ( v ) ) 2 ≤ 1 , ∣ 1 − 3 k t k ( v ) ∣ ≤ 2. (83) k_{t_k}(v)\leq1,\qquad\left(1-k_{t_k}(v)\right)^2\leq1,\qquad\left|1-3k_{t_k}(v)\right|\leq2. \tag*{(83)} k t k ( v ) ≤ 1 , ( 1 − k t k ( v ) ) 2 ≤ 1 , ∣ 1 − 3 k t k ( v ) ∣ ≤ 2. (83)
We also have
∥ b b ⊤ ∥ o p ≤ ∥ b ∥ 2 2 , (84) \left\|bb^\top\right\|_{\mathrm{op}}\leq\left\|b\right\|_2^2, \tag*{(84)} b b ⊤ op ≤ ∥ b ∥ 2 2 , (84)
since for every x ∈ R n x\in\mathbb{R}^n x ∈ R n with ∥ x ∥ 2 = 1 \left\|x\right\|_2=1 ∥ x ∥ 2 = 1 , Cauchy–Schwarz gives
∥ b b ⊤ x ∥ 2 = ∥ b ∥ 2 ∣ b ⊤ x ∣ ≤ ∥ b ∥ 2 2 ∥ x ∥ 2 = ∥ b ∥ 2 2 . \left\|bb^\top x\right\|_2=\left\|b\right\|_2\left|b^\top x\right|
\leq\left\|b\right\|_2^2\left\|x\right\|_2=\left\|b\right\|_2^2. b b ⊤ x 2 = ∥ b ∥ 2 b ⊤ x ≤ ∥ b ∥ 2 2 ∥ x ∥ 2 = ∥ b ∥ 2 2 .
Thus, using Eq. (82) ,
∥ ∇ 2 J t k ( v ) ∥ o p ≤ 2 c ∥ b ∥ 2 2 = 2 ∥ A ( a + − a − ) ∥ 2 2 ∥ K − 1 ( a + − a − ) ∥ 2 2 γ 2 σ t k 4 = : L t k < ∞ (85) \begin{aligned}
\left\|\nabla^2J_{t_k}(v)\right\|_{\mathrm{op}}\leq2c\left\|b\right\|_2^2 \\
&=\frac{2\left\|A(a_+-a_-)\right\|_2^2\left\|K^{-1}(a_+-a_-)\right\|_2^2}{\gamma^2\sigma_{t_k}^4}=:L_{t_k}<\infty \tag*{(85)}
\end{aligned} ∇ 2 J t k ( v ) op ≤ 2 c ∥ b ∥ 2 2 = γ 2 σ t k 4 2 ∥ A ( a + − a − ) ∥ 2 2 K − 1 ( a + − a − ) 2 2 =: L t k < ∞ (85)
for every v ∈ R n v\in\mathbb{R}^n v ∈ R n .
Now let x , y ∈ R n x,y\in\mathbb{R}^n x , y ∈ R n and define
g ( r ) : = ∇ J t k ( y + r ( x − y ) ) , r ∈ [ 0 , 1 ] . (86) g(r):=\nabla J_{t_k}\left(y+r(x-y)\right),\qquad r\in[0,1]. \tag*{(86)} g ( r ) := ∇ J t k ( y + r ( x − y ) ) , r ∈ [ 0 , 1 ] . (86)
Since J t k J_{t_k} J t k is twice continuously differentiable, the chain rule gives
g ′ ( r ) = ∇ 2 J t k ( y + r ( x − y ) ) ( x − y ) . (87) g'(r)=\nabla^2J_{t_k}\left(y+r(x-y)\right)(x-y). \tag*{(87)} g ′ ( r ) = ∇ 2 J t k ( y + r ( x − y ) ) ( x − y ) . (87)
The fundamental theorem of calculus therefore gives
∇ J t k ( x ) − ∇ J t k ( y ) = g ( 1 ) − g ( 0 ) = ∫ 0 1 ∇ 2 J t k ( y + r ( x − y ) ) ( x − y ) d r . \nabla J_{t_k}(x)-\nabla J_{t_k}(y)=g(1)-g(0)
=\int_0^1 \nabla^2 J_{t_k}\left(y+r(x-y)\right)(x-y)\,\mathrm{d}r. ∇ J t k ( x ) − ∇ J t k ( y ) = g ( 1 ) − g ( 0 ) = ∫ 0 1 ∇ 2 J t k ( y + r ( x − y ) ) ( x − y ) d r .
Taking norms and applying Eq. (85) ,
∥ ∇ J t k ( x ) − ∇ J t k ( y ) ∥ 2 ≤ ∫ 0 1 ∥ ∇ 2 J t k ( y + r ( x − y ) ) ∥ o p ∥ x − y ∥ 2 d r ≤ ∫ 0 1 L t k ∥ x − y ∥ 2 d r = L t k ∥ x − y ∥ 2 . (88) \left\|\nabla J_{t_k}(x)-\nabla J_{t_k}(y)\right\|_2
\le\int_0^1 \left\|\nabla^2 J_{t_k}\left(y+r(x-y)\right)\right\|_{\mathrm{op}}\|x-y\|_2\,\mathrm{d}r
\le\int_0^1 L_{t_k}\|x-y\|_2\,\mathrm{d}r
=L_{t_k}\|x-y\|_2. \tag*{(88)} ∥ ∇ J t k ( x ) − ∇ J t k ( y ) ∥ 2 ≤ ∫ 0 1 ∇ 2 J t k ( y + r ( x − y ) ) op ∥ x − y ∥ 2 d r ≤ ∫ 0 1 L t k ∥ x − y ∥ 2 d r = L t k ∥ x − y ∥ 2 . (88)
Thus − ∇ J t k -\nabla J_{t_k} − ∇ J t k is globally Lipschitz on R n \mathbb{R}^n R n . Consequently, the global Picard–Lindelöf theorem gives a unique solution to Eq. (12) , as desired.
Lemma 7 (Evolution of the conditional probability under the gradient flow). Suppose A ( a + − a − ) ≠ 0 A(a_+-a_-)\ne0 A ( a + − a − ) = 0 . For the solution of the gradient flow in Eq. (12) initialized by v ( 0 ) = a t k ( B ) v(0)=a_{t_k}^{(B)} v ( 0 ) = a t k ( B ) , v ( s ) v(s) v ( s ) , let w ( s ) : = k t k ( v ( s ) ) w(s):=k_{t_k}(v(s)) w ( s ) := k t k ( v ( s )) . Then,
d d s w ( s ) = ∥ A ( a + − a − ) ∥ 2 ∥ K − 1 ( a + − a − ) ∥ 2 γ 2 σ t k 4 w ( s ) 2 ( 1 − w ( s ) ) 3 . (89) \frac{\mathrm{d}}{\mathrm{d}s}w(s)=\frac{\left\|A(a_+-a_-)\right\|^2\left\|K^{-1}(a_+-a_-)\right\|^2}{\gamma^2\sigma_{t_k}^4}w(s)^2(1-w(s))^3. \tag*{(89)} d s d w ( s ) = γ 2 σ t k 4 ∥ A ( a + − a − ) ∥ 2 K − 1 ( a + − a − ) 2 w ( s ) 2 ( 1 − w ( s ) ) 3 . (89) Proof. The solution v ( s ) v(s) v ( s ) exists and is unique by Lemma 6. With b , c b,c b , c as in Eq. (71) , Eq. (77) and the definition of gradient flow give
v ′ ( s ) = − ∇ J t k ( v ( s ) ) = c w ( s ) ( 1 − w ( s ) ) 2 b . (90) v'(s)=-\nabla J_{t_k}(v(s))=cw(s)(1-w(s))^2b. \tag*{(90)} v ′ ( s ) = − ∇ J t k ( v ( s )) = c w ( s ) ( 1 − w ( s ) ) 2 b . (90) Since k t k ( ⋅ ) k_{t_k}(\cdot) k t k ( ⋅ ) and v ( ⋅ ) v(\cdot) v ( ⋅ ) are continuously differentiable, the chain rule and Eq. (74) give
w ′ ( s ) = ∇ v k t k ( v ( s ) ) T v ′ ( s ) = [ w ( s ) ( 1 − w ( s ) ) b ] T [ c w ( s ) ( 1 − w ( s ) ) 2 b ] = c ∥ b ∥ 2 w ( s ) 2 ( 1 − w ( s ) ) 3 . (91) \begin{aligned}
w'(s)&=\nabla_v k_{t_k}(v(s))^\mathsf{T}v'(s)\\
&=\left[w(s)(1-w(s))b\right]^\mathsf{T}\left[cw(s)(1-w(s))^2b\right]\\
&=c\lVert b\rVert^2w(s)^2(1-w(s))^3. \tag*{(91)}
\end{aligned} w ′ ( s ) = ∇ v k t k ( v ( s ) ) T v ′ ( s ) = [ w ( s ) ( 1 − w ( s )) b ] T [ c w ( s ) ( 1 − w ( s ) ) 2 b ] = c ∥ b ∥ 2 w ( s ) 2 ( 1 − w ( s ) ) 3 . (91) Substituting the definitions of b , c b,c b , c gives
w ′ ( s ) = C w ( s ) 2 ( 1 − w ( s ) ) 3 , C : = ∥ A ( a + − a − ) ∥ 2 ∥ K − 1 ( a + − a − ) ∥ 2 γ 2 σ t k 4 . (92) w'(s)=Cw(s)^2(1-w(s))^3,\qquad C:=\frac{\left\|A(a_+-a_-)\right\|^2\left\|K^{-1}(a_+-a_-)\right\|^2}{\gamma^2\sigma_{t_k}^4}. \tag*{(92)} w ′ ( s ) = C w ( s ) 2 ( 1 − w ( s ) ) 3 , C := γ 2 σ t k 4 ∥ A ( a + − a − ) ∥ 2 K − 1 ( a + − a − ) 2 . (92) The constant is positive because A ( a + − a − ) ≠ 0 A(a_+-a_-)\ne0 A ( a + − a − ) = 0 , K K K is invertible, and γ , σ t k > 0 \gamma,\sigma_{t_k}>0 γ , σ t k > 0 ; this yields Eq. (89) as desired. □
Lemma 8 (Convergence of the conditional probability and denoiser). Suppose A ( a + − a − ) ≠ 0 A(a_+-a_-)\ne0 A ( a + − a − ) = 0 . Along the gradient flow in Eq. (12) , initialized by v ( 0 ) = a t k ( B ) v(0)=a_{t_k}^{(B)} v ( 0 ) = a t k ( B ) , as s → ∞ s\to\infty s → ∞ ,
P ( a 0 = a + ∣ a t k = v ( s ) ) ⟶ 1 , P ( a 0 = a − ∣ a t k = v ( s ) ) ⟶ 0 , (93) \mathbb{P}(a_0=a_+\mid a_{t_k}=v(s))\longrightarrow1,\qquad\mathbb{P}(a_0=a_-\mid a_{t_k}=v(s))\longrightarrow0, \tag*{(93)} P ( a 0 = a + ∣ a t k = v ( s )) ⟶ 1 , P ( a 0 = a − ∣ a t k = v ( s )) ⟶ 0 , (93) and
D ∗ ( v ( s ) , t k ) ⟶ a + . (94) D^*(v(s),t_k)\longrightarrow a_+. \tag*{(94)} D ∗ ( v ( s ) , t k ) ⟶ a + . (94)
Proof. Set w ( s ) : = k t k ( v ( s ) ) w(s) := k_{t_k}(v(s)) w ( s ) := k t k ( v ( s )) and take C C C from Eq. (92) . Note that v ( s ) v(s) v ( s ) exists and is unique by Lemma 6. By Lemmas 5 and 7, 0 < w ( s ) < 1 0 < w(s) < 1 0 < w ( s ) < 1 and w ′ ( s ) > 0 w'(s) > 0 w ′ ( s ) > 0 for every finite s s s . Thus w ( ⋅ ) w(\cdot) w ( ⋅ ) is increasing and bounded above, so its limit L L L exists and satisfies 0 < w ( 0 ) ≤ L ≤ 1 0 < w(0) \le L \le1 0 < w ( 0 ) ≤ L ≤ 1 . Suppose L < 1 L < 1 L < 1 . By continuity of the polynomial in Eq. (92) ,
w ′ ( s ) ⟶ C L 2 ( 1 − L ) 3 = : c 0 > 0. (95) w'(s) \longrightarrow C L^2(1-L)^3 =: c_0 > 0. \tag*{(95)} w ′ ( s ) ⟶ C L 2 ( 1 − L ) 3 =: c 0 > 0. (95)
Hence there is S ≥ 0 S \ge0 S ≥ 0 such that w ′ ( s ) ≥ c 0 / 2 w'(s) \ge c_0/2 w ′ ( s ) ≥ c 0 /2 for all s ≥ S s \ge S s ≥ S . The fundamental theorem of calculus then gives
w ( s ) − w ( S ) = ∫ S s w ′ ( r ) d r ≥ c 0 2 ( s − S ) , s ≥ S . (96) w(s)-w(S)=\int_S^s w'(r)\,\mathrm{d}r \ge\frac{c_0}{2}(s-S), \qquad s\ge S. \tag*{(96)} w ( s ) − w ( S ) = ∫ S s w ′ ( r ) d r ≥ 2 c 0 ( s − S ) , s ≥ S . (96)
The right-hand side grows without bound as s → ∞ s \to\infty s → ∞ , contradicting L < 1 L < 1 L < 1 . Therefore L = 1 L = 1 L = 1 , which also gives 1 − w ( s ) → 0 1-w(s) \to0 1 − w ( s ) → 0 .
Finally, by Lemma 4,
D ∗ ( v ( s ) , t k ) − a + = a − + w ( s ) ( a + − a − ) − a + = − ( 1 − w ( s ) ) ( a + − a − ) , ∥ D ∗ ( v ( s ) , t k ) − a + ∥ = ( 1 − w ( s ) ) ∥ a + − a − ∥ ⟶ 0 , (97) \begin{aligned}
D^*(v(s),t_k)-a_+ &= a_-+w(s)(a_+-a_-)-a_+ \\
&=-(1-w(s))(a_+-a_-), \\
\lVert D^*(v(s),t_k)-a_+\rVert&= (1-w(s))\lVert a_+-a_-\rVert\longrightarrow0, \tag*{(97)}
\end{aligned} D ∗ ( v ( s ) , t k ) − a + ∥ D ∗ ( v ( s ) , t k ) − a + ∥ = a − + w ( s ) ( a + − a − ) − a + = − ( 1 − w ( s )) ( a + − a − ) , = ( 1 − w ( s )) ∥ a + − a − ∥ ⟶ 0 , (97)
because 1 − w ( s ) → 0 1-w(s) \to0 1 − w ( s ) → 0 , as desired.
Lemma 9 (DDIS preserves the denoiser’s kernel component in expectation). Fix t k > t k − 1 t_k > t_{k-1} t k > t k − 1 and any current state a t k ( D ) ∈ R n a_{t_k}^{(D)} \in\mathbb{R}^n a t k ( D ) ∈ R n . The DDIS conditional mean a ˉ D , t k − 1 : = E [ a t k − 1 ( D ) ∣ a t k ( D ) , u o b s ] \bar a_{D,t_{k-1}} := \mathbb{E}[a_{t_{k-1}}^{(D)} \mid a_{t_k}^{(D)},u_{\mathrm{obs}}] a ˉ D , t k − 1 := E [ a t k − 1 ( D ) ∣ a t k ( D ) , u obs ] from Lemma 1 satisfies
P ker A a ˉ D , t k − 1 = P ker A D θ ( a t k ( D ) , t k ) . (98) P_{\ker A}\bar a_{D,t_{k-1}}=P_{\ker A}D_\theta(a_{t_k}^{(D)},t_k). \tag*{(98)} P k e r A a ˉ D , t k − 1 = P k e r A D θ ( a t k ( D ) , t k ) . (98)
Proof. By Lemma 2,
a ˉ D , t k − 1 = ( A T A γ 2 + I σ t k 2 ) − 1 ( A T u o b s γ 2 + D θ ( a t k ( D ) , t k ) σ t k 2 ) . (99) \bar a_{D,t_{k-1}}=\left(\frac{A^\mathsf{T}A}{\gamma^2}+\frac{I}{\sigma_{t_k}^2}\right)^{-1}\left(\frac{A^\mathsf{T}u_{\mathrm{obs}}}{\gamma^2}+\frac{D_\theta(a_{t_k}^{(D)},t_k)}{\sigma_{t_k}^2}\right). \tag*{(99)} a ˉ D , t k − 1 = ( γ 2 A T A + σ t k 2 I ) − 1 ( γ 2 A T u obs + σ t k 2 D θ ( a t k ( D ) , t k ) ) . (99)
Multiplying by the invertible matrix A T A / γ 2 + I / σ t k 2 A^\mathsf{T}A/\gamma^2+I/\sigma_{t_k}^2 A T A / γ 2 + I / σ t k 2 gives
A T A a ˉ D , t k − 1 γ 2 + a ˉ D , t k − 1 σ t k 2 = A T u o b s γ 2 + D θ ( a t k ( D ) , t k ) σ t k 2 . (100) \frac{A^\mathsf{T}A\bar a_{D,t_{k-1}}}{\gamma^2}+\frac{\bar a_{D,t_{k-1}}}{\sigma_{t_k}^2}=\frac{A^\mathsf{T}u_{\mathrm{obs}}}{\gamma^2}+\frac{D_\theta(a_{t_k}^{(D)},t_k)}{\sigma_{t_k}^2}. \tag*{(100)} γ 2 A T A a ˉ D , t k − 1 + σ t k 2 a ˉ D , t k − 1 = γ 2 A T u obs + σ t k 2 D θ ( a t k ( D ) , t k ) . (100)
Move both terms on the right to the left and factor:
0 = A T A a ˉ D , t k − 1 − A T u o b s γ 2 + a ˉ D , t k − 1 − D θ ( a t k ( D ) , t k ) σ t k 2 = A T ( A a ˉ D , t k − 1 − u o b s ) γ 2 + a ˉ D , t k − 1 − D θ ( a t k ( D ) , t k ) σ t k 2 . (101) \begin{aligned}
0&=\frac{A^\mathsf{T}A\bar a_{D,t_{k-1}}-A^\mathsf{T}u_{\mathrm{obs}}}{\gamma^2}+\frac{\bar a_{D,t_{k-1}}-D_\theta(a_{t_k}^{(D)},t_k)}{\sigma_{t_k}^2}\\
&=\frac{A^\mathsf{T}(A\bar a_{D,t_{k-1}}-u_{\mathrm{obs}})}{\gamma^2}+\frac{\bar a_{D,t_{k-1}}-D_\theta(a_{t_k}^{(D)},t_k)}{\sigma_{t_k}^2}. \tag*{(101)}
\end{aligned} 0 = γ 2 A T A a ˉ D , t k − 1 − A T u obs + σ t k 2 a ˉ D , t k − 1 − D θ ( a t k ( D ) , t k ) = γ 2 A T ( A a ˉ D , t k − 1 − u obs ) + σ t k 2 a ˉ D , t k − 1 − D θ ( a t k ( D ) , t k ) . (101)
Apply the linear map P ker A P_{\ker A} P k e r A . By Lemma 3, P ker A A T u = 0 P_{\ker A}A^\mathsf{T}u=0 P k e r A A T u = 0 for every u ∈ R m u\in\mathbb{R}^m u ∈ R m , in particular for u = A a ˉ D , t k − 1 − u o b s u=A\bar a_{D,t_{k-1}}-u_{\mathrm{obs}} u = A a ˉ D , t k − 1 − u obs . Consequently,
0 = P ker A A T ( A a ˉ D , t k − 1 − u o b s ) γ 2 + P ker A a ˉ D , t k − 1 − P ker A D θ ( a t k ( D ) , t k ) σ t k 2 = P ker A a ˉ D , t k − 1 − P ker A D θ ( a t k ( D ) , t k ) σ t k 2 . (102) \begin{aligned}
0&=\frac{P_{\ker A}A^\mathsf{T}(A\bar a_{D,t_{k-1}}-u_{\mathrm{obs}})}{\gamma^2}+\frac{P_{\ker A}\bar a_{D,t_{k-1}}-P_{\ker A}D_\theta(a_{t_k}^{(D)},t_k)}{\sigma_{t_k}^2}\\
&=\frac{P_{\ker A}\bar a_{D,t_{k-1}}-P_{\ker A}D_\theta(a_{t_k}^{(D)},t_k)}{\sigma_{t_k}^2}. \tag*{(102)}
\end{aligned} 0 = γ 2 P k e r A A T ( A a ˉ D , t k − 1 − u obs ) + σ t k 2 P k e r A a ˉ D , t k − 1 − P k e r A D θ ( a t k ( D ) , t k ) = σ t k 2 P k e r A a ˉ D , t k − 1 − P k e r A D θ ( a t k ( D ) , t k ) . (102)
Since σ t k 2 > 0 \sigma_{t_k}^{2} > 0 σ t k 2 > 0 , we have that P ker A a ˉ D , t k − 1 = P ker A D θ ( a t k ( D ) , t k ) P_{\ker A}\bar{a}_{D,t_{k-1}} = P_{\ker A}D_{\theta}(a_{t_k}^{(D)},t_k) P k e r A a ˉ D , t k − 1 = P k e r A D θ ( a t k ( D ) , t k ) as desired. □
Proof of prop:ddisfailprelim
Proof. By Lemma 9 , with D θ ( ⋅ , t k ) = D ∗ ( ⋅ , t k ) D_{\theta}(\cdot,t_k) = D^{*}(\cdot,t_k) D θ ( ⋅ , t k ) = D ∗ ( ⋅ , t k ) , and linearity of P ker A P_{\ker A} P k e r A },
P ker A ( a ˉ D , t k − 1 − a + ) = P ker A a ˉ D , t k − 1 − P ker A a + (103) P_{\ker A}(\bar{a}_{D,t_{k-1}}-a_{+}) = P_{\ker A}\bar{a}_{D,t_{k-1}} - P_{\ker A}a_{+} \tag*{(103)} P k e r A ( a ˉ D , t k − 1 − a + ) = P k e r A a ˉ D , t k − 1 − P k e r A a + (103)
= P ker A D ∗ ( a t k ( D ) , t k ) − P ker A a + (104) = P_{\ker A}D^{*}(a_{t_k}^{(D)},t_k) - P_{\ker A}a_{+} \tag*{(104)} = P k e r A D ∗ ( a t k ( D ) , t k ) − P k e r A a + (104)
= P ker A ( D ∗ ( a t k ( D ) , t k ) − a + ) . (105) = P_{\ker A}\left(D^{*}(a_{t_k}^{(D)},t_k)-a_{+}\right). \tag*{(105)} = P k e r A ( D ∗ ( a t k ( D ) , t k ) − a + ) . (105)
Taking norms on both sides proves the claim. The same argument also applies when t k − 1 = t 0 t_{k-1}=t_0 t k − 1 = t 0 . □
Proof of prop:exactdenoiser
Proof. Let
d : = a + − a − . (106) d := a_{+}-a_{-}. \tag*{(106)} d := a + − a − . (106)
By Lemma 4, k t k ( ⋅ ) k_{t_k}(\cdot) k t k ( ⋅ ) is a regular conditional probability P ( a 0 = a + ∣ a t k = ⋅ ) \mathbb{P}(a_0=a_{+}\mid a_{t_k}=\cdot) P ( a 0 = a + ∣ a t k = ⋅ ) and is well-defined, and
D ∗ ( v , t k ) = a − + k t k ( v ) d . (107) D^{*}(v,t_k)=a_{-}+k_{t_k}(v)d. \tag*{(107)} D ∗ ( v , t k ) = a − + k t k ( v ) d . (107)
The orthogonal decomposition of d d d with respect to ker A \ker A ker A is
d = P ( ker A ) ⊥ d + P ker A d . (108) d=P_{(\ker A)^{\perp}}d+P_{\ker A}d. \tag*{(108)} d = P ( k e r A ) ⊥ d + P k e r A d . (108)
Substituting this identity into Eq. (107) gives
D ∗ ( v , t k ) = a − + k t k ( v ) P ( ker A ) ⊥ d + k t k ( v ) P ker A d . (109) D^{*}(v,t_k)=a_{-}+k_{t_k}(v)P_{(\ker A)^{\perp}}d+k_{t_k}(v)P_{\ker A}d. \tag*{(109)} D ∗ ( v , t k ) = a − + k t k ( v ) P ( k e r A ) ⊥ d + k t k ( v ) P k e r A d . (109)
Finally, applying P ker A P_{\ker A} P k e r A and using P ker A P ( ker A ) ⊥ = 0 P_{\ker A}P_{(\ker A)^{\perp}}=0 P k e r A P ( k e r A ) ⊥ = 0 and P ker A 2 = P ker A P_{\ker A}^{2}=P_{\ker A} P k e r A 2 = P k e r A yields
P ker A D ∗ ( v , t k ) = P ker A a − + k t k ( v ) P ker A d , (110) P_{\ker A}D^{*}(v,t_k)=P_{\ker A}a_{-}+k_{t_k}(v)P_{\ker A}d, \tag*{(110)} P k e r A D ∗ ( v , t k ) = P k e r A a − + k t k ( v ) P k e r A d , (110)
as desired. □
Proof of prop:ddis-fail
Proof. Note that the probability is well-defined by Lemma 4. Let
d : = a + − a − , w D : = k t k ( a t k ( D ) ) . (111) d:=a_{+}-a_{-},\qquad w_D:=k_{t_k}(a_{t_k}^{(D)}). \tag*{(111)} d := a + − a − , w D := k t k ( a t k ( D ) ) . (111)
By Lemma 4,
D ∗ ( a t k ( D ) , t k ) − a + = − ( 1 − w D ) d . (112) D^{*}(a_{t_k}^{(D)},t_k)-a_{+}=-(1-w_D)d. \tag*{(112)} D ∗ ( a t k ( D ) , t k ) − a + = − ( 1 − w D ) d . (112)
Incorporating this into Prop. 1, we have that:
∥ P ker A ( a ˉ D , t k − 1 − a + ) ∥ 2 = ∥ P ker A ( D ∗ ( a t k ( D ) , t k ) − a + ) ∥ 2 = ( 1 − w D ) ∥ P ker A d ∥ 2 . (113) \begin{aligned}
\left\|P_{\ker A}(\bar{a}_{D,t_{k-1}}-a_{+})\right\|_2
=
\left\|P_{\ker A}\left(D^{*}(a_{t_k}^{(D)},t_k)-a_{+}\right)\right\|_2 \\
&=(1-w_D)\left\|P_{\ker A}d\right\|_2. \tag*{(113)}
\end{aligned} ∥ P k e r A ( a ˉ D , t k − 1 − a + ) ∥ 2 = P k e r A ( D ∗ ( a t k ( D ) , t k ) − a + ) 2 = ( 1 − w D ) ∥ P k e r A d ∥ 2 . (113)
By Lemma 3, we then have
∥ a ˉ D , t k − 1 − a + ∥ 2 ≥ ∥ P ker A ( a ˉ D , t k − 1 − a + ) ∥ 2 . (114) \left\|\bar{a}_{D,t_{k-1}}-a_{+}\right\|_2
\ge
\left\|P_{\ker A}(\bar{a}_{D,t_{k-1}}-a_{+})\right\|_2. \tag*{(114)} ∥ a ˉ D , t k − 1 − a + ∥ 2 ≥ ∥ P k e r A ( a ˉ D , t k − 1 − a + ) ∥ 2 . (114)
Hence
∥ a ˉ D , t k − 1 − a + ∥ 2 ≥ ( 1 − w D ) ∥ P ker A d ∥ 2 . (115) \lVert\bar{\mathbf{a}}_{D,t_{k-1}}-\mathbf{a}_{+}\rVert_{2}\ge(1-w_{D})\lVert P_{\ker A}d\rVert_{2}. \tag*{(115)} ∥ a ˉ D , t k − 1 − a + ∥ 2 ≥ ( 1 − w D ) ∥ P k e r A d ∥ 2 . (115)
Finally, by Lemma 5, 1 − w D > 0 1-w_{D}>0 1 − w D > 0 , and by assumption P ker A d ≠ 0 P_{\ker A}d\ne0 P k e r A d = 0 . Therefore,
∥ a ˉ D , t k − 1 − a + ∥ 2 ≥ ( 1 − w D ) ∥ P ker A d ∥ 2 > 0 , (116) \lVert\bar{\mathbf{a}}_{D,t_{k-1}}-\mathbf{a}_{+}\rVert_{2}\ge(1-w_{D})\lVert P_{\ker A}d\rVert_{2}>0, \tag*{(116)} ∥ a ˉ D , t k − 1 − a + ∥ 2 ≥ ( 1 − w D ) ∥ P k e r A d ∥ 2 > 0 , (116)
which proves Cor. 1, as desired. □
Proof of prop:sitcomkercontract
Proof. Under the exact denoiser D θ ( ⋅ , t k ) = D ∗ ( ⋅ , t k ) D_{\theta}(\cdot,t_{k})=D^{*}(\cdot,t_{k}) D θ ( ⋅ , t k ) = D ∗ ( ⋅ , t k ) , Lemma 1 gives, for every finite s ≥ 0 s\ge0 s ≥ 0 ,
E [ a t k − 1 ( B ) ∣ a t k ( B ) , u o b s ] = D ∗ ( v ( s ) , t k ) . (117) \mathbb{E}\left[a_{t_{k-1}}^{(B)}\mid a_{t_{k}}^{(B)},u_{\mathrm{obs}}\right]=D^{*}(v(s),t_{k}). \tag*{(117)} E [ a t k − 1 ( B ) ∣ a t k ( B ) , u obs ] = D ∗ ( v ( s ) , t k ) . (117)
Let
w S ( s ) : = k t k ( v ( s ) ) , w D : = k t k ( a t k ( D ) ) , d : = a + − a − . (118) w_{S}(s):=k_{t_{k}}(v(s)),\qquad w_{D}:=k_{t_{k}}(a_{t_{k}}^{(D)}),\qquad d:=a_{+}-a_{-}. \tag*{(118)} w S ( s ) := k t k ( v ( s )) , w D := k t k ( a t k ( D ) ) , d := a + − a − . (118)
By Lemma 4,
D ∗ ( v ( s ) , t k ) − a + = a − + w S ( s ) d − a + = − ( 1 − w S ( s ) ) d . (119) \begin{aligned}
D^{*}(v(s),t_{k})-a_{+}&=a_{-}+w_{S}(s)d-a_{+}\\
&=-(1-w_{S}(s))d. \tag*{(119)}
\end{aligned} D ∗ ( v ( s ) , t k ) − a + = a − + w S ( s ) d − a + = − ( 1 − w S ( s )) d . (119)
Therefore
∥ P ker A ( D ∗ ( v ( s ) , t k ) − a + ) ∥ 2 = ( 1 − w S ( s ) ) ∥ P ker A d ∥ 2 . (120) \lVert P_{\ker A}(D^{*}(v(s),t_{k})-a_{+})\rVert_{2}=(1-w_{S}(s))\lVert P_{\ker A}d\rVert_{2}. \tag*{(120)} ∥ P k e r A ( D ∗ ( v ( s ) , t k ) − a + ) ∥ 2 = ( 1 − w S ( s )) ∥ P k e r A d ∥ 2 . (120)
By Lemmas 5 and 7, w S ′ ( s ) > 0 w_{S}'(s)>0 w S ′ ( s ) > 0 for every finite s ≥ 0 s\ge0 s ≥ 0 . Since v ( 0 ) = a t k ( B ) v(0)=a_{t_{k}}^{(B)} v ( 0 ) = a t k ( B ) , we have w S ( s ) > w S ( 0 ) = k t k ( a t k ( B ) ) w_{S}(s)>w_{S}(0)=k_{t_{k}}(a_{t_{k}}^{(B)}) w S ( s ) > w S ( 0 ) = k t k ( a t k ( B ) ) for every s > 0 s>0 s > 0 . Applying Eq. (120) at s s s and at 0 therefore gives
∥ P ker A ( D ∗ ( v ( s ) , t k ) − a + ) ∥ 2 ≤ ∥ P ker A ( D ∗ ( a t k ( B ) , t k ) − a + ) ∥ 2 , s > 0. (121) \lVert P_{\ker A}(D^{*}(v(s),t_{k})-a_{+})\rVert_{2}\le\lVert P_{\ker A}(D^{*}(a_{t_{k}}^{(B)},t_{k})-a_{+})\rVert_{2},\qquad s>0. \tag*{(121)} ∥ P k e r A ( D ∗ ( v ( s ) , t k ) − a + ) ∥ 2 ≤ ∥ P k e r A ( D ∗ ( a t k ( B ) , t k ) − a + ) ∥ 2 , s > 0. (121)
On the other hand, by Lemma 9 ,
P ker A a ˉ D , t k − 1 = P ker A D ∗ ( a t k ( D ) , t k ) . (122) P_{\ker A}\bar{a}_{D,t_{k-1}}=P_{\ker A}D^{*}(a_{t_{k}}^{(D)},t_{k}). \tag*{(122)} P k e r A a ˉ D , t k − 1 = P k e r A D ∗ ( a t k ( D ) , t k ) . (122)
Applying Lemma 4 at a t k ( D ) a_{t_{k}}^{(D)} a t k ( D ) yields
P ker A ( a ˉ D , t k − 1 − a + ) = P ker A ( D ∗ ( a t k ( D ) , t k ) − a + ) = − ( 1 − w D ) P ker A d . (123) \begin{aligned}
P_{\ker A}(\bar{a}_{D,t_{k-1}}-a_{+})&=P_{\ker A}(D^{*}(a_{t_{k}}^{(D)},t_{k})-a_{+})\\
&=-(1-w_{D})P_{\ker A}d. \tag*{(123)}
\end{aligned} P k e r A ( a ˉ D , t k − 1 − a + ) = P k e r A ( D ∗ ( a t k ( D ) , t k ) − a + ) = − ( 1 − w D ) P k e r A d . (123)
Hence
∥ P ker A ( a ˉ D , t k − 1 − a + ) ∥ 2 = ( 1 − w D ) ∥ P ker A d ∥ 2 . (124) \lVert P_{\ker A}(\bar{a}_{D,t_{k-1}}-a_{+})\rVert_{2}=(1-w_{D})\lVert P_{\ker A}d\rVert_{2}. \tag*{(124)} ∥ P k e r A ( a ˉ D , t k − 1 − a + ) ∥ 2 = ( 1 − w D ) ∥ P k e r A d ∥ 2 . (124)
By Lemma 5, 0 < w D < 1 0<w_{D}<1 0 < w D < 1 , so 1 − w D > 0 1-w_{D}>0 1 − w D > 0 . By Lemma 8,
w S ( s ) ⟶ 1 as s ⟶ ∞ . (125) w_{S}(s)\longrightarrow1\qquad\text{as }s\longrightarrow\infty. \tag*{(125)} w S ( s ) ⟶ 1 as s ⟶ ∞. (125)
Therefore there exists s ∗ > 0 s^{*}>0 s ∗ > 0 such that, for every s ≥ s ∗ s\ge s^{*} s ≥ s ∗ ,
1 − w S ( s ) ≤ 1 − w D . (126) 1-w_{S}(s)\le1-w_{D}. \tag*{(126)} 1 − w S ( s ) ≤ 1 − w D . (126)
Multiplying by ∥ P ker A d ∥ 2 \lVert P_{\ker A}d\rVert_{2} ∥ P k e r A d ∥ 2 and using Eqs. (120) and (124) gives
∥ P ker A ( D ∗ ( v ( s ) , t k ) − a + ) ∥ 2 ≤ ∥ P ker A ( a ˉ D , t k − 1 − a + ) ∥ 2 , (127) \lVert P_{\ker A}(D^{*}(v(s),t_{k})-a_{+})\rVert_{2}\le\lVert P_{\ker A}(\bar{a}_{D,t_{k-1}}-a_{+})\rVert_{2}, \tag*{(127)} ∥ P k e r A ( D ∗ ( v ( s ) , t k ) − a + ) ∥ 2 ≤ ∥ P k e r A ( a ˉ D , t k − 1 − a + ) ∥ 2 , (127)
as desired. □
Proof. By Lemma 1, for every finite s s s ,
π s ( B ) = N ( D ∗ ( v ( s ) , t k ) , σ t k − 1 2 K ) . (128) \pi_s^{(B)}=\mathcal{N}\left(D^*(v(s),t_k),\sigma_{t_{k-1}}^2K\right). \tag*{(128)} π s ( B ) = N ( D ∗ ( v ( s ) , t k ) , σ t k − 1 2 K ) . (128)
By Lemma 8, D ∗ ( v ( s ) , t k ) → a + D^*(v(s),t_k)\to a_+ D ∗ ( v ( s ) , t k ) → a + as s → ∞ s\to\infty s → ∞ . Hence, for every ξ ∈ R n \xi\in\mathbb{R}^n ξ ∈ R n , the characteristic function of π s ( B ) \pi_s^{(B)} π s ( B ) satisfies
π ^ s ( B ) ( ξ ) = exp ( i ξ T D ∗ ( v ( s ) , t k ) − 1 2 σ t k − 1 2 ξ T K ξ ) ⟶ exp ( i ξ T a + − 1 2 σ t k − 1 2 ξ T K ξ ) . (129) \begin{aligned}
\widehat{\pi}_s^{(B)}(\xi)&=\exp\left(i\xi^{\mathsf{T}}D^*(v(s),t_k)-\frac{1}{2}\sigma_{t_{k-1}}^2\xi^{\mathsf{T}}K\xi\right)\\
&\longrightarrow\exp\left(i\xi^{\mathsf{T}}a_+-\frac{1}{2}\sigma_{t_{k-1}}^2\xi^{\mathsf{T}}K\xi\right). \tag*{(129)}
\end{aligned} π s ( B ) ( ξ ) = exp ( i ξ T D ∗ ( v ( s ) , t k ) − 2 1 σ t k − 1 2 ξ T K ξ ) ⟶ exp ( i ξ T a + − 2 1 σ t k − 1 2 ξ T K ξ ) . (129)
The limit is the characteristic function of N ( a + , σ t k − 1 2 K ) \mathcal{N}(a_+,\sigma_{t_{k-1}}^2K) N ( a + , σ t k − 1 2 K ) and is continuous at ξ = 0 \xi=0 ξ = 0 . Therefore, Lévy’s continuity theorem gives
π s ( B ) ⇒ N ( a + , σ t k − 1 2 K ) as s → ∞ . (130) \pi_s^{(B)}\Rightarrow\mathcal{N}(a_+,\sigma_{t_{k-1}}^2K)\quad\text{as }s\to\infty. \tag*{(130)} π s ( B ) ⇒ N ( a + , σ t k − 1 2 K ) as s → ∞. (130)
Finally, when t k − 1 = t 0 t_{k-1}=t_0 t k − 1 = t 0 , for every ξ ∈ R n \xi\in\mathbb{R}^n ξ ∈ R n ,
exp ( i ξ T a + − 1 2 σ t 0 2 ξ T K ξ ) ⟶ exp ( i ξ T a + ) as σ t 0 → 0. (131) \exp\left(i\xi^{\mathsf{T}}a_+-\frac{1}{2}\sigma_{t_0}^2\xi^{\mathsf{T}}K\xi\right)\longrightarrow\exp(i\xi^{\mathsf{T}}a_+)\quad\text{as }\sigma_{t_0}\to0. \tag*{(131)} exp ( i ξ T a + − 2 1 σ t 0 2 ξ T K ξ ) ⟶ exp ( i ξ T a + ) as σ t 0 → 0. (131)
The limit is the characteristic function of δ a + \delta_{a_+} δ a + , so another application of Lévy’s continuity theorem yields
N ( a + , σ t 0 2 K ) ⇒ δ a + . (132) \mathcal{N}(a_+,\sigma_{t_0}^2K)\Rightarrow\delta_{a_+}. \tag*{(132)} N ( a + , σ t 0 2 K ) ⇒ δ a + . (132)
This proves Thm. 1, as desired. □
Proof of prop:wrong-mode-slowdown
Proof. Let d : = a + − a − d:=a_+-a_- d := a + − a − , m : = ( a − + a + ) / 2 m:=(a_-+a_+)/2 m := ( a − + a + ) /2 , Q : = d T K − 1 d Q:=d^{\mathsf{T}}K^{-1}d Q := d T K − 1 d , and
C : = ∥ A d ∥ 2 2 ∥ K − 1 d ∥ 2 2 γ 2 . C:=\frac{\lVert Ad\rVert_2^2\lVert K^{-1}d\rVert_2^2}{\gamma^2}. C := γ 2 ∥ A d ∥ 2 2 ∥ K − 1 d ∥ 2 2 .
Since A d ≠ 0 Ad\ne0 A d = 0 and K K K is positive definite, we have Q , C > 0 Q,C>0 Q , C > 0 .
Fix a realization of a t k + 1 ( B ) a_{t_{k+1}}^{(B)} a t k + 1 ( B ) satisfying k t k + 1 ( a t k + 1 ( B ) ) ≤ 1 / 2 − δ k_{t_{k+1}}(a_{t_{k+1}}^{(B)})\le1/2-\delta k t k + 1 ( a t k + 1 ( B ) ) ≤ 1/2 − δ , and set p : = k t k + 1 ( a t k + 1 ( B ) ) p:=k_{t_{k+1}}(a_{t_{k+1}}^{(B)}) p := k t k + 1 ( a t k + 1 ( B ) ) . By Lemma 4,
D ∗ ( a t k + 1 ( B ) , t k + 1 ) = a − + p d (133) D^*(a_{t_{k+1}}^{(B)},t_{k+1})=a_-+pd \tag*{(133)} D ∗ ( a t k + 1 ( B ) , t k + 1 ) = a − + p d (133)
= m − ( 1 2 − p ) d . (134) =m-\left(\frac{1}{2}-p\right)d. \tag*{(134)} = m − ( 2 1 − p ) d . (134)
Therefore, since no optimization is performed at t k + 1 t_{k+1} t k + 1 ,
a t k ( B ) = m − ( 1 2 − p ) d + σ t k ε k ( B ) , ε k ( B ) ∼ N ( 0 , K ) . a_{t_k}^{(B)}=m-\left(\frac{1}{2}-p\right)d+\sigma_{t_k}\varepsilon_k^{(B)},\qquad\varepsilon_k^{(B)}\sim\mathcal{N}(0,K). a t k ( B ) = m − ( 2 1 − p ) d + σ t k ε k ( B ) , ε k ( B ) ∼ N ( 0 , K ) .
Conditionally on a t k + 1 ( B ) a_{t_{k+1}}^{(B)} a t k + 1 ( B ) , d T K − 1 ε k ( B ) ∼ N ( 0 , Q ) d^{\mathsf{T}}K^{-1}\varepsilon_k^{(B)}\sim\mathcal{N}(0,Q) d T K − 1 ε k ( B ) ∼ N ( 0 , Q ) , since
Var ( d T K − 1 ε k ( B ) ) = d T K − 1 K K − 1 d = Q . \operatorname{Var}\left(d^{\mathsf{T}}K^{-1}\varepsilon_k^{(B)}\right)=d^{\mathsf{T}}K^{-1}KK^{-1}d=Q. Var ( d T K − 1 ε k ( B ) ) = d T K − 1 K K − 1 d = Q .
Thus, with Z : = d ⊤ K − 1 ε k ( B ) / Q Z := d^{\top}K^{-1}\varepsilon_k^{(B)}/\sqrt{Q} Z := d ⊤ K − 1 ε k ( B ) / Q , we have Z ∼ N ( 0 , 1 ) Z \sim\mathcal{N}(0,1) Z ∼ N ( 0 , 1 ) and
d ⊤ K − 1 ( a t k ( B ) − m ) = − Q ( 1 2 − p ) + σ t k Q Z . (135) d^{\top}K^{-1}(a_{t_k}^{(B)}-m)=-Q\left(\frac{1}{2}-p\right)+\sigma_{t_k}\sqrt{Q}Z. \tag*{(135)} d ⊤ K − 1 ( a t k ( B ) − m ) = − Q ( 2 1 − p ) + σ t k Q Z . (135)
Define E : = { Z ≤ δ Q / ( 2 σ t k ) } E := \{Z \le\delta\sqrt{Q}/(2\sigma_{t_k})\} E := { Z ≤ δ Q / ( 2 σ t k )} . Since 1 / 2 − p ≥ δ 1/2-p \ge\delta 1/2 − p ≥ δ , on E E E ,
d ⊤ K − 1 ( a t k ( B ) − m ) ≤ − Q δ + σ t k Q δ Q 2 σ t k (136) d^{\top}K^{-1}(a_{t_k}^{(B)}-m)\le-Q\delta+\sigma_{t_k}\sqrt{Q}\frac{\delta\sqrt{Q}}{2\sigma_{t_k}} \tag*{(136)} d ⊤ K − 1 ( a t k ( B ) − m ) ≤ − Q δ + σ t k Q 2 σ t k δ Q (136)
= − Q δ 2 . (137) =-\frac{Q\delta}{2}. \tag*{(137)} = − 2 Q δ . (137)
For x > 0 x>0 x > 0 , the standard Gaussian Chernoff bound gives
Pr ( Z > x ) = Pr ( e x Z > e x 2 ) ≤ e − x 2 E [ e x Z ] = e − x 2 / 2 . \Pr(Z>x)=\Pr(e^{xZ}>e^{x^2})\le e^{-x^2}\mathbb{E}[e^{xZ}]=e^{-x^2/2}. Pr ( Z > x ) = Pr ( e x Z > e x 2 ) ≤ e − x 2 E [ e x Z ] = e − x 2 /2 .
Taking x = δ Q / ( 2 σ t k ) x=\delta\sqrt{Q}/(2\sigma_{t_k}) x = δ Q / ( 2 σ t k ) therefore yields
Pr ( E ∣ a t k + 1 ( B ) ) ≥ 1 − exp ( − Q δ 2 8 σ t k 2 ) . (138) \Pr\left(E\mid a_{t_{k+1}}^{(B)}\right)\ge1-\exp\left(-\frac{Q\delta^2}{8\sigma_{t_k}^2}\right). \tag*{(138)} Pr ( E ∣ a t k + 1 ( B ) ) ≥ 1 − exp ( − 8 σ t k 2 Q δ 2 ) . (138)
Now set w ( s ) : = k t k ( v t k ( s ) ) w(s):=k_{t_k}(v_{t_k}(s)) w ( s ) := k t k ( v t k ( s )) . Since v t k ( 0 ) = a t k ( B ) v_{t_k}(0)=a_{t_k}^{(B)} v t k ( 0 ) = a t k ( B ) , Lemma 4 and Eq. (137) give, on E E E ,
w ( 0 ) = ( 1 + exp { − d ⊤ K − 1 ( a t k ( B ) − m ) σ t k 2 } ) − 1 (139) w(0)=\left(1+\exp\left\{-\frac{d^{\top}K^{-1}(a_{t_k}^{(B)}-m)}{\sigma_{t_k}^2}\right\}\right)^{-1} \tag*{(139)} w ( 0 ) = ( 1 + exp { − σ t k 2 d ⊤ K − 1 ( a t k ( B ) − m ) } ) − 1 (139)
≤ ( 1 + exp { Q δ 2 σ t k 2 } ) − 1 < 1 2 . (140) \le\left(1+\exp\left\{\frac{Q\delta}{2\sigma_{t_k}^2}\right\}\right)^{-1}<\frac{1}{2}. \tag*{(140)} ≤ ( 1 + exp { 2 σ t k 2 Q δ } ) − 1 < 2 1 . (140)
By Lemma 7,
w ′ ( s ) = C σ t k 4 w ( s ) 2 ( 1 − w ( s ) ) 3 . (141) w'(s)=\frac{C}{\sigma_{t_k}^4}w(s)^2(1-w(s))^3. \tag*{(141)} w ′ ( s ) = σ t k 4 C w ( s ) 2 ( 1 − w ( s ) ) 3 . (141)
By Lemma 5, 0 < w ( s ) < 1 0<w(s)<1 0 < w ( s ) < 1 for every finite s s s , so w ′ ( s ) > 0 w'(s)>0 w ′ ( s ) > 0 . By Lemma 8, w ( s ) → 1 w(s)\to1 w ( s ) → 1 as s → ∞ s\to\infty s → ∞ . Hence, on E E E , τ t k < ∞ \tau_{t_k}<\infty τ t k < ∞ and, by continuity, w ( τ t k ) = 1 / 2 w(\tau_{t_k})=1/2 w ( τ t k ) = 1/2 .
Integrating Eq. (141) from 0 0 0 to τ t k \tau_{t_k} τ t k and using u = w ( s ) u=w(s) u = w ( s ) gives
τ t k = σ t k 4 C ∫ w ( 0 ) 1 / 2 d u u 2 ( 1 − u ) 3 (142) \tau_{t_k}=\frac{\sigma_{t_k}^4}{C}\int_{w(0)}^{1/2}\frac{du}{u^2(1-u)^3} \tag*{(142)} τ t k = C σ t k 4 ∫ w ( 0 ) 1/2 u 2 ( 1 − u ) 3 d u (142)
≥ σ t k 4 C ∫ w ( 0 ) 1 / 2 d u u 2 (143) \ge\frac{\sigma_{t_k}^4}{C}\int_{w(0)}^{1/2}\frac{du}{u^2} \tag*{(143)} ≥ C σ t k 4 ∫ w ( 0 ) 1/2 u 2 d u (143)
= σ t k 4 C ( 1 w ( 0 ) − 2 ) , (144) =\frac{\sigma_{t_k}^4}{C}\left(\frac{1}{w(0)}-2\right), \tag*{(144)} = C σ t k 4 ( w ( 0 ) 1 − 2 ) , (144)
where the inequality follows from ( 1 − u ) − 3 ≥ 1 (1-u)^{-3}\ge1 ( 1 − u ) − 3 ≥ 1 for u ∈ ( 0 , 1 / 2 ] u\in(0,1/2] u ∈ ( 0 , 1/2 ] . By Eq. (140) ,
1 w ( 0 ) ≥ 1 + exp ( Q δ 2 σ t k 2 ) , \frac{1}{w(0)}\ge1+\exp\left(\frac{Q\delta}{2\sigma_{t_k}^2}\right), w ( 0 ) 1 ≥ 1 + exp ( 2 σ t k 2 Q δ ) ,
so, on E E E ,
τ t k ≥ σ t k 4 C [ exp ( Q δ 2 σ t k 2 ) − 1 ] . \tau_{t_k} \ge\frac{\sigma_{t_k}^{4}}{C}\left[\exp\left(\frac{Q\delta}{2\sigma_{t_k}^{2}}\right)-1\right]. τ t k ≥ C σ t k 4 [ exp ( 2 σ t k 2 Q δ ) − 1 ] .
Consequently, by Eq. (138) ,
Pr ( τ t k ≥ σ t k 4 C [ exp ( Q δ 2 σ t k 2 ) − 1 ] ∣ a t k + 1 ( B ) ) (145) \Pr\left(\left.\tau_{t_k} \ge\frac{\sigma_{t_k}^{4}}{C}\left[\exp\left(\frac{Q\delta}{2\sigma_{t_k}^{2}}\right)-1\right]\right|a_{t_{k+1}}^{(B)}\right) \tag*{(145)} Pr ( τ t k ≥ C σ t k 4 [ exp ( 2 σ t k 2 Q δ ) − 1 ] a t k + 1 ( B ) ) (145)
≥ 1 − exp ( − Q δ 2 8 σ t k 2 ) , (146) \ge1-\exp\left(-\frac{Q\delta^{2}}{8\sigma_{t_k}^{2}}\right), \tag*{(146)} ≥ 1 − exp ( − 8 σ t k 2 Q δ 2 ) , (146)
as desired. □
Proof of prop:interior-selection-window
Proof. Let d : = a + − a − d := a_+ - a_- d := a + − a − , m : = ( a − + a + ) / 2 m := (a_- + a_+)/2 m := ( a − + a + ) /2 , and C : = ∥ A d ∥ 2 2 ∥ K − 1 d ∥ 2 2 / γ 2 C := \lVert Ad\rVert_2^2\lVert K^{-1}d\rVert_2^2/\gamma^2 C := ∥ A d ∥ 2 2 ∥ K − 1 d ∥ 2 2 / γ 2 . Since A d ≠ 0 Ad \ne0 A d = 0 , K K K is positive definite, and γ > 0 \gamma> 0 γ > 0 , we have C > 0 C > 0 C > 0 .
By Lemma 4, for every σ > 0 \sigma> 0 σ > 0 ,
k σ ( v ) = ( 1 + exp { − d T K − 1 ( v − m ) σ 2 } ) − 1 . (147) k_\sigma(v)=\left(1+\exp\left\{-\frac{d^{\mathsf T}K^{-1}(v-m)}{\sigma^2}\right\}\right)^{-1}. \tag*{(147)} k σ ( v ) = ( 1 + exp { − σ 2 d T K − 1 ( v − m ) } ) − 1 . (147)
Set h : = d T K − 1 ( v ⋆ − m ) h := d^{\mathsf T}K^{-1}(v^\star-m) h := d T K − 1 ( v ⋆ − m ) . By assumption, k σ ( v ⋆ ) < 1 / 2 k_\sigma(v^\star)<1/2 k σ ( v ⋆ ) < 1/2 for every σ > 0 \sigma>0 σ > 0 . Using Eq. (147) ,
k σ ( v ⋆ ) < 1 2 ⟺ exp ( − h σ 2 ) > 1 ⟺ h < 0. k_\sigma(v^\star)<\frac{1}{2}\Longleftrightarrow\exp\left(-\frac{h}{\sigma^2}\right)>1\Longleftrightarrow h<0. k σ ( v ⋆ ) < 2 1 ⟺ exp ( − σ 2 h ) > 1 ⟺ h < 0.
Hence, setting b : = − h > 0 b:=-h>0 b := − h > 0 ,
w σ ( 0 ) = k σ ( v ⋆ ) = 1 1 + exp ( b / σ 2 ) ∈ ( 0 , 1 2 ) . (148) w_\sigma(0)=k_\sigma(v^\star)=\frac{1}{1+\exp(b/\sigma^2)}\in\left(0,\frac{1}{2}\right). \tag*{(148)} w σ ( 0 ) = k σ ( v ⋆ ) = 1 + exp ( b / σ 2 ) 1 ∈ ( 0 , 2 1 ) . (148)
Fix σ > 0 \sigma>0 σ > 0 , and write v σ ( s ) v_\sigma(s) v σ ( s ) for the solution of Eq. (12) at noise level σ \sigma σ , initialized by v σ ( 0 ) = v ⋆ v_\sigma(0)=v^\star v σ ( 0 ) = v ⋆ . By Lemma 6, this solution exists uniquely for all s ≥ 0 s\ge0 s ≥ 0 . Let w σ ( s ) : = k σ ( v σ ( s ) ) w_\sigma(s):=k_\sigma(v_\sigma(s)) w σ ( s ) := k σ ( v σ ( s )) .
By Lemma 7, with σ \sigma σ in place of σ t k \sigma_{t_k} σ t k ,
w σ ′ ( s ) = C σ 4 w σ ( s ) 2 ( 1 − w σ ( s ) ) 3 . (149) w_\sigma'(s)=\frac{C}{\sigma^4}w_\sigma(s)^2(1-w_\sigma(s))^3. \tag*{(149)} w σ ′ ( s ) = σ 4 C w σ ( s ) 2 ( 1 − w σ ( s ) ) 3 . (149)
By Lemma 5, 0 < w σ ( s ) < 1 0<w_\sigma(s)<1 0 < w σ ( s ) < 1 for every finite s s s . Since C > 0 C>0 C > 0 , Eq. (149) gives w σ ′ ( s ) > 0 w_\sigma'(s)>0 w σ ′ ( s ) > 0 , so w σ w_\sigma w σ is strictly increasing. Moreover, by Lemma 8, w σ ( s ) → 1 w_\sigma(s)\to1 w σ ( s ) → 1 as s → ∞ s\to\infty s → ∞ . Together with Eq. (148) and continuity of w σ w_\sigma w σ , this implies 0 < τ ( σ ) < ∞ 0<\tau(\sigma)<\infty 0 < τ ( σ ) < ∞ and
w σ ( τ ( σ ) ) = 1 2 . (150) w_\sigma(\tau(\sigma))=\frac{1}{2}. \tag*{(150)} w σ ( τ ( σ )) = 2 1 . (150)
Rearranging Eq. (149) , integrating from 0 0 0 to τ ( σ ) \tau(\sigma) τ ( σ ) , and using the change of variables u = w σ ( s ) u=w_\sigma(s) u = w σ ( s ) gives
τ ( σ ) = σ 4 C ∫ 0 τ ( σ ) w σ ′ ( s ) w σ ( s ) 2 ( 1 − w σ ( s ) ) 3 d s (151) \tau(\sigma)=\frac{\sigma^4}{C}\int_0^{\tau(\sigma)}\frac{w_\sigma'(s)}{w_\sigma(s)^2(1-w_\sigma(s))^3}\,ds \tag*{(151)} τ ( σ ) = C σ 4 ∫ 0 τ ( σ ) w σ ( s ) 2 ( 1 − w σ ( s ) ) 3 w σ ′ ( s ) d s (151)
= σ 4 C ∫ w σ ( 0 ) 1 / 2 d u u 2 ( 1 − u ) 3 . (152) =\frac{\sigma^4}{C}\int_{w_\sigma(0)}^{1/2}\frac{du}{u^2(1-u)^3}. \tag*{(152)} = C σ 4 ∫ w σ ( 0 ) 1/2 u 2 ( 1 − u ) 3 d u . (152)
The change of variables is valid because w σ w_{\sigma} w σ is continuously differentiable and strictly increasing. We first consider σ ↓ 0 \sigma\downarrow0 σ ↓ 0 . For u ∈ ( 0 , 1 / 2 ] u \in(0,1/2] u ∈ ( 0 , 1/2 ] , ( 1 − u ) − 3 ≥ 1 (1-u)^{-3} \ge1 ( 1 − u ) − 3 ≥ 1 , so
τ ( σ ) ≥ σ 4 C ∫ w σ ( 0 ) 1 / 2 d u u 2 (153) \tau(\sigma) \ge\frac{\sigma^4}{C}\int_{w_{\sigma}(0)}^{1/2}\frac{du}{u^2} \tag*{(153)} τ ( σ ) ≥ C σ 4 ∫ w σ ( 0 ) 1/2 u 2 d u (153)
= σ 4 C ( 1 w σ ( 0 ) − 2 ) (154) = \frac{\sigma^4}{C}\left(\frac{1}{w_{\sigma}(0)}-2\right) \tag*{(154)} = C σ 4 ( w σ ( 0 ) 1 − 2 ) (154)
= σ 4 C ( exp ( b σ 2 ) − 1 ) , (155) = \frac{\sigma^4}{C}\left(\exp\left(\frac{b}{\sigma^2}\right)-1\right), \tag*{(155)} = C σ 4 ( exp ( σ 2 b ) − 1 ) , (155)
where the last equality follows from Eq. (148) . For every x > 0 x>0 x > 0 , the power series for e x e^x e x gives e x − 1 ≥ x 3 / 6 e^x-1\ge x^3/6 e x − 1 ≥ x 3 /6 . Taking x = b / σ 2 x=b/\sigma^2 x = b / σ 2 in Eq. (155) ,
τ ( σ ) ≥ σ 4 C 1 6 ( b σ 2 ) 3 = b 3 6 C σ 2 ⟶ ∞ as σ ↓ 0. (156) \tau(\sigma)\ge\frac{\sigma^4}{C}\frac{1}{6}\left(\frac{b}{\sigma^2}\right)^3=\frac{b^3}{6C\sigma^2}\longrightarrow\infty\quad\text{as }\sigma\downarrow0. \tag*{(156)} τ ( σ ) ≥ C σ 4 6 1 ( σ 2 b ) 3 = 6 C σ 2 b 3 ⟶ ∞ as σ ↓ 0. (156)
We next consider σ → ∞ \sigma\to\infty σ → ∞ . For u ∈ ( 0 , 1 / 2 ] u\in(0,1/2] u ∈ ( 0 , 1/2 ] , u 2 ( 1 − u ) 3 ≤ u 2 ≤ 1 / 4 u^2(1-u)^3\le u^2\le1/4 u 2 ( 1 − u ) 3 ≤ u 2 ≤ 1/4 , so [ u 2 ( 1 − u ) 3 ] − 1 ≥ 4 [u^2(1-u)^3]^{-1}\ge4 [ u 2 ( 1 − u ) 3 ] − 1 ≥ 4 . Therefore
τ ( σ ) ≥ 4 σ 4 C ( 1 2 − w σ ( 0 ) ) . (157) \tau(\sigma)\ge\frac{4\sigma^4}{C}\left(\frac{1}{2}-w_{\sigma}(0)\right). \tag*{(157)} τ ( σ ) ≥ C 4 σ 4 ( 2 1 − w σ ( 0 ) ) . (157)
Set x : = b / σ 2 x:=b/\sigma^2 x := b / σ 2 . By Eq. (148) ,
1 2 − w σ ( 0 ) = e x − 1 2 ( 1 + e x ) . (158) \frac{1}{2}-w_{\sigma}(0)=\frac{e^x-1}{2(1+e^x)}. \tag*{(158)} 2 1 − w σ ( 0 ) = 2 ( 1 + e x ) e x − 1 . (158)
For all sufficiently large σ \sigma σ , 0 < x ≤ 1 0<x\le1 0 < x ≤ 1 . Then e x − 1 ≥ x e^x-1\ge x e x − 1 ≥ x and e x ≤ e e^x\le e e x ≤ e , so
1 2 − w σ ( 0 ) ≥ x 2 ( 1 + e ) = b 2 ( 1 + e ) σ 2 . \frac{1}{2}-w_{\sigma}(0)\ge\frac{x}{2(1+e)}=\frac{b}{2(1+e)\sigma^2}. 2 1 − w σ ( 0 ) ≥ 2 ( 1 + e ) x = 2 ( 1 + e ) σ 2 b .
Combining this with Eq. (157) ,
τ ( σ ) ≥ 2 b C ( 1 + e ) σ 2 ⟶ ∞ as σ → ∞ . (159) \tau(\sigma)\ge\frac{2b}{C(1+e)}\sigma^2\longrightarrow\infty\quad\text{as }\sigma\to\infty. \tag*{(159)} τ ( σ ) ≥ C ( 1 + e ) 2 b σ 2 ⟶ ∞ as σ → ∞. (159)
It remains to show that τ \tau τ attains its minimum. Define H ( q ) : = ∫ q 1 / 2 u − 2 ( 1 − u ) − 3 d u H(q):=\int_q^{1/2}u^{-2}(1-u)^{-3}\,du H ( q ) := ∫ q 1/2 u − 2 ( 1 − u ) − 3 d u for q ∈ ( 0 , 1 / 2 ) q\in(0,1/2) q ∈ ( 0 , 1/2 ) . The fundamental theorem of calculus gives H ′ ( q ) = − q − 2 ( 1 − q ) − 3 H'(q)=-q^{-2}(1-q)^{-3} H ′ ( q ) = − q − 2 ( 1 − q ) − 3 , so H H H is continuous. By Eq. (148) , σ ↦ w σ ( 0 ) \sigma\mapsto w_{\sigma}(0) σ ↦ w σ ( 0 ) is continuous, and therefore Eq. (152) gives
τ ( σ ) = σ 4 C H ( w σ ( 0 ) ) , \tau(\sigma)=\frac{\sigma^4}{C}H(w_{\sigma}(0)), τ ( σ ) = C σ 4 H ( w σ ( 0 )) ,
so τ \tau τ is continuous on ( 0 , ∞ ) (0,\infty) ( 0 , ∞ ) .
Fix any σ ˉ > 0 \bar{\sigma}>0 σ ˉ > 0 and set M : = τ ( σ ˉ ) + 1 M:=\tau(\bar{\sigma})+1 M := τ ( σ ˉ ) + 1 . By Eqs. (156) and (159) , there exist 0 < σ l o w < σ ˉ < σ h i g h < ∞ 0<\sigma_{\mathrm{low}}<\bar{\sigma}<\sigma_{\mathrm{high}}<\infty 0 < σ low < σ ˉ < σ high < ∞ such that
τ ( σ ) > M whenever 0 < σ ≤ σ l o w or σ ≥ σ h i g h . (160) \tau(\sigma)>M\qquad\text{whenever }0<\sigma\le\sigma_{\mathrm{low}}\text{ or }\sigma\ge\sigma_{\mathrm{high}}. \tag*{(160)} τ ( σ ) > M whenever 0 < σ ≤ σ low or σ ≥ σ high . (160)
Since τ \tau τ is continuous on the compact interval [ σ l o w , σ h i g h ] [\sigma_{\mathrm{low}},\sigma_{\mathrm{high}}] [ σ low , σ high ] , the extreme value theorem gives some σ ⋆ ∈ [ σ l o w , σ h i g h ] \sigma^\star\in[\sigma_{\mathrm{low}},\sigma_{\mathrm{high}}] σ ⋆ ∈ [ σ low , σ high ] such that
τ ( σ ⋆ ) = min σ ∈ [ σ l o w , σ h i g h ] τ ( σ ) . (161) \tau(\sigma^\star)=\min_{\sigma\in[\sigma_{\mathrm{low}},\sigma_{\mathrm{high}}]}\tau(\sigma). \tag*{(161)} τ ( σ ⋆ ) = σ ∈ [ σ low , σ high ] min τ ( σ ) . (161)
Since σ ˉ ∈ [ σ l o w , σ h i g h ] \bar{\sigma} \in[\sigma_{\mathrm{low}},\sigma_{\mathrm{high}}] σ ˉ ∈ [ σ low , σ high ] , we have τ ( σ ⋆ ) ≤ τ ( σ ˉ ) < M \tau(\sigma^\star) \le\tau(\bar{\sigma}) < M τ ( σ ⋆ ) ≤ τ ( σ ˉ ) < M . Thus, Eq. (160) gives τ ( σ ) > τ ( σ ⋆ ) \tau(\sigma) > \tau(\sigma^\star) τ ( σ ) > τ ( σ ⋆ ) for every σ ∉ [ σ l o w , σ h i g h ] \sigma\notin[\sigma_{\mathrm{low}},\sigma_{\mathrm{high}}] σ ∈ / [ σ low , σ high ] , while minimality on the compact interval gives τ ( σ ) ≥ τ ( σ ⋆ ) \tau(\sigma) \ge\tau(\sigma^\star) τ ( σ ) ≥ τ ( σ ⋆ ) for every σ ∈ [ σ l o w , σ h i g h ] \sigma\in[\sigma_{\mathrm{low}},\sigma_{\mathrm{high}}] σ ∈ [ σ low , σ high ] . Therefore,
τ ( σ ⋆ ) = min σ > 0 τ ( σ ) , σ ⋆ ∈ [ σ l o w , σ h i g h ] , (162) \tau(\sigma^\star) = \min_{\sigma>0} \tau(\sigma), \qquad\sigma^\star\in[\sigma_{\mathrm{low}},\sigma_{\mathrm{high}}], \tag*{(162)} τ ( σ ⋆ ) = σ > 0 min τ ( σ ) , σ ⋆ ∈ [ σ low , σ high ] , (162)
as desired. □
Proof of prop:measurementconsistencygrad
Proof. Fix a ∈ R n \boldsymbol{a} \in\mathbb{R}^n a ∈ R n . For any h ∈ R n \boldsymbol{h} \in\mathbb{R}^n h ∈ R n , define ϕ ( ϵ ) : = L ( a + ϵ h ) \phi(\epsilon) := \mathcal{L}(\boldsymbol{a} + \epsilon\boldsymbol{h}) ϕ ( ϵ ) := L ( a + ϵ h ) . Then
ϕ ( ϵ ) = 1 2 γ 2 ∥ A a − u o b s + ϵ A h ∥ 2 2 (163) \phi(\epsilon) = \frac{1}{2\gamma^2}\lVert A\boldsymbol{a} - \boldsymbol{u}_{\mathrm{obs}} + \epsilon A\boldsymbol{h}\rVert_2^2 \tag*{(163)} ϕ ( ϵ ) = 2 γ 2 1 ∥ A a − u obs + ϵ A h ∥ 2 2 (163)
= 1 2 γ 2 ( ∥ A a − u o b s ∥ 2 2 + 2 ϵ ( A h ) T ( A a − u o b s ) + ϵ 2 ∥ A h ∥ 2 2 ) . (164) = \frac{1}{2\gamma^2}\left(\lVert A\boldsymbol{a} - \boldsymbol{u}_{\mathrm{obs}}\rVert_2^2 + 2\epsilon(A\boldsymbol{h})^{\mathsf{T}}(A\boldsymbol{a} - \boldsymbol{u}_{\mathrm{obs}}) + \epsilon^2\lVert A\boldsymbol{h}\rVert_2^2\right). \tag*{(164)} = 2 γ 2 1 ( ∥ A a − u obs ∥ 2 2 + 2 ϵ ( A h ) T ( A a − u obs ) + ϵ 2 ∥ A h ∥ 2 2 ) . (164)
Therefore,
ϕ ′ ( 0 ) = 1 γ 2 ( A h ) T ( A a − u o b s ) (165) \phi'(0) = \frac{1}{\gamma^2}(A\boldsymbol{h})^{\mathsf{T}}(A\boldsymbol{a} - \boldsymbol{u}_{\mathrm{obs}}) \tag*{(165)} ϕ ′ ( 0 ) = γ 2 1 ( A h ) T ( A a − u obs ) (165)
= h T [ 1 γ 2 A T ( A a − u o b s ) ] . (166) = \boldsymbol{h}^{\mathsf{T}}\left[\frac{1}{\gamma^2}A^{\mathsf{T}}(A\boldsymbol{a} - \boldsymbol{u}_{\mathrm{obs}})\right]. \tag*{(166)} = h T [ γ 2 1 A T ( A a − u obs ) ] . (166)
Since
ϕ ′ ( 0 ) = D h L ( a ) = ⟨ ∇ a L ( a ) , h ⟩ = h T ∇ a L ( a ) , (167) \phi'(0) = D_{\boldsymbol{h}}\mathcal{L}(\boldsymbol{a}) = \langle\nabla_{\boldsymbol{a}}\mathcal{L}(\boldsymbol{a}), \boldsymbol{h}\rangle= \boldsymbol{h}^{\mathsf{T}}\nabla_{\boldsymbol{a}}\mathcal{L}(\boldsymbol{a}), \tag*{(167)} ϕ ′ ( 0 ) = D h L ( a ) = ⟨ ∇ a L ( a ) , h ⟩ = h T ∇ a L ( a ) , (167)
for every h ∈ R n \boldsymbol{h} \in\mathbb{R}^n h ∈ R n , comparison with the expression above gives
∇ a L ( a ) = 1 γ 2 A T ( A a − u o b s ) , (168) \nabla_{\boldsymbol{a}}\mathcal{L}(\boldsymbol{a}) = \frac{1}{\gamma^2}A^{\mathsf{T}}(A\boldsymbol{a} - \boldsymbol{u}_{\mathrm{obs}}), \tag*{(168)} ∇ a L ( a ) = γ 2 1 A T ( A a − u obs ) , (168)
which proves the first claim. We now show that this gradient has no component in ker A \ker A ker A . Set
y : = A a − u o b s ∈ R m . (169) \boldsymbol{y} := A\boldsymbol{a} - \boldsymbol{u}_{\mathrm{obs}} \in\mathbb{R}^m. \tag*{(169)} y := A a − u obs ∈ R m . (169)
For every z ∈ ker A \boldsymbol{z} \in\ker A z ∈ ker A ,
⟨ A T y , z ⟩ = ⟨ y , A z ⟩ = 0 , (170) \langle A^{\mathsf{T}}\boldsymbol{y}, \boldsymbol{z}\rangle= \langle\boldsymbol{y}, A\boldsymbol{z}\rangle= 0, \tag*{(170)} ⟨ A T y , z ⟩ = ⟨ y , A z ⟩ = 0 , (170)
because A z = 0 A\boldsymbol{z} = 0 A z = 0 . Hence
A T y ∈ ( ker A ) ⊥ . (171) A^{\mathsf{T}}\boldsymbol{y} \in(\ker A)^\perp. \tag*{(171)} A T y ∈ ( ker A ) ⊥ . (171)
The orthogonal projection of a vector in ( ker A ) ⊥ (\ker A)^\perp ( ker A ) ⊥ onto ker A \ker A ker A is zero. Consequently,
P ker A ∇ a L ( a ) = 1 γ 2 P ker A A T ( A a − u o b s ) (172) P_{\ker A}\nabla_{\boldsymbol{a}}\mathcal{L}(\boldsymbol{a}) = \frac{1}{\gamma^2}P_{\ker A}A^{\mathsf{T}}(A\boldsymbol{a} - \boldsymbol{u}_{\mathrm{obs}}) \tag*{(172)} P k e r A ∇ a L ( a ) = γ 2 1 P k e r A A T ( A a − u obs ) (172)
= 0 , (173) = 0, \tag*{(173)} = 0 , (173)
as desired. □
Proof of prop:preconditioning
Proof. Let d : = a + − a − \boldsymbol{d} := \boldsymbol{a}_{+} - \boldsymbol{a}_{-} d := a + − a − , w ( s ) : = k t k ( v ( s ) ) w(s) := k_{t_k}(v(s)) w ( s ) := k t k ( v ( s )) . Define the Jacobian of the exact denoiser by J D ∗ ( v , t k ) : = ∇ v D ∗ ( v , t k ) ∈ R n × n J_{D^*}(v,t_k) := \nabla_v D^*(v,t_k) \in\mathbb{R}^{n \times n} J D ∗ ( v , t k ) := ∇ v D ∗ ( v , t k ) ∈ R n × n , and define
P ( v , t k ) : = J D ∗ ( v , t k ) J D ∗ ( v , t k ) T . (174) P(v,t_k) := J_{D^*}(v,t_k)J_{D^*}(v,t_k)^{\mathsf{T}}. \tag*{(174)} P ( v , t k ) := J D ∗ ( v , t k ) J D ∗ ( v , t k ) T . (174)
Define J t k ( v ) : = L ( D ∗ ( v , t k ) ) \mathcal{J}_{t_k}(v) := \mathcal{L}(D^*(v,t_k)) J t k ( v ) := L ( D ∗ ( v , t k )) . The gradient flow in Eq. (12) is therefore v ′ ( s ) = − ∇ v J t k ( v ) ∣ v = v ( s ) v'(s) = -\nabla_v \mathcal{J}_{t_k}(v)\big|_{v=v(s)} v ′ ( s ) = − ∇ v J t k ( v ) v = v ( s ) . By the multivariate chain rule,
∇ v J t k ( v ) = J D ∗ ( v , t k ) T ∇ a L ( a ) ∣ a = D ∗ ( v , t k ) . (175) \nabla_v \mathcal{J}_{t_k}(v) = J_{D^*}(v,t_k)^{\mathsf{T}}\nabla_a \mathcal{L}(a)\big|_{a=D^*(v,t_k)}. \tag*{(175)} ∇ v J t k ( v ) = J D ∗ ( v , t k ) T ∇ a L ( a ) a = D ∗ ( v , t k ) . (175)
Consequently,
v ′ ( s ) = − J D ∗ ( v ( s ) , t k ) T ∇ a L ( a ) ∣ a = a ( s ) , (176) v'(s) = -J_{D^*}(v(s),t_k)^{\mathsf{T}}\nabla_a \mathcal{L}(a)\big|_{a=a(s)}, \tag*{(176)} v ′ ( s ) = − J D ∗ ( v ( s ) , t k ) T ∇ a L ( a ) a = a ( s ) , (176)
where a ( s ) : = D ∗ ( v ( s ) , t k ) a(s) := D^*(v(s),t_k) a ( s ) := D ∗ ( v ( s ) , t k ) . Differentiating a ( s ) a(s) a ( s ) and applying the chain rule once more gives
a ′ ( s ) = J D ∗ ( v ( s ) , t k ) v ′ ( s ) (177) a'(s) = J_{D^*}(v(s),t_k)v'(s) \tag*{(177)} a ′ ( s ) = J D ∗ ( v ( s ) , t k ) v ′ ( s ) (177)
= − J D ∗ ( v ( s ) , t k ) J D ∗ ( v ( s ) , t k ) T ∇ a L ( a ) ∣ a = a ( s ) (178) = -J_{D^*}(v(s),t_k)J_{D^*}(v(s),t_k)^{\mathsf{T}}\nabla_a \mathcal{L}(a)\big|_{a=a(s)} \tag*{(178)} = − J D ∗ ( v ( s ) , t k ) J D ∗ ( v ( s ) , t k ) T ∇ a L ( a ) a = a ( s ) (178)
= − P ( v ( s ) , t k ) ∇ a L ( a ) ∣ a = a ( s ) , (179) = -P(v(s),t_k)\nabla_a \mathcal{L}(a)\big|_{a=a(s)}, \tag*{(179)} = − P ( v ( s ) , t k ) ∇ a L ( a ) a = a ( s ) , (179)
as desired.
We next show explicitly that the preconditioner in Eq. (174) can introduce a nonzero measurement nullspace component. By Lemma 4, we have that
D ∗ ( v , t k ) = a − + k t k ( v ) d . (180) D^*(v,t_k) = a_{-} + k_{t_k}(v)d. \tag*{(180)} D ∗ ( v , t k ) = a − + k t k ( v ) d . (180)
Moreover, by Lemma 4, we have that
k t k ( v ) = ( 1 + exp { − d T K − 1 ( v − a − + a + 2 ) σ t k 2 } ) − 1 . (181) k_{t_k}(v) = \left(1+\exp\left\{-\frac{d^{\mathsf{T}}K^{-1}\left(v-\frac{a_{-}+a_{+}}{2}\right)}{\sigma_{t_k}^{2}}\right\}\right)^{-1}. \tag*{(181)} k t k ( v ) = ( 1 + exp { − σ t k 2 d T K − 1 ( v − 2 a − + a + ) } ) − 1 . (181)
Thus,
∇ v k t k ( v ) = k t k ( v ) ( 1 − k t k ( v ) ) σ t k 2 K − 1 d . (182) \nabla_v k_{t_k}(v) = \frac{k_{t_k}(v)(1-k_{t_k}(v))}{\sigma_{t_k}^{2}}K^{-1}d. \tag*{(182)} ∇ v k t k ( v ) = σ t k 2 k t k ( v ) ( 1 − k t k ( v )) K − 1 d . (182)
Differentiating Eq. (180) with respect to v v v therefore gives
J D ∗ ( v , t k ) = d ( ∇ v k t k ( v ) ) T . (183) J_{D^*}(v,t_k) = d\left(\nabla_v k_{t_k}(v)\right)^{\mathsf{T}}. \tag*{(183)} J D ∗ ( v , t k ) = d ( ∇ v k t k ( v ) ) T . (183)
Substituting Eq. (182) into Eq. (183) and then into Eq. (174) yields
P ( v , t k ) = d ( ∇ v k t k ( v ) ) T ∇ v k t k ( v ) d T (184) P(v,t_k) = d\left(\nabla_v k_{t_k}(v)\right)^{\mathsf{T}}\nabla_v k_{t_k}(v)d^{\mathsf{T}} \tag*{(184)} P ( v , t k ) = d ( ∇ v k t k ( v ) ) T ∇ v k t k ( v ) d T (184)
= ∥ ∇ v k t k ( v ) ∥ 2 2 d d T (185) = \left\|\nabla_v k_{t_k}(v)\right\|_2^2 dd^{\mathsf{T}} \tag*{(185)} = ∥ ∇ v k t k ( v ) ∥ 2 2 d d T (185)
= k t k ( v ) 2 ( 1 − k t k ( v ) ) 2 σ t k 4 ∥ K − 1 d ∥ 2 2 d d T . (186) = \frac{k_{t_k}(v)^2(1-k_{t_k}(v))^2}{\sigma_{t_k}^{4}}\left\|K^{-1}d\right\|_2^2dd^{\mathsf{T}}. \tag*{(186)} = σ t k 4 k t k ( v ) 2 ( 1 − k t k ( v ) ) 2 K − 1 d 2 2 d d T . (186)
We now evaluate the output space optimization along v ( s ) v(s) v ( s ) . By Eq. (180) , a ( s ) = a − + w ( s ) d a(s) = a_{-} + w(s)d a ( s ) = a − + w ( s ) d . Since u o b s = A a + u_{\mathrm{obs}} = Aa_{+} u obs = A a + and a + = a − + d a_{+} = a_{-} + d a + = a − + d ,
A a ( s ) − u o b s = A a − + w ( s ) A d − A a + (187) Aa(s) - u_{\mathrm{obs}} = Aa_{-} + w(s)Ad - Aa_{+} \tag*{(187)} A a ( s ) − u obs = A a − + w ( s ) A d − A a + (187)
= − ( 1 − w ( s ) ) A d . (188) = -(1-w(s))Ad. \tag*{(188)} = − ( 1 − w ( s )) A d . (188)
By Prop. 6,
∇ a L ( a ) ∣ a = a ( s ) = 1 γ 2 A ⊤ ( A a ( s ) − u o b s ) (189) \nabla_a \mathcal{L}(a)\big|_{a=a(s)}=\frac{1}{\gamma^2}A^\top\left(Aa(s)-u_{\mathrm{obs}}\right) \tag*{(189)} ∇ a L ( a ) a = a ( s ) = γ 2 1 A ⊤ ( A a ( s ) − u obs ) (189)
= − 1 − w ( s ) γ 2 A ⊤ A d . (190) =-\frac{1-w(s)}{\gamma^2}A^\top A d. \tag*{(190)} = − γ 2 1 − w ( s ) A ⊤ A d . (190)
Using Eq. (186) and Eq. (190) in Eq. (179) gives
a ′ ( s ) = w ( s ) 2 ( 1 − w ( s ) ) 3 γ 2 σ t k 4 ∥ K − 1 d ∥ 2 2 d d ⊤ A ⊤ A d (191) a'(s)=\frac{w(s)^2(1-w(s))^3}{\gamma^2\sigma_{t_k}^4}\lVert K^{-1}d\rVert_2^2dd^\top A^\top A d \tag*{(191)} a ′ ( s ) = γ 2 σ t k 4 w ( s ) 2 ( 1 − w ( s ) ) 3 ∥ K − 1 d ∥ 2 2 d d ⊤ A ⊤ A d (191)
= ∥ A d ∥ 2 2 ∥ K − 1 d ∥ 2 2 γ 2 σ t k 4 w ( s ) 2 ( 1 − w ( s ) ) 3 d , (192) =\frac{\lVert Ad\rVert_2^2\lVert K^{-1}d\rVert_2^2}{\gamma^2\sigma_{t_k}^4}w(s)^2(1-w(s))^3d, \tag*{(192)} = γ 2 σ t k 4 ∥ A d ∥ 2 2 ∥ K − 1 d ∥ 2 2 w ( s ) 2 ( 1 − w ( s ) ) 3 d , (192)
since d ⊤ A ⊤ A d = ∥ A d ∥ 2 2 d^\top A^\top A d=\lVert Ad\rVert_2^2 d ⊤ A ⊤ A d = ∥ A d ∥ 2 2 . Applying P ker A P_{\ker A} P k e r A to Eq. (192) yields
P ker A a ′ ( s ) = ∥ A d ∥ 2 2 ∥ K − 1 d ∥ 2 2 γ 2 σ t k 4 w ( s ) 2 ( 1 − w ( s ) ) 3 P ker A d . (193) P_{\ker A}a'(s)=\frac{\lVert Ad\rVert_2^2\lVert K^{-1}d\rVert_2^2}{\gamma^2\sigma_{t_k}^4}w(s)^2(1-w(s))^3P_{\ker A}d. \tag*{(193)} P k e r A a ′ ( s ) = γ 2 σ t k 4 ∥ A d ∥ 2 2 ∥ K − 1 d ∥ 2 2 w ( s ) 2 ( 1 − w ( s ) ) 3 P k e r A d . (193)
For every finite s ≥ 0 s\ge0 s ≥ 0 , we have that w ( s ) ∈ ( 0 , 1 ) w(s)\in(0,1) w ( s ) ∈ ( 0 , 1 ) by Lemma 5, and furthermore A d ≠ 0 Ad\ne0 A d = 0 and P ker A d ≠ 0 P_{\ker A}d\ne0 P k e r A d = 0 by assumption. Since K K K is positive definite, it is invertible, and d ≠ 0 d\ne0 d = 0 implies ∥ K − 1 d ∥ 2 2 > 0 \lVert K^{-1}d\rVert_2^2>0 ∥ K − 1 d ∥ 2 2 > 0 . Together with γ > 0 \gamma>0 γ > 0 and σ t k > 0 \sigma_{t_k}>0 σ t k > 0 , every scalar factor multiplying P ker A d P_{\ker A}d P k e r A d in Eq. (193) is strictly positive. Therefore, P ker A d d s a ( s ) = P ker A a ′ ( s ) ≠ 0 P_{\ker A}\frac{d}{ds}a(s)=P_{\ker A}a'(s)\ne0 P k e r A d s d a ( s ) = P k e r A a ′ ( s ) = 0 for every finite s ≥ 0 s\ge0 s ≥ 0 , as desired. □
Statement and Proof of Proposition 8
We first state the proposition:
Proposition 8. Assume 0 < z − < z + < 1 0<z_-<z_+<1 0 < z − < z + < 1 without loss of generality, and 1 ≤ m ≤ n 1\le m\le n 1 ≤ m ≤ n . Let A = O G A=OG A = O G and P ker A P_{\ker A} P k e r A be the orthogonal projection matrix of a vector onto ker A \ker A ker A . Under a centered finite difference discretization of G \mathcal{G} G as G G G with n > max { 1 z − , 1 1 − z + , 2 z + − z − } n>\max\left\{\frac{1}{z_-},\frac{1}{1-z_+},\frac{2}{z_+-z_-}\right\} n > max { z − 1 , 1 − z + 1 , z + − z − 2 } , if O O O samples m m m points uniformly at random, without replacement, from u u u , then A a + ≠ A a − Aa_+\ne Aa_- A a + = A a − and with probability at least 1 − ( m / n ) 4 1-(m/n)^4 1 − ( m / n ) 4 , P ker A a + ≠ P ker A a − P_{\ker A}a_+\ne P_{\ker A}a_- P k e r A a + = P k e r A a − .
Discussion: The condition on n n n ensures that the resolution is fine enough that there are some grid points between the locations of z − z_- z − and z + z_+ z + . Additionally, we ensure that z − z_- z − and z + z_+ z + are not at the end of the grid.
We then provide the proof, which leverages the classic result by Thomas [Tho49]:
Proof. Let
h : = 1 n + 1 , x i : = i h , i = 0 , … , n + 1 , (194) h:=\frac{1}{n+1},\qquad x_i:=ih,\qquad i=0,\ldots,n+1, \tag*{(194)} h := n + 1 1 , x i := ih , i = 0 , … , n + 1 , (194)
so that x 0 = 0 x_0=0 x 0 = 0 and x n + 1 = 1 x_{n+1}=1 x n + 1 = 1 . Under the centered finite difference discretization of u ′ ′ ( ⋅ ) = a ( ⋅ ) u''(\cdot)=a(\cdot) u ′′ ( ⋅ ) = a ( ⋅ ) on ( 0 , 1 ) (0,1) ( 0 , 1 ) with homogeneous Dirichlet boundary conditions, define L ∈ R n × n L\in\mathbb{R}^{n\times n} L ∈ R n × n by
( L u ) i : = u i − 1 − 2 u i + u i + 1 h 2 , i = 1 , … , n , (195) (Lu)_i:=\frac{u_{i-1}-2u_i+u_{i+1}}{h^2},\qquad i=1,\ldots,n, \tag*{(195)} ( Lu ) i := h 2 u i − 1 − 2 u i + u i + 1 , i = 1 , … , n , (195)
where u 0 = u n + 1 = 0 u_0=u_{n+1}=0 u 0 = u n + 1 = 0 . The corresponding discrete solution operator is G = L − 1 G=L^{-1} G = L − 1 . We first identify the indices on which d : = a + − a − d := a_+ - a_- d := a + − a − is nonzero. Define
p : = min { i ∈ { 1 , … , n } : x i ≥ z − } , q : = max { i ∈ { 1 , … , n } : x i < z + } . (196) p := \min\{i \in\{1,\ldots,n\}: x_i \ge z_-\}, \qquad q := \max\{i \in\{1,\ldots,n\}: x_i < z_+\}. \tag*{(196)} p := min { i ∈ { 1 , … , n } : x i ≥ z − } , q := max { i ∈ { 1 , … , n } : x i < z + } . (196)
The assumption n > max { 1 z − , 1 1 − z + , 2 z + − z − } n > \max\left\{\frac{1}{z_-},\frac{1}{1-z_+},\frac{2}{z_+-z_-}\right\} n > max { z − 1 , 1 − z + 1 , z + − z − 2 } implies h = 1 n + 1 < 1 n < z − h=\frac{1}{n+1}<\frac{1}{n}<z_- h = n + 1 1 < n 1 < z − , and hence x 1 = h < z − x_1=h<z_- x 1 = h < z − , so p ≥ 2 p\ge2 p ≥ 2 . Similarly, h < 1 n < 1 − z + h<\frac{1}{n}<1-z_+ h < n 1 < 1 − z + , so that x n = 1 − h > z + x_n=1-h>z_+ x n = 1 − h > z + and therefore q ≤ n − 1 q\le n-1 q ≤ n − 1 . Finally, we have that 2 h < 2 n < z + − z − 2h<\frac{2}{n}<z_+-z_- 2 h < n 2 < z + − z − . By the definition of p p p , x p − 1 < z − ≤ x p x_{p-1}<z_-\le x_p x p − 1 < z − ≤ x p , so that x p + 1 = x p − 1 + 2 h < z − + 2 h < z + x_{p+1}=x_{p-1}+2h<z_-+2h<z_+ x p + 1 = x p − 1 + 2 h < z − + 2 h < z + , and thus
2 ≤ p < q ≤ n − 1. (197) 2 \le p < q \le n-1. \tag*{(197)} 2 ≤ p < q ≤ n − 1. (197)
Since z − < z + z_-<z_+ z − < z + , the two discretized coefficient fields differ precisely at the grid points x i ∈ [ z − , z + ) x_i\in[z_-,z_+) x i ∈ [ z − , z + ) . Hence, setting c : = a ( 1 ) − a ( 2 ) ≠ 0 c:=a^{(1)}-a^{(2)}\ne0 c := a ( 1 ) − a ( 2 ) = 0 , we have
d = c ∑ j = p q e j , (198) d=c\sum_{j=p}^{q}e_j, \tag*{(198)} d = c j = p ∑ q e j , (198)
where e j e_j e j is the j j j th standard basis vector of R n \mathbb{R}^n R n .
We first show that A d ≠ 0 Ad\ne0 A d = 0 . For i , j ∈ { 1 , … , n } i,j\in\{1,\ldots,n\} i , j ∈ { 1 , … , n } , define
g i j : = − h min ( x i , x j ) ( 1 − max ( x i , x j ) ) , (199) g_{ij}:=-h\min(x_i,x_j)(1-\max(x_i,x_j)), \tag*{(199)} g ij := − h min ( x i , x j ) ( 1 − max ( x i , x j )) , (199)
and let g j : = ( g 1 j , … , g n j ) ⊤ \boldsymbol{g}_j:=(g_{1j},\ldots,g_{nj})^\top g j := ( g 1 j , … , g nj ) ⊤ . We verify that L g j = e j L\boldsymbol{g}_j=e_j L g j = e j . Firstly, extend the definition of g i j g_{ij} g ij so that g 0 j = g n + 1 , j = 0 g_{0j}=g_{n+1,j}=0 g 0 j = g n + 1 , j = 0 . If i < j i<j i < j , then g i j = − h x i ( 1 − x j ) g_{ij}=-hx_i(1-x_j) g ij = − h x i ( 1 − x j ) , which yields that g i − 1 , j − 2 g i j + g i + 1 , j h 2 = 0 \frac{g_{i-1,j}-2g_{ij}+g_{i+1,j}}{h^2}=0 h 2 g i − 1 , j − 2 g ij + g i + 1 , j = 0 . Similarly, if i > j i>j i > j , then g i j = − h x j ( 1 − x i ) g_{ij}=-hx_j(1-x_i) g ij = − h x j ( 1 − x i ) , which then yields that g i − 1 , j − 2 g i j + g i + 1 , j h 2 = 0 \frac{g_{i-1,j}-2g_{ij}+g_{i+1,j}}{h^2}=0 h 2 g i − 1 , j − 2 g ij + g i + 1 , j = 0 . When i = j i=j i = j , using x j − 1 = x j − h x_{j-1}=x_j-h x j − 1 = x j − h and x j + 1 = x j + h x_{j+1}=x_j+h x j + 1 = x j + h ,
g j − 1 , j − 2 g j j + g j + 1 , j = − h [ ( x j − h ) ( 1 − x j ) − 2 x j ( 1 − x j ) + x j ( 1 − x j − h ) ] (200) g_{j-1,j}-2g_{jj}+g_{j+1,j}
=-h\left[(x_j-h)(1-x_j)-2x_j(1-x_j)+x_j(1-x_j-h)\right] \tag*{(200)} g j − 1 , j − 2 g j j + g j + 1 , j = − h [ ( x j − h ) ( 1 − x j ) − 2 x j ( 1 − x j ) + x j ( 1 − x j − h ) ] (200)
= h 2 . (201) =h^2. \tag*{(201)} = h 2 . (201)
Consequently, g j − 1 , j − 2 g j j + g j + 1 , j h 2 = 1 \frac{g_{j-1,j}-2g_{jj}+g_{j+1,j}}{h^2}=1 h 2 g j − 1 , j − 2 g j j + g j + 1 , j = 1 . Thus L g j = e j L\boldsymbol{g}_j=e_j L g j = e j for every j j j , so G = L − 1 = [ g 1 , … , g n ] G=L^{-1}=[\boldsymbol{g}_1,\ldots,\boldsymbol{g}_n] G = L − 1 = [ g 1 , … , g n ] . In particular, G G G is symmetric, since g i j = g j i g_{ij}=g_{ji} g ij = g j i , and for every i , j ∈ { 1 , … , n } i,j\in\{1,\ldots,n\} i , j ∈ { 1 , … , n } , g i j < 0 g_{ij}<0 g ij < 0 , because h > 0 h>0 h > 0 and x i , x j ∈ ( 0 , 1 ) x_i,x_j\in(0,1) x i , x j ∈ ( 0 , 1 ) .
It follows that, for every i = 1 , … , n i=1,\ldots,n i = 1 , … , n , ( G d ) i = c ∑ j = p q g i j (Gd)_i=c\sum_{j=p}^{q}g_{ij} ( G d ) i = c ∑ j = p q g ij , and since g i j < 0 g_{ij}<0 g ij < 0 , c ≠ 0 c\ne0 c = 0 , ( G d ) i ≠ 0 (Gd)_i\ne0 ( G d ) i = 0 for every i = 1 , … , n i=1,\ldots,n i = 1 , … , n , and thus A d = O G d ≠ 0 Ad=OGd\ne0 A d = O G d = 0 as desired.
It remains to characterize P ker A d P_{\ker A}d P k e r A d . We have that
P ker A d = 0 ⟺ d ∈ range ( A ⊤ ) (202) P_{\ker A}d=0 \Longleftrightarrow d\in\operatorname{range}(A^\top) \tag*{(202)} P k e r A d = 0 ⟺ d ∈ range ( A ⊤ ) (202)
⟺ d ∈ range ( G O ⊤ ) (203) \Longleftrightarrow d\in\operatorname{range}(GO^\top) \tag*{(203)} ⟺ d ∈ range ( G O ⊤ ) (203)
⟺ L d ∈ range ( O ⊤ ) , (204) \Longleftrightarrow Ld\in\operatorname{range}(O^\top), \tag*{(204)} ⟺ L d ∈ range ( O ⊤ ) , (204)
where the last equivalence follows from L = G − 1 L=G^{-1} L = G − 1 .
We now compute L d Ld L d . Since
d i = { c , p ≤ i ≤ q , 0 , otherwise , (205) d_i=
\begin{cases}
c, & p\le i\le q,\\
0, & \text{otherwise},
\end{cases} \tag*{(205)} d i = { c , 0 , p ≤ i ≤ q , otherwise , (205)
and 2 ≤ p < q ≤ n − 1 2 \le p < q \le n-1 2 ≤ p < q ≤ n − 1 , the centered difference gives
( L d ) i = { c h 2 , i = p − 1 , − c h 2 , i = p , − c h 2 , i = q , c h 2 , i = q + 1 , 0 , otherwise . (206) (Ld)_i =
\begin{cases}
\frac{c}{h^2}, & i=p-1,\\
-\frac{c}{h^2}, & i=p,\\
-\frac{c}{h^2}, & i=q,\\
\frac{c}{h^2}, & i=q+1,\\
0, & \text{otherwise}.
\end{cases} \tag*{(206)} ( L d ) i = ⎩ ⎨ ⎧ h 2 c , − h 2 c , − h 2 c , h 2 c , 0 , i = p − 1 , i = p , i = q , i = q + 1 , otherwise . (206)
Equivalently, L d = c h 2 ( e p − 1 − e p − e q + e q + 1 ) Ld=\frac{c}{h^2}(e_{p-1}-e_p-e_q+e_{q+1}) L d = h 2 c ( e p − 1 − e p − e q + e q + 1 ) . Since c ≠ 0 c\ne0 c = 0 and p < q p<q p < q , its support is therefore exactly
B : = supp ( L d ) = { p − 1 , p , q , q + 1 } , ∣ B ∣ = 4. (207) B := \operatorname{supp}(Ld)=\{p-1,p,q,q+1\}, \qquad|B|=4. \tag*{(207)} B := supp ( L d ) = { p − 1 , p , q , q + 1 } , ∣ B ∣ = 4. (207)
Let S ⊂ { 1 , … , n } S\subset\{1,\ldots,n\} S ⊂ { 1 , … , n } , ∣ S ∣ = m > 0 |S|=m>0 ∣ S ∣ = m > 0 be the set of indices sampled by O O O . Since O O O is a selection matrix, range ( O T ) = span { e i : i ∈ S } \operatorname{range}(O^{\mathsf T})=\operatorname{span}\{e_i:i\in S\} range ( O T ) = span { e i : i ∈ S } . Thus L d ∈ range ( O T ) ⟺ B ⊂ S Ld\in\operatorname{range}(O^{\mathsf T})\Longleftrightarrow B\subset S L d ∈ range ( O T ) ⟺ B ⊂ S , so that P ker A d = 0 ⟺ B ⊂ S P_{\ker A}d=0\Longleftrightarrow B\subset S P k e r A d = 0 ⟺ B ⊂ S .
If m < 4 m<4 m < 4 , then P ( B ⊂ S ) = 0 \mathbb{P}(B\subset S)=0 P ( B ⊂ S ) = 0 . If m ≥ 4 m\ge4 m ≥ 4 , since S S S is chosen uniformly from the m m m -element subsets of { 1 , … , n } \{1,\ldots,n\} { 1 , … , n } ,
P ( B ⊂ S ) = ( n − 4 m − 4 ) ( n m ) (208) \mathbb{P}(B\subset S)=\frac{\binom{n-4}{m-4}}{\binom{n}{m}} \tag*{(208)} P ( B ⊂ S ) = ( m n ) ( m − 4 n − 4 ) (208)
= m ( m − 1 ) ( m − 2 ) ( m − 3 ) n ( n − 1 ) ( n − 2 ) ( n − 3 ) (209) =\frac{m(m-1)(m-2)(m-3)}{n(n-1)(n-2)(n-3)} \tag*{(209)} = n ( n − 1 ) ( n − 2 ) ( n − 3 ) m ( m − 1 ) ( m − 2 ) ( m − 3 ) (209)
= ∏ r = 0 3 m − r n − r . (210) =\prod_{r=0}^{3}\frac{m-r}{n-r}. \tag*{(210)} = r = 0 ∏ 3 n − r m − r . (210)
For r = 0 , 1 , 2 , 3 r=0,1,2,3 r = 0 , 1 , 2 , 3 and m ≤ n m\le n m ≤ n , m − r n − r ≤ m n \frac{m-r}{n-r}\le\frac{m}{n} n − r m − r ≤ n m , since n ( m − r ) ≤ m ( n − r ) ⟺ m r ≤ n r n(m-r)\le m(n-r)\Longleftrightarrow mr\le nr n ( m − r ) ≤ m ( n − r ) ⟺ m r ≤ n r . Therefore, in either case m < 4 m<4 m < 4 or m ≥ 4 m\ge4 m ≥ 4 ,
P ( P ker A d = 0 ) = P ( B ⊂ S ) ≤ ( m n ) 4 . (211) \mathbb{P}(P_{\ker A}d=0)=\mathbb{P}(B\subset S)\le\left(\frac{m}{n}\right)^4. \tag*{(211)} P ( P k e r A d = 0 ) = P ( B ⊂ S ) ≤ ( n m ) 4 . (211)
Taking complements yields
P ( P ker A d ≠ 0 ) ≥ 1 − ( m n ) 4 . (212) \mathbb{P}(P_{\ker A}d\ne0)\ge1-\left(\frac{m}{n}\right)^4. \tag*{(212)} P ( P k e r A d = 0 ) ≥ 1 − ( n m ) 4 . (212)
Together with A d ≠ 0 Ad\ne0 A d = 0 , this proves the proposition as desired.