NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient Convex Optimization Requires Superlinear Memory

Annie Marsden, Vatsal Sharan, Aaron Sidford, Gregory Valiant

Authors: Annie Marsden (Stanford University), Vatsal Sharan (University of Southern California), Aaron Sidford (Stanford University), Gregory Valiant (Stanford University)

Abstract

We show that any memory-constrained, first-order algorithm which minimizes $d$-dimensional, $1$-Lipschitz convex functions over the unit ball to $1/\mathrm{poly}(d)$ accuracy using at most $d^{1.25-\delta}$ bits of memory requires at least $\Omega(d^{1+(4/3)\delta})$ queries. This result resolves a long-standing open problem by proving that linear-memory algorithms cannot achieve optimal query complexity, establishing a fundamental trade-off between memory and speed in convex optimization.

Introduction

In the realm of convex optimization, practitioners and theorists alike have long grappled with a fundamental choice between two classes of algorithms. On one hand, simple first-order methods like Subgradient Descent are highly memory-efficient, requiring only $O(d)$ space to store the current point and gradient. However, they are relatively slow, requiring $O(1/\epsilon^2)$ queries to find an $\epsilon$-accurate solution. On the other hand, Cutting Plane Methods (such as the Ellipsoid Method) are query-efficient, needing only $O(d \log(1/\epsilon))$ queries, but are memory-intensive, typically requiring $O(d^2)$ space to maintain the geometry of the feasible region.

For years, the optimization community sought a "Goldilocks" algorithm: one that uses only linear memory ($O(d)$) while achieving the optimal query complexity ($O(d)$). This challenge was formally posed as an open problem at the Conference on Learning Theory (COLT) in 2019. This work, presented at COLT 2022, provides a definitive answer: for high-accuracy optimization, superlinear memory is a physical necessity.

The Memory-Query Trade-off

The core contribution of this research is the mapping of the trade-off between the memory available to an algorithm and the number of queries it must make to an oracle.

Trade-off between oracle complexity and memory for convex optimization.

As illustrated in Figure 1, there is a significant gap between the performance of gradient descent and cutting plane methods. The red region represents the lower bound established in this work, showing that any algorithm attempting to operate with less than $d^{1.25}$ bits of memory must suffer a query complexity that is polynomially worse than the $O(d)$ optimum.

Methodology: Proving the Lower Bound

The authors establish this lower bound through a sophisticated combination of geometric construction and information theory.

1. The Hard Function Class

The proof relies on a difficult family of functions based on the "Nemirovski function." This non-smooth, 1-Lipschitz function is designed such that an algorithm can only make progress by finding directions approximately orthogonal to all previously observed gradients. The optimum is hidden deep within a sequence of "phases," forcing the algorithm to explore the space systematically.

2. The Orthogonal Vector Game

To make the proof tractable, the optimization problem is abstracted into a communication game. In this game, a "Player" attempts to find vectors orthogonal to the rows of a hidden random matrix $A$, where rows are drawn uniformly from the $d$-dimensional hypercube $\{ \pm 1 \}^d$.

3. Information-Theoretic Bottleneck

Using mutual information, the authors demonstrate that if the Player has limited memory ($M$ bits), they cannot retain enough information about the matrix $A$ to produce the required orthogonal vectors without repeatedly querying the Oracle. This "forgetting" mechanism forces the algorithm to re-learn the geometry of the function, leading to increased query complexity.

Key Results

The main result is formalized in the following theorem:

Theorem 1. Any algorithm using at most $d^{1.25-\delta}$ bits of memory requires at least $\Omega(d^{1+(4/3)\delta})$ queries to reach $1/\text{poly}(d)$ accuracy.

This theorem directly resolves the COLT 2019 open problem by Woodworth and Srebro. It proves that the performance of memory-constrained algorithms is a polynomial factor worse than cutting plane methods that utilize $O(d^2)$ memory. The insight is that memory serves as the "state" of the algorithm; if memory is restricted, the algorithm loses its representation of the search space, necessitating redundant queries.

Conclusion and Future Directions

While this work establishes that superlinear memory is required ($d^{1.25}$), a gap remains between this bound and the $d^2$ memory used by standard cutting plane methods. Future research may focus on:

  • Closing the Gap: Determining if the true lower bound is closer to $d^2$.
  • Smooth Functions: Investigating if similar memory bottlenecks exist for smooth convex optimization, where gradients are more predictable.
  • Low Accuracy Regimes: Mapping the trade-offs for coarse optimization (large $\epsilon$), as the current bound is most potent for high-accuracy ($1/\text{poly}(d)$) settings.

By bridging the gap between continuous geometry and discrete information theory, this work provides a new lens through which to understand the fundamental limits of optimization algorithms.

Summary updated

BibTeX
@inproceedings{marsden2022efficient,
  author = {Annie Marsden and Vatsal Sharan and Aaron Sidford and Gregory Valiant},
  title = {{Efficient Convex Optimization Requires Superlinear Memory}},
  booktitle = {Conference on Learning Theory},
  year = {2022},
  url = {https://openreview.net/forum?id=3oaRViV-BB},
}
Figure