Manuscript Offprint
arXiv:2610.41379Riemannian Optimization on Unknown Manifolds via Stochastic Proximal Refinement
Ruixiang Wu¹,, Jiahao Ai²,, Tinko Sebastian Bartels¹, Xuanzhuo Liu³, Yifei Wu¹, Yu Mao¹, Tongxin Li¹, Costas Courcoubetis¹
¹The Chinese University of Hong Kong, Shenzhen, ²University of Pennsylvania, ³Stanford University
*These authors contributed equally to this research.
We study Riemannian optimization on an unknown manifold accessed only through feasible samples. The central challenge is to turn feasible samples into optimization steps, i.e., the samples are drawn from the unknown feasible manifold, but do not directly provide the tangent spaces, projections, or retractions required by classic Riemannian methods. Moreover, regions with low objective values may be sparsely represented in the data, so directly sampling from a distribution fitted to these observations can require many draws to find better feasible solutions. We introduce Proximal Refinement on Implicit Smooth Manifolds (PRISM), which turns feasible-sample access into an iterative optimization procedure by repeatedly sampling an objective-aware proximal distribution conditioned on the current iterate. Theoretically, we show that PRISM recovers the effect of Riemannian-gradient refinement, leading to provable objective descent, feasibility (manifold adherence), and convergence toward first-order stationarity. We demonstrate the effectiveness of our approach through synthetic experiments illustrating its geometric properties and applications to data-driven building control and diverse real world optimization tasks, highlighting its potential as a general framework for data-driven optimization across scientific and engineering domains.
Project Website: www.wuruixiang.me/prism
1 Introduction
We study optimization on an unknown manifold :
where the objective function can be evaluated, but the optimizer accesses only through a finite collection of feasible observations. No defining equations, parameterization, or geometric operation of the manifold are provided.
This setting is motivated by problems in which feasible data are easier to obtain than an explicit constraint model. Measurements, simulations, and previous system running logs can provide feasible examples even when the constraints governing them are unknown to the optimizer. The collected data points carry information beyond their objective values—they also reveal structure shared by feasible points. For example, image reconstruction uses examples of natural images to recover signals from incomplete measurements [8]. In engineering inverse design, observed pairs of design parameters and physical responses provide information about their compatibility, enabling the search for improved designs [56]. Similarly, robot trajectory planning uses previously observed behavior to guide the search for trajectories that achieve a specified goal while respecting system dynamics [24]. These applications motivate a common optimization setting: a performance criterion is available, while information about feasible solutions is only supplied through data points.
The same feasible set may support different tasks with different objectives. However, the available observations can only reflect how the data were collected and may not concentrate in regions favored by the current objective. Even regions containing optimal solutions may therefore be sparsely represented. Selecting an observed point with the best objective value provides a feasible candidate, but restricts the search to previously observed points. The challenge is to use the information in these observations to construct improved feasible points.

Figure 1 Illustration of PRISM's iterative refinement on an unknown manifold. Starting from an ambient point, PRISM generates successive iterates through conditional sampling (left). Small diamonds represent feasible observations, while the peeled cover reveals the underlying manifold, whose description is unavailable to the optimizer. The lower inset illustrates a refinement distribution supported on the entire manifold, with color intensity indicating its density. PRISM's mean displacement reveals a Riemannian gradient step. The right panel illustrates RGD's tangent step and retraction using explicitly available geometry for comparison.
When the manifold is explicitly known, Riemannian optimization provides a principled way to the searching process [2; 9]. For example, Riemannian gradient descent (RGD) projects the objective gradient onto the tangent space and maps the resulting step back to the manifold through a retraction. These operations allow the method to decrease the objective while preserving feasibility and ensure its convergence to stationary points. However, in many real world scenarios, the optimizer can only receive feasible samples rather than an explicit description of the manifold. The tangent projections and retractions required by RGD are therefore unavailable, while an ordinary ambient gradient step may simply leave the manifold.
The challenge is to obtain comparable iterative optimization progress from this limited representation of the manifold. Learning from feasible observations can provide a way to propose new candidates, but those candidates need not remain on the manifold or improve the objective. Furthermore, each approximate update determines the starting point of the next, so its error can accumulate and affect subsequent optimization progress. A satisfactory framework must therefore connect the accuracy of its statistical approximation to both the feasibility of individual updates and the stationarity attained through repeated optimization steps. This motivates the following question:
Can feasible samples support iterative optimization on an unknown manifold with guarantees comparable to those of classic Riemannian gradient descent?
Generative approaches have demonstrated the potential of optimization from observed data [26; 28]. Our focus is to connect conditional sampling to the feasibility and optimization progress of successive refinement steps.
Contributions. In this paper, we answer the question above in the affirmative by providing a novel optimization framework that uses consecutive refinement call to optimize the objective function on an unknown manifold, while preserving the key properties of RGD in expectation.
Our first contribution is Proximal Refinement on Implicit Smooth Manifolds (PRISM). At each iteration, the algorithm samples a new point from an objective-dependent proximal distribution anchored at the current iterate. The sampled point then becomes the anchor of the next refinement. This construction produces a sequence that gradually decreases the objective value without requiring explicit manifold equations, tangent projections, or retractions. Figure 1 illustrates the update mechanism of PRISM compared with classic RGD.
The recursive call of this kernel raises a further issue: each sample changes the point at which the next refinement kernel is initiated. Our second contribution establishes optimization guarantees for this recursion. Using RGD as a benchmark, we show that under our model assumptions PRISM admits a Riemannian-gradient drift, an expected-descent bound, and a stationarity guarantee. The results give a geometric interpretation of PRISM and are informally presented in the Table 1. We further extend our analysis to manifolds with boundary, establishing guarantees of PRISM for constrained stationarity in Section 4.3.
Table 1 Informal Riemannian optimization properties of PRISM.
| Property | RGD | PRISM |
|---|---|---|
| Ambient displacement (Thm 4.3) | ||
| One-step descent (Thm 4.4) | ||
| Stationarity (Thm 4.5) |
Here and denote the Riemannian gradient and the stepsize respectively. and capture kernel's temperature and precision, which will be specified in Section 3. Let , , where denotes a nearest point projection onto . These feasible representatives are used only in the analysis. Our algorithms cannot access during execution. In the one-step comparisons, the current point is fixed, and averages only over the next sampled point. In iterative notation, this corresponds to the conditional mean for the same sampling law and parameters.
Finally, in Section 5, we demonstrate the effectiveness of PRISM through three case studies: a Grassmann optimization problem, building energy control, and six data-driven optimization tasks from Design-Bench [50]. The Grassmann optimization experiment illustrates RGD-like refinement, manifold adherence, and stationarity guarantee consistent with our theoretical results. The building control task further illustrate the practical utility and broad applicability of our framework across real world scenario. In the final study, comparisons with nine optimization baselines yield the best observed average rank for PRISM under a common final design budget. Together, these results highlight the advantages of our refinement framework when feasible structure must be inferred from data and its practical applicability across scientific and engineering domains.
Related work. Our work connects optimization from observed data with geometric and sampling-based methods for an iterative optimization process.
Data-driven and sampling-based optimization. Offline optimization uses observed decision points and their objective values to search for the next candidate point. Conservative objective models reduce the overestimation that can arise when optimizing learned surrogates beyond the observed data [51]. Generative approaches incorporate the structure of observed designs into candidate generation: CbAS adapts a sampling distribution toward desired properties [11], while DDOM learns a diffusion model conditioned on objective values [28]. These approaches connect objective improvement with statistical information about candidates. Closely related to our setting, DiffOPT combines a learned data distribution with an objective-dependent Boltzmann factor to optimize under unknown feasibility constraints [26]. Building on the idea of using learned distributions to guide optimization, PRISM develops a recursive proximal refinement rule whose progress can be characterized geometrically.
Proximal methods in optimization: The proximal construction is also related to sampling methods for approximating optimization operations. HJ-Prox approximates proximal points through weighted Monte Carlo averages [36], and subsequent work establishes convergence guarantees for operator-splitting methods using these approximations [16]. These results connect sampled proximal approximations to iterative optimization. PRISM studies a proximal refinement kernel supported on an unknown manifold and uses a draw from that kernel as the next iterate.
Learning to optimize. Learning to optimize uses experience with optimization problems to construct corresponding iterative solvers [13]. Representative approaches train recurrent networks to generate updates from gradient information [3] or formulate optimizer design as policy learning [32]. These methods demonstrate how learned structure can guide successive optimization steps. PRISM incorporates such structure through the distribution of feasible observations within a prescribed proximal refinement rule. This formulation provides a mathematical target for the proximal refinement kernel and connects its accuracy to the progress of the resulting optimization sequence.
Optimization on learned manifolds. Riemannian optimization supplies the geometric foundation for our analysis. Classical methods use tangent projections and retractions to obtain descent and stationarity guarantees [2; 9], while statistical manifold estimation quantifies the recovery of manifolds and tangent spaces from observations [1]. Score-based landing and denoising Riemannian gradient methods connect these perspectives by approximating manifold operations through learned denoisers and their derivatives [25]. Their feasibility and stationarity guarantees require initialization within a tubular neighborhood of the manifold. PRISM obtains related guarantees through conditional sampling without explicitly reconstructing these geometric operators. During the execution of our framework, the initial point can be chosen anywhere in the ambient space. This provides greater flexibility in initialization, and does not require a starting point that already lie near the manifold.
2.1 Problem Formulation
Notation conventions. Throughout this paper, and denote the Euclidean norm and inner product, respectively. For a nonempty set , we write for the ambient Euclidean distance from to . We write for weak convergence of probability measures.
We now specify the information available for the optimizer to solve the problem in (1). The objective can be evaluated, but the feasible set is unknown. The optimizer receives a finite collection of observations drawn independently from a fixed but unknown probability distribution .
The distribution describes how feasible observations are generated. The optimizer only receives but does not know and has no membership oracle, tangent projector, retraction, or parameterization of the manifold. We first state basic conditions on the optimization problem and the population distribution.
Assumption 2.1. The set is nonempty and compact. The objective function is continuous on , and is a Borel probability measure with . move to problem setting.
Compactness and continuity ensure that problem (1) admits a minimizer. The support condition connects the observation model to the feasible set, which ensures every neighborhood of every feasible point receives positive probability mass. To characterize optimization progress through Riemannian geometry, we impose additional smoothness conditions on , , and the sampling density.
Assumption 2.2. The set is an embedded submanifold of dimension , without boundary .
This assumption provides the tangent spaces and local geometric expansions used in our analysis. Compact smooth manifolds cover many modern optimization scenarios, including spheres, Stiefel and orthogonal manifolds, Grassmann and projective manifolds, and more general flag manifolds [2; 9; 30; 57]. These geometries are relevant in synchronization, matrix factorization, and structured representation learning [33; 10; 14]. They also arise in contemporary machine learning areas: recent parameter-efficient fine-tuning methods for large language models, for example, optimize orthogonal LoRA factors directly on the Stiefel manifold and exploit orthogonal subspaces to structure adapter updates [38; 37; 5; 12]. These examples are and therefore satisfy the required regularity. In Section 4.3 we further extend our analysis to manifolds with boundary.
Smooth geometry alone does not control how the objective or the sampling mass varies near a feasible point. The local analysis therefore requires regularity of both f and .
Assumption 2.3. In addition to the geometric regularity in Assumption 2.2, we assume that is on an open neighborhood of , and has a strictly positive density with respect to the induced Riemannian volume measure :
This means that we consider a manifold with no outer edges or borders. A compact manifold without boundary is called a closed manifold [48].
Twice differentiability of permits local expansions of the objective along an optimization step. Strict positivity of rules out zero sampling density at feasible points, while its regularity controls local variation of probability mass. These conditions allow the analysis to relate the distribution of nearby observations to the local geometry and objective. Intrinsic sampling densities bounded above and away from zero are standard in statistical manifold estimation [1]. Smooth density assumptions also appear in analyses of optimization over learned manifolds [25]. Since is a probability measure, . Moreover, compactness of , together with continuity and strict positivity of , implies the existence of constants such that
These bounds above provide uniform control of local sampling mass. The assumptions on and are imposed only for the theoretical analysis, the optimizer is not supplied with an explicit description of , knowledge of , or the associated regularity constants. Its only access to is through the observations in .
2.2 Motivating Applications
In this section, we present several applications that motivate our problem design. For each application, we specify the objective and the underlying manifold .
Control and planning with unknown dynamics. A system behavior manifold describes the action–state trajectories that a dynamical system can realize [41]. Within a fixed environment, each point on this manifold represents an action sequence together with its resulting state trajectory. This perspective provides a natural connection between planning and optimization over a manifold. Fix an environment configuration and an initial state , let and denote an action sequence and its resulting state observation. Their compatibility can be expressed through an unknown response map . In model-predictive control (MPC), each planning round needs to optimize a finite-horizon action sequence by evaluating its predicted consequences. This process requires a dynamical model and repeated evaluations of candidate trajectories. When the system dynamics are unknown or computationally demanding, obtaining or frequently calling the dynamical model can be difficult. Nevertheless, recorded system interactions can provide observations of feasible action–state trajectories. Data manifold hypothesis suggests that many real-world high-dimensional observations concentrate approximately on a manifold with much lower intrinsic dimension [19; 34]. This motivates solving each MPC subproblem directly over the (unknown) system behavior manifold . Therefore, the planning problem can be formulated into the optimization problem below.
Image reconstruction from incomplete measurements. Consider reconstructing an image from measurements , where is a known sensing operator and represents measurement noise. This setting includes compressed sensing and reconstruction from missing pixels. Since there might be several reconstructed images that agree with the measurements, successful reconstruction requires information about the structure of images in the target domain. Learned generative priors provide one way to incorporate such information [8]. Let denote the unknown image manifold. The reconstruction problem seeks to find that minimizes . The objective function is accessible, while a collection of clean images provides observations of the feasible image structure.
Counterfactual explanations. A counterfactual explanation describes how an input could be modified to obtain a different prediction from a trained classifier. The aim is to find a nearby plausible alternative that helps explain the model's decision. However, finding a small change alone is insufficient, modifying individual features without accounting for their relationships can produce an unrealistic input. This motivates restricting the search to inputs consistent with the structure of observed data [52]. Let denote the unknown manifold of plausible inputs. Given an original input , let be the probability that the classifier assigns to the desired target class. We can formulate the search as minimizing over .
The motivating examples above illustrate the potential of PRISM across diverse tasks. These applications share a common structure in which the objective function is explicit and can be evaluated, while only finite observations provide information about the feasible set. Related numerical examples appear in our optimization over a Grassmann manifold (Section 5.1), building energy control (Section 5.2) and offline design study using a learned objective (Section 5.3). We next recall the classic Riemannian gradient descent method to specify the optimization properties that an iterative refinement procedure aims to achieve.
2.3 Classic Riemannian Gradient Descent as an Optimization Benchmark
To formally characterize optimization progress of PRISM, we use classic RGD as a benchmark. When the manifold is explicitly known, RGD produces an optimization trajectory that follows a descent direction, decreases the objective, and approaches first-order stationarity. In this section, we recall how these properties arise, and use them as reference for the optimization progress of PRISM.
For each , let denote the tangent space of at , and let denote the orthogonal projection onto the tangent space. Since is on a neighborhood of , its Riemannian gradient on is
Whenever , moving in the direction with suitable stepsize decreases the objective value to first order. However, a tangent step may not remain on a curved manifold. A retraction maps a tangent displacement back to while preserving its first order effect. Therefore, classic RGD takes the form:
The Riemannian gradient determines the descent direction, and the retraction ensures feasibility. These operations also quantify an optimization progress. Under Assumption 2.3, with a smooth retraction and sufficiently small stepsize, RGD produces the next iterate satisfies:
for a constant [2; 9]. The first relation captures the direction of the update, while the second ensures objective decrease whenever the Riemannian gradient is positive. For a sufficiently small fixed stepsize, summing the second relation over iteration and using the lower bound of gives . Therefore, first-order stationarity on a manifold without boundary is captured by
For the extension to manifold with boundary, the stationarity condition needs to take directions that remain feasible into consideration. Let denote the contingent tangent cone of feasible first-order directions at . The corresponding constrained first-order condition is
At an interior point, , so (5) reduces to (4). We use this constrained version of stationarity in Section 4.3.
In our setting, the tangent projections and the retractions required by (3) are unavailable. In the next section, we present our optimization framework PRISM, which recovers the properties possessed by classic RGD analogously without accessing explicit information about the manifold.
3 Proximal Refinement on Implicit Smooth Manifolds
In this section, we present PRISM, a framework for iteratively minimizing over an unknown manifold , whose stochastic updates recover the first-order effect of the Riemannian gradient update (3). Section 3.1 motivates a proximal criterion whose local behavior is connected to the Riemannian gradient update (3). Section 3.2 then turns this deterministic criterion into a stochastic refinement law defined through the distribution of feasible observations. Finally, Section 3.3 applies this law recursively, using each sampled point to define the next refinement step. The resulting framework (Algorithm 1) is designed to recover Riemannian first-order refinement without explicit access to or its geometric operators. Figure 2 illustrates these three stages for an ideal sampler.
(a) Score candidates
(b) Construct the law
(c) Sample and update

