Papers
Topics
Authors
Recent
Search
2000 character limit reached

Comparisons Are All You Need for Optimizing Smooth Functions

Published 19 May 2024 in cs.LG, cs.DS, and math.OC | (2405.11454v1)

Abstract: When optimizing machine learning models, there are various scenarios where gradient computations are challenging or even infeasible. Furthermore, in reinforcement learning (RL), preference-based RL that only compares between options has wide applications, including reinforcement learning with human feedback in LLMs. In this paper, we systematically study optimization of a smooth function f ⁣:R<sup>nRf\colon\mathbb{R}<sup>n\to\mathbb{R} only assuming an oracle that compares function values at two points and tells which is larger. When ff is convex, we give two algorithms using O~(n/ϵ)\tilde{O}(n/\epsilon) and O~(n<sup>2)\tilde{O}(n<sup>{2}) comparison queries to find an ϵ\epsilon-optimal solution, respectively. When ff is nonconvex, our algorithm uses O~(n/ϵ<sup>2)\tilde{O}(n/\epsilon<sup>2) comparison queries to find an ϵ\epsilon-approximate stationary point. All these results match the best-known zeroth-order algorithms with function evaluation queries in nn dependence, thus suggest that \emph{comparisons are all you need for optimizing smooth functions using derivative-free methods}. In addition, we also give an algorithm for escaping saddle points and reaching an ϵ\epsilon-second order stationary point of a nonconvex ff, using O~(n<sup>1.5/ϵ<sup>2.5)\tilde{O}(n<sup>{1.5}/\epsilon<sup>{2.5}) comparison queries.

Authors (2)
Citations (1)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Tweets

Sign up for free to view the 1 tweet with 0 likes about this paper.