An Introduction to Zero-Order Optimization Techniques for Robotics
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Robotics Radio. Generated commentary on the latest robotics and control papers.
Rosa: Today's paper: "An Introduction to Zero-Order Optimization Techniques for Robotics".
Dev: The gist The authors propose a mathematical tutorial on random search to provide a simple and unifying perspective for understanding various zero-order optimization techniques used in robotics,
Rosa: First, who's behind it and why it matters.
Paper summary: Dev: So, to wrap up, this paper "An Introduction to Zero-Order Optimization Techniques for Robotics" provides a mathematical tutorial on random search to give us a unified perspective on zero-order optimization techniques used in robotics.
Rosa: They show how this single viewpoint allows them to classify things like Model Predictive Path Integral and Covariance Matrix Adaptation under the same framework, and they derive some novel competitive RL algorithms as a result <ref:2506.22087#pg3>.
Taro: The paper explains the theoretical concepts behind why stochastic algorithms are suited to avoid getting stuck in local minima, which is something we need when we are testing real world failure modes <ref:2506.22087#pg3>.
Dev: Overall, it connects policy gradient techniques and Nesterov’s random search through the study of how these stochastic algorithms succeed in avoiding poor local minima <ref:2506.22087#pg3>.
Rosa: The title itself is a mathematical introduction to zero-order optimization techniques for robotics Armand Jordana, Jianghan Zhang, Joseph Amigo and Ludovic Righetti one <ref:2506.22087#pg1,introduction to zero-order optimization techniques for robotics Armand Jordana, Jianghan Zhang>.
Taro: It’s about using sampling-based methods to understand the success of popular RL algorithms <ref:2506.22087#pg2>.
Dev: This paper is really about giving us a broad perspective connecting gradient-free approaches in trajectory optimization and reinforcement learning <ref:2506.22087#pg3>.
Rosa: It’s not about some magic trick, it’s about showing how random search provides a unifying perspective on zero-order algorithms commonly used in robotics one <ref:2506.22087#pg1,algorithms commonly used in robotics>.
Taro: It opens up the potential for novel RL algorithms that stem naturally from this unified viewpoint <ref:2506.22087#pg3>.
Conclusion: Rosa: So this paper is introducing zero-order optimization, which is basically derivative-free optimization used in robotics, and they’re calling it an introduction to random search.
Dev: Right, so we’re talking about how these methods handle functions that aren't smooth and how they escape those local traps without needing gradients.
Taro: It seems like the core idea here is using random sampling because deterministic gradient methods get stuck easily in non-smooth problems like contact physics.
Rosa: Exactly, and they show this random search idea as a way to unify so many different techniques we use for trajectory optimization and policy optimization.
Dev: They're classifying things like Model Predictive Path Integral under this one framework, which is really neat because it makes comparing them easier for real-time loops.
Taro: And the part about stochasticity helping escape local minima through things like Langevin dynamics, that’s important when we think about how a system recovers from an unexpected situation in the real world.
Rosa: It connects directly to policy optimization too, where they use Gaussian smoothing to estimate gradients and avoid those bad local minima when training a neural network.
Dev: So what this means for us on the ground is that we might be able to design more robust controllers because we have a clearer mathematical way to understand why some sampling approaches work better than others.
Taro: It points toward novel reinforcement learning algorithms that leverage this sampling idea, which could lead to smarter AI agents in complex physical environments.
New York University
cs.RO
Submitted: 2025-06-27
Updated: 2026-10-15
Code: https://github.com/ajordana/zoo-rob
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 83/100
The gist: The gist The authors propose a mathematical tutorial on random search to provide a simple and unifying perspective for understanding various zero-order optimization techniques used in robotics, such
Key concepts
- Zero-Order Optimization
- These are derivative-free methods used in robotics to optimize problems where the objective function is not smooth or differentiable. They work by evaluating the function directly rather than using gradients, which makes them suitable for complex tasks like locomotion and manipulation where simulators provide noisy or non-smooth feedback.
- Random Search
- The core idea is to perform a random search by generating samples at random points in the parameter space. The algorithm updates its estimate of the best solution based on how well each randomly sampled point performs, offering a simple way to explore complex spaces without needing gradient information.
- Gradient Approximation Methods
- Since true gradients are often unavailable, these techniques estimate them using only function evaluations. Examples include forward finite difference and Simultaneous Perturbation Stochastic Approximation (SPSA), which allow optimization algorithms to proceed by approximating the direction of steepest descent through clever sampling.
- Simulated Annealing
- This method uses additive Gaussian noise to explore the search space. By defining a temperature parameter ($\lambda$), it can be used to sample from a distribution related to the objective function, providing theoretical guarantees for finding global solutions in non-convex settings by allowing temporary uphill moves.
Terminology
Summary
The gist The authors propose a mathematical tutorial on random search to provide a simple and unifying perspective for understanding various zero-order optimization techniques used in robotics, such as trajectory optimization and reinforcement learning.
Zero-Order Optimization Techniques
Zero-order (or derivative-free) optimization techniques are becoming increasingly popular in robotics due to their ability to handle nondifferentiable functions and escape local minima<ref:2506.22087#pg2>. These advantages make them particularly useful for trajectory optimization and policy optimization<ref:2506.22087#pg2>. They share a common property: they do not require access to the simulator’s gradients, which allows them to optimize non-smooth objective functions typically arising in problems involving contact, such as locomotion or manipulation<ref:2506.22087#pg2>. Furthermore, while deterministic gradient-based algorithms are prone to getting stuck in local minima, zero-order techniques are mostly stochastic, which can help escape local minima<ref:2506.22087#pg2>.
Random Search Approaches
The basic idea of zero-order optimization performs a random search by generating samples at random and updating an estimate of the optimal solution based on the performance of each sample<ref:2506.22087#pg2>. Simple random search, or Pure Random Search, consists of iteratively sampling points at random and keeping the best one found so far<ref:2506.22087#pg2>. A common attempt to break the curse of dimensionality is Greedy Local Search, which involves iteratively searching around the previous estimate with additive Gaussian noise<ref:2506.22087#pg2>.
Gradient Approximation Methods
Various ways exist to perform approximate gradient descent using only function evaluations, summarized in Algorithm 3<ref:2506.22087#pg2>. Techniques include:
-
Forward finite difference technique, which requires n + 1 function evaluations<ref:2506.22087#pg2>.
-
Random Coordinate Descent, which alternates descent steps on random coordinates and can require on average at most n times more steps compared to classical gradient descent<ref:2506.22087#pg2>.
-
Simultaneous Perturbation Stochastic Approximation (SPSA), which replaces finite differences with a stochastic estimate that can achieve performance similar to finite differences while requiring n times fewer samples<ref:2506.22087#pg2>.
-
Gaussian Smoothing, which studies a smoothed surrogate function fµ(x) = E[f(x + µϵ)], and its gradient can be estimated using only function evaluations of the original function f<ref:2506.22087#pg2>.
Simulated Annealing and Langevin Dynamics
Additive Gaussian noise can lead to asymptotic global convergence guarantees in nonconvex settings through Langevin dynamics, defined by dXt = ∇x log p(Xt) + dWt<ref:2506.22087#pg2>. This SDE can be used to sample from a distribution with probability density p ∝ exp − 1/λ f, where λ > 0 is the temperature<ref:2506.22087#pg2>. The discretized Stochastic Langevin Gradient Dynamics guarantees asymptotic convergence to global solutions when the step sizes are chosen appropriately, which is called Simulated Annealing<ref:2506.22087#pg2>.
Trajectory Optimization Applications
Trajectory Optimization aims to solve min x∈Rn f(x) subject to dynamics and cost functions<ref:2506.22087#pg2>. Predictive sampling can be seen as a variation of Greedy Local Search, where K search directions are sampled and the best one is kept<ref:2506.22087#pg2>. Model Predictive Path Integral (MPPI) iteratively samples around the current guess and updates it using a weighted exponential average, which can be interpreted as a generalization of Gaussian smoothing<ref:2506.22087#pg2>. Covariance Matrix Adaptation (CMA) optimizes the smooth surrogate function by searching over the mean and covariance of a Gaussian distribution, where optimizing Equation (5) can be interpreted as a search over the mean of a Gaussian distribution<ref:2506.22087#pg2>.
Policy Optimization Connections
In policy optimization, one approach is to directly rely on zero-order techniques by sampling in the parameter space of a neural network<ref:2506.22087#pg2>. Gaussian smoothing on the Q-function can be used to estimate the gradient of the Q-function and use an estimate for the gradient of the cost, leading to an Actor-Critic structure<ref:2506.22087#pg2>. The policy gradient theorem is analogous to the log-likelihood trick of Gaussian smoothing, suggesting that stochasticity in RL algorithms could explain their empirical ability to avoid poor local minima<ref:2506.22087#pg2>.
Population Based Algorithms
To mitigate issues with samples failing to mix well in multimodal distributions, algorithms can consider multiple starting points through Random Restart or (N + λ)-ES<ref:2506.22087#pg2>. The (N + λ)-ES procedure involves maintaining a population of N samples and generating a new population by applying local search, selecting the N best samples<ref:2506.22087#pg2>.
Parallel Computing
To improve computational efficiency, parallelizing function evaluations is a typical strategy, utilizing parallel simulators such as MuJoCo XLA (MJX) and Isaac Sim for massively parallel rollouts<ref:2506.22087#pg2>. Algorithmic implementations of random search and popular ES algorithms based on JAX can then be used for zero-order MPC with Hydrax<ref:2506.22087#pg2>.
Conclusion
The work demonstrates how random search provides a unifying perspective on zero-order algorithms commonly used in robotics and discusses theoretical concepts explaining why sampling-based zero-order techniques can escape local minima<ref:2506.22087#pg2>. Leveraging this understanding, the authors propose novel and competitive RL algorithms that are examples of the potential outcomes enabled by this unified viewpoint<ref:2506.22087#pg2>.
Improvements for AI systems
-
Improved Trajectory Optimization (TO) via MPPI-CMA: The system can solve constrained trajectory optimization problems with linear complexity in terms of time horizon T by using a block-diagonal covariance matrix for CMA updates, which ensures
linear complexity with respect to the time horizon T
as noted in the text. -
Improved Policy Optimization (RL) via Randomized Smoothing: The RL algorithm can achieve better performance than standard Deterministic Policy Gradient (DPG) algorithms by using Gaussian smoothing on the Q-function, as demonstrated by
RS-DDPG and LSE-DDPG significantly outperform DDPG.
-
Improved Sample Efficiency in Optimization: The system can perform derivative-free optimization with reduced function evaluations by employing methods like Random Coordinate Descent or Simultaneous Perturbation Stochastic Approximation (SPSA), which offer the hope of
matching the gradient’s descent performance with a few samples.
-
Improved Global Convergence in Nonconvex Settings: The system can be designed to escape local minima by incorporating stochasticity, as shown by discretized Stochastic Langevin Gradient Dynamics which
guarantees asymptotic convergence to global solutions
for optimization problems. -
Improved Policy Search via Action Space Sampling: A novel RL algorithm can be derived that leverages the structure of the problem to sample from the action space, moving beyond direct sampling in parameter space and potentially achieving state-of-the-art performance in deterministic policy gradient algorithms.
Abstract
Zero-order optimization techniques are becoming increasingly popular in robotics due to their ability to handle non-differentiable functions and escape local minima. These advantages make them particularly useful for trajectory optimization and policy optimization. In this work, we propose a mathematical tutorial on random search. It offers a simple and unifying perspective for understanding a wide range of algorithms commonly used in robotics. Leveraging this viewpoint, we classify many trajectory optimization methods under a common framework and derive novel competitive RL algorithms.
Sources
- DROP: Dexterous Reorientation via Online Planning
- Full-Order Sampling-Based MPC for Torque-Level Locomotion Control via Diffusion-Style Annealing
- Predictive Sampling: Real-time Behaviour Synthesis with MuJoCo
- Evolution Strategies as a Scalable Alternative to Reinforcement Learning
- Online convex optimization in the bandit setting: gradient descent without a gradient
- NLP Sampling: Combining MCMC and NLP Methods for Diverse Constrained Sampling
- Is the Policy Gradient a Gradient?
- Continuous control with deep reinforcement learning
- Stein Variational Evolution Strategies
- evosax: JAX-based Evolution Strategies
Related papers
- FMT x: An Efficient and Asymptotically Optimal Extension of the Fast Marching Tree for Dynamic Replanning
- MPCFormer: A physics-informed data-driven approach for explainable socially-aware autonomous driving
- RoboLab: A High-Fidelity Simulation Benchmark for Analysis of Task Generalist Policies
- ARC: A Reasoning Recipe for Robot Foundation Models
- HRDexDB: A 4D Dexterous Grasping Dataset Across Human and Multiple Robot Embodiments
- APT: Action Expert Pretraining Improves Instruction Generalization of Vision-Language-Action Policies