Figure 2 Ideal refinement on the unit circle. (a) Score with ; (b) Reweight to obtain ; (c) Sample and use its realization as the next anchor, at which the energy and conditional law are recomputed. Panels (b) and (c) display the same density of , with darker arcs indicating higher density. Here is uniform, .
3.1 A Proximal Criterion for Iterative Refinement
The tangent displacement underlying the Riemannian gradient update (3) admits an equivalent characterization:
which makes the role of the quadratic term explicit: it controls the magnitude of the update, with playing the role of a stepsize. However, evaluating (6) requires the Riemannian gradient and tangent space, neither of which is available in our setting. We therefore seek an analogous criterion that can be expressed directly in terms of candidate points and objective values. Motivated by (6), we retain the quadratic displacement penalty but replace the first-order expansion term with the actual objective evaluated at feasible candidates. For any point , define the proximal energy
and the corresponding proximal minimizing set
At iteration , represents the current iterate and is a candidate for the next iterate. When the current iterate is feasible, minimizing the proximal energy also has a descent interpretation like (6). Since is admissible in (8), every satisfies
Hence an exact proximal update cannot increase the objective, and a nontrivial displacement must be accompanied by a corresponding objective decrease. Compactness and continuity ensure that is nonempty for every , although the minimizer need not be unique.
3.2 From Proximal Minimization to a Stochastic Refinement Law
The deterministic criterion in (8) describes the update we would like to make, but cannot be evaluated directly because is unknown. Restricting the candidate set to allows selection among observed points, but cannot generate new candidates or achieve an objective value below the best observed value. Instead, we use the data-generating distribution as a statistical description of the unknown feasible manifold. Although itself is explicitly unknown, the samples in are drawn from it and therefore provide information about which regions of the ambient space are feasible. We seek a distribution for the next iterate that favors low proximal energy while remaining close to this feasible-data distribution. This leads to the regularized problem
following the classical belief updating framework [6]. The first term favors candidates that improve the proximal criterion, while the second discourages the update from moving probability too aggressively away from regions represented by . The parameter controls this balance, smaller places greater emphasis on proximal improvement, whereas larger keeps the update more strongly tied to the feasible-data distribution. The optimization problem (9) has the unique solution
Hence reweights the feasible-data distribution according to the current proximal energy. Candidates with smaller receive greater probability, while the reference law retains the feasible structure learned from the observations. Proposition A.1 formally establishes this variational characterization and shows that (10) is well defined for every and has support exactly . Although is unknown, a range of well-studied methods is available to approximate the refinement law from . Established tools for kernel density estimation [39], score-based generative modeling [47], and Monte Carlo sampling [22] provide practical implementations to estimate (10). We provide examples of these approaches in Appendix C and D. Next, we provide some essential properties of the refinement kernel .
The temperature determines how closely the stochastic refinement approaches the deterministic proximal update. For every fixed and , if , Proposition A.2 shows that
Thus, as the temperature decreases, an ideal sample is more likely to lie arbitrarily close to an exact proximal minimizer. This result identifies the set which converges to, but it does not specify how probability is distributed when this set contains multiple minimizers. To characterize this allocation, consider the case where consists of finitely many isolated, nondegenerate proximal minimizers. At each , the Riemannian Hessian of the proximal energy is positive semidefinite, nondegeneracy rules out zero-curvature tangent directions, and hence . Then Proposition A.3 shows that as
Hence the stochastic refinement law can preserve multiple feasible solutions while using both their statistical representation under and their local curvature to determine how frequently they are selected. These properties characterize a single refinement step. To turn such objective-aware feasible selections into an optimization procedure, PRISM repeats this construction: each sampled point becomes the current iterate, and the proximal refinement law is recomputed relative to that new point. We formalize this iterative procedure in the next section.
3.3 Recursive Proximal Refinement
The refinement law in (10) specifies a one-step update for a given current iterate. PRISM turns this local rule into an optimization procedure by repeatedly using the sampled point as the current iterate for the next
Algorithm 1 PRISM: Stochastic Proximal Refinement
Require: Conditional sampler constructed from , ambient initialization , refinement budget , positive parameter pairs
1: Draw
2: for do
3: Draw
4: return , optionally together with
refinement step. At iteration , its ideal recursion is
Thus, while the feasible-data distribution remains fixed, the proximal energy is recomputed at the newly sampled iterate after every update. The resulting sequence is therefore adaptive to its optimization trajectory rather than repeatedly sampling from a fixed objective-weighted distribution (see [26; 28]).
An implementation replaces with a conditional sampler constructed from . Once the data and fitted sampler are fixed, each call generates
Algorithm 1 summarizes this implemented iteration.
The next section studies how the resulting stochastic updates recover Riemannian first-order refinement and establishes their descent and stationarity properties.
Use of AI tools. AI tools were used to polish the writing, assist with proof checking, and improve figure clarity and presentation.
4 Optimization Guarantees
This section theoretically establishes how the sampling updates of PRISM lead to Riemannian optimization progress. We first show that the execution of PRISM recovers Riemannian-gradient steps in expectation, and establish descent and stationarity guarantees. In Section 4.1, and 4.2, we consider the regime, where the manifold is without boundary, and then extend the stationarity analysis to manifolds with boundary in Section 4.3.
As specified in Section 3.3, Algorithm 1 calls an approximate conditional sampler . Its discrepancy from the ideal refinement kernel can affect both feasibility and optimization progress. We measure this discrepancy through the following accuracy requirement.
Assumption 4.1. There exists an error such that, for every call and every input of the implemented iteration,
where denotes the 2-Wasserstein distance induced by the ambient Euclidean distance.
This assumption is attainable in practice, Appendix C provides a concrete example that an estimated kernel constructed from the dataset satisfies (12). Since the ideal kernel produces feasible points (see Proposition A.1), controlling its approximation error also controls the feasibility of the samples from . The following proposition makes this connection precise.
Proposition 4.2. Under Assumption 4.1, for any and , let . Then
The proposition links conditional-sampling accuracy to feasibility at every iteration. We next turn to optimization properties of PRISM, beginning with the relation between the mean sample displacement and the Riemannian gradient.
4.1 Riemannian Descent from Conditional Samples
To understand how conditional sampling produces optimization progress, in the following Theorem 4.3 we compare the updates in (11) with the Riemannian-gradient step in (3).
Theorem 4.3. Under Assumptions 2.1, 2.2, 2.3, and 4.1, let , there exist and a constant such that, for every , , , the mean displacement can be written as
where is the Riemannian gradient defined in (2). Moreover,
The same sufficiently small bound is used in Theorems 4.3–4.5; its construction is given in Appendix B.2.
Theorem 4.3 shows that PRISM approximates a Riemannian-gradient step in expectation without explicitly computing the gradient or tangent projector. The quadratic term in (7) controls the step size, while (13) bounds the mean-square displacement, including the contributions of temperature and sampling error . At a stationary point, (13) reduces to , which motivates cooling the temperature to reduce motion near stationary points.
We next extend these displacement estimates into an objective-descent guarantee for the iteration in Algorithm 1. To express progress in terms of the feasible objective, fix a Borel measurable nearest-point selection and define
Such a selection exists by Lemma B.2, and the nearest point is unique in a sufficiently small neighborhood of . The following theorem establishes expected descent produced by Algorithm 1.
Theorem 4.4. Under the conditions of Theorem 4.3, there exist and constants such that the nearest-point projection is unique on . For any in this neighborhood, , and , suppose . Writing , we have
In (15), the negative term measures the optimization progress, while temperature and sampling error determine its resolution. In particular, expected descent is certified when exceeds a constant multiple of . Together, Theorems 4.3 and 4.4 establish the local analogy with Riemannian gradient descent: the stochastic refinement has a negative-gradient drift in expectation and produces corresponding expected objective decrease without explicitly computing the manifold gradient or projection. We next study what repeated application of these local updates implies for first-order stationarity.
4.2 Convergence to Stationarity
In this section, we extend the one-step descent to the full optimization trajectory analysis. Summing it over successive refinement calls, the intermediate objective terms cancel, leaving only the difference between the initial and final objective values. Since is compact and is continuous, the minimum is attained, so this total objective decrease is bounded by . Consequently, the accumulated squared Riemannian gradients are also controlled by . This yields a stationarity guarantee analogous to classic Riemannian gradient descent.
The first refinement call is treated separately since the initial point may be any point in the ambient space. After the first call, we analyze the feasible representatives introduced above. The following theorem quantifies the resulting average first-order stationarity.
Theorem 4.5. Under the conditions of Theorem 4.3, for , fix and any temperature sequence satisfying . For every , a constant independent of and satisfies
Theorem 4.5 extends the gradient-like interpretation of a single update to the full optimization trajectory. The contribution of the initial objective gap decreases as , while the average temperature and the relative sampling error determine the remaining stationarity accuracy. The bound therefore provides an insightful choice of temperature schedule. For example, choosing
gives . Together with fixed , this yields
Thus, increasing the number of refinement steps drives the contribution of initial optimality gap and temperature to zero, while a fixed sampling accuracy leaves a residual. In particular, for any prescribed temperature sequence satisfying and , such as the schedule in (16), compactness of and continuity of allow a measurable selection of an accumulation point of the sequence satisfying
Fatou's lemma and Theorem 4.5 therefore give
Cauchy–Schwarz further yields . The accumulation point construction is detailed in Appendix B.6.
4.3 Constrained Stationarity at Boundaries
The preceding analysis measures first-order progress through the Riemannian gradient. At a boundary of , a nonzero gradient may not indicate an available feasible improvement since its negative direction may point outside . We therefore keep the refinement rule (11) unchanged and measure the optimization progress through the improvement available to a feasible descent step. In this subsection, we retain Assumptions 2.1–2.3, except that in Assumption 2.2 may have a smooth boundary. Compactness of and the regularity of on a neighborhood of imply that is Lipschitz in Euclidean distance; let be a corresponding Lipschitz constant.
For a feasible point , define the proximal gap
This gap is nonnegative because is admissible. If , no feasible candidate improves this penalized objective, which implies
(a) Nonzero gradient

No feasible descent direction
(b) Zero proximal gap

Figure 3 Boundary geometry and zero proximal gap. Let be the closed unit disk, , . (a) The outward normal points outside the feasible tangent cone. The shadowy halfplane represents , with ; (b) A magnified view shows the strict sublevel of , using the same energy formula on the ambient plane. It is an open amber disk centered at with radius , disjoint from the blue feasible set . Its boundary touches only at , so although . The vertical dashed lines show the common supporting tangent.
Thus a zero proximal gap certifies the constrained first-order condition. The proximal gap also connects constrained stationarity to objective decrease. For an exact proximal update , its definition gives
Figure 3 illustrates the tangent cone condition and an exact zero proximal gap at a boundary point. Thus the objective decrease controls both the proximal gap and the squared displacement of the update. Summing this relation over successive iterations yields a telescoping difference between the initial and final objective values. Since the objective is bounded below, the total decrease is finite. The proximal gaps and squared displacements are nonnegative, so their accumulated sum is bounded and both quantities tend to zero. This connects repeated proximal descent to constrained stationarity. The following theorem extends this argument to the stochastic updates of PRISM.
Theorem 4.6. Under the assumptions of this subsection and Assumption 4.1, consider Algorithm 1 with for every and any positive temperature sequence . Assumption 4.1 applies to every sampling call, including initialization. There exists , depending only on , , , the diameter of , and the local mass constants in (64), such that, for every ,
Consequently, summing (17) over any iterations yields
Theorem 4.6 extends the optimization guarantee to manifolds with boundary by replacing the gradient norm with feasible proximal improvement. The initial objective gap contributes at order , while temperature and sampling error determine the remaining accuracy. Choosing the same temperature schedule in (16) makes finite. Consequently,
where the constants are independent of and . Under the exact sampling (i.e., ) regime, multiplying (18) by and letting , Tonelli's theorem gives
The nonnegative sum is therefore finite almost surely. In particular, almost surely.
On the event of probability one where , continuity of implies that every accumulation point of satisfies . Equivalently,
which yields the constrained first-order condition
Thus, under exact sampling and the temperature schedule (16), almost surely every accumulation point of satisfies the constrained first-order stationarity condition. We next evaluate PRISM through numerical experiments.
5 Numerical Studies
In this section, we evaluate PRISM through three experiments. In Section 5.1, we use PRISM to solve a optimization problem over a high dimensional Grassmann manifold, aim to examine the Riemannian gradient like refinement as we demonstrated in our theoretical results. Section 5.2 considers data-driven building temperature control, assessing whether PRISM can work on a real life control scenario. Finally, Section 5.3 compares PRISM with established optimization methods on six Design-Bench tasks to assess its applicability across diverse continuous and discrete design problems from scientific and engineering areas.
5.1 Optimization on Grassmann Manifold
In this section, we evaluate PRISM on an optimization task over a Grassmann manifold. The Grassmann manifold consists of the -dimensional linear subspaces of , representing a subspace independently of the basis used to describe it. It provides a natural search space for principal component analysis (PCA) and dimensionality reduction [2]. Optimization over Grassmann manifolds also arises in recovering missing entries of low-rank matrices [10] and learning compact video representations for human action recognition [14]. These applications motivate testing whether PRISM can refine a subspace representation using only feasible examples.
Problem setting. We construct a PCA task on the 16-dimensional Grassmann manifold , with objective
where is a rank-two orthogonal projector and is a prescribed covariance matrix for a synthetic Gaussian population. As in classic PCA, represents the total variance, while is the variance retained by the chosen subspace. Minimizing therefore finds the representation that preserves the most variance, equivalently minimizing the reconstruction error.
Training minimum = 3.32
Exact minimum = 0
(a) Effect of

(b) Effect of

