Trust Region Methods for Nonconvex Stochastic Optimization beyond Lipschitz Smoothness

Chenghan Xie, Chenxi Li, Chuwen Zhang, Qi Deng, Dongdong Ge, Yinyu YeAAAI 2024

TL;DR

This paper introduces a unified trust region framework for optimizing non-convex functions that don't strictly adhere to the standard Lipschitz smoothness assumption, a common issue in deep learning and distributionally robust optimization (DRO). The authors demonstrate that their novel trust region methods can achieve convergence to second-order stationary points, a significant improvement over existing methods that are limited to first-order stationary points, even under these more general smoothness conditions.

What Problem Does This Paper Address?

Many machine learning optimization problems, especially those involving deep neural networks and distributionally robust optimization (DRO), deal with functions whose gradients aren't globally Lipschitz continuous. This "non-Lipschitz smoothness" breaks the assumptions of many standard optimization algorithms, potentially hindering their convergence or requiring ad-hoc fixes like gradient clipping. Existing methods that handle this generalized smoothness often only guarantee convergence to first-order stationary points (FOSP), which can be suboptimal in non-convex settings. The paper aims to bridge this gap by developing optimization methods that can find second-order stationary points (SOSP) under these more relaxed, yet practically relevant, smoothness conditions.

Methods

The core contribution is a unified trust region framework for generalized smoothness. Trust region methods are known for their ability to find second-order stationary points by solving a local quadratic approximation of the objective function within a "trust region." The authors adapt this framework by:

  • Generalizing Smoothness Conditions: They introduce and utilize the $(L_0, L_1)$-smoothness condition, which allows the Hessian's Lipschitz constant to grow linearly with the gradient norm, and a second-order generalized smoothness condition.
  • Unified Framework (Algorithm 1): This framework uses a quadratic subproblem where the choice of the matrix $B_t$ determines whether it's a first-order or second-order method.
  • First-Order Trust Region (FOTRGS): By setting $B_t$ appropriately (e.g., $B_t=0$ for normalized gradient descent equivalence), they show convergence to FOSP.
  • Second-Order Trust Region (SOTRGS): By using an approximation of the Hessian for $B_t$, they achieve convergence to SOSP, which is a key novelty.
  • Variance Reduction (FOTRGS-VR, SOTRGS-VR): They incorporate variance reduction techniques to improve the sample complexity of both first- and second-order methods, achieving optimal rates.
  • Inexactness and Scalability: They also propose an inexact version of the second-order method to handle large-scale problems where computing the full Hessian is prohibitive.

Datasets

The paper uses imbalanced classification datasets for evaluation, specifically:

  • MNIST
  • Fashion-MNIST
  • CIFAR-10

These datasets were modified to create imbalanced distributions by selecting only a subset of training samples for each category, simulating scenarios with heterogeneous subpopulations. This is a departure from standard balanced datasets and is relevant to applications where fairness is a concern.

Key Insights and Ideas

  • Trust Regions as a Unifying Tool: The paper elegantly demonstrates how trust region methods can unify and generalize existing techniques like gradient clipping and normalization under the $(L_0, L_1)$-smoothness assumption.
  • Bridging the Gap to Second-Order Optimality: The most significant insight is showing that it's possible to achieve second-order stationary points even when the standard Lipschitz smoothness assumption is violated, a crucial step for better optimization in complex, real-world scenarios.
  • DRO as a Key Application: The work highlights Distributionally Robust Optimization (DRO) as a prime example where generalized smoothness conditions naturally arise and where achieving SOSP is particularly beneficial.
  • Complexity Improvements: The proposed second-order methods offer better sample complexity than first-order methods for finding SOSP, and with variance reduction, they match the optimal rates for standard smooth optimization.

Key Results

  • FOTRGS: Achieves convergence to FOSP under $(L_0, L_1)$-smoothness.
  • SOTRGS: Achieves convergence to SOSP under generalized second-order smoothness with a sample complexity of $O(\epsilon^{-3.5})$.
  • SOTRGS-VR: With variance reduction, achieves SOSP with an optimal sample complexity of $O(\epsilon^{-3})$.
  • Experimental Validation: Preliminary experiments on imbalanced DRO tasks show that the proposed trust region methods (especially SOTRGS and SOTRGS-VR) outperform standard SGD and first-order methods in terms of training efficiency and test accuracy, particularly for minority classes, demonstrating improved fairness and robustness.

Limitations and Future Work

  • Exploration of $B_t$: The authors suggest that exploring more choices for the matrix $B_t$ in their unified framework is an interesting direction for future research.
  • Generalizability Beyond DRO: A key open question is whether other machine learning problems beyond DRO exhibit properties of second-order generalized smoothness, which could benefit from their proposed methods.
  • Theoretical Guarantees for Inexact Methods: While an inexact version of SOTRGS is proposed for scalability, the theoretical performance bounds for this version are left for future work.

Summary updated

BibTeX
@inproceedings{xie2024trust,
  author = {Chenghan Xie and Chenxi Li and Chuwen Zhang and Qi Deng and Dongdong Ge and Yinyu Ye},
  title = {{Trust Region Methods for Nonconvex Stochastic Optimization beyond Lipschitz Smoothness}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=kK2G0q0tlw},
}
Figure