Abstract
In many machine learning scenarios, optimization problems are complicated by a limited understanding of objective function characterizations, making first-order algorithms (which rely on gradients) difficult or impossible to implement. This paper explores a derivative-free approach to minimizing smooth, strictly quasi-convex functions using a "comparison oracle." This oracle simply identifies which of two points yields a higher function value. By integrating comparison-based gradient direction estimation with a normalized gradient descent framework, we demonstrate that comparisons alone are sufficient to solve these optimization problems. We prove that the proposed algorithm achieves a query complexity of $\mathcal{O}\left( \frac{nD^2}{\varepsilon^2} \log \frac{nD}{\varepsilon} \right)$ to find an $\varepsilon$-approximate solution, where $n$ is the dimension and $D$ is the upper bound of the distance to the optimal solution.
Introduction
Standard optimization in machine learning typically assumes access to first-order information—the gradient. However, in "black-box" scenarios such as adversarial neural network attacks, complex policy searches in reinforcement learning, or human-in-the-loop preference testing, gradients are often unavailable or computationally prohibitive.
While zeroth-order methods (which use function values) offer a solution, this research pushes the boundaries further by utilizing a comparison oracle. This model is particularly relevant when exact function values are difficult to quantify but ranking two points is straightforward. Furthermore, the work extends beyond standard convex objectives to quasi-convex functions, a broader class where level sets are convex but the functions themselves may lack the traditional properties required for standard gradient descent.
The Comparison-AdaNGD Algorithm
The core contribution of this work is the Comparison-based Approximation Adaptive Normalized Gradient Descent (Comparison-AdaNGD) algorithm. The method rests on two primary technical pillars:
1. Comparison-based Gradient Direction Estimation (GDE)
Since the algorithm cannot compute a gradient directly, it must "hunt" for the descent direction. By querying the comparison oracle at specific points around the current iteration, the algorithm performs a binary search to estimate the unit vector pointing toward the steepest descent. This allows the model to approximate the geometry of the function without ever knowing a single numerical value of $f(x)$.
2. Normalized Gradient Descent (NGD)
In quasi-convex optimization, the magnitude of the gradient can be highly misleading; it does not necessarily diminish as one approaches the global minimum. NGD addresses this by ignoring the gradient's length and focusing solely on its direction. The authors adapt this by feeding the estimated direction from the GDE into a normalized descent framework, ensuring stable progress toward the optimum even when the function's slope is erratic.
Theoretical Insights
The paper provides a rigorous mathematical foundation for why comparisons are sufficient for convergence:
- Direction Over Magnitude: For quasi-convex functions, the gradient's magnitude is often "unreliable" information. By using a comparison oracle—which naturally struggles with magnitude but excels at identifying direction—the authors align the oracle's strengths with the requirements of the NGD algorithm.
- Strict Quasi-Convexity: The proof assumes that gradients only vanish at the global minimum. This ensures that the comparison oracle can always identify a "better" direction until the optimal solution is reached.
- Complexity Scaling: The query complexity scales linearly with the dimension $n$. The resulting bound, $\mathcal{O}\left( \frac{nD^2}{\varepsilon^2} \log \frac{nD}{\varepsilon} \right)$, matches the iteration complexity of standard NGD ($\mathcal{O}(1/\varepsilon^2)$), with the additional logarithmic factor representing the "cost" of using comparisons to estimate the direction.
Conclusion and Future Work
This work establishes that smooth, strictly quasi-convex problems can be solved using only binary comparisons, providing a robust framework for optimization in information-poor environments. However, several avenues for future research remain:
- Empirical Validation: The current study is purely theoretical; future work should benchmark the algorithm against real-world machine learning tasks.
- Noise Sensitivity: The model assumes a deterministic oracle. In practical applications like human feedback, comparisons are often stochastic (noisy), necessitating a more robust algorithmic variant.
- Non-Smooth Functions: Extending these proofs to non-smooth functions or functions with different smoothness classes (e.g., $(L_0, L_1)$-smoothness) would further broaden the applicability of comparison-based optimization.
Summary updated