Figure 4 Optimization on Grassmann manifold . (a) Fixed , varying , compared with exact RGD (with access to the manifold) with stepsize 0.002. (b) Fixed , varying . Curves with finite value report current objective gaps, while reports the gap of the best sampled response so far. The dotted line marks the minimum over the training dataset , and zero corresponds to the exact optimum. For each parameter choice, we run 50 trajectories of 240 iterations, and plot their mean, shaded regions denote standard deviation across trajectories.
Experimental results. Figure 4(a) compares our refinement framework PRISM with exact Riemannian gradient descent (RGD), both using the stepsize . At , the mean objective gap of our refinement method closely follows the objective gap trajectory produced by RGD. Smaller yields lower terminal objective gaps and smaller across-run standard deviations. The terminal mean objective gaps are approximately 0.105, 0.700, and 5.608 for , 0.14, and 1.4, respectively. For the two smaller temperatures, all 50 trajectories terminate below the minimum training objective gap, demonstrating refinement beyond the observed examples.
Classic RGD determines its descent direction from the first-order tangent model in (6), which approximates objective changes through the local gradient. In contrast, PRISM uses the full objective in the proximal energy (7), evaluating candidate updates through their actual objective values. The alignment of PRISM and exact RGD observed at small qualitatively illustrates the gradient-like behavior described by Theorem 4.3.
Figure 4(b) fixes and varies . For finite , we plot the current objective gap. The figure shows faster initial descent as increases, consistent with its local stepsize interpretation in Theorem 4.3. Setting removes the quadratic term from the proximal energy (7), making the sampling kernel independent of the current iterate. This turns the refinement process into sampling-based optimization, related to generative approaches such as DDOM [28]. For this unanchored baseline, we plot the lowest objective gap among sampled responses so far. We compare the methods under the same budget of returned samples. Over iterations 70–125, PRISM with and the unanchored best-so-far baseline attain comparable mean objective gaps, with substantially smaller standard deviation. We focus on this regime because the curve for reports a best-so-far gap, as independent samples accumulate, its standard deviation will eventually vanish. The comparison illustrates the benefit of quadratic anchoring under a limited sampling budget, where comparable mean accuracy is achieved with less output variability.
5.2 Data-Driven Building Energy Control
Section 5.1 examines gradient-like refinement on a Grassmann manifold with geometry available for diagnostics. We next evaluate PRISM in a building-control simulation based on BOPTEST's residential building simulator with hydronic floor heating and an air-to-water heat pump [7]. We examine whether a refinement kernel constructed from finite operating records can support temperature tracking with performance close to a controller that queries the underlying physical model. All controllers use a two-hour prediction horizon, apply one half-hour command, and operate over a 48-hour deployment.
Problem formulation. We consider a 48-hour building-control task with control intervals, each lasting 30 minutes. Let denote the full building and equipment state, the compressor-modulation command, and the weather and occupancy inputs during interval . The physical system satisfies
where contains the measured responses during that interval. Specifically, observations are recorded every 15 minutes, so we group the two observations associated with each command as
Here is operative room temperature, and are supply- and return-water temperatures, and is interval-average electrical power in kW. Thus, denotes the full physical state, whereas denotes the recorded temperature and power outputs.
The controller seeks to minimize the cumulative objective
where hours, is the electricity price, is the target temperature, and is the command preceding deployment. The objective penalizes electricity expenditure, temperature-tracking error, command variation, and terminal tracking error. Room temperature is required to remain within [18, 26] °C.
We address this task using model predictive control (MPC). At decision time , MPC optimizes a sequence of commands over a prediction horizon , executes only its first command, and repeats the optimization after observing the new state. In this experiment, all controllers observe the full simulator state and receive exact forecasts of the external inputs. Using hats to denote planned commands and predicted responses, the optimization at time is
for and . The controller executes from the returned plan and replans at the next decision time.
When the physical dynamics are unavailable to the optimizer, PRISM can approximately solve this planning problem using a conditional reference law constructed from recorded control-response trajectories. The reference approximates the relationship between commands and responses under the current state and forecast inputs. The refinement kernel then combines this reference with the known objective, operational constraints, and proximal term to produce a plan. Thus, PRISM-MPC uses learned trajectory relationships in place of direct evaluations of the physical dynamics during planning.
A sampling-based alternative is the cross-entropy method within MPC, termed CEM-MPC [40; 54]. Here, the dynamics are accessible through a black-box simulator rather than supplied as explicit equations. At each decision time, CEM samples candidate command sequences, obtains their responses through simulator rollouts, and updates its sampling distribution using the best-performing candidates. Both methods therefore address (21), but PRISM reuses information learned from operating records, whereas CEM queries the simulator during online planning.
We compare PRISM-MPC and CEM-MPC under the same simulator-query budget, used for collecting offline training trajectories for PRISM-MPC or evaluating candidate trajectories during online planning for CEM-MPC. Once its reference model is fitted, PRISM-MPC reuses it throughout deployment without further
Building Temperature Control

