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

Accelerated Gradient Algorithms with Adaptive Subspace Search for Instance-Faster Optimization

Yuanshi Liu, Hanzhen Zhao, Yang Xu, Pengyun Yue, Cong FangarXiv 2023

Abstract

Gradient-based minimax optimal algorithms have greatly promoted the development of continuous optimization and machine learning. One seminal work due to Yurii Nesterov [Nes83a] established $\tilde{\mathcal{O}}(\sqrt{L/\mu})$ gradient complexity for minimizing an $L$-smooth $\mu$-strongly convex objective. However, an ideal algorithm would adapt to the explicit complexity of a particular objective function and incur faster rates for simpler problems, triggering our reconsideration of two defeats of existing optimization modeling and analysis. (i) The worst-case optimality is neither the instance optimality nor such one in reality. (ii) Traditional $L$-smoothness condition may not be the primary abstraction/characterization for modern practical problems. In this paper, we open up a new way to design and analyze gradient-based algorithms with direct applications in machine learning, including linear regression and beyond. We introduce two factors $(\alpha, \tau_{\alpha})$ to refine the description of the degenerated condition of the optimization problems based on the observation that the singular values of Hessian often drop sharply. We design adaptive algorithms that solve simpler problems without pre-known knowledge with reduced gradient or analogous oracle accesses. The algorithms also improve the state-of-art complexities for several problems in machine learning, thereby solving the open problem of how to design faster algorithms in light of the known complexity lower bounds. Specially, with the $\mathcal{O}(1)$-nuclear norm bounded, we achieve an optimal $\tilde{\mathcal{O}}(\mu^{-1/3})$ (v.s. $\tilde{\mathcal{O}}(\mu^{-1/2})$) gradient complexity for linear regression. We hope this work could invoke the rethinking for understanding the difficulty of modern problems in optimization.

Introduction

In mathematical optimization, algorithms are typically designed for minimax optimality, ensuring performance against the most difficult problems in a class. While this provides a robust safety net, it often overlooks the performance gains possible on "easier" real-world instances. Standard theory relies heavily on $L$-smoothness, assuming gradients change at a uniform maximum rate. However, empirical evidence suggests that the Hessian matrices of practical machine learning models are often degenerate, possessing a few dominant eigenvalues and a long tail of negligible ones. This paper argues that traditional $L$-smoothness is a "blunt instrument" and proposes a new framework to exploit instance-specific simplicity.

The authors propose a characterization of optimization difficulty using two factors, $(\alpha, \tau_\alpha)$, describing the magnitude and decay rate of the Hessian's eigenvalues. To leverage this, they introduce AGMAS (Accelerated Gradient Method with Adaptive Subspace Search).

The AGMAS algorithm employs a two-stage process:

  1. The Eigen Extractor: A novel algorithm that utilizes gradient oracles to iteratively identify the subspace spanned by the largest eigenvalues. By using a "shift-and-invert" power method, it identifies these critical directions without the prohibitive cost of computing the full Hessian.
  2. Adaptive Optimization: Once the high-curvature subspace is identified, the algorithm "deflates" the problem's difficulty. It applies proximal acceleration to these significant directions while using standard gradient methods for the remaining, better-conditioned subspace.

Crucially, AGMAS is fully adaptive, searching for the optimal subspace size during execution without requiring prior knowledge of the eigenvalue distribution.

Results and Discussion

The theoretical results demonstrate that AGMAS can break established complexity lower bounds. For linear regression with a bounded nuclear norm ($\alpha=1$), the method achieves a complexity of $\tilde{\mathcal{O}}(\mu^{-1/3})$, significantly faster than the $\tilde{\mathcal{O}}(\mu^{-1/2})$ predicted by standard minimax theory. In non-convex settings, it improves the complexity for finding second-order stationary points to $\tilde{\mathcal{O}}(\epsilon^{-5/3})$.

Empirical validation using MNIST and CIFAR10 benchmarks supports these findings. MNIST, characterized by faster eigenvalue decay in its Neural Tangent Kernel (NTK), shows much faster convergence than the "harder" CIFAR10 dataset.

Convergence comparison of MNIST and CIFAR10 for Linear Regression (a) and ResNet18 (b).

As illustrated in the figure above, the loss values for MNIST decrease significantly faster than for CIFAR10 across both linear and deep learning models. This gap highlights the "instance-specific" simplicity that traditional theory fails to account for, but which AGMAS is designed to exploit.

Conclusion

By shifting the focus from worst-case scenarios to the inherent structure of specific problem instances, this research opens a new path for high-performance optimization. While the current implementation of AGMAS involves complex nested loops, its ability to surpass traditional complexity barriers suggests a promising direction for future algorithm design in deep learning and beyond.

Summary updated

BibTeX
@misc{liu2023accelerated,
  author = {Yuanshi Liu and Hanzhen Zhao and Yang Xu and Pengyun Yue and Cong Fang},
  title = {{Accelerated Gradient Algorithms with Adaptive Subspace Search for Instance-Faster Optimization}},
  year = {2023},
  eprint = {2312.03218},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.03218},
}
Figure