acceptodds
Published as a conference paper at NeurIPS 2026

Unbiased First-Order Randomized Smoothing for Differentiable Simulation

Mathis SCHEFFLER, Wilson Jallet, Cordelia Schmid, Justin Carpentier

Abstract

Computing informative gradients through nonsmooth physical models—such as those involving hard contact or bouncing—is a cornerstone challenge in robotics and machine learning. Randomized smoothing offers a principled way to obtain well-behaved surrogate gradients, yet standard first-order estimators of these smoothed gradients are biased whenever the underlying function is discontinuous. In this work, we show that this bias arises from neglected discontinuity contributions and derive a corrected first-order formula that eliminates it. When the discontinuity structure is known, we exploit it to build discontinuity-aware gradient estimators, which we instantiate for differentiable collision detection on 3D meshes. When it is unknown, we propose a complementary estimator that leverages classical gradients to reduce variance. We validate this estimator on nonsmooth trajectory optimization instances, demonstrating variance reductions of several orders of magnitude over zeroth-order baselines while remaining unbiased under discontinuities where standard first-order estimators fail.

Keywords:
Paris, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_hUj6OpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper develops unbiased first-order gradient estimators for randomized smoothing of discontinuous functions, a setting that is pervasive in differentiable simulation (hard contact, collisions, friction).

The motivation is a known failure mode. The smoothed surrogate fp=f⋆pf_p = f \star p has a well-defined gradient ∇fp=f⋆∇p\nabla f_p = f \star \nabla p, but the standard first-order bundle estimator (FoBG) averages ∇f(x+ω)\nabla f(x+\omega) and thus implicitly assumes ∇fp=(∇f)⋆p\nabla f_p = (\nabla f)\star p, an identity that holds only for C1C^1 functions and breaks at discontinuities. FoBG is therefore biased, forcing a return to the unbiased but high-variance zeroth-order estimator (ZoBG).

Using distributional (Schwartz) derivative calculus, the authors derive a corrected formula (Theorem 1) in which ∇fp\nabla f_p equals the FoBG smooth term plus surface integrals over the discontinuity surfaces Σi\Sigma_i that recover the missing signed jumps:

+ \sum_i \int_{\Sigma_i} p(z-x)\, s^{\Sigma_i}_f(z)\, d\xi_i(z).$$ This pinpoints FoBG's failure: for the Heaviside step it returns $0$, whereas the formula recovers the true smoothed gradient $p(-x)$. Two estimators follow, depending on whether the discontinuity structure is known: - **QFoBG** (discontinuities known): a sampling-free quadrature scheme for differentiable collision detection on 3D meshes, where the discontinuity surfaces of a polytope support function are edge cones. The smoothed Hessian is nearly closed-form (one 1D Gauss–Legendre integral), giving zero variance and orders-of-magnitude lower error than ZoBG at equal compute on GraspNet. - **CFoBG** (discontinuities unknown): estimates the smooth part via antithetic FoBG and the jump correction via a leave-one-out zeroth-order residual. It is proved unbiased (Prop. 2) with variance $O(\sigma^4/N)$ away from discontinuities versus $O(\|\nabla f\|^2/N)$ for ZoBG, and matches ZoBG's $O(1/N\sigma^2)$ rate near them. Empirically, on DDP trajectory optimization CFoBG discovers the jump on a discontinuous Platformer task where biased FoBG stalls, and matches FoBG on smooth Hopper tasks while cutting estimator variance by 3–4 orders of magnitude over ZoBG.
Strengths and weaknesses

This submission tackles a genuinely awkward problem in differentiable simulation: the standard first-order bundle estimator (FoBG) for the gradient of a randomized-smoothing surrogate is biased whenever the underlying function is discontinuous, which is exactly the regime that matters for contact-rich robotics. The community has known about this failure since Suh et al. (2022b), and the prevailing responses have been either to retreat to the unbiased but high-variance zeroth-order estimator (ZoBG) or to interpolate between the two (AoBG). The authors take a more principled route: instead of trading bias for variance, they diagnose where the bias comes from and remove it. I find the overall framing compelling and the execution largely convincing, with the main reservations concerning empirical breadth and a few claims I could not fully check.

