Introduction
In modern artificial intelligence, particularly in Reinforcement Learning from Human Feedback (RLHF), optimization often occurs in environments where the objective function's mathematical form is unknown. This necessitates Zeroth-Order (ZO) optimization, where the algorithm relies solely on function evaluations rather than explicit gradient information.
Standard ZO methods typically require precise numerical values (scalar feedback) to estimate descent directions. However, in many human-centric applications, obtaining consistent numerical scores is difficult. Humans are significantly more reliable at providing ordinal feedback—ranking a set of options from best to worst—than assigning absolute scores. While rank-based heuristics like Evolutionary Strategies (ES) and Covariance Matrix Adaptation Evolution Strategy (CMA-ES) are popular in practice due to their robustness to noise, their theoretical foundations have historically lagged behind value-based methods. This paper bridges that gap by providing explicit, non-asymptotic query complexity bounds for a rank-based ZO algorithm, proving that ordinal information is sufficient to match the efficiency of value-based optimization.
The Rank-Based Zeroth-Order Algorithm
The authors propose a streamlined Rank-Based ZO algorithm designed for computational efficiency and theoretical tractability. Unlike previous state-of-the-art rank methods such as ZO-RankSGD, which require constructing complex comparison graphs with a computational cost of $O(dN^2)$, the proposed method operates at $O(dN)$, where $d$ is the dimensionality and $N$ is the number of samples.
The algorithm follows a four-step process per iteration:
- Random Exploration: The algorithm generates $N$ random exploration directions using Gaussian vectors.
- Ordinal Feedback: It constructs $N$ test points by perturbing the current state along these directions. A "Rank Oracle" then sorts these points based on noisy evaluations.
- Weighted Update: Positive weights are assigned to the top-performing directions (e.g., the top 25%), and negative weights are assigned to the worst-performing directions (e.g., the bottom 25%).
- Descent Step: These weighted directions are aggregated to estimate a descent direction, and the algorithm updates the current parameter estimate.
Theoretical Analysis and Query Complexity
The core contribution of this work is the proof that rank-based feedback does not result in a loss of efficiency compared to value-based feedback in stochastic environments. By moving away from traditional "drift analysis" and utilizing new analytical tools based on the order statistics of Gaussian variables, the authors establish explicit query complexity bounds.
Key Complexity Results
The paper demonstrates that the number of queries required to reach an accuracy level $\epsilon$ matches the best-known bounds for value-based ZO algorithms:
- Strongly Convex Functions: The query complexity is established as $O(\frac{d}{\epsilon})$.
- Nonconvex Functions: To find a stationary point, the query complexity is $O(\frac{d}{\epsilon^2})$.
These results confirm that for stochastic optimization, the relative order of points provides all the necessary information to achieve optimal convergence rates, effectively narrowing the long-standing theoretical gap between rank-based heuristics and value-based optimization.
Key Insights
- Information Sufficiency: The research proves that throwing away numerical magnitudes in favor of rankings does not degrade the convergence rate. In noisy settings, the ordinal structure of the search space is remarkably robust.
- Noise Robustness: The analysis explicitly accounts for stochasticity. The algorithm maintains optimal convergence even when the ranking provided by the oracle is occasionally "incorrect" due to evaluation noise.
- Computational Efficiency: By simplifying the weighting mechanism and avoiding the $O(dN^2)$ graph construction of prior methods, the algorithm is better suited for high-dimensional problems.
Limitations and Future Work
While the paper provides a rigorous theoretical framework, it notes certain constraints:
- Gradient Lower Bound: The analysis utilizes a technical assumption (Assumption 4) where the norm of the stochastic gradient is lower-bounded. This is used to tune the algorithm's smoothing parameter, under the logic that in noisy environments, the perceived gradient rarely vanishes entirely.
- Smoothness Requirements: The current proofs assume the objective function is smooth. Exploring whether these optimal bounds hold for non-smooth functions remains an open area for research.
- Empirical Validation: As a theoretical study, the work does not include large-scale empirical benchmarks. Future research could involve implementing this specific weighting strategy within RLHF pipelines for large language models to verify its practical performance against standard value-based estimators.
Summary updated