TL;DR
Imagine trying to find the lowest point in a foggy valley at night, armed only with an altimeter that gives slightly noisy readings. This paper introduces Mi2P, a remarkably simple "direct-search" optimization algorithm that drops a redundant step from standard methods, cutting per-step evaluation costs by a third while closing a massive theoretical performance gap with gradient-estimation techniques—all without needing gradients or finicky smoothing parameters.
What Problem Does This Paper Address?
When gradients are unavailable or too expensive to compute—think black-box adversarial attacks, hyperparameter tuning, or reinforcement learning from human feedback (RLHF)—we turn to zeroth-order (derivative-free) optimization.
Historically, you had to pick your poison between two paradigms:
- Gradient-approximation methods (like RSGF) estimate directional derivatives using finite differences. They enjoy great theoretical convergence rates ($\widetilde{\mathcal{O}}(d/\varepsilon^4)$), where $d$ is dimension and $\varepsilon$ is target accuracy, but introduce discretization bias and require carefully tuning a smoothing parameter.
- Direct-search methods (like Stochastic Three Points, or MiSTP) simply evaluate a few trial points and jump to whichever looks best. They avoid discretization bias altogether, but under stochastic noise, their best proven rate was a sluggish $\widetilde{\mathcal{O}}(d^3/\varepsilon^6)$.
Furthermore, most existing analyses assume strict global smoothness ($L$-smoothness), which mathematically rules out basic functions like polynomials and exponentials. The authors set out to close the complexity gap between direct search and gradient estimation while relaxing these restrictive smoothness assumptions.
Methods
Standard three-point direct search evaluates your current position $x_t$, plus two symmetric steps along a random direction $s_t$: $x_t + \eta_t s_t$ and $x_t - \eta_t s_t$. In deterministic settings, checking $x_t$ ensures you never step uphill. Under stochastic noise, however, that middle check loses its downhill guarantee and just injects an extra noisy comparison.
Mi2P simply throws out the middle evaluation. It queries noisy estimates $M_t^+$ and $M_t^-$ at the two perturbed points and steps in the direction of whichever looks smaller, governed solely by $\text{sign}(M_t^+ - M_t^-)$.
Beyond cutting per-iteration query costs by 33%, the authors analyze Mi2P under generalized $(L_0, L_1)$-smoothness (where local curvature can grow with the gradient norm, accommodating polynomials and exponentials) across three setups:
- Stochastic subsampling: Evaluating $M_t^\pm$ on shared minibatches of data.
- Snapshot-free variance reduction (Mi2P-VR): Periodically evaluating the full dataset in finite-sum problems without storing historical "snapshot" parameters in memory.
- Helper/preference feedback: Optimizing when you only have access to an inexact proxy or human comparison oracle $h$ whose differences approximate true objective differences up to error $\delta$.
Datasets
No new benchmarks are introduced. The authors evaluate Mi2P on:
- Breast Cancer Wisconsin dataset ($n = 455, d = 30$) for $\ell_2$-regularized logistic regression and group-wise hyperparameter tuning.
- Gymnasium reinforcement learning environments (
CartPole-v1,InvertedPendulum-v5, andSwimmer-v5) for policy search using simulated pairwise preference feedback. - Controlled synthetic tasks (detailed in the appendices).
Key Insights and Ideas
- Translation invariance cancels shared noise: Because Mi2P only cares about the sign of the difference $M_t^+ - M_t^-$, adding any constant $c$ to both estimators changes nothing. When both points are evaluated on the same minibatch, the baseline noise at $x_t$ cancels out! Under average smoothness across samples, the remaining error shrinks from bulky function-value variance down to a tiny directional gradient projection—upgrading the rate from $\widetilde{\mathcal{O}}(d^3/\varepsilon^6)$ to $\widetilde{\mathcal{O}}(d/\varepsilon^4)$.
- Free variance reduction without memory overhead: Standard variance-reduction methods (like SVRG) store a past "snapshot" iterate and its full-batch evaluation to build a control variate. Because those snapshot terms enter $M_t^+$ and $M_t^-$ identically as a constant shift, they algebraically cancel in $M_t^+ - M_t^-$. Plain minibatching with periodic full-batch refreshes achieves variance reduction with zero snapshot memory!
- Why momentum hits a wall: In first-order SGD, shrinking step sizes $\eta$ suppresses gradient noise relative to the signal, making exponential averaging (momentum) shine. In comparison-based search, both signal and noise in $f_\xi(x_t^+) - f_\xi(x_t^-)$ scale linearly with $\eta$. Consequently, standard momentum adaptations provably fail to improve the rate (optimal momentum weight $\beta = 1$, i.e., no momentum).
Key Results
Theoretically, Mi2P matches or beats prior state-of-the-art complexities under strictly weaker smoothness conditions:
Empirically:
- Logistic Regression: At tiny batch sizes ($b \in \{1, 5\}$), noise overwhelms the sign bit and RSGF wins. For $b \ge 10$, Mi2P matches or outperforms RSGF and handily beats coordinate-wise search.
- RL Policy Search with Preferences: Using pairwise trajectory comparisons, Mi2P achieves the highest mean returns across all three Gymnasium tasks—most notably on
Swimmer-v5, scoring 258.8 vs. MiSTP's 208.8 and Zeroth-Order Policy Gradient's (ZPG) 71.4.
- Cheap Helper Tuning: Using a fast, early-stopped proxy (~10x cheaper than full training) to tune logistic regression hyperparameters, Mi2P drops validation loss from $0.121$ to $\sim 0.095$ (closing over half the gap to the $0.073$ optimum) before settling at the predicted $\mathcal{O}(\sqrt{d\delta})$ accuracy floor.
Limitations and Future Work
- Unknown smoothness constants: Like RSGF and MiSTP, the theoretical step sizes require knowing smoothness parameters ($L_0, L_1$), which are rarely available in true black-box settings (requiring grid-search tuning in practice). Developing adaptive step-size variants is a key open problem.
- Very small minibatches: Because Mi2P compresses magnitude information into a single sign bit, extreme noise at $b=1$ or $5$ can degrade empirical performance compared to magnitude-aware finite differences.
- Future directions: Designing novel momentum-like mechanisms tailored to the $\Theta(\eta)$ signal-and-noise scaling of comparison oracles, and testing Mi2P in large-scale human-in-the-loop applications.
Summary updated