Quality. The technical core is sound and, importantly, the diagnosis and the fix are tightly coupled. The key move is to treat the nonsmooth ff as a Schwartz distribution and write its generalized derivative as the classical gradient plus signed-jump surface measures; convolving with pp then yields the corrected formula (Theorem 1) in which FoBG is exactly the smooth term and the bias is exactly the omitted discontinuity integrals. This is a satisfying explanation rather than a patch, and the Heaviside worked example (∇Hp(x)=p(−x)\nabla H_p(x)=p(-x) vs. FoBG's 00) makes the mechanism concrete. The two estimators are well matched to their regimes. For QFoBG, reducing the polytope support-function discontinuities to edge cones and obtaining a near-closed-form smoothed Hessian (with a single 1D Gauss–Legendre integral) is a clean instantiation, and the zero-variance claim is well argued. For CFoBG, the leave-one-out construction is the crux: it is what buys unbiasedness while still using first-order information, and Proposition 2's O(σ4/N)O(\sigma^4/N) rate away from discontinuities is a meaningful improvement over ZoBG's O(∥∇f∥2/N)O(\|\nabla f\|^2/N). The authors are also commendably honest about the limitation that CFoBG gives no variance reduction near discontinuities (the O(1/Nσ2)O(1/N\sigma^2) regime), and Appendix C even quantifies the residual bias of the competing AoBG.

That said, several quality concerns temper my enthusiasm. (i) The empirical evaluation is thin relative to the generality of the claims: trajectory optimization is demonstrated only on a 2D Platformer and two low-dimensional Hopper variants, all with N=4N=4. Given that the motivating pain point is contact-rich manipulation and locomotion, I would want to see at least one higher-dimensional or genuinely contact-rich task before believing the method scales. (ii) The headline "3–4 orders of magnitude" variance reduction holds in the smooth regime, but CFoBG's cost is 2N2N evaluations of both ff and ∇f\nabla f (an antithetic ZoBG plus an antithetic FoBG); a per-wall-clock or per-evaluation comparison against ZoBG and AoBG would make the trade-off defensible rather than asserted. (iii) Proposition 2's variance proof leans on L2L^2 Taylor expansions and a leave-two-out decomposition whose cross-term bookkeeping I could examine only at the level of the argument's structure; the result is plausible and the steps look right, but a reviewer with more time on the appendix should confirm the O(σ2/N)O(\sigma^2/N) bound on Δj\Delta_j.

Clarity. The paper is well organized and, for a distribution-theoretic treatment, unusually readable. Section 2 builds the ZoBG/FoBG background cleanly, Section 3 motivates the correction before formalizing it, and the "known vs. unknown discontinuities" split gives the reader a clear map. The three obstacles to applying Theorem 1 directly (combinatorial explosion, composition of simulation steps, non-commutativity with composition) are a genuinely useful discussion, and the bouncing-ball illustration of how discontinuities cancel across time steps is the kind of intuition the topic needs. Minor issues: the inline rendering of several equations (e.g., the jump definition and the CFoBG formulas) is cramped and hard to parse; the leave-one-out notation g^−ksmooth\hat{g}^{\text{smooth}}_{-k} could be stated more explicitly when first used; and I noticed an internal inconsistency in the checklist, which cites "Golse [2010]" whereas the main text and bibliography use Golse 2020. None of these affect correctness, but they should be fixed.

Significance. If the central claim holds up, this is a useful contribution to a community that currently accepts a real bias/variance dilemma as a fact of life. The result is directly relevant to differentiable physics, trajectory optimization, and (as the authors note) first-order RL on nonsmooth dynamics, and the QFoBG collision-detection application is concrete enough that practitioners could adopt it more or less immediately. The conceptual transfer from differentiable rendering (edge sampling, parametric discontinuities) into randomized smoothing for robotics is the kind of cross-pollination that tends to have legs. My main hesitation about significance is the same as for quality: the practical payoff in the hardest setting (near discontinuities, which is where contact actually lives) is explicitly not improved by CFoBG, and QFoBG's applicability hinges on enumerable discontinuity surfaces, so the demonstrated "best of both worlds" is somewhat narrower than the abstract's framing suggests.

Originality. The work is original in the way that matters here: not a brand-new optimization method, but a new and clarifying lens on an existing one. Recasting the FoBG bias as missing distributional-derivative terms, and then turning that diagnosis into two regime-specific unbiased estimators, is a novel synthesis rather than an incremental tweak of AoBG. The relationship to prior work (Suh et al., Lidec et al. for the smoothing side; Li et al., Bangaru et al., Michel et al. for the rendering side) is clearly drawn, so the delta over existing contributions is easy to locate. The leave-one-out residual that makes CFoBG unbiased without sacrificing first-order information is, to my knowledge, the most genuinely new technical ingredient.

Overall. A well-motivated, clearly written paper with a principled core result and two sensible instantiations. The theory is the strongest part; the empirical validation is the weakest and is what currently holds me back from a stronger endorsement. I would be inclined toward acceptance if the authors (a) add a higher-dimensional / contact-rich experiment or convincingly argue why the 2D/Hopper suite suffices, (b) report compute-matched comparisons that account for CFoBG's 2N2N first- and zeroth-order evaluations, and (c) fix the citation inconsistency and tighten the appendix variance argument.

Questions

1. Empirical scaling beyond low-dimensional tasks. The motivating pain point is contact-rich robotics, yet the trajectory-optimization evaluation is limited to a 2D Platformer and two low-dimensional Hopper variants. Could you either (a) add one higher-dimensional or genuinely contact-rich task (e.g., a planar pushing/manipulation or a multi-contact locomotion setting), or (b) argue explicitly why the current suite is sufficient to support the generality implied by the abstract? I am not asking for a large-scale study — even a single additional task with the existing N=4N=4 protocol would help me judge whether CFoBG's smooth-regime advantage and unbiasedness persist as state and contact dimensionality grow. This is the single change most likely to raise my Significance and Quality scores; absent it, my concern is that the demonstrated "best of both worlds" may be specific to toy regimes.

2. Compute-matched comparison. CFoBG requires 2N2N evaluations of both ff and ∇f\nabla f (one antithetic ZoBG plus one antithetic FoBG), whereas ZoBG needs only function evaluations. The headline "3–4 orders of magnitude" variance reduction is reported per-sample. Could you provide a variance-vs-wall-clock (or variance-vs-total-evaluations) comparison against ZoBG and AoBG? If the gain survives a per-evaluation accounting, this would directly strengthen the central claim; if it shrinks substantially, I would want the abstract's framing softened accordingly.

3. QFoBG applicability boundary. QFoBG's elegance depends on the discontinuity surfaces being enumerable edge cones of a convex polytope. How does the approach degrade for (a) non-convex geometries handled via convex decomposition, and (b) the many-edge regime — does the per-edge cost in ∣E∣|\mathcal{E}| remain practical, and at what vertex/edge count does the closed- form advantage over ZoBG disappear? Clarifying the operating envelope would help me calibrate how broadly the QFoBG contribution applies.

Minor (no response needed to change my score): Please reconcile a few internal inconsistencies: (i) the checklist cites "Golse [2010]" whereas the main text and bibliography use Golse 2020; (ii) checklist item 7 reports "400 random seeds" for the Table 1 medians, but the main text (Section 4.2) only specifies 100 independent trials and never states a seed count for the trajectory-optimization results — please state the actual protocol for Table 1 in the main text; (iii) Appendix D refers to "Section D" where Section 4.2 appears to be intended.

Limitations

Yes.

Paper formatting concerns

No major formatting or anonymity violations observed.

Reviewer_8ihPOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper adresses the challenge of gradient estimation on discontinuous functions in physical simulations. The authors identify the biasedness of previous estimators as main limitation and propose novel unbiased estimators. QFoBG explicitly incorporates discontinuity terms when the discontinuity structure is known, and CFoBG, which remains applicable when these surfaces are unknown by combining first-order gradient information with an unbiased zeroth-order residual. The experiments in the paper compare QFoBG against prior approaches, mainly the standard zero order bundle gradient from Suh et al (2022). The results show lower errors and high walltime efficiency. Further experiments show the benefits of the proposed approach on trajectory optimization problems.

Strengths and weaknesses

Strengths

  • The paper is well motivated and addresses an important problem for differentiable simulation, especially in contact-rich or non-smooth physical systems where biased gradients and discontinuities pose challenges for optimization. The problems around gradients of contacts are well established in robotics and progress on this topic is promising for the field.
  • The paper presents an elegant and clean idea. Based on the observation that standard randomized smoothing estimators lack a discontinuity correction, they construct a corrected estimator which is unbiased.
  • The empirical results are convincing within the considered settings. The collision-detection experiments show clear accuracy and runtime advantages, and the trajectory-optimization experiments demonstrate the relevance of the approach for robotics applications.
  • Related work seems appropriately discussed, but I am not an expert on the works on the simulation side.

Weaknesses

Method:

  • The theoretical analysis appears correct to me, but some assumptions might not hold in physical simulators. In particular, the analysis relies on functions being piecewise smooth with a finite collection of reasonably well-behaved discontinuity hypersurfaces, and integrable gradient and jump terms. Can the authors justify why these hold in physical simulators that implement more complicated constraints and functions, eg friction and mode switches?
  • The known-discontinuity estimator is only directly applicable when the relevant discontinuity surfaces can be identified and integrated over. In realistic contact-rich domains, such as dexterous manipulation or humanoid control, the number of contact modes and discontinuity surfaces can grow very quickly, which might make this approach difficult to deploy beyond structured cases such as the polytope support-function example. I do not think that this invalidates the positive results in this papers, but perhaps the authors can comment on the limits of the scalability of their method in terms of collision geometries?

Evaluation:

  • The empirical evaluation is somewhat narrow relative to the broader motivation of differentiable simulation for robotics. The collision-detection experiments are convincing for the structured setting where QFoBG applies, and the trajectory-optimization experiments demonstrate the usefulness of CFoBG, but the paper does not evaluate the method on more complex manipulation or contact-rich humanoid tasks. It would be interesting to see how large the benefits are in such scenarios. In particular, robot manipulation might be a domain where the approach could have large impact as suggested in Suh et al.

Clarity:

  • To me, the distinction between CFoBG and QFoBG could be clearer. I think the paper would improve by introducing QFOBG in the method section briefly instead of only mentioning it in the results. A sentence contrasting QFoBG as the structured first-order instantiation of Eq. (11) for polytope support functions, and CFoBG as the black-box alternative when discontinuity surfaces are unknown, would improve readability.

Minor:

  • Links are sim broken and only link to the top of page 10. Maybe this could be fixed.
  • Line 155: "number of surfaces of discontinuity" --> "number of discontinuity surfaces"
  • Line 22: "explicability in deep learning" --> "explainability in deep learning"
  • Line 177: "which differ by a factor of 22×" --> "which differ by a factor of 22"
Questions
  • Can the authors explain the transition from eq (12) to (13) and state why the subtraction term yields a residual jump estimator?
  • How does your method perform on contact rich manipulation tasks? Even without additional experiments I would be interested in the authors intuition on this.
Limitations

yes

Paper formatting concerns

none

Final justification

The paper clearly identifies a weakness of prior gradient estimators for differentiable simulation and proposes a principled fix. The theoretical and empirical results are convincing so I recommend acceptance.

Reviewer_2sB8OpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

In this work, the authors propose a method to compute unbiased or corrected surrogate first order gradients for non-smooth differentiable simulation via randomized smoothing. They begin by showing that the bias in first order gradients at discontinuities is due to neglected discontinuity contributions. Then they derive a discontinuity-aware gradient estimator for when the discontinuity structure is known. When the discontinuity structure is not known, they propose a corrected gradient estimator that has reduced variance. This work is then evaluated by comparing Gumbel smoothing, ZoBG, and their method QFoBG on estimating the hessian for different meshes from GraspNet. The second evaluation was done comparing vanilla FoBG and their CFoBG used for trajectory optimization of a 2D platformer and hopper.

Strengths and weaknesses

Strengths: This is a well-written paper that proposes a novel method to address the classical problem of computing gradients for discontinuous models such as physics models involving contact. The paper presents a good narrative moving from identifying the source of errors to deriving a new method to address it. The paper also provides positive experimental results in two distinct areas of hessian estimation of meshes and trajectory optimization, with analysis in various dimensions.

Weaknesses: The weakness here is that the evaluations was a bit limited. The first is that the hopper experiments used MuJoCo dynamics that are smooth and continuous, so why do we care about this application? The second is that the experiments seemed to only test optimization over parameters that are directly used as input, which means that it is only necessary to do a single forward query, compute gradients, and then step forward. In settings such as system identification and neural policy, the input is not the parameters that need to be estimated, so larger datasets are needed. This also necessitates the use of batch estimation of gradients. It would be good to discuss how this method fits into these applications and how it would perform.

Questions
  1. If the hopper dynamics is smooth and continuous, is evaluation here informative besides that your CFoBG can recover the FoBG? Please clarify the significance here and discuss whether using a non-smooth physics simulator would be more appropriate here.

  2. As explained in the weakness section, the experiment settings seem limited. Please elaborate on how your method would perform in those settings or why it is not appropriate.

Limitations

There is a limitation sections, but it is sparse and I would like to see it expanded. For example, if the application setting, as explained in the weaknesses, is a limitation, please include that. Furthermore, the limitations points toward possible future works, which would be a useful contribution.

Paper formatting concerns

No concerns.

Final justification

No change.

Comments on the paper

1 comment
Meta-review

This paper considers the problem of gradient estimation in differentiable simulation, and shows that the bias in estimating such gradients results from ignoring gradient contributions at discontinuity boundaries. The paper derive a corrected first-order expression that removes the bias. When the locations and structure of the discontinuities are known, this information is used to construct discontinuity-aware gradient estimators. The reviewers agree that the paper is well-written and contains important contributions to the field of differentiable simulation. Some of the issues raised by the reviewers are related to: (1) the relevance of the test benchmarks to this problem, (2) the low-dimentional nature of the systems considered in the experiments, (3) the assumptions made for the theoretical analysis and that are perhaps too strong and may not hold in practice.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.