Abstract
Derivative-free optimization (DFO) is a critical tool for minimizing "black-box" functions where gradient information is unavailable or prohibitively expensive to compute. This paper introduces $STP_{IS}$ (Stochastic Three Points with Importance Sampling), the first DFO method to successfully integrate importance sampling. By prioritizing search directions based on coordinate-wise smoothness estimates, $STP_{IS}$ achieves significant acceleration over traditional uniform sampling methods. We provide a rigorous theoretical analysis showing that the iteration complexity depends on the average rather than the maximum Lipschitz constant of the gradient. Empirical evaluations on synthetic ridge regression and high-dimensional robotics control tasks demonstrate that $STP_{IS}$ provides orders-of-magnitude speedups and solves complex problems where standard DFO methods fail.
Introduction
In many scientific and engineering domains—ranging from fluid dynamics simulations to the fine-tuning of complex software systems—objective functions must be optimized without access to their gradients. Derivative-free optimization (DFO) methods address these "black-box" scenarios by relying solely on function evaluations. A popular randomized approach is the Stochastic Three Points (STP) method. In each iteration, STP selects a random direction, evaluates the function at the current point and two steps (forward and backward) along that direction, and moves to the point with the lowest value.
Traditionally, STP selects search directions uniformly at random. However, in high-dimensional spaces, functions often exhibit heterogeneous smoothness, meaning some directions are far more informative or "smoother" than others. While gradient-based optimization has long utilized importance sampling to exploit such structures, the application of these principles to the derivative-free setting has remained largely unexplored until now.
Methods: $STP_{IS}$
The authors propose $STP_{IS}$, which replaces uniform direction sampling with a non-uniform strategy. The core innovation lies in assigning a sampling probability $p_i$ to each coordinate direction based on its Lipschitz constant $L_i$, a measure of how rapidly the gradient changes in that direction.
For practical applications where $L_i$ values are unknown (e.g., complex robotics simulations), the paper introduces a "learning to optimize" framework. A small neural network surrogate is trained on-the-fly to estimate local smoothness, allowing the algorithm to dynamically adjust its importance sampling weights based on the current region of the search space.
Theoretical Contributions
The paper provides the first theoretical convergence guarantees for a DFO method using importance sampling. It proves that $STP_{IS}$ maintains standard convergence rates—$O(1/\epsilon^2)$ for non-convex, $O(1/\epsilon)$ for convex, and $O(\log(1/\epsilon))$ for strongly convex functions—but with a significantly improved leading constant.
Crucially, the complexity bound transitions from a dependence on the worst-case smoothness ($L_{max} = \max_i L_i$) to the average smoothness across all coordinates ($\bar{L} = \frac{1}{n} \sum L_i$). In high-dimensional problems where a few coordinates are highly "jittery" while most are smooth, this theoretical shift translates into massive practical gains.
Experimental Results
The researchers evaluated $STP_{IS}$ across synthetic ridge regression problems, real-world classification datasets from the LIBSVM library, and five continuous control environments from the MuJoCo physics engine.
Synthetic Ridge Regression
On synthetic datasets, $STP_{IS}$ consistently outperformed the uniform STP baseline. As shown in the figures below, the performance gap between importance sampling and uniform sampling remains robust across different problem dimensions ($n$) and sample sizes ($m$).
Continuous Control in Robotics
The most striking results appeared in the MuJoCo robotics tasks. In the high-dimensional Humanoid-v1 environment (over 1,000 dimensions), standard uniform STP failed to solve the task entirely. In contrast, $STP_{IS}$ successfully learned to control the agent, achieving performance competitive with state-of-the-art reinforcement learning methods like Trust Region Policy Optimization (TRPO). Quantitatively, $STP_{IS}$ often required orders of magnitude fewer episodes to reach target reward thresholds compared to uniform sampling.
Conclusion
$STP_{IS}$ represents a major step forward for derivative-free optimization. By effectively leveraging importance sampling, it enables the efficient solution of high-dimensional black-box problems that were previously intractable for DFO methods. The success of the surrogate-based smoothness estimation also suggests a promising path for future "learning to optimize" research in complex, noisy environments.
Summary updated