Figure 5 Building temperature control. (a) Executed room temperatures and the target. (b) Cumulative objective (20). Green and orange curves show means across five PRISM-MPC and CEM-MPC runs, shading denotes ± standard deviation. Dashed black shows Reference MPC, and blue shows the lowest-cost collected trajectory.
simulator queries during planning, whereas CEM-MPC distributes its allowance across deployment decisions. We additionally include Reference MPC, which optimizes using the same exact physical dynamics as CEM-MPC but employs a larger numerical search without the matched budget constraint. We also compare against the lowest-objective feasible first-48-hour trajectory among the collected records. Appendix E.2 provides the implementation and budget-accounting details.
Experimental results. Figure 5(a) shows that PRISM-MPC closely follows the target and Reference MPC, while the collected trajectory has substantially larger tracking deviations. In panel (b), PRISM-MPC attains total objective , compared with for budgeted CEM-MPC and 26.672 for Reference MPC. Its mean objective is 16.06% below budgeted CEM-MPC and 1.12% above the numerical reference. All PRISM-MPC runs improve on the lowest-cost collected trajectory. These results support effective reuse of finite operating data in this real world scenario.
5.3 Offline Design Optimization
In this experiment, we further assess the applicability of PRISM across diverse data-driven optimization tasks arising from scientific and engineering domains using six Design-Bench benchmarks [50], where objective guidance is learned from offline labels. We use , the negative reward of the respective tasks, in the proximal energy (7) and perform four outer anchor updates, following Algorithm 1. The locality-temperature balance in Theorems 4.3 and 4.4 motivates this construction. The samplers below implement it for the different task representations.
Setup and evaluation. For each task, we select PRISM's sampling implementation and parameters, and each baseline's approximation models, using oracle feedback over ten discovery seeds, then freeze these choices before evaluation on five disjoint confirmation seeds. Each baseline can use its author-default models or the compatible reward and reference models available to PRISM. All methods use the same offline datasets and oracles and submit 256 designs per task and confirmation seed. Table 2 reports the mean and standard deviation of each batch's maximum oracle score. Implementation details and baseline references are given in Appendix E.3.
Sampling implementations. The empirical and smoothed constructions in Appendix C motivate preserving observed support when appropriate and smoothing it when new designs are needed. For TFBind8, learned
Table 2 Results on five disjoint confirmation seeds, with 256 submitted designs per task and seed. Each cell gives the mean batch-maximum oracle score and its population standard deviation. Bold and underlined means mark the highest and second-highest distinct means (higher score is better). Average rank uses unrounded means across the six tasks and ten displayed methods, with midranks for exact ties (lower rank is better). *ChEMBL scores are divided by 10³ for readability and invalid designs receive the offline dataset's minimum label (293,000) before taking the batch maximum. Validity uses the official decoder and a nonempty RDKit 2022.09.5 molecular parse.
| Method | TFBind8 | TFBind10 | Supercond. | Ant | DKitty | ChEMBL*(×10³) | Averagerank ↓ |
|---|---|---|---|---|---|---|---|
| 0.9936±0.0048 | 0.8766±0.1733 | 96.28±6.43 | 517.33±7.99 | 270.75±3.83 | 396.022±0.308 | 3.333 | |
| PRISM | 0.9529±0.0349 | 0.8385±0.1401 | 97.99±3.90 | 530.43±20.17 | 261.24±7.23 | 394.901±1.011 | 4.333 |
| DiffOPT | 0.7960±0.1019 | 1.0152±0.0000 | 88.91±8.96 | 538.93±15.94 | 280.77±6.67 | 396.176±0.000 | 4.417 |
| COMs | 0.9222±0.0348 | 0.7902±0.0761 | 94.65±8.44 | 553.72±13.62 | 282.72±10.59 | 395.407±0.000 | 4.500 |
| DDOM | 0.8309±0.1095 | 1.0152±0.0000 | 95.05±1.69 | 463.83±0.00 | 209.47±0.00 | 396.176±0.000 | 5.083 |
| GP-qEI | 0.9810±0.0111 | 1.0152±0.0000 | 92.96±3.13 | 98.41±84.47 | 198.30±16.17 | 375.079±41.041 | 5.667 |
| Gradient ascent | 0.9702±0.0169 | 1.0127±0.3034 | 89.42±2.14 | 4936.69±3256.37 | 5.32±1.72 | 327.440±42.181 | 5.667 |
| CMA-ES | 0.9439±0.0210 | 0.7950±0.1751 | 93.57±3.48 | 502.23±23.36 | 272.20±8.29 | 329.688±45.144 | 6.000 |
| MINs | 0.9413±0.0266 | 0.7215±0.0739 | 80.98±6.85 | 472.86±16.47 | 232.31±12.60 | 389.495±1.236 | 7.500 |
| CbAS | 0.9647±0.0174 | 0.7173±0.1720 | 88.57±0.87 | -149.80±77.24 | -208.88±239.19 | 366.149±36.881 | 8.500 |
reverse diffusion with Euler discretization shares denoising information across the comparatively densely observed short-sequence space and can propose unobserved sequences [53; 47]. The same multiscale mechanism suits Superconductor's continuous descriptors, bounding the denoiser's predictions to the training coordinate box limits coordinate extrapolation. TFBind10 has sparser sequence coverage. Direct categorical Metropolis transitions [22] use valid-symbol substitutions and Hamming proximity, avoiding continuous optimization through discrete decoding. Its final portfolio combines sampled designs ranked by the surrogate with high-scoring offline designs.
Ant uses a Gaussian kernel density estimate (KDE) of the reference law. Its explicit density permits Metropolis-adjusted Langevin sampling (MALA) [44; 43]. Decreasing the bandwidth is intended to allow broader movement before concentrating near observed morphologies, following the multiscale intuition of annealed score sampling [46]. DKitty instead uses small-step, learned-score unadjusted Langevin sampling (ULA). Its continuous coordinates permit local objective gradients, while score and proximity forces regularize the refinement [43]. ChEMBL's small pool makes exact empirical sampling inexpensive. It uses the weighting form in (71), with the learned objective, preserving observed molecular sequences and restricting the method to retrieval.
Experimental results. PRISM obtains the best observed average rank, 3.333, compared with 4.333 for DiffOPT, 4.417 for COMs, and 4.500 for DDOM. It has the highest mean on TFBind8 and the second-highest on Superconductor and ChEMBL, with weaker rankings on TFBind10, Ant, and DKitty. CMA-ES's large Ant score is associated with strong extrapolation: every submitted design lies outside at least one offline coordinate range. On ChEMBL, its discovery scores equal those of the anchor-only control, so this result does not necessarily demonstrate an improvement over retrieval. These finite-budget output scores complement the trajectory diagnostics in Section 5.1 and temperature tracking task in Section 5.2. They assess a task-specific sampling policy without certifying Assumption 4.1 or the stationarity bounds. Appendix E.3 distinguishes the relevant approximation errors.
6 Concluding Remarks
This paper developed PRISM for optimization on unknown manifolds using feasible observations, established its theoretical guarantees, and evaluated its performance through numerical studies.
First, we introduced PRISM, a framework that uses feasible observations to optimize an explicit objective on an unknown manifold. At each step, the method samples from a proximal distribution defined by the objective and the distance from the current iterate, then uses the sample as the next iterate. It requires no explicit manifold equations, tangent projections, or retractions.
Second, under the stated assumptions, our analysis relates the mean update to Riemannian gradient descent and bounds the effects of temperature and sampling error on manifold adherence, expected objective descent at feasible representatives, and stationarity. An analysis based on the proximal gap extends the stationarity guarantees to manifolds with boundary.
Third, we evaluated PRISM in three numerical studies. The Grassmann manifold experiment illustrates the predicted geometric behavior and the effect of penalizing distance from the current iterate. The building control study demonstrates improvement over the best observed feasible solution. Across six offline design tasks, PRISM achieves the best observed average rank among the evaluated methods.
An important direction for future work is to make the refinement framework adaptive to uneven data coverage on the manifold. Because the reference distribution need not be uniform, the refinement trajectory may enter regions with relatively few observations, where the approximate conditional sampler may be less accurate. Online rules should jointly adjust the temperature and step size to limit the effects of sampling error on manifold adherence and expected objective improvement. Developing practical accuracy indicators and establishing guarantees for these adaptive updates would strengthen the framework in settings with limited and unevenly distributed observations.
References
[1] Eddie Aamari and Clément Levrard. 2019. Nonasymptotic rates for manifold, tangent space and curvature estimation. The Annals of Statistics 47, 1 (Feb. 2019), 177–204. doi:10.1214/18-aos1685
[2] P.-A. Absil, R. Mahony, and R. Sepulchre. 2007. Optimization Algorithms on Matrix Manifolds. Princeton University Press, USA. Description based on publisher supplied metadata and other sources..
[3] Marcin Andrychowicz, Misha Denil, Sergio Gomez, Matthew W Hoffman, David Pfau, Tom Schaul, Brendan Shillingford, and Nando De Freitas. 2016. Learning to learn by gradient descent by gradient descent. Advances in neural information processing systems 29 (2016).
[4] Maximilian Balandat, Brian Karrer, Daniel Jiang, Samuel Daulton, Ben Letham, Andrew G Wilson, and Eytan Bakshy. 2020. BoTorch: A Framework for Efficient Monte-Carlo Bayesian Optimization. In Advances in Neural Information Processing Systems, H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin (Eds.), Vol. 33. Curran Associates, Inc., 21524–21538. https://proceedings.neurips.cc/paper_files/paper/2020/file/f5b1b89d98b7286673128a5fb112cb9a-Paper.pdf
[5] D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen (Eds.). 2025. Acceleration via silver step-size on Riemannian manifolds with applications to Wasserstein space. 38, Main Conference (2025), 36828–36884. doi:10.52202/085713-1238
[6] P. G. Bissiri, C. C. Holmes, and S. G. Walker. 2016. A General Framework for Updating Belief Distributions. Journal of the Royal Statistical Society Series B: Statistical Methodology 78, 5 (Feb. 2016), 1103–1130. doi:10.1111/rrsb.12158
[7] David Blum, Javier Arroyo, Sen Huang, Ján Drgoña, Filip Jorissen, Harald Taxt Walnum, Yan Chen, Kyle Benne, Draguna Vrabie, Michael Wetter, et al. 2021. Building optimization testing framework (BOPTEST) for simulation-based benchmarking of control strategies in buildings. Journal of Building Performance Simulation 14, 5 (2021), 586–610.
[8] Ashish Bora, Ajil Jalal, Eric Price, and Alexandros G. Dimakis. 2017. Compressed Sensing using Generative Models. In Proceedings of the 34th International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 70), Doina Precup and Yee Whye Teh (Eds.). PMLR, 537–546. https://proceedings.mlr.press/v70/bora17a.html
[9] Nicolas Boumal. 2023. An Introduction to Optimization on Smooth Manifolds. Cambridge University Press. doi:10.1017/9781009166164
[10] Nicolas Boumal and P.-A. Absil. 2015. Low-rank matrix completion via preconditioned optimization on the Grassmann manifold. Linear Algebra Appl. 475 (June 2015), 200–239. doi:10.1016/j.laa.2015.02.027
[11] David Brookes, Hahnbeom Park, and Jennifer Listgarten. 2019. Conditioning by adaptive sampling for robust design. In Proceedings of the 36th International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 97), Kamalika Chaudhuri and Ruslan Salakhutdinov (Eds.). PMLR, 773–782. https://proceedings.mlr.press/v97/brookes19a.html
[12] Yupeng Chang, Yuan Wu, and Yi Chang. 2026. SOS-LoRA: Static Orthogonal-Subspace Low-Rank Adaptation with Fixed Multi-Scale Scaling. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Maria Liakata, Viviane P. Moreira, Jiajun Zhang, and David Jurgens (Eds.). Association for Computational Linguistics, San Diego, California, United States, 3993–4005. doi:10.18653/v1/2026.acl-long.184
[13] Tianlong Chen, Xiaohan Chen, Wuyang Chen, Howard Heaton, Jialin Liu, Zhangyang Wang, and Wotao Yin. 2022. Learning to optimize: A primer and a benchmark. Journal of Machine Learning Research 23, 189 (2022), 1–59.
[14] Anoop Cherian and Shuchin Aeron. 2020. Representation learning via adversarially-contrastive optimal transport. In Proceedings of the 37th International Conference on Machine Learning (ICML'20). JMLR.org, Article 170, 11 pages.
[15] Pierre Del Moral, Arnaud Doucet, and Ajay Jasra. 2006. Sequential Monte Carlo Samplers. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 68, 3 (2006), 411–436. doi:10.1111/j.1467-9868.2006.00553.x
[16] Nicholas Di, Eric Chi, and Samy Wu Fung. 2026. Operator Splitting with Hamilton-Jacobi-based Proximals. In Forty-third International Conference on Machine Learning. https://openreview.net/forum?id=q7mB5slie1
[17] Simon Duane, A. D. Kennedy, Brian J. Pendleton, and Duncan Roweth. 1987. Hybrid Monte Carlo. Physics Letters B 195, 2 (Sept. 1987), 216–222. doi:10.1016/0370-2693(87)91197-X
[18] Bradley Efron. 2011. Tweedie's Formula and Selection Bias. J. Amer. Statist. Assoc. 106, 496 (Dec. 2011), 1602–1614. doi:10.1198/jasa.2011.tm11181
[19] Charles Fefferman, Sanjoy Mitter, and Hariharan Narayanan. 2016. Testing the manifold hypothesis. Journal of the American Mathematical Society 29, 4 (2016), 983–1049.
[20] David Ginsbourger, Rodolphe Le Riche, and Laurent Carraro. 2010. Kriging Is Well-Suited to Parallelize Optimization. Adaptation Learning and Optimization, Vol. 2. Springer, 131–162. doi:10.1007/978-3-642-10701-6_6
[21] N. Hansen and A. Ostermeier. 1996. Adapting arbitrary normal mutation distributions in evolution strategies: the covariance matrix adaptation. In Proceedings of IEEE International Conference on Evolutionary Computation (ICEC-96). IEEE, 312–317. doi:10.1109/icec.1996.542381
[22] W. K. Hastings. 1970. Monte Carlo Sampling Methods Using Markov Chains and Their Applications. Biometrika 57, 1 (April 1970), 97–109. doi:10.1093/biomet/57.1.97
[23] Chii-Ruey Hwang. 1980. Laplace's Method Revisited: Weak Convergence of Probability Measures. The Annals of Probability 8, 6 (1980), 1177–1182. http://www.jstor.org/stable/2243019
[24] Michael Janner, Yilun Du, Joshua Tenenbaum, and Sergey Levine. 2022. Planning with Diffusion for Flexible Behavior Synthesis. In Proceedings of the 39th International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 162), Kamalika Chaudhuri, Stefanie Jegelka, Le Song, Csaba Szepesvari, Gang Niu, and Sivan Sabato (Eds.). PMLR, 9902–9915. https://proceedings.mlr.press/v162/janner22a.html
[25] Andrey Kharitenko, Zebang Shen, Riccardo De Santi, Niao He, and Florian Dorfler. 2026. Landing with the Score: Riemannian Optimization through Denoising. In International Conference on Learning Representations, C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust (Eds.), Vol. 2026. 129064–129104. https://proceedings.iclr.cc/paper_files/paper/2026/file/d1a6fe144bdff7b95138bca8097d4e69-Paper-Conference.pdf
[26] Lingkai Kong, Yuanqi Du, Wenhao Mu, Kirill Neklyudov, Valentin De Bortoli, Dongxia Wu, Haorui Wang, Aaron M Ferber, Yian Ma, Carla P Gomes, and Chao Zhang. 2025. Diffusion Models as Constrained Samplers for Optimization with Unknown Constraints. In Proceedings of The 28th International Conference on Artificial Intelligence and Statistics (Proceedings of Machine Learning Research, Vol. 258), Yingzhen Li, Stephan Mandt, Shipra Agrawal, and Emtyaz Khan (Eds.). PMLR, 4582–4590. https://proceedings.mlr.press/v258/kong25b.html
[27] Lingkai Kong, Yuanqi Du, Wenhao Mu, Kirill Neklyudov, Valentin De Bortoli, Dongxia Wu, Haorui Wang, Aaron M Ferber, Yian Ma, Carla P Gomes, and Chao Zhang. 2025. Diffusion Models as Constrained Samplers for Optimization with Unknown Constraints. In Proceedings of The 28th International Conference on Artificial Intelligence and Statistics (Proceedings of Machine Learning Research, Vol. 258), Yingzhen Li, Stephan Mandt, Shipra Agrawal, and Emtyaz Khan (Eds.). PMLR, 4582–4590. https://proceedings.mlr.press/v258/kong25b.html
[28] Siddarth Krishnamoorthy, Satvik Mehul Mashkaria, and Aditya Grover. 2023. Diffusion Models for Black-Box Optimization. In Proceedings of the 40th International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 202), Andreas Krause, Emma Brunskill, Kyunghyun Cho, Barbara Engelhardt, Sivan Sabato, and Jonathan Scarlett (Eds.). PMLR, 17842–17857. https://proceedings.mlr.press/v202/krishnamoorthy23a.html
[29] Aviral Kumar and Sergey Levine. 2020. Model Inversion Networks for Model-Based Optimization. In Advances in Neural Information Processing Systems, H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin (Eds.), Vol. 33. Curran Associates, Inc., 5126–5137. https://proceedings.neurips.cc/paper_files/paper/2020/file/373e4c5d8edfa8b74fd4b6791d0cf6dc-Paper.pdf
[30] John M Lee. 2018. Introduction to Riemannian manifolds. Vol. 2. Springer Cham. doi:10.1007/978-3-319-91755-9
[31] Gunther Leobacher and Alexander Steinicke. 2021. Existence, uniqueness and regularity of the projection onto differentiable manifolds. Annals of global analysis and geometry 60, 3 (2021), 559–587.
[32] Ke Li and Jitendra Malik. 2017. Learning to Optimize. In International Conference on Learning Representations. https://openreview.net/forum?id=ry4Vrt5gl
[33] Huikang Liu, Xiao Li, and Anthony Man-Cho So. 2023. ReSync: Riemannian Subgradient-based Robust Rotation Synchronization. 36 (2023), 5236–5261. doi:10.52202/075280-0232
[34] Gabriel Loaiza-Ganem, Brendan Leigh Ross, Rasa Hosseinzadeh, Anthony L Caterini, and Jesse C Cresswell. 2024. Deep generative models through the lens of the manifold hypothesis: A survey and new connections. arXiv preprint arXiv:2404.02954 (2024).
[35] Radford M. Neal. 2011. MCMC Using Hamiltonian Dynamics. In Handbook of Markov Chain Monte Carlo, Steve Brooks, Andrew Gelman, Galin L. Jones, and Xiao-Li Meng (Eds.). Chapman and Hall/CRC, Chapter 5, 113–162. doi:10.1201/b10905-6
[36] Stanley Osher, Howard Heaton, and Samy Wu Fung. 2023. A Hamilton–Jacobi-based proximal operator. Proceedings of the National Academy of Sciences 120, 14 (2023), e2220469120.
[37] JuneYoung Park, Minjae Kang, Seongbae Lee, Haegang Lee, Seongwan Kim, and Jaeho Lee. 2025. Riemannian Optimization for LoRA on the Stiefel Manifold. In Findings of the Association for Computational Linguistics: EMNLP 2025. Association for Computational Linguistics, 20971–20985. doi:10.18653/v1/2025.findings-emnlp.1143
[38] JuneYoung Park, YuMi Lee, Tae-Joon Kim, and Jang-Hwan Choi. 2025. Riemannian Geometric-based Meta Learning, In Proceedings of the AAAI Conference on Artificial Intelligence. Proceedings of the AAAI Conference on Artificial Intelligence 39, 19, 19839–19847. doi:10.1609/aaai.v39i19.34185
[39] Emanuel Parzen. 1962. On Estimation of a Probability Density Function and Mode. The Annals of Mathematical Statistics 33, 3 (Sept. 1962), 1065–1076. doi:10.1214/aoms/1177704472
[40] Cristina Pinneri, Shambhuraj Sawant, Sebastian Blaes, Jan Achterhold, Joerg Stueckler, Michal Rolinek, and Georg Martius. 2021. Sample-efficient cross-entropy method for real-time planning. In Conference on Robot Learning. PMLR, 1049–1065.
[41] Jan Willem Polderman and Jan C Willems. 1998. Introduction to mathematical systems theory: a behavioral approach. Vol. 1. Springer.
[42] Danilo Rezende and Shakir Mohamed. 2015. Variational Inference with Normalizing Flows. In Proceedings of the 32nd International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 37). PMLR, 1530–1538. https://proceedings.mlr.press/v37/rezende15.html
[43] Gareth O. Roberts and Richard L. Tweedie. 1996. Exponential Convergence of Langevin Distributions and Their Discrete Approximations. Bernoulli 2, 4 (Dec. 1996), 341–363. doi:10.2307/3318418
[44] Murray Rosenblatt. 1956. Remarks on Some Nonparametric Estimates of a Density Function. The Annals of Mathematical Statistics 27, 3 (Sept. 1956), 832–837. doi:10.1214/aoms/1177728190
[45] A. F. M. Smith and A. E. Gelfand. 1992. Bayesian Statistics without Tears: A Sampling-Resampling Perspective. The American Statistician 46, 2 (1992), 84–88. doi:10.1080/00031305.1992.10475856
[46] Yang Song and Stefano Ermon. 2019. Generative Modeling by Estimating Gradients of the Data Distribution. In Advances in Neural Information Processing Systems, H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. Fox, and R. Garnett (Eds.), Vol. 32. Curran Associates, Inc. https://proceedings.neurips.cc/paper_files/paper/2019/file/3001ef257407d5a371a96dcd947c7d93-Paper.pdf
[47] Yang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. 2021. Score-Based Generative Modeling through Stochastic Differential Equations. In International Conference on Learning Representations. https://openreview.net/forum?id=PxTIG12RRHS
[48] Michael David Spivak. 1970. A comprehensive introduction to differential geometry. (No Title) (1970).
[49] S. M. Srivastava. 1998. A Course on Borel Sets. Graduate Texts in Mathematics, Vol. 180. Springer-Verlag, New York, NY. doi:10.1007/b98956
[50] Brandon Trabucco, Xinyang Geng, Aviral Kumar, and Sergey Levine. 2022. Design-Bench: Benchmarks for Data-Driven Offline Model-Based Optimization. In Proceedings of the 39th International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 162), Kamalika Chaudhuri, Stefanie Jegelka, Le Song, Csaba Szepesvari, Gang Niu, and Sivan Sabato (Eds.). PMLR, 21658–21676. https://proceedings.mlr.press/v162/trabucco22a.html
[51] Brandon Trabucco, Aviral Kumar, Xinyang Geng, and Sergey Levine. 2021. Conservative Objective Models for Effective Offline Model-Based Optimization. In Proceedings of the 38th International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 139), Marina Meila and Tong Zhang (Eds.). PMLR, 10358–10368. https://proceedings.mlr.press/v139/trabucco21a.html
[52] Asterios Tsiourvas, Wei Sun, and Georgia Perakis. 2024. Manifold-Aligned Counterfactual Explanations for Neural Networks. In Proceedings of The 27th International Conference on Artificial Intelligence and Statistics (Proceedings of Machine Learning Research, Vol. 238), Sanjoy Dasgupta, Stephan Mandt, and Yingzhen Li (Eds.). PMLR, 3763–3771. https://proceedings.mlr.press/v238/tsiourvas24a.html
[53] Pascal Vincent. 2011. A Connection Between Score Matching and Denoising Autoencoders. Neural Computation 23, 7 (July 2011), 1661–1674. doi:10.1162/neco_a_00142
[54] Markus Walker, Daniel Frisch, and Uwe D Hanebeck. 2026. Sample-efficient and smooth cross-entropy method model predictive control using deterministic samples. In 2026 American Control Conference (ACC). IEEE, 4629–4636.
[55] Ronald J. Williams. 1992. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning 8, 3-4 (May 1992), 229–256. doi:10.1007/bf00992696
[56] Tailin Wu, Takashi Maruyama, Long Wei, Tao Zhang, Yilun Du, Gianluca Iaccarino, and Jure Leskovec. 2024. Compositional generative inverse design. In International Conference on Learning Representations, Vol. 2024. 29766–29795.
[57] Ke Ye, Ken Sze-Wai Wong, and Lek-Heng Lim. 2021. Optimization on flag manifolds. Mathematical Programming 194, 1-2 (June 2021), 621–660. doi:10.1007/s10107-021-01640-3
A Structural Properties and Proximal-energy Estimates
This appendix establishes the structural properties of our kernel introduced in Section 3. We first verify that it defines a valid stochastic transition and characterize it through the entropy-regularized variational problem defined in (9). We then study its low-temperature behavior: the kernel concentrates on the proximal minimizing set as , and, when several isolated nondegenerate minimizers coexist, its limiting mass can be characterized explicitly.
A.1 The Proximal Refinement Kernel
Before analyzing the behavior of the refinement law, we verify that is mathematically well defined for every ambient point and explain why its specific form arises from (9).
Proposition A.1. Under Assumption 2.1, for every , is finite and strictly positive for every . Moreover, defined in (10) is a Borel probability kernel from to , satisfies
and depends continuously on in total variation. For each fixed , is the unique minimizer of (9).
Proof. Fix and , and abbreviate
Due to compactness of and continuity of , the continuous energy has finite extrema and on . Since is a probability measure,
Thus is a probability density with respect to , bounded above and below by positive constants for fixed , and . Consequently and are mutually absolutely continuous. Therefore
We next establish continuity with respect to . Let be any sequence converging to , and write . Since is fixed,
Thus converges uniformly to the bounded function on . The functions are consequently uniformly bounded, so converges uniformly to . It follows that , and the corresponding normalized densities converge uniformly on . Therefore, the normalized densities converge uniformly to , which implies
For every Borel set , the map is consequently continuous and hence Borel measurable. Together with the probability-measure property for fixed , this proves that is a Borel probability kernel.
We now establish the variational characterization. We write if is absolutely continuous with respect to , and denote the relative entropy by for , and by otherwise. Since is continuous on the compact set , it is bounded. Moreover,
The right-hand side is bounded on . Consider a probability measure satisfying . Since is strictly positive on , we have . Together with , this implies . By the Radon-Nikodym chain rule,
Integrating with respect to gives
Substituting (22) into (23) yields
Rearranging,
Finally, since , with equality if and only if . Therefore
and equality holds uniquely at . Hence is the unique minimizer of (9).
Thus is a valid stochastic refinement kernel at every positive temperature . We next show that lowering the temperature connects this stochastic law back to the deterministic proximal problem in (8).
A.2 Concentration on Proximal Minimizers
At positive temperature , has full support on and therefore remains stochastic. The next result quantifies what happens as .
Proposition A.2. Under Assumption 2.1, fix and , and write . For every there are constants , which depend on but not on , such that
Moreover, let be any sequence. Since is supported on , the sequence admits a weakly convergent subsequence. If , then the limiting measure is concentrated on the proximal minimizing set: . Equivalently, .
Proof. Fix , , and . For brevity, write
Since is continuous on , the minimum is attained. Hence is nonempty. Moreover, because , it is closed in and therefore compact. Define the set of feasible points that stay at least away from the proximal minimizing set:
If , then for every , and the concentration bound is immediate. We therefore assume . Because is continuous, is closed in . Since is compact, is compact. By construction, . Therefore the minimum of on is strictly larger than the global minimum :
Choose any . By continuity of , there exists a relatively open neighborhood of such that
Since , every nonempty relatively open subset of has positive -measure, hence . On , we have , so
On the other hand, restricting the normalizer to yields
Therefore
Thus the claimed exponential bound holds with .
We next prove the weak-limit statement. Let be arbitrary. Since is a compact metric space, every sequence of probability measures on has a weakly convergent subsequence. Therefore, there exist a subsequence and a probability measure on such that
It remains to show that assigns no mass outside . For each integer , define
which is relatively open in . Applying (24) with gives . Since is open, the Portmanteau theorem yields
Finally, because is closed, every point has strictly positive distance from . Therefore . By countable subadditivity, . Consequently, . Since is closed, this also implies
Proposition A.2 determines where the probability mass goes as , but it does not determine how that mass is divided when contains several minimizers. The next subsection resolves this question under the standard nondegeneracy condition.
A.3 Probability Allocation Across Proximal Branches
When several proximal minimizers coexist, Proposition A.2 only implies that when , the mass will concentrate on their union. To determine how the limiting mass is divided among these alternatives, we impose the usual nondegeneracy condition: each proximal minimizer is isolated and has a positive-definite Riemannian Hessian. This rules out flat tangent directions and permits a local quadratic approximation of the proximal energy.
Proposition A.3. Under all regularity assumptions in Section 2, fix and . Suppose
Then, as ,
Here is computed in any orthonormal basis of and is therefore basis independent.
This result is a manifold specialization of the classical Laplace principle [23, Theorem 2.1]. The proof first derives the local Laplace contribution of each proximal minimizer and then normalizes these contributions to obtain the branch weights.
Proof. Fix and , and abbreviate
By assumption, for , . We first determine the contribution of a neighborhood of each minimizer to a Laplace-type integral. For every , choose an orthonormal isometry
Since is an embedded manifold, after reducing the neighborhood there exists a local parameterization
satisfying , and . Because the minimizers are finitely many and distinct, we can choose a sufficiently small radius such that the neighborhoods are pairwise disjoint. Since is a minimizer of , . Moreover, . Taylor expansion in the coordinates therefore gives
Let . By reducing if necessary, the remainder in (25) satisfies
Consequently,
This lower bound will provide the Gaussian domination needed below.
We next express intrinsic volume in these coordinates. Define
Then . Because is an isometry, . Let be any continuous function and consider the contribution
Make the rescaling :
For every fixed , , and and, from (25),
Hence the integrand in (27), extended by zero outside its integration domain, converges pointwise to
We now verify domination. From (26), we have
The functions and are bounded on the closure of the chosen coordinate neighborhood. Thus the absolute value of the integrand is bounded by for some finite , and this function is integrable on . Dominated convergence yields
Equivalently,
It remains to show that points outside these neighborhoods make a negligible contribution. Let . The set is compact and contains no global minimizer of . Hence, by continuity of , there exists such that
For continuous , compactness of gives , and therefore
The last relation follows because and exponential decay dominates polynomial growth:
Thus the contribution from is negligible at the scale , and the leading terms come from the neighborhoods of the minimizers. Together with (28), this gives the Laplace expansion
We now apply (29) to the refinement law. Since , taking yields
To identify the weak limit, let be bounded and continuous. By definition of ,
Because is continuous, applying (29) with gives
Since and ,
Dividing (31) by (30) therefore yields
Finally,
Since this holds for every bounded continuous test function , the definition of weak convergence gives
B Proofs of Riemannian Descent and Stationarity
In this appendix, we first establish uniform geometric estimates and use them to derive mean displacement and descent bounds for the ideal sampling kernel . We then quantify how these bounds change when sampling from its approximation . Finally, we combine the descent and feasibility estimates to establish stationarity of PRISM. Sections B.1–B.6 use the model assumptions in Section 2, with compact and without boundary. Section B.7 uses the boundary assumptions of Section 4.3.
B.1 Uniform Geometry and Analytical Representatives
This subsection establishes geometric estimates with constants uniform over . We do not require to be connected. For every point , intrinsic distances and balls are defined within the connected component containing , using lengths of paths along the manifold. All other distances are Euclidean. Since a manifold is locally connected, its connected components are open. Compactness of therefore implies that there are finitely many such components. Compactness also provides a finite collection of coordinate neighborhoods covering . The proof below uses these neighborhoods to obtain a common local graph radius and uniform derivative bounds, valid at every point of .
Notation and uniform constants. Set , where is the Borel measurable nearest-point selection fixed in Section 4. Its existence is proved in Lemma B.2. We use the following constants:
These quantities are finite under the compactness and regularity conditions in Section 2. Constants used in the geometric estimations below are uniform across all the points on the manifold. The function is defined globally, and is near using Assumption 2.3 by Theorem 2 of [31]. To analyze the sampling kernel , we first introduce local coordinates, where its defining integrals can be studied. The following lemma restates standard geometric estimates and the corresponding bounds on the sampling density, with constants uniform over .
Lemma B.1. Under Assumptions 2.1, 2.2, and 2.3, there exist constants and , independent of , with the following properties.
For each , choose an orthonormal isometry . A neighborhood of admits a parameterization
where , , and
Every manifold point within distance of belongs to the inner coordinate neighborhood:
In these coordinates, has density
with respect to Lebesgue measure dv. The function is and satisfies
Proof. Under the model assumptions, is a compact embedded manifold without boundary. The local graph representation gives (32), with . A finite coordinate cover and the inverse function theorem provide a common radius and uniform bounds on for . Taylor's formula then gives (33).
To obtain a uniform , let . Because is defined on the larger ball , the boundary of relative to is . Every point on this boundary has Euclidean distance at least from . Thus any curve on from leaving has length at least , so the intrinsic ball lies in . Let consist of pairs in different connected components and pairs in the same component whose intrinsic distance is at least . There are finitely many compact components, and intrinsic distance is continuous on each component, so is compact and disjoint from the diagonal. Hence there is such that for every . It follows that implies , which proves the asserted uniform inclusion.
The Riemannian volume formula, together with , gives the coordinate density (34). Write
Since is an orthonormal isometry and takes values in ,
The uniform bounds on and give a constant , independent of p, such that
The strictly positive function has a positive minimum, a finite maximum, and a bounded differential on compact . Together with the uniform bound on , these properties show that is and satisfies uniform bounds . Finally,
together with the uniform bounds presented above shows that is also bounded. Enlarging C if necessary completes the proof.
Lemma B.1 provides the common coordinate neighborhoods and density bounds used to estimate the moments of . To compare ideal and approximate responses, we also need estimates that apply to arbitrary points in .
Lemma B.2. Under the conditions of Lemma B.1, there exists a Borel measurable nearest-point selection satisfying (14). For any such selection, there exist constants such that the nearest point is unique on
and the restriction of to is . For all , , and ,
The constants are independent of the points. In particular, is Lipschitz on with respect to Euclidean distance.
Proof. For , let . Compactness of makes nonempty and compact. Since is continuous, the graph of is closed in . The Arsenin–Kunugui selection theorem [49, Theorem 5.12.1] therefore gives a Borel measurable map with for every . We fix one such selection. Near , the nearest point is unique, so this selection agrees with the projection from Theorem 2 of [31]. By compactness, choose so that this holds throughout . We next prove (35). Let be the common distance threshold from Lemma B.1. If , write . Since and are normal to , while is tangent to , we have
Using (33), we obtain
For , we have
Increasing proves (35) for all . Taking the supremum over unit normal vectors also gives
We next establish the objective and gradient estimates. On , the function is . Moreover, for by Theorem C in [31], so
Set . The closed neighborhood is compact and contained in . Consequently,
If and , every point , , satisfies
Thus the segment from to lies in the region where the Hessian bound applies. Taylor's theorem gives
For , boundedness of and on provides the required estimate. Since , we have
Combining the two cases proves (38). Applying this estimate with base point and endpoint , and using , proves (36). For , the segment from to also lies in the same closed neighborhood. Therefore,
which implies
For , we instead use
This proves (37). Furthermore, (36) yields
establishing the Lipschitz continuity of with respect to Euclidean distance. Finally, the defining property of gives for every . The triangle inequality then implies
which proves (39). All estimates hold with a common sufficiently large constant , independently of the selection outside .
B.2 Uniform localization and ideal progress
This subsection analyzes a single update drawn from the ideal kernel . We first establish localization and moment bounds for the sampled point, then use these bounds to derive gradient-like mean displacement and expected-descent estimates.
Fix . The estimates below hold uniformly over the parameter ranges and neighborhoods specified in their statements. We write for the variance scale of the sampling fluctuations.
Uniform localization. We first show that every proximal minimizer lies within a radius independent of the current point. We then bound sampling fluctuations around the minimizer and the probability of drawing a sample outside this neighborhood.
Lemma B.3. Under the conditions of Lemma B.1, there exist , , and positive constants such that, for , , and , the following statements hold. Write , , and . The proximal energy has a unique global minimizer and
For ,
Let denote the inner coordinate neighborhood of . For , the probability of sampling outside this neighborhood satisfies
For every fixed , the same proof gives .
Proof. Take smaller than the projection radius in Lemma B.2. The anchor displacement is normal by the first-order condition for the unique nearest point. For , define
Subtracting from leaves the law unchanged, and its density is therefore proportional to . By (35), decreasing gives the global comparison
The objective Taylor estimate then implies
Choose so the quadratic coefficient is at least 1/8. Let be any global minimizer of on , we have . The lower bound above implies
If , the desired distance bound holds immediately. Otherwise, rearranging and dividing by yields
To place these minimizers inside the local coordinate neighborhood, let be the uniform distance threshold from Lemma B.1. Since , we may further choose so that . Then every global minimizer satisfies
and therefore belongs to . Because and are independent of , the same choice of works uniformly over the current points under consideration.
The preceding argument shows that every global minimizer lies inside a local coordinate neighborhood of . We next show that the proximal energy is strictly convex in coordinates on a smaller neighborhood containing all these minimizers. Using Lemma B.1, define . Since is tangent and is normal to , we obtain
Because , the Hessian of the last two terms at v = 0 is
Here denotes the symmetric matrix whose entry is . The uniform bound on implies
Choosing r sufficiently small therefore gives
Thus the distance-dependent energy has a uniformly positive definite Hessian at the coordinate origin.
We now control how the full Hessian differs from away from the origin. Differentiating (45) gives
The matrix-valued inner products use the same entrywise convention as in (46). The bounds and , together with the uniform bound on , control the second and third terms by . The last term is bounded by using (33). Finally, has uniformly bounded second derivatives, so the objective term is bounded by . Consequently,
Choose a sufficiently small coordinate radius and then reduce so that the right-hand side is at most throughout this coordinate ball. Combining this estimate with the bounds on gives fixed constants such that
For example, the preceding choices allow and .
Choose fixed radii such that lies inside the region where (47) holds. For subsequent integrals, write
For any global minimizer , let . The localization estimate gives
We may therefore reduce so that every global minimizer has coordinates in .
Each such point is an interior minimizer of and hence satisfies . The lower Hessian bound in (47) makes strictly convex on the convex ball , so this ball contains at most one critical point. Since every global minimizer has already been placed inside this ball, the global minimizer on is unique.
For any , the segment from to remains inside the same ball. Taylor's formula and give
Applying the two Hessian bounds and using yields
We next establish a positive energy gap outside the inner neighborhood . Set
If , Lemma B.1 gives , and . Thus , which shows that
Further reduce so that . For , write . Using (44), we obtain
Since , setting gives
The constant is independent of p and the parameters in the stated ranges. Since the argument uses the global bound (44), it also covers points on other connected components of .
To estimate the normalization constant, subtract the minimum energy and define
Subtracting this constant from the energy does not change the normalized sampling distribution.
We already have . Further reduce so that . Since , every point with satisfies
Thus this entire integration region lies inside the inner coordinate neighborhood.
Using the coordinate-density lower bound and the upper quadratic bound in (48), we obtain
where the equality uses the substitution . The constant is strictly positive and independent of the current point and parameters.
For the upper bound, split the integral defining over and . On , apply the lower quadratic bound in (48) and the coordinate-density upper bound . On , the energy gap (49) applies because . Hence
For every fixed , tends to zero as and is bounded on . Taking shows that throughout this interval. Consequently, for a uniform constant .
We now use these estimates to bound the moments of the displacement from . The zeroth moment equals one, so consider any fixed . Let be a uniform upper bound on over the coordinate neighborhoods. For , integration along the segment from to gives
Therefore, the contribution from to the unnormalized moment satisfies
Here we again used ; the remaining Gaussian moment integral is finite.
On , the displacement is at most and the energy gap is at least . The contribution from this region is consequently at most . Dividing the sum of the two contributions by (50) gives
To bound the second term at the same order as the first, write
The parenthesized factor is uniformly bounded on the prescribed interval. Hence
In particular, . Combining this estimate with (41) yields
which proves (42).
Finally, applying the energy-gap bound directly on gives
This establishes (43) for . Since , the same probability bound holds outside the larger coordinate neighborhood in the lemma statement.
Lemma B.3 bounds both the displacement of the proximal minimizer from p and the sampling fluctuations around that minimizer. These estimates control the size of an update, but do not yet establish its direction or its effect on the objective.
Mean displacement and expected descent. The following lemma connects these localization estimates to optimization progress. It bounds the mean displacement and establishes expected descent for current points near . When the current point lies on , it further identifies the mean displacement as an approximation to a negative Riemannian-gradient step.
Lemma B.4. Under the conditions of Lemma B.3, there are uniform such that
For the feasible anchor x = p one has the sharper mean identity
Proof. We first relate the mean displacement to the Riemannian gradient through an integration-by-parts identity. We then combine this relation with the moment bounds from Lemma B.3 to establish the mean-displacement and descent estimates.
Retain the notation , , and . Write
where is defined in (46). Thus, represents the Riemannian gradient in the chosen orthonormal tangent coordinates.
Differentiating (45) gives
We estimate these terms separately. First, the coordinate bounds imply
on the fixed coordinate ball. Next, Taylor's theorem and the uniformly bounded third derivative of give
Consequently,
Finally, , and the uniformly bounded Hessian of yields
Combining these estimates with the definition of and the bound , we obtain
This expansion uses bounded second derivatives of , while the third-derivative bound is needed only for . We next integrate (54) against the local sampling density. Let be the radii used in the preceding proof. Take a smooth function satisfying
The fixed radii allow to be bounded uniformly. Moreover, vanishes in a neighborhood of the boundary of .
Write . The function is and compactly supported inside . The integral of each of its partial derivatives is therefore zero:
Expanding the derivative and rearranging gives
No boundary term appears because of the support condition on .
Let be the normalizing integral over defined in the preceding proof. After division by , the integral of over is the probability of this coordinate neighborhood, and hence is at most one. The uniform bounds on and therefore imply
To relate this integral to the full mean displacement, define
The random vector is defined for every . When , orthogonality gives . Also, .
The remainder in (54) satisfies
where the last inequality follows from Cauchy-Schwarz. Substituting the coordinate expansion into the preceding integration-by-parts estimate thus yields
It remains to remove the cutoff from this linear expression. The cutoff equals one throughout . The energy gap (49) and the normalizer bound (50) give
The final inequality holds uniformly on the prescribed interval for , because is bounded there. Since , , and are uniformly bounded, the difference between the cutoff integral and is consequently at most . We conclude that
This estimate controls the tangent component of the mean displacement. For the normal component, the global bound in (40) gives
The second-moment estimate (42) in Lemma B.3 gives
The second inequality follows by taking square roots and using for .
We can now establish the first mean-displacement bound. Since , , and , we have
Thus, after enlarging the uniform constant if necessary, . It follows that
where the last inequality uses . Absorbing the fixed coefficient into gives .
The uniform bound on and (55) therefore give . Using the decomposition
together with (56), we obtain
This proves (51).
When , we have and . Since , (55) and (56) now imply
Substituting (57) and using yields
The inequality then gives
which proves (53).
Finally, we establish expected descent. The objective estimate (36) implies
Define the residual vector
By (55),
Solving for gives
The uniform eigenvalue bounds for imply that, for some constant ,
Consequently,
To simplify the error terms, substitute (57) and use :
Together with , these estimates yield
Young's inequality gives
Choose sufficiently small that . Then . Since , the remaining term is bounded by . We therefore obtain
This proves (52) with .
From now on, denotes this final choice, for which all the preceding estimates hold.
Lemma B.4 establishes a mean-displacement bound and an expected-descent estimate for every current point in the specified neighborhood of . When , the matrix becomes the identity, and (53) shows that the mean displacement approximates .
Effect of sampling error. We next extend these estimates from the ideal law to an approximate law . The Wasserstein error bound allows us to construct ideal and approximate samples jointly so that their expected squared distance is controlled. The estimate (38) then relates this distance to the change in objective value at the nearest feasible representative. Because this estimate holds throughout the ambient space, it also covers approximate samples outside the neighborhood where P is smooth. The representative is used only to analyze the sampled update.
Lemma B.5. Use the conditions of Lemma B.3. Let satisfy
Write , , and let . Then uniform constants satisfy
The last inequality holds at every ambient anchor, without the tube restriction.
Proof. Use an optimal coupling and abbreviate and . The global Taylor bound for based at gives
Split . By the Lipschitz bound (37) and Cauchy–Schwarz,
The second-moment bound (42) in Lemma B.3 gives
Substituting this estimate and (52) into (61), we obtain
We now bound the two mixed terms. Since , Young's inequality gives
Thus, this error term consumes at most half of the negative term . For the other mixed term, the inequality yields
Combining these estimates and using , we conclude that
This proves (58) with .
Next, let . Since , the nearest-point comparison (39) gives
To bound the displacement of from , write . Using , we obtain
where the last step again uses (42). This proves (59).
Finally, the same nearest-point comparison and Cauchy–Schwarz imply
This proves (60). The final estimate uses only the feasibility of and the sampling-error bound, so it holds for every current point satisfying that bound.
B.3 Proof of Proposition 4.2
Fix and , and write , and . Let denote the set of joint probability distributions. Thus each describes a pair of random variables and . By Assumption 4.1,
Since the distance from to cannot exceed its distance to any , we have
Taking the infimum over all yields
B.4 Proof of Theorem 4.3
The geometric and integration-by-parts estimates above identify the mean of an ideal local update. Quadratic transport then transfers that identity to the implemented law without requiring its outputs to be feasible.
Proof. Fix a feasible anchor and use an optimal coupling of with at cost at most . Jensen's inequality gives
Adding this to the ideal mean estimate (53) yields
The squared triangle inequality and Lemma B.3, with , give
Every constant used in the geometric and localization estimates is uniform over , proving the asserted uniformity. Division by shows that the normalized mean update approaches whenever , and all vanish. The second-moment bound concerns the actual sampled increment, which can fluctuate even when its mean accurately identifies the gradient direction.
B.5 Proof of Theorem 4.4
An approximate output may leave the manifold, so the objective used in the proof is the feasible-representative value . The global Taylor bound for F in Lemma B.2 permits such outputs even when they lie outside the smooth projection tube.
Proof. Take from Lemma B.3. For , write . Applying Lemma B.5 to gives
This proves (15) with and . The constants are uniform over the stated range.
B.6 Proof of Theorem 4.5
The local descent estimate does not apply to a distant ambient anchor. The first sampling call controls this difficulty, and the same feasibility bound controls all subsequent excursions. This allows the iteration to keep its actual sampled anchors throughout.
Proof. Take from Theorem 4.4 and write and for its descent constants. For , write
These quantities are measurable because P is Borel. Moreover, compactness gives
For each refinement step, the next iterate is sampled from . On the event , the current point satisfies , so Theorem 4.4 gives
On , we instead use the global bounds on and . Set
Since , , and , we have
Combining the two cases yields
We next control the probability of . Proposition 4.2, applied to the call producing , gives
For k = 1, this uses the sampling-error bound for the initialization call. Markov's inequality therefore implies
Taking expectations in (62) and rearranging, we obtain
Summing from to makes the objective differences telescope:
where and the second inequality uses .
Divide by . The last term contributes . Because , this contribution is bounded by a constant times . Absorbing the fixed coefficients into gives
All constants depend only on the fixed model quantities and , and are independent of , and the temperature sequence.
The feasibility conclusion follows directly from Proposition 4.2:
We now prove the accumulation-point conclusion. Suppose . Its averages also converge to zero, so (63) implies
Define the nonnegative random variable
For each trajectory, the lower limit of a sequence is at most the lower limit of its averages:
Indeed, for every , all sufficiently late terms satisfy . Taking averages, letting , and then letting proves this inequality. Fatou's lemma consequently gives
It remains to choose a random accumulation point at which the squared gradient norm equals . Set and, for , define
These indices are finite by the definition of , and measurable because they are successive first indices satisfying a measurable condition. Moreover,
To choose the limit measurably, we extract subsequences one coordinate at a time. For a bounded sequence of real random variables , set , , and
There are infinitely many terms within any positive distance of , so these indices are finite. They are measurable by the same first-index argument as above, and . Apply this construction to the first coordinate of , then to the second coordinate of the resulting subsequence, and so on. Compactness of bounds every coordinate. Each selected vector is measurable, and each extraction preserves the limits of earlier coordinates. After extractions, all coordinates converge. Their limit is measurable, belongs to because is closed, and is an accumulation point of . Continuity of gives
Hence
Finally, Cauchy–Schwarz yields
For fixed , both upper bounds vanish as .
B.7 Proof of Theorem 4.6
We use the assumptions of Section 4.3 and first record the properties needed for the proof. Compactness provides a Borel measurable nearest-point selection by the selection argument in the proof of Lemma B.2. Write and . Choose so that the closed -neighborhood of lies in the region where is , and let bound there. For with , the segment between them lies in this neighborhood, so . For , boundedness gives . Thus we may take .
The geometric and density assumptions also give
for constants . Smooth compact manifolds with smooth boundary and a density bounded away from zero satisfy this condition: their interior and boundary charts contain balls and half-balls, respectively, with uniformly controlled volume distortion. A finite chart cover and the positive density lower bound give uniform constants. The argument below uses only (64).
For a fixed , define
The logarithm is nonnegative because follows from the local-mass bound. For fixed , this budget is as .
Proof of the one-step bound. Fix a current point and positive parameters . Let be its nearest feasible representative, and write
We first compare the ideal response with a proximal minimizer based at p. For this purpose, define
For any , the quadratic term satisfies
Together with the Lipschitz bound for , this gives
Because is continuous on compact , it attains its minimum at some . Consider the neighborhood
The local-mass bound (64) gives
We can therefore define a probability measure supported in this neighborhood by
Every point in has proximal energy close to the minimum. Indeed, , so
Moreover, the density of with respect to is constant on , which gives
The ideal response uses the current point , whereas uses its representative . To compare these two energies, expand the quadratic penalty:
For any , Cauchy-Schwarz gives
Consequently,
Write . The variational characterization in Proposition A.1 states that
Substituting (66) cancels the constant on both sides. Since , we obtain
Thus, for ,
We now account for the approximation error. Let satisfy Assumption 4.1. Choose a joint distribution of and Y with these marginals that attains the quadratic Wasserstein distance. Then
Since and is a nearest point on ,
Both and lie on . The Lipschitz bound for and Cauchy–Schwarz therefore imply
Finally, the definition of the proximal gap gives
Combining this identity with (67) and expanding yields
This establishes the required comparison for a single approximate update.
Proof of the finite-time and exact-sampling conclusions. Write . Proposition 4.2, applied to every call including initialization, gives
Hence, by Cauchy-Schwarz,
Apply (68) with , , and . The approximate output is , whose nearest feasible representative is . Averaging over the distribution of gives
Rearranging and summing from k = 1 to N, we obtain
Let
Since , division by yields
To express this bound in the form stated in the theorem, observe that
For fixed , the definition in (65) therefore implies
where is independent of . Substituting this estimate into the one-step and averaged inequalities proves the finite-time conclusions.
We next consider exact sampling, with . Equation (69) implies that almost surely for all . Suppose
Define the excess proximal energy of the sampled point by
This quantity is nonnegative. Because the current point is feasible and the sampling law is exact, applying (67) at and averaging over gives
Tonelli's theorem consequently yields
It follows that
The definition of also gives a direct relation between successive objective values. Indeed,
Subtracting these two expressions and rearranging gives
Summing along the trajectory,
Since , the nonnegative partial sums on the left satisfy
The right-hand side is finite almost surely and does not depend on . Therefore
In particular, . Furthermore,
Both partial sums on the right converge almost surely, so converges almost surely.
Finally, we characterize the accumulation points. The function is continuous on the compact set . Its minimum over therefore depends continuously on , and hence
is continuous. Compactness of guarantees the existence of accumulation points of . On every trajectory for which , any accumulation point satisfies . Equivalently,
Let . By the definition of the tangent cone, there exist and such that
Applying (70) at and dividing by gives
Differentiability of implies
The quadratic term vanishes because
Passing to the limit proves
Thus every accumulation point satisfies the constrained first-order stationarity condition.
C Constructing Accurate Conditional Samplers
The error bound requirement in Assumption 4.1 separates optimization analysis from the choice of sampler. This appendix gives a concrete finite-data construction and proves a sufficient condition to satisfy the error bound in (12). The construction serves as an explicit example showing that the accuracy requirement can be met. We construct using a uniform-ball kernel density estimator and rejection sampling, and bound its error relative to . We also analyze direct sampling from the observations.
C.1 From Feasible Observations to a Conditional Sampler
Write the empirical reference distribution constructed directly from the dataset as
where denotes Dirac measure. Replacing by in (10) gives an implementable categorical distribution on observation indices:
The returned point has law
Here the weights are assigned to observation indices, with weights of repeated observations combined. The outputs of are feasible because they are observations, but it cannot produce a point with an objective below the best observed value.
To allow new outputs, one can instead smooth the empirical reference. Let be uniform on the ambient unit ball and, independently, choose an observation index uniformly. For bandwidth , set
for Borel sets . This model generates continuous ambient outputs without using any explicit information of . Though it may generate infeasible points, the conditional accuracy bound in (78), together with Proposition 4.2, controls their distance to . The model-dependent kernel is written as:
The superscript following the comma identifies the reference distribution, the original ideal kernel remains .
We provide an exact sampler for (74) in Algorithm 2. Distribution has the explicitly known support
To construct a valid acceptance probability, we need to find a lower bound . Such a bound need not require minimizing over . For example, when a Lipschitz constant for on this region is available, the choice is valid because every proposal lies within distance of a training observation. If is known to be nonnegative over , one may simply take . For , define the acceptance probability
Recall the construction of , the nonnegative quadratic penalty ensures that , so .
To characterize the sampling cost, fix the query . The expectation of the number of needed proposals over the proposal and acceptance draws satisfies
Consequently, the algorithm terminates almost surely with finite expected proposal count. Theorem C.1 provides the uniform upper bound (79) over its prescribed query and parameter ranges.
Algorithm 2 Exact rejection sampler for the learned conditional law
Require: Anchor , locality , temperature , proposal law , and valid lower bound
1: repeat
2: Draw
3: Draw independently
4: until
5: return
C.2 Uniform Accuracy Guarantees
The following theorem bounds the error from finite data and smoothing, assuming . Lemma C.3 gives a sufficient sample size for this event.
Theorem C.1 (Uniform accuracy of the smoothed sampler). Suppose , where . Fix observations satisfying
For the smoothed distribution (73), assume is -Lipschitz on . Define the energy on by the same formula. Choose a compact set containing and a prescribed initial point . Fix
Define
Then, for every ,
Given a finite lower bound , rejection sampling using (75) returns the law in (74) exactly. This is a Borel probability kernel with finite second moments and outputs in . The expected number of proposals is at most
If an approximate solver has uniform error at most relative to the target (74), its total error is bounded by the right-hand side of (78) plus . To use this bound at every iteration, keep the parameters in and the solver's outputs in .
For any , sufficiently small and make the bound at most . The proof gives explicit choices and a sufficient sample size using Lemma C.3.
Corollary C.2 (Uniform accuracy of empirical conditional sampling). Under all regularity assumptions in Section 2, fix observations satisfying . Choose a compact set containing and the prescribed initial point , and use the parameter set in (77). Let satisfy
Such a constant exists under assumptions. Define
The empirical sampler (71) is a Borel kernel with outputs in and satisfies
With the sample size in Lemma C.3, the required data event has probability at least . Conditional on that event, a bound of at most gives Assumption 4.1 for the fixed dataset, simultaneously for all and . Both samplers keep their outputs in , so this also covers adaptively chosen inputs.
The constants depend on the positive lower bounds for and . Schedules in which either parameter approaches zero require separate error bounds. Appendix D describes other implementations.
C.3 Auxiliary Lemmas and Proofs
The first lemma bounds . The second bounds the error after exponential reweighting.
Lemma C.3 (A sufficient sample count for reference accuracy). Suppose is supported in a known cube , where , and let be independent observations with law . Put . For and , define
If the sample size satisfies
then
Proof. Partition into at most Borel cells of side length at most , assigning each boundary point to one cell. Let and be their population and empirical mass vectors. For each union of cells, Hoeffding's inequality gives
Their total variation distance is
There are at most unions. A union bound gives, with probability at least ,
In each cell , couple mass using the normalized restrictions of the two measures whenever this mass is positive. Its squared transport cost is at most per unit mass. Since , the two remaining marginals have mass . Coupling them across costs at most per unit mass. Hence
The first term is . By (81) and (83), the second is at most on the stated event, proving (82).
Lemma C.4 (Stability of exponential reweighting). Let be compact with diameter . Let be -Lipschitz with . For a probability measure on , define
If probability measures and supported in satisfy , then, for every ,
The lemma also applies to discrete measures and measures supported on a manifold.
Proof. Subtracting does not change the reweighted laws. After this shift, satisfies
Take an optimal coupling of and with . Set and ; both normalizing constants are at least . Define
Its marginals are bounded by the two reweighted laws. Since the multiplier is at most , its transport cost is at most . Both normalized weights have expectation one, so the missing mass is
Since ,
Let and be the remaining marginals, each of mass . If , adding to completes the coupling at additional cost at most . If , is already a coupling. The total cost proves (84).
Proof of Theorem C.1. Couple each smoothed observation with the original observation to get
Using (76) and the triangle inequality gives
Both reference measures are supported in . For , , and ,
Thus is -Lipschitz on . The quadratic term lies between 0 and , so . Apply Lemma C.4 to (85) and use . The constants are uniform over , which proves (78). The triangle inequality adds any solver error .
Every proposal lies in , where , so . Each proposal is therefore accepted with probability at least . Independent trials terminate almost surely, and their geometric count gives (79). The accepted law is (74), as shown in Section C.1. Since and every output lies in , the bound applies along any parameter schedule in .
For any Borel output set, the numerator in (74) is a Borel function of because the integrand is jointly measurable. The denominator is positive and finite. Thus the target is a Borel probability kernel, with finite second moments because its support is compact.
Choosing the sample accuracy and bandwidth. For a requested error , define
Choose
Then and . The right-hand side of (78) is at most . Adding a solver error gives a total error at most ; exact rejection sampling has . Using this in (81) ensures the required reference accuracy with probability at least .
Proof of Corollary C.2. First establish the Lipschitz bound on . By compactness, choose so that the closed -neighborhood of lies in the open set where is . This neighborhood is compact, so the gradient has a finite bound there. If satisfy , every point on their line segment is within distance of . The segment therefore stays in this neighborhood, giving . If , then . Thus is finite.
The quadratic difference estimate in the proof of Theorem C.1 shows that the energy on is -Lipschitz with oscillation at most . The law in (72) is the exponential reweighting of . Apply Lemma C.4 with and use to get (80). The normalized weights are positive and continuous in the input and parameters whenever the parameters are positive, so they define a Borel probability kernel. Its outputs lie in , which keeps every subsequent input in the region covered by the bound.
To choose the required reference accuracy, let and . Given , it suffices to take
Indeed, . Lemma C.3 with then gives a sufficient sample size.
D More Implementations of
Other than the approach provided in Appendix C, several standard methods can construct through reference estimation and conditional sampling. Density estimators and generators use to approximate by a fitted distribution . Score-based methods instead estimate the scores of Gaussian-smoothed and use them in reverse diffusion. We describe these estimation methods first, followed by methods for sampling the next iterate.
For a reference probability measure on , a current point , and , the corresponding conditional target is
We assume is measurable and can be evaluated on the reference support, and . The weight favors smaller objective values and shorter distances to , while preserving the support of . Adding Gaussian noise to construct a smoothed reference is a separate step in some methods below.
Taking recovers the ideal kernel ; a fitted gives a target based on the estimated reference. With the data and fitted model fixed, is the law of the point returned by the sampling procedure. It equals when that target is sampled exactly. Its accuracy relative to the ideal kernel therefore depends on both reference estimation and conditional sampling.
D.1 Estimating the Reference Distribution
A density estimate or generator supplies samples from a reference distribution . A score model supplies the gradients used in reverse diffusion. These models are fitted once and reused as x, , and change.
D.1.1 Gaussian Kernel Density Estimation
Gaussian kernel density estimation places a Gaussian distribution at each observation [44; 39]. Choose a bandwidth h > 0 and give the n components equal weights:
where is the centered Gaussian density with covariance . To generate a candidate, choose an observation uniformly, draw , and return . Thus controls how far candidates spread around the data. The finite sum gives the density, and differentiating its logarithm gives the score needed by the Langevin methods below. For conditional sampling, these candidates can be weighted by , or drawn closer to using Section D.2.1.
D.1.2 Generative Models and Normalizing Flows
A trained generator maps a simple random input into a candidate point. To sample, draw , such as a standard Gaussian, and compute . The resulting reference distribution is . Independent inputs give independent candidates, which can then be weighted by .
A normalizing flow gives a concrete way to fit such a generator and evaluate its density [42]. Choose and an invertible differentiable with nonsingular derivative. If has density , compute
Fit by maximizing , then keep it fixed during optimization. The fitted density can be used by Metropolis or gradient-based samplers. For a generator without an explicit density, Section D.2.4 describes sampling through .
D.1.3 Score Estimation
Reverse diffusion needs the score at several noise levels. For noise variance , the density after adding Gaussian noise to and its score are
The Gaussian smoothing gives a density even when is supported on a manifold.
To estimate from the observations, train a network by denoising score matching [53; 47]. At each training step, choose an observation uniformly, draw a noise variance and independent , and form . Give the network and use as the regression target. The resulting loss is
Here weights the noise levels; choose it and the distribution of so that . The fitted network estimates the score at each noise level in its training range. Section D.2.5 uses it to generate candidates from the current point .
D.2 Sampling the Conditional Distribution
Each method below returns one point for a fixed call . All its internal sampling steps use the same , and . The returned point becomes the next iterate of PRISM.
Candidates drawn from use the full weight . Alternatively, we can account for the distance to when drawing candidates. Put and define
This distribution favors reference points near . It leaves only the objective to be included in the weights:
Gaussian mixtures and reverse diffusion provide two ways to draw from .
D.2.1 Gaussian Mixture Proposals
For the Gaussian KDE in (86), we can draw candidates near by changing the component weights, means, and variance. Completing the square gives
Compute these quantities once for the call. Choose an index with probability , draw , and set . Repeat to obtain independent candidates, evaluate at each, and return one with probability proportional to . This gives an approximate conditional sample. If a lower bound is known on the proposal support, an exact alternative is to draw candidates one at a time, accept each with probability , and return the first accepted point.
D.2.2 Importance Resampling and Metropolis Sampling
Importance resampling. This method draws a batch of candidates and selects one using their weights [45]. Draw independently from , compute for each candidate, and divide by the sum to obtain selection probabilities:
Draw with these probabilities and return . Only reference samples and objective values are needed. For candidates from , use instead. A finite batch gives an approximation; if most weight falls on a few candidates, a larger batch may be needed.
If candidates instead come from a density , assume that and the reference density are defined with respect to the same measure, with wherever . Replace each weight by . Draw a new batch if the total weight is zero. This ratio corrects for the different candidate distribution.
Independence Metropolis. This method updates one candidate at a time [22]. Draw and choose a number of steps . At each step, draw independently and compare its energy with that of the current point . Accept with probability
Lower-energy proposals are always accepted. On rejection, keep . After steps, return the current point. The reference cancels from the acceptance ratio, so its density is not needed. The chain has as an invariant distribution.
D.2.3 Langevin and Hamiltonian Monte Carlo
These methods use gradients to move candidates. Suppose has a positive differentiable density on and is differentiable there. Compute the target log density, up to a constant, and its gradient:
The three gradient terms favor regions of high reference density, smaller objective values, and proximity to , respectively.
Unadjusted Langevin algorithm (ULA). Start at , choose a step size and a number of steps , and repeat
with independent noise at each step. Each update takes a step along the target score and adds Gaussian noise. Return . The step size and number of steps determine the discretization and finite-run errors [43].
Metropolis-adjusted Langevin algorithm (MALA). Use the right-hand side of (89) to propose from the current , then accept or reject it. The proposal density is ; accept with probability
Keep on rejection and return the state after steps. This correction requires density values and makes the conditional target invariant. Gaussian KDE supplies both the density and score.
Hamiltonian Monte Carlo. Starting from , use an auxiliary momentum to make longer proposals [17; 35]. At each iteration, draw and set . Record , then take a chosen number of leapfrog steps of size . Each step consists of
Reverse the final momentum to obtain and accept the new position with probability . Otherwise keep the old position. Repeat for iterations and return the position. The conditional target is invariant under these updates.
D.2.4 Sampling in Latent Variables
For a generator , define the target distribution of its input by
If , then , even when is not invertible. Thus we can approximate the conditional target by sampling in the input space and mapping the result through .
For weighted resampling, draw independently from and compute . Select one with probability proportional to .
Alternatively, start at and run independence Metropolis with proposals from . Apply (88) to their images under and return after steps. Both procedures need only samples from and evaluations of and .
If has a positive differentiable density on and and are differentiable, Langevin or Hamiltonian sampling can instead use the log density .
D.2.5 Reverse Diffusion
Reverse diffusion uses estimates of the scores to generate approximate samples from . The network in Section D.1.3 estimates the scores of Gaussian-smoothed from , so its intended reference is . Set and choose variances within the training range. Start at and, for , use
(90)
At each step, evaluate the network at the current point and noise level, move in the score direction, and add independent Gaussian noise with the displayed variance. Run independent trajectories from the same to obtain endpoints . Stopping at leaves residual noise in these approximate proposals. Evaluate , select one endpoint with probability proportional to , and return it. By the factorization in (87), this objective resampling gives an approximate draw from .
To see why the proposals have this form, let and , with independent standard Brownian motion . Bayes' formula gives . The corresponding reverse diffusion [47] is
where is standard Brownian motion. For , its law is . As , the Gaussian smoothing vanishes and this law converges weakly to . Equation (90) discretizes this process and replaces its score by the fitted network.
The TFBind8 and Superconductor implementations further denoise the endpoints, then decode or clip them before objective resampling; Appendix E gives the task-specific details. Related uses of diffusion models for objective-dependent sampling appear in Kong et al. [27].
D.2.6 Sequential Monte Carlo
Sequential Monte Carlo introduces the energy in stages [15]. Choose , with stage targets
These run from the reference to the conditional target. Draw independent points from . At each stage , first compute weights and normalize them to sum to one. Next, draw points independently with replacement using these probabilities and give them equal weights. Finally, move each selected point using one or more independence Metropolis steps: propose and use (88) with energy . These moves preserve and allow repeated copies to separate. After stage , return a uniformly selected point as the approximate sample.
E Supplemental Experiments and Implementation Details
E.1 Detailed Experimental Setup for Section 5.1
Construction of the PCA task. We consider a Gaussian population with
where is obtained by QR factorization of a standard Gaussian matrix with seed 42. A two-dimensional representation has reconstruction , where and . Each such projector represents a point on . Its reconstruction error is the following objective:
We use this population objective directly, including its full expression for ambient candidates.
Reference dataset. We generate feasible projector observations using seed 42. With probability 0.003, an observation is uniform on , otherwise, it follows
where is uniform probability measure on . The observations therefore concentrate around a suboptimal subspace, with sparse coverage elsewhere. These observations form the reference dataset . The learner receives the observations without their source mixture labels or parameters.
Estimating the refinement kernel. Let . We center the observations and use singular value decomposition to estimate an affine basis , giving coordinates . We then fit quadratic relations from the numerical null space:
Both fits use all 5000 observations and relative singular-value threshold , while polynomial features are scaled by their root mean square. On this fitted , we fit a uniform-radial mixture with density
relative to normalized induced volume, where normalizes the radial component. Five trimming rounds retain observations within the median radius plus ten interquartile ranges of the current center. The retained-point mean, projected onto the learned support, estimates , while the excluded fraction estimates . We estimate by dividing the inferred intrinsic dimension by the mean squared retained-point radius. The normalizer is approximated by thermodynamic integration using Metropolis-adjusted Langevin chains on the estimated support. The fitted density, mapped back by , defines . Using what we have constructed, the fitted target is
Additional stationarity and feasibility results. Figure 6 uses the same fitted refinement kernel in Section 5.1 and 50 trajectories for each pair.
Figure 6(a) shows the current Riemannian gradient norm . Here, we use 1000 updates with as suggested in (16). This behavior qualitatively illustrates the effect of decreasing temperature in the stationarity results presented in Theorem 4.5.
Figure 6(b) shows over 160 updates with fixed . The maximum distance after the first response is across all settings and runs, further illustrating the results presented in Proposition 4.2.
E.2 Detailed Experimental Setup for Section 5.2
Physical simulator and operating conditions. We use the public BOPTEST bestest_hydronic_heat_pump test case [7], comprising a single-zone residential building, hydronic floor heating, and an air-to-water heat pump. The Modelica model is executed as a Functional Mock-up Unit (FMU). We retain its thermal dynamics, embedded Brussels weather, occupancy inputs, and equipment interlocks, and control the compressor through its modulation override.
Data collection and deployment begin at zero-based weather day 23, following seven days of default-controller warmup. All complete collected records start from the same warmed simulator state. Windows extracted later within these records have different initial thermal states. The controllers observe 119 internal simulator variables, the current temperature and power measurements, and exact weather and occupancy forecasts.
Deployment lasts 48 hours, with 96 half-hour control commands. Two quarter-hour observations are recorded during each control interval, following the grouped notation in the main text. Electrical power is averaged over each observation interval using integrated simulator power.
(a) Stationarity
(b) Feasibility


