Unbiased First-Order Randomized Smoothing for Differentiable Simulation
Mathis SCHEFFLER, Wilson Jallet, Cordelia Schmid, Justin Carpentier
NeurIPS page · OpenReview · Open on the map
Category: Optimization & Federated Learning › Stochastic Optimization Theory · Type: new method · Keywords: randomized smoothing, gradient estimation, discontinuity handling, differentiable simulation, trajectory optimization, robotics
Areas: Robotics & Embodied AI › Robotic Control and Planning › Reinforcement Learning
Summary
The paper introduces an unbiased first-order randomized smoothing method that corrects bias from discontinuities and provides variance-reduced gradient estimators for differentiable simulation, demonstrated on nonsmooth trajectory optimization.
Explained to a 5-year-old
When a robot moves, sometimes things bounce and the math jumps. Usually the computer tries to guess how to move by looking at small changes, but it makes mistakes at those jumps. This paper finds out why the mistakes happen and fixes them. It also makes the guesses more stable so they are less wobbly. Now the robot can plan its moves more reliably.
Explained to a 5-year-old, longer
Imagine you are pushing a toy car and it hits a wall and bounces. The way the car moves changes suddenly, like a jump. When you try to figure out how to make the car go smoother, you need to know how each part changes. Usually you look at tiny steps to guess the best direction, but at the jumps the guess is wrong. This paper looks at why the guess is wrong and fixes it. It also adds extra checks to make the guess more stable. The new method works well on problems where things bounce a lot. It helps robots plan their actions without making big mistakes. It also saves computer time because the guesses are more reliable. The ideas can be used in many places where things move and bounce. Overall, the paper makes the computer smarter at handling sudden changes.
For a technical reader
The work addresses the bias in first-order randomized smoothing when the underlying function has discontinuities, which is common in physics-based simulations. It derives a corrected first-order estimator that explicitly accounts for discontinuity contributions, eliminating the bias. When the discontinuity structure is known, the authors construct discontinuity-aware gradient estimators; otherwise they propose a variance-reduction estimator that leverages classical gradients. Experiments on nonsmooth trajectory optimization show orders-of-magnitude variance reduction compared to zeroth-order baselines while preserving unbiasedness. This enables more reliable gradient-based optimization in robotics and simulation pipelines.
Problem
Computing informative gradients through nonsmooth physical models-such as those involving hard contact or bouncing-is challenging because standard first-order gradient estimators become biased at discontinuities.
Method
We derive a corrected first-order formula that accounts for discontinuity contributions, and when the discontinuity structure is known we build discontinuity-aware gradient estimators; when unknown we propose a complementary estimator that uses classical gradients to reduce variance.
Results
The approach achieves variance reductions of several orders of magnitude compared to zeroth-order baselines and remains unbiased in the presence of discontinuities where standard first-order estimators are biased.
Contributions
We identify the source of bias in first-order randomized smoothing for discontinuous functions and provide a corrected formula that eliminates this bias. We also introduce discontinuity-aware gradient estimators for known discontinuities and a complementary variance-reduction estimator for unknown cases.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction