Manifold Sampling via Entropy Maximization
Cornelius V. Braun, Tilman Burghoff, Marc Toussaint
NeurIPS 2026
TL;DR. Sampling from constrained distributions with disconnected components is hard; we solve it using entropy-maximizing resampling.
Abstract. Sampling from constrained distributions has a wide range of applications, including in Bayesian optimization and robotics. Prior work establishes convergence and feasibility guarantees for constrained sampling, but assumes that the feasible set is connected. However, in practice, the feasible set often decomposes into multiple disconnected components, which makes efficient sampling under constraints challenging. In this paper, we propose MAnifold Sampling via Entropy Maximization (MASEM) for uniform sampling on a manifold with an unknown number of disconnected components, implicitly defined by smooth equality and inequality constraints. The presented method uses a resampling scheme to maximize the entropy of the empirical distribution based on k-nearest neighbor density estimation. We show that, in the mean field, MASEM decreases the KL-divergence between the empirical distribution and the maximum-entropy target exponentially in the number of resampling steps. We instantiate MASEM with multiple local samplers and demonstrate its versatility and efficiency on synthetic and robotics-based benchmarks. MASEM enables fast and scalable mixing across a range of constrained sampling problems, improving over alternatives by an order of magnitude in Sinkhorn distance with competitive runtime.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:48 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes a new method for sampling from uniform distributions supported on manifolds with disconnected components. Reviewers generally praise the method as being novel and interesting, and agree that the experiments successfully demonstrate the proposed method on realistic benchmarks.
Reviewers also note some limitations:
- The paper could possibly be strengthened by adding additional empirical studies and results (e.g., ESS, ablations on , more challenging stress-tests)
- There are a few places the presentation of the paper could be improved (discussion of the uniform assumption in the abstract, discussion of limitations in the main body of the paper)
Overall, reviewers are broadly positive about the paper. The authors are encouraged to engage with the reviewer's feedback to further strengthen the work during the rebuttal period.
Final justification
The initial reviews for this paper were uniformly positive, with the concerns raised being largely cosmetic or things that would only serve to further strengthen the paper. All reviewers agree that the discussion provided by the authors alleviates the concerns they raised in their reviews. Thus the final decision for the paper is accept.
Read meta-review
Meta-review
This paper proposes a new method for sampling from uniform distributions supported on manifolds with disconnected components. Reviewers generally praise the method as being novel and interesting, and agree that the experiments successfully demonstrate the proposed method on realistic benchmarks.
Reviewers also note some limitations:
- The paper could possibly be strengthened by adding additional empirical studies and results (e.g., ESS, ablations on , more challenging stress-tests)
- There are a few places the presentation of the paper could be improved (discussion of the uniform assumption in the abstract, discussion of limitations in the main body of the paper)
Overall, reviewers are broadly positive about the paper. The authors are encouraged to engage with the reviewer's feedback to further strengthen the work during the rebuttal period.
Final justification
The initial reviews for this paper were uniformly positive, with the concerns raised being largely cosmetic or things that would only serve to further strengthen the paper. All reviewers agree that the discussion provided by the authors alleviates the concerns they raised in their reviews. Thus the final decision for the paper is accept.
1 comment
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 4/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The authors propose a resampling-based approach for uniform sampling from a disconnected feasible set given by (in-)equality constraints.
Constrained uniform sampling is useful for example for sampling feasible trajectories for behavioral cloning in robotics.
The proposed approach is motivated by the fact that the dominant sampling method (MCMC) usually uses local kernels, which impedes proper mixing between disconnected components.
This problem is addressed in a principled way: The sample particle density is estimated using a local k-nearest neighbor distance that is then used for importance resampling to achieve a more uniform distribution among particles. This approach minimizes the overall entropy of the sampling distribution, approaching the desired uniform distribution on the feasible set in the limit of many particles.
Experiments clearly demonstrate favorable properties on sampling problems with disconnected feasible sets compared to other sampling methods, mostly better coverage of the feasible set through higher entropy.
Strengths and weaknesses
The paper is sound and presented very clearly. In particular, I much appreciated the thoughtful illustrations.
Strengths:
- The method is principled: It guarantees converge to the optimal sampling distribution under straight-forward assumptions.
- The method is practical: It is proved that in the mean field, the maximum entropy target distribution is exponentially approached. This results in few resampling steps being sufficient in practice for good mixing. The method is very straight-forward to implement.
- Experimental results show a large improvement in sampling quality over previous methods.
- The method can be composed with many existing MCMC samplers, making it potentially useful to improve many samplers.
A weakness of the paper is that the approach is limited to (constrained) uniform distributions. I believe this reduces the usefulness of the approach to a relatively narrow set of applications. However, this is clearly stated as a limitation and potential future work in the paper, and I believe even this narrower scope is sufficiently significant with the given applications, although I am not certain about this.
Questions
I am mainly curious about why is this paper is not generalized to arbitrary distributions. I might easily be mistaken, but it appears to me that implementing this might even be straight-forward, since importance resampling can be generalized to any distribution, while the density estimate can be kept as-is. It seems to me that the same convergence guarantees should hold in the limit of many particles, although I acknowledge that such guarantees might be harder to derive.
I believe that such a generalization would make the paper's significance very strong, with much broader range of applications.
Limitations
yes
Final justification
I appreciate the authors' thorough response. I fully agree with the views expressed in their response, in particular that my characterization of the uniformity assumption as 'narrow' is unjustified, and that instead, it still captures a broad, canonical class of highly relevant problems.
I believe that the potential for generalization to arbitrary distributions further strengthens significance of this line of work.
Based on these two points, I kept my overall rating at 'accept', but raised significance to 'excellent'.
Formatting concerns
none
1 comment
Rebuttal
Dear reviewer,
Thank you for the thoughtful review and for raising the important question regarding the uniformity assumption of the target distribution. We agree that our method can be extended to non-uniform target distributions. As you suggested, one could replace our inverse entropy resampling weights by a tempered version, for example , which recovers our current method for uniform . Alternatively, one could use rejection sampling on the uniform distribution generated by our method. However, a complete treatment of this case would require further implementation and in particular separate evaluation effort, including a new set of benchmarks. Given the time constraints of this rebuttal, we view this as a promising but substantive extension that is beyond the scope of the present paper.
In addition, we believe that uniform sampling over a feasible set is not merely a contrived or unusually narrow target. Rather it is the canonical maximum-entropy formulation of the recurring problem: Generate many diverse solutions, all of which satisfy certain requirements.
One application discussed throughout the paper is robotics and RL, where constraints define states, poses or entire trajectories thereof. In particular, diverse feasible reset states have recently been used to improve exploration in RL on hard exploration problems that could not be solved previously [1, 2, 3]. However, the aforementioned work mostly uses heuristic methods to generate reset states and not calibrated samplers. Our method addresses the corresponding sampling objective directly, as we demonstrate in our experiments which is why we are positive about the potential impact of our work.
A closely related application arises in constraint active search (CAS) and computational design [4, 5, 6]. In this line of work, minimum acceptable performance thresholds define a satisfactory region, and the objective is to discover diverse acceptable designs under a limited evaluation budget. CAS focuses on learning this region when evaluations are expensive or uncertain, whereas our work addresses the complementary problem of sampling broadly from an evaluable feasible region. Such coverage is particularly useful when only a limited number of candidates can subsequently be tested, and the final choice depends on practical considerations that were not fully represented in the computational objective [7].
We therefore agree that non-uniform targets would broaden the framework further, but we believe that uniform feasible sampling is already a significant and practically recurring problem in its own right.
Sources:
[1] Yin et al. "Emergent dexterity via diverse resets and large-scale reinforcement learning." The Fourteenth International Conference on Learning Representations. 2026.
[2] Toussaint et al. "Combined Constrained Sampling and Reinforcement Learning for Robotic Manipulation." arXiv preprint arXiv:2602.08557 (2026).
[3] Prithwishet al. "X-Reset: Scaling Object-Centric Reinforcement Learning via Cross-Embodiment Resets." 4th RSS Workshop on Dexterous Manipulation: Scalable Learning for Human-Level Skills. 2026.
[4] Malkomes et al. "Beyond the pareto efficient frontier: Constraint active search for multiobjective experimental design." International Conference on Machine Learning. PMLR, 2021.
[5] Del Rosario et al. "Assessing the frontier: Active learning, model accuracy, and multi-objective candidate discovery and optimization." The Journal of Chemical Physics 153.2 (2020).
[6] Wang et al. "A two-phase differential evolution for uniform designs in constrained experimental domains." IEEE Transactions on Evolutionary Computation 21.5 (2017): 665-680.
[7] Wu et al. "Space-filling experimental designs for constrained design spaces." Engineering Optimization (2019).
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces MASEM, a modular resampling mechanism. It augments existing constrained MCMC samplers to get uniform sampling over feasible sets combined of multiple disconnected components that are defined implicitly by smooth equality/inequality constraints under LICQ. The estimate the local density via k-NN radii and resample with weights proportional to the k-th neighbor radius raised to the power tau, moving mass from over- to under-represented components. MASEM is instantiated on NHR and OLLA. It is evaluated on five synthetic benchmarks, a dimensional stress test 256D, and two robotics tasks (motion planning, grasping).
Strengths and weaknesses
Strengths
- The failure of local kernels to allocate mass across disconnected components is well-identified, well-illustrated (Figures 1, 6), and practically relevant for robotics.
- The mean-field analysis is elegant: the closed-form exponential-tilt derivation, the Popoviciu/CGF variance bound, and the resulting geometric KL contraction are correct as far as I checked, and the assumptions (LICQ, mixing rejuvenation) are stated explicitly.
- Method is genuinely sampler-agnostic and lightweight; demonstrating it on both NHR and OLLA strengthens the generality claim.
- Appendix E candidly discusses limitations.
Weaknesses
- Assumption 2. The convergence guarantee assumes the rejuvenation kernel perfectly mixes and stays within each component. In practice components can be close and kernels are only approximately feasible, requiring the slack-penalized weight hack (Appendix D.5) that is outside the theory.
- Temperature depends on an unknown intrinsic dimension. Correctness of the rate needs tau<p, but p is generally unknown; the practical fix is grid search / BO over 20 runs (Table 5), which somewhat weakens the "lightweight, few-knobs".
- The scaling is shown on benign geometry. The stress test uses disjoint spheres embedded via random linear projections. This fixed, well-separated structure may not reflect the curved, irregular feasible sets where k-NN density estimation degrades. The number of components is essentially fixed at 5 in the scaling plots; there is no study of scaling in the number of components.
Questions
- Would you state the uniform-density limitation in the abstract?
- Can you provide an empirical curve for finite-N on the deviation from the mean-field rate when Assumption 2 is relaxed to approximate mixing, and quantify the effect of the slack-penalty weight (mu = 1000) on the guarantee?
- On high-curvature manifolds, how sensitive is the k-NN estimator (and thus the weights) to curvature / condition number? Can you isolate this effect?
- The new KL-on-pairwise-distances metric is central; is it invariant to rotation/relabeling, and how does it behave when component count is mis-estimated?
Typos:
- Page 6, Theorem 1 proof sketch: "We define the relative estimation error ... as well as and z_c := log y_0,c" : redundant "as well as and."
- Page 7, Table 1 caption: "MASEM-Sampler outperform their counterpart by an order of magnitude" : number agreement; should be "MASEM-Samplers outperform their counterparts."
- Page 20 and Appendix C.2: "Welsh t-test" (twice) : should be "Welch's t-test."
- Page 25, grasping section: "ensure the point of attack lies on the capsules surface" and "the normal of the capsules at the point of attack" : should be "capsule's."
- Page 26: "the sum of torques at it's center" : should be "its center."
- Page 26: "force and torgue constraints" : "torque."
- Page 1, intro: "and as a result they struggle with infeasibility barriers. As a result, even if such kernels mix well..." : "As a result" repeated in consecutive sentences.
Limitations
yes
Final justification
After considering the rebuttal and discussion, I retain my Accept rating. The authors directly addressed my main concerns with fixed-hyperparameter results, finite-particle experiments under approximate mixing, a high-curvature stress test, and clarification of the pairwise-distance metric. They also committed to stating the uniform-target scope in the abstract and incorporating practical parameter defaults and limitations. The new results clarify the residual finite-sample error and degradation with curvature, but MASEM remains consistently beneficial. I consider the contribution novel, technically sound, and practically relevant; the remaining limitations do not undermine its central claims.
Formatting concerns
none
2 comments
Rebuttal
Dear reviewer,
Thank you for taking the time to review our work in depth and for the many helpful comments and suggestions. We hope the following replies address the questions and concerns raised.
Temperature depends on an unknown intrinsic dimension. Correctness of the rate needs , but p is generally unknown; the practical fix is grid search / BO over 20 runs (Table 5), which somewhat weakens the "lightweight, few-knobs".
As we acknowledge in our limitations, the intrinsic dimension p is generally unknown a priori. We tuned all our methods with BO mainly for fairness against all baselines. During tuning, we choose tau <= 1.0, which makes it independent of the intrinsic dimension. Generally, we find our method to be relatively robust to the exact numerical values of the chosen hyperparameters, as we show in Fig 2.
Further, to demonstrate the robustness of our method and to strengthen our ease-of-use claim we select the fixed hyperparameters and report final scores across all tasks:
| Problem | MASEM-NHR | MASEM-OLLA | ||
|---|---|---|---|---|
| fixed | tuned | fixed | tuned | |
| Connected Disks | 0.00±0.00 | 0.00±0.00 | 0.01±0.00 | 0.00±0.00 |
| Disconnected Disks | 0.01±0.01 | 0.01±0.01 | 0.03±0.01 | 0.02±0.00 |
| Seven Lobes | 0.03±0.01 | 0.05±0.02 | 0.04±0.01 | 0.05±0.02 |
| Sine | 0.50±0.07 | 0.13±0.06 | 0.13±0.06 | 0.13±0.07 |
| Swiss Roll | 0.25±0.12 | 0.08± 0.02 | 0.23±0.08 | 0.29±0.09 |
| Stress Test (m=5, d=256) | 25.21±1.38 | 21.86±23.40 | 28.10±2.60 | 30.50±31.52 |
| Stress Test (m=d-3, d=256) | 0.86±0.08 | 0.14±0.18 | 0.10±0.02 | 0.09±0.10 |
We observe that for each target, the results remain in the same order of magnitude as the tuned methods, illustrating robustness to hyperparameter choice. We believe these parameters provide a good out-of-the-box performance and are useful as a starting point for practitioners, as we chose those without tuning for the benchmarks. We will incorporate these practical guidelines into the revised manuscript.
Would you state the uniform-density limitation in the abstract?
We thank the reviewer for the helpful suggestion and will accordingly revise our abstract to narrow the focus of the work to sampling from uniform targets.
Provide an empirical curve for finite-N on the deviation from the mean-field rate when Assumption 2 is relaxed to approximate mixing, and quantify the effect of the slack-penalty weight (mu = 1000) on the guarantee.
We agree that this is an interesting question. We added curves comparing the mean-field upper bound with the empirical finite KL to the ground-truth component weights on the five-component disk stress test in , for both NHR and OLLA and .
16d:
| Method | t=500 | t=1000 | t=1500 | t=2000 | t=2500 | t=3000 | t=3500 | t=4000 | t=4500 | t=5000 |
|---|---|---|---|---|---|---|---|---|---|---|
| Mean Field: | 10±0.13 | 0.65±8.5e-03 | 0.041±5.3e-04 | 2.6e-03±3.4e-05 | 1.6e-04±2.1e-06 | 1.0e-05±1.3e-07 | 6.4e-07±8.4e-09 | 4.0e-08±5.3e-10 | 2.5e-09±3.3e-11 | 1.6e-10±2.1e-12 |
| MASEM-NHR$\mu=0.0$ | 2.2±0.036 | 0.23±0.019 | 0.084±8.2e-03 | 0.058±8.2e-03 | 0.048±6.3e-03 | 0.049±5.6e-03 | 0.046±7.2e-03 | 0.046±4.2e-03 | 0.047±4.3e-03 | 0.055±5.1e-03 |
| MASEM-NHR$\mu=1000.0$ | 2.2±0.036 | 0.22±0.026 | 0.084±9.5e-03 | 0.057±7.9e-03 | 0.051±6.3e-03 | 0.042±7.3e-03 | 0.049±3.8e-03 | 0.049±8.5e-03 | 0.047±5.2e-03 | 0.047±2.0e-03 |
| MASEM-OLLA$\mu=0.0$ | 2.1±0.039 | 0.076±2.8e-03 | 0.072±4.5e-03 | 0.074±3.1e-03 | 0.073±1.5e-03 | 0.073±4.1e-03 | 0.070±3.0e-03 | 0.074±3.6e-03 | 0.072±3.4e-03 | 0.073±3.9e-03 |
| MASEM-OLLA$\mu=1000.0$ | 2.1±0.039 | 0.073±4.2e-03 | 0.071±5.2e-03 | 0.071±2.6e-03 | 0.074±4.8e-03 | 0.071±3.8e-03 | 0.072±2.5e-03 | 0.071±2.4e-03 | 0.071±2.5e-03 | 0.070±1.2e-03 |
64d:
| Method | t=500 | t=1000 | t=1500 | t=2000 | t=2500 | t=3000 | t=3500 | t=4000 | t=4500 | t=5000 |
|---|---|---|---|---|---|---|---|---|---|---|
| Mean Field: | 547±1.4 | 329±0.87 | 197±0.52 | 119±0.31 | 71±0.19 | 43±0.11 | 26±0.068 | 15±0.041 | 9.3±0.024 | 5.6±0.015 |
| MASEM-NHR$\mu=0.0$ | 46±3.3 | 6.9±2.5 | 2.7±0.80 | 2.4±0.68 | 1.8±0.30 | 1.7±0.49 | 1.6±0.31 | 1.7±0.41 | 1.5±0.18 | 1.4±0.28 |
| MASEM-NHR$\mu=1000.0$ | 46±3.3 | 7.0±2.2 | 2.7±0.72 | 1.9±0.40 | 1.6±0.33 | 1.5±0.26 | 1.5±0.25 | 1.6±0.23 | 1.5±0.21 | 1.4±0.14 |
| MASEM-OLLA$\mu=0.0$ | 48±4.4 | 3.9±0.93 | 3.1±0.58 | 2.9±0.59 | 2.8±0.62 | 2.8±0.66 | 2.8±0.61 | 2.9±0.61 | 2.9±0.62 | 2.9±0.58 |
| MASEM-OLLA$\mu=1000.0$ | 48±4.4 | 3.6±1.0 | 2.8±0.59 | 2.7±0.54 | 2.7±0.50 | 2.8±0.56 | 2.7±0.54 | 2.8±0.52 | 2.7±0.52 | 2.7±0.55 |
256d:
| Method | t=500 | t=1000 | t=1500 | t=2000 | t=2500 | t=3000 | t=3500 | t=4000 | t=4500 | t=5000 |
|---|---|---|---|---|---|---|---|---|---|---|
| Mean Field: | 1.1e+04±5.0 | 9.5e+03±4.4 | 8.4e+03±3.9 | 7.5e+03±3.5 | 6.6e+03±3.1 | 5.9e+03±2.8 | 5.2e+03±2.4 | 4.6e+03±2.2 | 4.1e+03±1.9 | 3.6e+03±1.7 |
| MASEM-NHR$\mu=0.0$ | 53±0.50 | 8.7±0.85 | 3.1±0.40 | 2.6±0.62 | 2.9±0.42 | 2.6±0.60 | 3.0±0.33 | 2.6±0.54 | 2.5±0.43 | 2.7±0.64 |
| MASEM-NHR$\mu=1000.0$ | 53±0.50 | 7.4±0.47 | 3.3±0.52 | 2.4±0.23 | 2.6±0.59 | 2.1±0.27 | 2.5±0.41 | 2.2±0.25 | 2.4±0.48 | 2.1±0.13 |
| MASEM-OLLA$\mu=0.0$ | 53±0.50 | 21±1.4 | 10±0.54 | 7.1±0.29 | 6.2±0.33 | 5.9±0.22 | 5.6±0.25 | 5.4±0.23 | 5.9±0.28 | 5.8±0.24 |
| MASEM-OLLA$\mu=1000.0$ | 53±0.50 | 9.8±0.69 | 4.1±0.27 | 3.6±0.079 | 3.3±0.078 | 3.2±0.14 | 3.1±0.18 | 2.9±0.065 | 3.0±0.036 | 3.0±0.10 |
We observe across all settings that MASEM rapidly reduces the initial component-weight error geometrically. In and , the empirical KL remains below the mean-field upper bound throughout the evaluated horizon. In , the empirical curve eventually crosses the idealized bound after approximately iterations and stabilizes around for MASEM-NHR and for OLLA. These results show that the mean-field contraction accurately describes the initial correction, after which finite-particle and approximate-mixing effects determine the residual accuracy. Importantly, the curves remain stable and most of the initial component imbalance has already been removed before this regime is reached. In addition, we see that the feasibility correction has little effect in lower dimensions. In the more challenging setting, it substantially improves the final KL for both MASEM variants, which supports its role as a practical robustness mechanism when approximate feasibility becomes more consequential. We also observe that the NHR base sampler does not move samples into infeasible regions by design. Therefore, MASEM-NHR does not benefit from the infeasibility-reweighting as much as MASEM-OLLA.
On high-curvature manifolds, how sensitive is the k-NN estimator (and thus the weights) to curvature / condition number? Can you isolate this effect?
To test the performance on high-curvature manifolds, we devise a new benchmark. Similar to the previous stresstest, we embed multiple low-dimensional manifolds into a d-dimensional ambient space. We use . First, we sample disks with radius . Then, for each disk, we sample polynomials for with coefficients uniform in and embed the disk as the graph of given by , which means the manifold consists of the points .
Last, we rotate the distorted disk randomly. We use the Frobenius norm of the Hessian as a measure of local curvature and calculate the mean and max curvature of the disk as MC estimate.
We compare NHR and MASEM-NHR on this problem and report the final .
| Degree | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| Avg. curvature | 1.42 | 3.48 | 5.73 | 5.86 | 5.95 | 8.00 |
| Max. curvature | 1.42 | 4.14 | 8.08 | 10.01 | 11.77 | 19.12 |
| NHR | 2.57±0.24 | 1.54±0.24 | 3.81±0.40 | 4.14±1.05 | 3.77±0.42 | 3.98±0.39 |
| MASEM-NHR | 0.08±0.03 | 0.25±0.02 | 0.24±0.07 | 2.01±0.05 | 2.00±0.07 | 1.67±0.05 |
We observe that while performance deteriorates with higher curvature, MASEM-NHR still outperforms NHR, suggesting that the resampling step is still beneficial at higher curvatures.
The new KL-on-pairwise-distances metric is central; is it invariant to rotation/relabeling, and how does it behave when component count is mis-estimated?
The pairwise distance KL does not use component identities and is therefore invariant to relabelling / rotation across components, since it only compares pairwise distances across the full sample set: for orthogonal it holds that , so the metric is in fact invariant to translations, rotations, and reflections. The metric also does not require an estimated component count, so it cannot misestimate this quantity itself. For samplers that miss some components, the distance distribution changes, which will therefore generally increase the KL wrt to the ground truth. We will add the invariance properties of the metric to our discussion in Appendix C2 to further improve the paper.
We thank you again for improving the overall paper with your suggestions and typo corrections!
Thank you for the thorough response. The finite-particle experiments, high-curvature stress test, fixed-hyperparameter evaluation, clarification of the pairwise-distance metric, and commitment to state the uniform-target scope in the abstract address my questions. The observed residual finite-sample error and deterioration with curvature also provide a much clearer account of the method’s practical limits. I am satisfied with the response and retain my accept rating.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
Traditional constrained samplers rely on local MCMC kernels making them inadept for sampling from sets with disconnected components. The authors in this work introduce MASEM a modular resampling scheme that estimates local sample density via k-nearest neighbors and redistributes particles to maximize entropy based on k-nearest density estimation . Theoretically( under assumptions) they show that in the mean field, the KL-divergence to the uniform target contracts at a geometric rate of per step. Empirically MASEM shows improvement in Sinkhorn distance on synthetic benchmarks and higher sample entropy in real-life robotics tasks like motion planning and grasp sampling.
Strengths and weaknesses
Strengths:
The authors have identified a timely problem in constrained sampling in landscapes with infeasibility barriers. Section 3 is very well written as a top-down read. Equation 3's intuition is sound to me; low density regions have naturally larger k-NN radii and hence receive larger resampling weights. The idea to use local density to counter multimodal constrained sampling is genuinely interesting and novel. Section 5 is also clean and neatly presented. I especially like the proof sketches: short and easy to follow proof structure. In Section 6, Grasp Sampling and Motion Planning are impressive real-world settings. Figure 4 also provides compelling evidence and is well presented/visualized.
Weaknesses:
-
Please push Limitations( from Appendix E) to main body.
-
I feel a major weakness in the paper is contextualization. For me, Section 2 on Related Works is very short. While different in verbatim terminologies, the papers idea is akin to local gradient based sampling in multimodal energy landscapes with disconnected modes. Mentioning recent works like DiGS[1] and its improved discrete counterpart HiSS[2] helps with laying the background and gives authors the opportunity to explain how MASEM’s k-NN resampling differs from the diffusion-based jumping strategies between isolated modes used in the aforemnetioned works. Techniques like Parallel Tempering and Simulated Annealing are the "gold standard" for crossing barriers and in my opinion warrant some discussion.
[1] Diffusive Gibbs Sampling. Wenlin Chen et. al. ICML 2024
[2] Pinaki Mohanty and Ruqi Zhang. Slithering Through Gaps: Capturing Discrete Isolated Modes via Logistic Bridging. AISTATS, 2026
Questions
-
Maybe include mixing diagnostics like ESS. If a sampler is genuinely trapped in a set, ESS will be poor and vice-a-versa. Like maybe NHR vs MASEM-NHR or OLLA vs MASEM-OLLA.
-
In Table 5, k varies quite a bit between tasks. I appreciate and acknowledge the discussion around , but the paper will benefit from a concrete ablation on performance based on changing k( k=1,....N). Specifically I would like to see at what value the sampler fails to see the islands.
Limitations
Yes, but in Appendix.
Final justification
I increased by score from 4 (Borderline Accept) to 5 (Accept) . The authors have thoroughly addressed my questions during the rebuttal period. Specifically, they provided helpful Effective Sample Size (ESS) convergence diagnostics and a clear -NN ablation study. Furthermore, they committed to moving the limitations section into the main body and incorporating recommended parameter defaults. My primary remaining recommendation is to ensure that the expanded related work section—specifically contextualizing MASEM against multimodal sampling approaches like DiGS and HiSS—is fully integrated into the final revision, as the original related work section was quite brief.
Overall, I stay positive with the assessment.
Formatting concerns
None.
3 comments
Rebuttal
Dear reviewer,
we thank you for your extensive review. We are happy that you value both our contributions and presentation. We respond to your comments and questions in more detail below:
Move limitations to main body.
We agree with you that the discussion of the limitations of our work is an important aspect of the paper and will therefore add it into the last section of the main paper when we can update our manuscript.
Contextualization
We thank the reviewer for pointing out this aspect and agree that we can improve the discussion of related work in our paper. In particular, we find that the comparison of MASEM with multimodal sampling methods adds valuable perspective to our work and its positioning relative to other work. To incorporate this aspect more, we have drafted a revision of Section 2 in our paper:
Constrained Sampling. Sampling under constraints is typically approached by adapting classical MCMC methods to ensure feasibility, for example by projection, reflection, or annealing techniques. Soft-constraint and annealing approaches such as sequentially constrained Monte Carlo (SCMC) [1] improve global exploration by relaxing the constraints but may produce infeasible samples and can still collapse to local constraint minima as the penalty is tightened. In contrast, our method enables mixing across infeasibility barriers and exact constraint feasibility at convergence. For manifold-constrained targets, constrained MCMC [2, 3, 4, 5, 6], barrier-based [7] and projected Hamiltonian methods [8], landing-based approaches [9, 10], constrained SVGD [10, 11] and non-linear Hit-and-Run (NHR) [12] operate directly on or near the feasible set and can maintain exact or approximate feasibility. Despite their differences, these methods share the common structural limitation that they rely on local transition kernels and therefore cannot reliably allocate probability mass across disconnected components. Our approach is complementary to this line of work: rather than introducing a new local kernel, it adds a resampling mechanism that can be combined with existing constrained samplers.
Multimodal Sampling. Multimodal (unconstrained) targets where energy barriers separate distant distributional modes is a long-standing challenge in sampling. Despite the absence of constraints, this problem shares structural similarities with constraint sampling, as the main challenge lies in moving samples globally. A popular approach to bridging modes in multimodal distributions is \textit{target relaxation} such that the separating regions acquire non-negligible probability mass. Notably, parallel tempering samples multiple relaxed targets at different temperatures and swap states across these copies [13], while sequential Monte Carlo moves samples between relaxed targets sequentially to ensure sample movements between modes [14, 15]. Further, diffusion-based jump strategies have recently shown high efficacy at facilitating sample mixing on challenging problems. Specifically, Diffusive Gibbs Sampling (DiGS) convolves the target with a Gaussian kernel and alternates sample noising and denoising in a Metropolis-within-Gibbs scheme [16], which is extended to discrete targets in HiSS via a logistic bridging kernel [17]. While relaxation is highly effective for global moves, it is fundamentally more difficult when the support region is defined by constraints [1]. For one, local constraint optima and constraint function scaling may bias generated samples. Secondly, relaxing constraints still requires the chain to cross the infeasible space between components, which fails if components are far apart. Last, for equality constraints, smoothing replaces the measure zero manifold with a full-dimensional distribution concentrated in a neighborhood around it, which leads to infeasible samples. Correcting this infeasibility risks introducing additional bias in the samples. Our method addresses this tension by enabling moves across infeasible barriers and arbitrary distances via entropy-based resampling while retaining exact constraint feasibility at convergence.
For space reasons, we have only put citations in parentheses for the response. Please let us know if you think it is more suitable now. We will provide sources in a comment below.
Convergence diagnostics
Thank you for this hint and suggestion. We agree that convergence diagnostics are crucial to understand the empirical performance of MASEM. The submitted paper focuses on the pairwise distance KL as main metric to report sample uniformity. If all samples are trapped inside a single component, this metric will indicate this by being higher than the KL of well distributed sample sets wrt to the ground truth, because the pairwise distances between the samples will be spread more evenly in the latter case (we discuss the metric in Appendix C2). Further, we report the TV distance of component weights to the ground truth for the scaling analysis, which similarly is high if components are over- or undersampled. To provide further empirical convergence results, we conducted new experiments to also report the ESS sampling diagnostic. We compute the ESS as the fraction of feasible samples multiplied by the ESS over the feasible set: . The multiplication by the ratio of feasible samples corrects the ESS for bias from samples that are not on the constraint manifold. We follow the same setup and hyperparameters as reported in Section 6 and report the final ESS after 5000 iterations:
| Problem | NHR | MASEM-NHR (Ours) | OLLA | MASEM-OLLA (Ours) |
|---|---|---|---|---|
| Connected Disks | 0.96±0.01 | 0.98±0.00 | 0.96±0.00 | 0.97±0.00 |
| Disconnected Disks | 0.82±0.01 | 0.98±0.00 | 0.81±0.01 | 0.97±0.01 |
| Seven Lobes | 0.34±0.08 | 0.80±0.16 | 0.65±0.01 | 0.96±0.00 |
| Sine | 0.27±0.01 | 0.96±0.00 | 0.20±0.01 | 0.97±0.00 |
| Swiss Roll | 0.66±0.02 | 0.97±0.00 | 0.47±0.02 | 0.96±0.01 |
The table shows the expected effect, which you mentioned in your review: comparing the connected and disconnected disk results, we see that the ESS for NHR and OLLA are significantly lower on the disconnected disk task because the samplers fail to properly mix across components, while the ESS for the MASEM variants is close to 1.
Ablation on performance based on changing k
This is a great suggestion! We have added a new ablation study that varies k for the MASEM-NHR variant under the same setting as Section 6 of the paper and report final .
| k | 1 | 2 | 5 | 10 | 20 | 50 | 100 | 200 | 500 | 1000 |
|---|---|---|---|---|---|---|---|---|---|---|
| Connected Disks | 0.00±0.00 | 0.00±0.00 | 0.00±0.00 | 0.00±0.00 | 0.00±0.00 | 0.00±0.00 | 0.00±0.00 | 0.00±0.00 | 0.01±0.00 | 0.03±0.00 |
| Disconnected Disks | 0.01±0.01 | 0.01±0.01 | 0.00±0.00 | 0.01±0.01 | 0.01±0.01 | 0.02±0.01 | 0.03±0.01 | 0.07±0.01 | 0.33±0.02 | 0.71±0.05 |
| Seven Lobes | 0.14±0.08 | 0.20±0.26 | 0.21±0.13 | 0.03±0.02 | 0.05±0.02 | 0.04±0.01 | 0.04±0.01 | 0.07±0.01 | 0.12±0.01 | 0.23±0.01 |
| Sine | 1.37±0.63 | 0.98±0.54 | 0.48±0.13 | 0.19±0.05 | 0.16±0.08 | 0.46±0.71 | 2.13±1.53 | 10.79±0.78 | 34.69±1.32 | 64.31±1.06 |
| Swiss Roll | 3.86±1.76 | 2.63±0.56 | 0.38±0.24 | 0.07±0.03 | 0.14±0.07 | 0.06±0.07 | 0.06±0.03 | 0.41±0.05 | 2.57±0.07 | 6.51±0.11 |
We can see choosing k between 10 and 20 yields reliable performance for all synthetic benchmarks. Choosing deteriorates performance, especially for the sine target, which has more disconnected components than the other problems. We believe this is because for k large enough, the neighborhood is no longer contained in the same component, as you speculated yourself.
In a further ablation, we find that the sensitivity to k is damped by the averaging over the distances of all k-nearest neighbors (see Section D5), as we observe the same effect more pronounced when disabling averaging:
| k | 1 | 2 | 5 | 10 | 20 | 50 | 100 | 200 | 500 | 1000 |
|---|---|---|---|---|---|---|---|---|---|---|
| Connected Disks | 0.00±0.00 | 0.00±0.00 | 0.00±0.00 | 0.00±0.00 | 0.00±0.00 | 0.00±0.00 | 0.01±0.00 | 0.01±0.00 | 0.06±0.01 | 0.25±0.04 |
| Disconnected Disks | 0.01±0.01 | 0.01±0.01 | 0.01±0.00 | 0.00±0.00 | 0.01±0.01 | 0.04±0.01 | 0.06±0.02 | 0.11±0.03 | 1.18±0.03 | 2.38±0.27 |
| Seven Lobes | 0.26±0.20 | 0.14±0.03 | 0.05±0.03 | 0.05±0.03 | 0.04±0.02 | 0.06±0.04 | 0.19±0.16 | 0.34±0.17 | 1.56±0.16 | 4.51±1.73 |
| Sine | 1.10±0.52 | 0.33±0.35 | 0.08±0.02 | 0.13±0.08 | 0.42±0.14 | 6.95±9.26 | 10.94±3.88 | 27.87±29.87 | 100.49±37.35 | 108.36±85.22 |
| Swiss Roll | 2.82±0.88 | 0.25±0.44 | 0.34±0.15 | 0.26±0.11 | 0.26±0.11 | 0.77±0.23 | 0.59±0.21 | 1.78±1.74 | 6.01±5.91 | 33.40±1.36 |
To further alleviate concerns over varying hyperparameters, we report final for fixed hyperparameters across all tasks in the response to reviewer ZMe3. We observe that for each target, the results are in a similar order of magnitude to the numbers in the paper, illustrating robustness to hyperparameter choice. We will incorporate these practical guidelines into the revised manuscript.
We thank you again for improving the overall paper with your suggestions! If we addressed all your concerns, we would be happy if you considered potentially updating your score.
Sources
Sources:
[1] Shirin Golchi and David A Campbell. Sequentially Constrained Monte Carlo. Computational
Statistics & Data Analysis. 2016.
[2] Zappa et al. Monte Carlo on Manifolds: Sampling Densities and Integrating Functions. Communications on Pure and Applied Mathematics, 2018.
[3] Lelievre et al. Langevin dynamics with constraints and computation of free energy differences. Mathematics of computation, 2012.
[4] Brubaker et al. A Family of MCMC Methods on Implicitly Defined Manifolds. In Artificial Intelligence and Statistics, 2012.
[5] Byrne and Girolami. Geodesic Monte Carlo on Embedded Manifolds. Scandinavian Journal of Statistics, 2013.
[6] Bubeck et al. Sampling from a Log-Concave Distribution with Projected Langevin Monte Carlo. Discrete & Computational Geometry, 2018.
[7] Kook et al. Sampling with Riemannian Hamiltonian Monte Carlo in a Constrained Space. Advances in neural information processing systems, 2022.
[8] Lelievre et al. Hybrid Monte Carlo methods for sampling probability measures on submanifolds. Numerische Mathematik, 2019.
[9] Jeon et al. Fast Non-Log-Concave Sampling under Nonconvex Equality and Inequality Constraints with Landing. In The Thirty-Ninth Annual Conference on Neural Information Processing Systems, 2025.
[10] Zhang et al. Sampling in Constrained Domains with Orthogonal-Space Variational Gradient Descent. Advances in Neural Information Processing Systems, 2022.
[11] Power & Berenson. Constrained Stein Variational Trajectory Optimization. IEEE Transactions on Robotics, 2024.
[12] Toussaint et al. NLP Sampling: Combining MCMC and NLP Methods for Diverse Constrained Sampling. arXiv preprint, 2024.
[13] Swendsen and Wang. "Replica Monte Carlo simulation of spin-glasses." Physical review letters. 1986.
[14] Del Moral & Doucet. "Sequential monte carlo samplers." arXiv preprint (2002).
[15] Neal. "Annealed importance sampling." Statistics and computing (2001).
[16] Chen et al. "Diffusive Gibbs Sampling." International Conference on Machine Learning. PMLR, 2024.
[17] Mohanty & Zhang. "Slithering through Gaps: Capturing Discrete Isolated Modes via Logistic Bridging." The 29th International Conference on Artificial Intelligence and Statistics, 2026.
Dear Authors,
Thank You so much for responding to my questions. The ESS table looks great. I am also happy to see the expanded related works section.
I stay positive regarding assessment.
Good Luck!
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Summary of Rebuttals
Dear AC,
We thank for your initial meta-review. In response to the feedback, we performed additional experiments and polished parts of our paper. We provide ablations on k and on μ. Further, we report the effective sample size and implement a new benchmark showing scaling on manifolds with high curvature as a more difficult stress test. We provide the requested experiments in the individual responses. We provide our revised related work, and will follow the reviewers suggestions for improving the abstract and discussion of limitations.
In addition, the comments of reviewer 4pTV and ZMe3 inspired us to create a recommendation for defaults for the parameters of MASEM. We evaluate MASEM with these defaults and show that it achieves competitive performance compared to using tuned parameters. We believe this significantly strengthens our contribution, as it provides practitioners with a useful starting point for using our method without tuning. We will revise our paper to incorporate these values.