Finding Stationary Points by Comparisons

Helin Wang, Chenyi Zhang, Xiwen Tao, Yexin Zhang, Tongyang Li

TL;DR

This paper introduces the first algorithms to find stationary points of non-convex functions using only a comparison oracle—a tool that simply tells you which of two points has a higher value. By cleverly reconstructing second-order information (the Hessian) from these binary comparisons, the authors achieve a query complexity of $\widetilde{O}(n^2/\epsilon^{1.5})$ classically and a faster $\widetilde{O}(n/\epsilon^{1.5})$ in a quantum setting, matching the efficiency of advanced second-order optimization methods.

What Problem Does This Paper Address?

In standard optimization, we usually assume we have access to a function's exact values or its gradients. However, in many modern applications—like training Large Language Models (LLMs) via Reinforcement Learning from Human Feedback (RLHF)—getting an exact "score" is hard. Humans are much better at saying "Option A is better than Option B" than they are at assigning a precise numerical value to either.

The challenge is: can we find a stationary point (where the gradient is nearly zero) using only these pairwise comparisons? While previous work showed this was possible for convex functions or achieved slower rates for non-convex ones, this paper asks if we can exploit higher-order smoothness (like the "curviness" of the function) to speed up the process using only "better-than/worse-than" data.

Methods

The authors develop a "building block" approach to reconstruct the geometry of the function:

  1. Gradient Direction Estimation: Building on prior work, they first estimate the direction (but not the magnitude) of the gradient by comparing points in a local neighborhood.
  2. Hessian-Vector Products: They introduce ComparisonHessVec, a subroutine that estimates the direction of $\nabla^2 f(x) \cdot y$. It uses a clever geometric trick: by looking at how the gradient direction shifts when moving slightly, they can solve a "triangle" of vectors to infer the Hessian's influence.
  3. Normalized Hessian Estimation: By repeatedly calling the Hessian-vector subroutine, they reconstruct a normalized version of the entire Hessian matrix.
  4. The Trust-Region Algorithm: Finally, they use a Trust-Region-type approach (ComparisonTR). At each step, the algorithm generates three candidates:
  5. A simple gradient descent step.
  6. A line search along the Hessian's top eigenvector.
  7. A step based on a quadratic model of the function.

By comparing these three candidates and picking the best one, they ensure the function value decreases significantly at every iteration.

Datasets

Not discussed in the paper. This is a theoretical work focused on proving algorithmic complexity bounds rather than empirical benchmarking on specific datasets.

Key Insights and Ideas

  • Second-Order Rates from Zero-Order Info: The most striking insight is that you can achieve the $\epsilon^{-1.5}$ convergence rate—typically reserved for second-order methods that use gradients and Hessians—using only binary comparisons.
  • The "Triangle" Trick: Since the oracle doesn't provide magnitudes, the authors rely on the "Law of Sines" and geometric properties of vectors. They show that even if you only know the directions of three vectors that sum to zero, you can determine the ratios of their lengths. This allows them to bridge the gap between "which way" and "how much."
  • Quantum Speedup: The paper demonstrates that quantum computers can provide a quadratic speedup in terms of the dimension $n$. While the classical algorithm needs to explore $n$ dimensions (leading to $n^2$ complexity), the quantum version uses superpositions to estimate gradient directions much faster, reducing the cost to linear in $n$.

Key Results

  • Classical Complexity: The proposed algorithm finds an $\epsilon$-stationary point (where $\|\nabla f(x)\| \le \epsilon$) using $\widetilde{O}(n^2/\epsilon^{1.5})$ comparisons. This is a significant improvement over the $O(1/\epsilon^2)$ rate of standard gradient-based methods in terms of $\epsilon$.
  • Quantum Complexity: The quantum algorithm achieves $\widetilde{O}(n/\epsilon^{1.5})$ queries, providing the first quantum bound for this problem.
  • Robustness: The authors provide a "Robust Hessian Estimation" technique that handles "degenerate" cases—situations where the function's curvature is flat or nearly parallel in certain directions—ensuring the algorithm doesn't get stuck.

Limitations and Future Work

  • Dimension Dependence: The $n^2$ dependence in the classical algorithm is quite high for very high-dimensional problems (like modern neural networks). The authors note that it's unclear if this is the optimal dependence for comparison-based oracles.
  • Stopping Criteria: Because the algorithm only sees comparisons, it doesn't actually "know" when it has reached an $\epsilon$-stationary point (since it can't calculate the gradient norm). It is guaranteed to visit such a point, but a practical stopping rule remains an open question.
  • Noisy Comparisons: The current model assumes "noiseless" comparisons (the oracle is always right). Real-world human feedback is often noisy or inconsistent, so extending this to stochastic comparison models (like Bradley-Terry) is a logical next step.

Summary updated

BibTeX
@inproceedings{wang2026finding,
  author = {Helin Wang and Chenyi Zhang and Xiwen Tao and Yexin Zhang and Tongyang Li},
  title = {{Finding Stationary Points by Comparisons}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=VFpMpVXDJS},
}
Figure