Figure 6 Stationarity and feasibility results. (a) Current gradient norm over 1,000 updates with . (b) Raw distance to the true manifold over 160 updates at fixed temperature, the zoomed-in figure shows the first three updates. Colors distinguish , while solid and dashed lines denote temperature settings 0.014 and 0.14, respectively. Lines and shading show means and one sample SD across 50 runs.
Reference temperature, electricity price, and constraints. Writing h for elapsed time in hours, the prescribed temperature is
Thus, the discrete reference satisfies for . The electricity price is 0.2535 currency units/kWh, increasing to 0.4535 during hours [17,20) and [41,44).
All controllers use the objective and MPC formulation in (20) and (21). The prediction horizon contains four commands, or two hours, and shrinks to three, two, and one commands at the final decisions. Room temperature is constrained to [18,26] °C. Each planning problem includes its endpoint tracking penalty, whereas the reported deployment objective includes this penalty only at hour 48. There is no recovery period or terminal water-temperature constraint; hidden wall and floor thermal energy is not equalized.
Collection of operating records. We use the first 16 trajectories, in generation order, from an existing collection of 64 trajectories. Each trajectory spans eight simulated days and contains 384 half-hour transitions. For trajectory , the sampling seed is . We draw a background operating level and fluctuation scale , then generate
Each day contains a randomly positioned excitation window whose length is uniformly selected from 12–20 control intervals (6–10 hours). Within this window, commands are constant over blocks of 1–4 intervals, truncated at the window boundary. With probability 0.6, a block uses a uniformly selected level from . Otherwise, its level is zero with probability 0.25 and log-uniform on with probability 0.75. We also insert the six-command sequence at a random position each day, reversing its order with probability 0.5. These small commands expose compressor switching behavior.
Every simulated trajectory is retained. The sampling procedure receives neither the target temperature nor electricity prices and performs no objective-based rejection.
Window extraction and fitting split. We separate complete trajectories into 13 fitting records and three validation records before extracting windows. The validation record indices are {2, 7, 14}; the remaining indices among {0, ..., 15} are used for fitting. Each two-hour window contains four commands, their eight quarter-hour observations, its initial simulator state and measurements, and the corresponding external inputs. Windows are extracted with a stride of one control interval.
The fitting and validation subsets contain 4,992 and 1,152 original transitions, yielding 4,953 and 1,143 overlapping windows, respectively. Validation selects model settings and is not subsequently included in fitting. All normalization statistics are estimated from fitting records. Overlapping windows require no additional simulator calls and are not treated as independent physical samples. The target temperature, electricity prices, and control-objective values are not used to fit the reference model.
Conditional response model. Let contain the current full state , current measured outputs, time, and known external inputs over the prediction horizon. The response predictor maps a candidate command sequence directly to its measured responses. It predicts the temperature and power outputs rather than recursively predicting the complete internal simulator state.
For each of the eight quarter-hour observation positions, we fit a causal ridge-regression head for the three temperature changes relative to the current measurements. A separate ridge head predicts a power amplitude, which is transformed by softplus and multiplied by a learned compressor switching gate. Features include initial state and measurements, external inputs, time-of-day features, current and preceding commands within the window, squared and logarithmic commands, switching indicators, and command-context interactions. Features for an observation do not include commands applied after that observation.
Ridge penalties are selected from using validation prediction errors. The switching thresholds are estimated from observed command transitions and compressor states. The fitted turn-on and turn-off thresholds are approximately 0.0099361 and 0.0051124. Validation selects sigmoid width from . The gate is initialized using the observed compressor state at the current decision time.
The response heads contain 6,192 fitted coefficients and intercepts. No neural network or physical differential equations are supplied to this model. Validation RMSEs are 0.01649, 0.36324, and 0.46188 °C for room, supply-water, and return-water temperatures, respectively, and 0.09689 kW for electrical power.
Continuous reference law. For a decision with planned commands, define
The sigmoid acts componentwise. For the four-command model, we clip fitting commands to , transform them to logits, and estimate their mean and covariance . We set
For shorter final horizons, and are the leading entries and leading Cholesky block. The predictor retains the corresponding first 2H observation heads. No additional fitting is required.
The control prior is shared across contexts; dependence on the current state and forecasts enters through . Given the context and commands, predicted responses are deterministic. The continuous reference can generate command sequences absent from the collected records.
Finite implementation of the refinement kernel. A window contains commands and four-channel observations, giving joint coordinates. Let standardize these coordinates using fitting statistics and divide the resulting vector by . Command means and scales are position-specific, with scale floor 0.05. Response means are observation-position-specific, while response scales are pooled by channel, with floors (0.1, 0.1, 0.1, 0.05) in the corresponding physical units.
For compactness, define to be the complete planning objective displayed in (21), evaluated on the candidate commands and responses at decision time . Prices, targets, the preceding command, and the prediction horizon are fixed by that decision. For standardized anchor , the latent target of outer update is
Here imposes predicted room-temperature constraints and excludes two uncertain switching intervals from every planned command. These intervals are inferred from fitting records and padded by eight fitted sigmoid widths, giving approximately
The learned-feasibility tolerance is . These restrictions concern the learned model and do not certify physical feasibility.
At each decision, learned-model SLSQP (Sequential Least Squares Programming) is initialized from six ranked candidate sequences and all binary OFF/ON patterns, with at most 180 iterations per start. The OFF level is and the ON level is 0.3984719283, the median observed active fitting command above the excluded switching intervals. The best learned-feasible solution initializes the sampler; up to four distinct solutions supply local Gaussian proposal centers.
We use five outer updates with and geometrically decreasing temperatures from 0.02 to . Each update performs 256 Metropolis transitions. With probability 0.25, the proposal is a symmetric latent random walk with standard deviation . Otherwise, it is drawn from a Gaussian mixture whose covariance matrices are constructed from local target curvature. Acceptance probabilities include the appropriate proposal-density correction. The final chain state determines the next anchor. After the fifth update, the controller executes the first command of the final sampled plan.
The implemented refinement kernel is obtained by mapping the finite-chain output through ; it is distinct from the response predictor and the reference law . No physical queries are used to select or repair candidate plans. Local optimization and finite sampling both contribute to this implementation; exact sampling or global mixing is not assumed.
Physical-query budget and comparators. One oracle call advances the physical simulator by one half-hour control interval. The 16 selected records contain original transitions, including both fitting and validation records. This is the acquisition allowance charged to PRISM-MPC. The records are reused from the historical 64-record collection, which required 24,576 transitions in total. Thus, the matched allowance measures the transitions attributable to the selected data, not the entire experimental-development cost.
Budgeted CEM-MPC receives 6,144 online planning calls. At each ordinary four-command decision, 64 calls support 16 candidate rollouts, evaluated in four generations of four. The final three decisions have horizons 3, 2, and 1 and use 63, 64, and 65 calls, respectively. The allowance is therefore distributed throughout deployment.
CEM uses a temporally correlated Gaussian proposal with initial command standard deviation 0.5 and correlation between command positions. Its elite fraction is 0.2, with at least two elite candidates. The previous plan is shifted to initialize the next decision, and evaluated incumbents are retained across generations. All candidate responses are obtained from the physical FMU.
Reference MPC uses the same physical FMU and prediction horizon without the matched query cap. Its numerical search combines CEM with population 64 for eight generations, binary switching patterns at several amplitudes, and finite-difference SLSQP on four promising patterns. SLSQP uses at most 40 iterations and difference step 0.001. The reported deployment requires 263,843 planning calls. This comparator uses no learned response model and represents a best-found numerical solution, rather than a certified optimum.
The collected-trajectory comparator is the feasible first-48-hour trajectory with the lowest common objective among the same 16 records. Record 006 is selected. Its initial state and external inputs match deployment. The comparator is one complete recorded trajectory, not a combination of windows or a pointwise selection across records.
Initialization, execution, evaluation replays, and development queries are recorded separately from the matched acquisition and planning allowances. Controller settings were selected using physical pilots and then fixed before the reported optimizer seeds were evaluated.
Physical evaluation and reported statistics. We evaluate five runs each of PRISM-MPC and Budgeted CEM-MPC using seeds 8501–8505, with one fitted reference model, initial state, and external-input realization held fixed. Reference MPC is evaluated once using seed 8401. All runs are retained.
Controller commands are executed using 60-second FMU communication steps and independently replayed using 15-second steps. All evaluated controller runs pass room-temperature safety checks at the recorded integration reads, with tolerance °C. The collected comparator passes its existing 60-second checks; it does not receive a separate 15-second replay. These checks do not constitute a continuous-time safety certificate.
Reported costs use the 60-second execution, quarter-hour tracking quadrature, and integrated electrical power. Tracking RMSE is
Means and sample standard deviations are computed across the five optimizer runs, with denominator four for the sample variance. Figure shading denotes pointwise standard deviation of the individually executed trajectories, rather than the response to an averaged command sequence.
Table 3 Executed 48-hour performance. Stochastic controllers report mean sample standard deviation across five runs; the other comparators each represent one trajectory.
| Method | Total objective | Tracking RMSE (°C) |
|---|---|---|
| PRISM-MPC | 26.969 0.054 | 0.07245 0.00043 |
| Budgeted CEM-MPC | 32.128 1.102 | 0.10922 0.00725 |
| Reference MPC | 26.672 | 0.06744 |
| Lowest-cost collected trajectory | 409.903 | 0.89068 |
The collected trajectory’s cumulative cost exceeds the displayed vertical range in Figure 5; the underlying values are retained without modification. The comparison concerns the weighted control objective, not an equivalent percentage reduction in electricity consumption. The repeated runs measure optimizer variation in one operating scenario; they do not establish generalization to different buildings, weather conditions, or fitted datasets.
E.3 Detailed Experimental Setup for Section 5.3
This study extends the Grassmann experiment in Section 5.1 to heterogeneous offline design tasks. It retains the proximal-energy construction (7) and recursive anchoring of Algorithm 1, while estimating objective guidance from recorded labels.
Data and evaluation. The fixed exports contain 32,898 TFBind8 sequences, 10,000 TFBind10 sequences, 17,014 Superconductor descriptor vectors, 10,004 Ant designs, 10,004 DKitty designs, and 441 ChEMBL token sequences. Their raw dimensions are respectively 8, 10, 86, 60, 56, and 31. Both TFBind tasks use four symbols per position. Model and sampling choices use seeds 19–28, and reported scores use seeds 29–33.
Table 4 Allocated optimizer updates per seed. Reward updates apply to each of the three ensemble members. Broad score noise is log-uniform on [0.005, 4], mixture noise combines that law equally with log-uniform noise on [0.01, 0.5]. The selected TFBind10, Ant, and ChEMBL samplers do not use the trained neural score model.
| Task | Score updates | Reward updates/member | Score noise |
|---|---|---|---|
| TFBind8 | 9,227 | 2,632 | Broad |
| TFBind10 | 8,847 | 2,561 | Mixture |
| Superconductor | 6,728 | 2,089 | Broad |
| Ant | 7,482 | 2,273 | Mixture |
| DKitty | 7,626 | 2,306 | Broad |
| ChEMBL | 4,386 | 1,355 | Broad |
on the same datasets. For each method and task, we select the eligible configuration with the highest mean batch maximum across seeds 19 to 28 and fix it before obtaining scores on the next five seeds. Oracle values are used for this selection and final evaluation, but not for model fitting or checkpoint selection. Each method submits 256 designs per task and confirmation seed, including repeated designs. We retain the official Ant oracle's coordinate clipping before simulation.
Offline learning. PRISM uses grouped 80/10/10 training, checkpoint-selection, and diagnostic folds, keeping identical raw designs together. Continuous coordinates are standardized, and categorical sequences use standardized log-odds coordinates for learned models and raw symbols for categorical transitions. Transform and label-normalization statistics are fitted on the training fold. The reward surrogate is the mean of three multilayer perceptrons, with rewards expressed in standardized training-label units. The score model is parameterized through a noise-conditioned denoiser , with
and trained by Gaussian denoising regression [53]. All networks have two hidden layers of width 128 and use AdamW with learning rate , zero weight decay, and batch size 1,024. Checkpoints are selected using offline validation only. Rewards use squared error except on TFBind10, where pairwise ranking plus 0.1 times squared error is fitted uniformly over distinct designs with duplicate-mean labels. Checkpoint selection minimizes top-decile regret.
Kernel approximation. Let denote reward in standardized training-label units, , and . For recipes using Euclidean proximity, the intended model-based target has the form
where is the reference law, using the notation of (74). For reverse proposals, the learned scores approximate Gaussian-noised scores of the empirical training law. For Langevin refinement, the reference is Gaussian-smoothed. The implemented law additionally reflects finite sampling and numerical approximations. Initial anchors follow a random permutation with the highest-label fifth of distinct training designs placed first, using duplicate-mean labels. We take the required batch from this ordering and repeat it only after exhausting the distinct designs. The anchor-only control submits the initial batch without updates. Each selected recipe performs four outer anchor updates, with throughout. References are distinct training designs weighted by their duplicate-row frequencies.
TFBind8 and Superconductor: reverse Euler. The kernel factorization
places the quadratic anchoring in a conditional-reference proposal and the objective tilt in endpoint resampling. Let and be a geometric variance grid. For each anchor, 32 independent particles start at and follow
In continuous time down to zero variance, reversing Brownian noising with the exact reference score samples , the reference law conditioned on a noisy observation equal to the anchor [47]. Learned scores, finite integration, and the positive terminal variance approximate this construction. A terminal denoising step uses , motivated by the Gaussian posterior-mean identity [18]. One endpoint is resampled with weights proportional to . TFBind8 endpoints are decoded before weighting and forming the next anchor. TFBind8 uses (), and Superconductor uses () and clips denoiser predictions to the training coordinate box. The box constraint alone does not ensure physical feasibility.
TFBind10: categorical MH and portfolio selection. For references with masses , the mutation-mixture law is
We use , , and the target . Eight chains per anchor make 64 symmetric single-site substitutions per outer round, with the Metropolis acceptance rule [22]. States are archived every four steps, retaining at most 4,096 distinct designs by surrogate rank. The output reserves 128 distinct training designs with the highest duplicate-mean labels and fills 128 slots from the archive by surrogate rank. Thus the final portfolio is not an unmodified sample from the MH target.
Ant and DKitty: Langevin refinement. For Ant, is a Gaussian KDE over 4,096 randomly selected distinct training references [44]. At each bandwidth, the anchored log-target gradient is
With , eight geometric bandwidths decrease from 0.5 to 0.05, using 16 MALA steps per bandwidth and one chain per anchor. The proposal is , where , followed by the usual proposal-density acceptance correction [43]. For DKitty, the KDE score in (93) is replaced by , with . Each of 32 chains per anchor makes 64 ULA steps of size per round, without acceptance correction. Both implementations select terminal chains uniformly, since objective guidance is already included in their transitions.
ChEMBL: exact empirical reference. This recipe has the form of the index sampler (72), aggregating duplicate observations, and substituting the learned objective for recorded reward. For , the component probabilities are
The implementation uses the full training reference, , and 32 independent component draws per anchor with uniform terminal selection. Every generated molecule belongs to the observed training support.
Connection to the analytical guarantees. For a Euclidean recipe with a reference law , at any fixed anchor and parameter pair, the triangle inequality separates the discrepancies as
with the shared suppressed. Theorem C.1 and Corollary C.2 give sufficient reference-to-kernel accuracy conditions for their specified constructions. The Gaussian KDE is different from the compactly supported smoothing used in that theorem. Theorem 4.4 explains why temperature and conditional error limit descent resolution, while Proposition 4.2 links that error to manifold adherence. We do not estimate a uniform error or establish the required smooth-manifold assumptions on these benchmarks. TFBind10 also changes proximity to Hamming distance and adds portfolio selection. Our fixed positive temperature and four-round runs therefore measure finite-budget design quality, rather than the cooling and stationarity regime of Theorem 4.5.
Baselines and scope. We rerun gradient ascent, CMA-ES [21], GP-qEI [20; 4], REINFORCE [55], CbAS [11], MINs [29], COMs [51], DDOM [28], and DiffOPT [26]. These are pinned reruns with runtime compatibility adaptations. Author-default models for classical methods and DDOM use seeded 90/10 row splits. DiffOPT retains its release's ordered 90/10 split and full-export normalization. Shared models use PRISM's folds and transforms. DDOM uses 1,000 epochs and batch size 128 with baseline optimization and generation hyperparameters retaining their documented native configurations. COMs uses the author README's concrete configuration for all tasks. DDOM follows the author-code weighting and sampling formulas with the stated training budget. DiffOPT follows the released guided reverse sampler. Offline exports, oracle assets, confirmation seed IDs, final query counts, and compatible model options are shared to ensure fairness. The runs use eight RTX 5090 GPUs, PRISM training uses PyTorch 2.11 with CUDA 12.8, while classical baseline ports use TensorFlow.
Shared approximation models. For each task, the baseline menu includes author-default models and all compatible PRISM reward and reference-model options. Gradient ascent, CMA-ES, REINFORCE, CbAS, and MINs can substitute the frozen reward ensemble. GP-qEI uses it for surrogate evaluations within its Bayesian-optimization loop. For methods requiring predictive probabilities, a Gaussian scale combines ensemble variance and offline validation error. COMs can initialize its predictor from the shared ensemble before conservative training. DDOM can initialize its conditional denoiser from the shared unconditional score before conditional training, or use a label-conditioned empirical Gaussian-mixture score, retaining classifier-free guidance. DiffOPT can replace its reward, reference score, or both, using learned or exact empirical Gaussian-mixture scores converted to its variance-preserving noise convention, and reward guidance on clean or denoised inputs. Shared neural models are fitted independently for each confirmation seed.