Finding Second-Order Stationary Points Efficiently in Smooth Nonconvex Linearly Constrained Optimization Problems

Songtao Lu, Meisam Razaviyayn, Bo Yang, Kejun Huang, Mingyi HongNeurIPS 2020

Introduction

In non-convex optimization—a cornerstone of modern machine learning and data science—finding a local minimum is a primary objective. However, standard first-order methods like gradient descent frequently stall at saddle points, where the gradient is zero but the point is not a true local minimum. Escaping these traps requires reaching a Second-Order Stationary Point (SOSP), characterized by non-negative curvature in all feasible directions.

While escaping saddle points is well-understood in unconstrained scenarios, introducing linear inequality constraints (e.g., $Ax \leq b$) dramatically increases the difficulty. In fact, finding an SOSP for general linearly constrained non-convex problems is theoretically NP-hard. Previous algorithms either suffered from exponential complexity relative to the number of constraints or were limited to highly specific problem structures. This paper introduces a breakthrough approach, presenting the first algorithms capable of efficiently finding SOSPs in generic linearly constrained non-convex optimization problems.

Methodology: SNAP and SNAP+

To tackle this NP-hard problem, the authors propose two novel algorithms: SNAP (Successive Negative-curvature grAdient Projection) and its first-order variant, SNAP+.

SNAP is a second-order algorithm that alternates between two operational modes. First, it utilizes Projected Gradient Descent (PGD) to locate a first-order stationary point. If the algorithm detects it is trapped at a saddle point, it switches to Negative Curvature Descent (NCD). By performing an eigenvalue decomposition of the Hessian—restricted to the "free" space of active constraints—SNAP identifies a direction of negative curvature and effectively "jumps" away from the saddle point.

SNAP+ extends this capability to settings where computing the Hessian is impractical. Instead of relying on exact second-order information, SNAP+ employs Subspace Gradient Descent from Noise (SGDN). By injecting a small amount of noise and observing the resulting changes in the gradient, SNAP+ approximates the negative curvature direction using only first-order information.

The theoretical foundation enabling these algorithms is the proof that a "Strict Complementarity" (SC) condition holds for generic problem instances. The authors demonstrate that by adding a tiny random linear perturbation to the objective function, the problem becomes "well-behaved" with probability one. Under the SC condition, the traditionally NP-hard second-order optimality check transforms into a tractable problem solvable in polynomial time. Furthermore, the algorithms employ "active set maneuvering" to respect constraint geometry, identifying which constraints are at their boundary to determine free directions for exploring negative curvature.

Experimental Setup

The algorithms were evaluated primarily on Nonnegative Matrix Factorization (NMF), a classic non-convex problem inherently featuring linear constraints ($W, H \geq 0$). The researchers utilized synthetic datasets, generating random matrices to create specific NMF instances where the origin $(0,0)$ acts as a known, difficult saddle point. The study also references handwritten text recognition (e.g., the MNIST database) as a practical application context for these NMF formulations.

Key Results

The most significant contribution of this work is the dramatic improvement in computational complexity. Unlike previous methods that scaled exponentially with the number of constraints ($m$), the per-iteration complexity of both SNAP and SNAP+ is polynomial in both the dimension ($d$) and the number of constraints ($m$).

Algorithm Complexity Comparison

Specifically, SNAP achieves an $(\epsilon_G, \epsilon_H)$-SOSP in $\mathcal{O}(\max\{1/\epsilon_G^2, 1/\epsilon_H^3\})$ iterations. Remarkably, SNAP+ achieves an $(\epsilon, \sqrt{\epsilon})$-SOSP in $\mathcal{O}(1/\epsilon^{2.5})$ iterations, representing a major milestone by providing second-order guarantees using only gradient information.

Empirically, the algorithms demonstrated clear superiority in NMF experiments. While standard PGD and PGD with line search consistently became trapped at saddle points with high loss, both SNAP and SNAP+ successfully escaped these regions, driving the loss values down by many orders of magnitude (reaching as low as $10^{-20}$).

Limitations and Future Directions

While groundbreaking, the current framework has limitations. The theory and algorithms are explicitly tailored for linear inequality and equality constraints; extending these methods to handle complex manifold constraints or general non-linear constraints remains an open challenge. Additionally, while the "generic" assumption holds for almost all practical cases, the algorithms might still struggle against specifically engineered, adversarial worst-case instances that violate strict complementarity. Finally, as the current algorithms are deterministic, developing a stochastic extension (e.g., utilizing mini-batches) is a natural next step to efficiently scale these methods for massive datasets.

Summary updated

BibTeX
@inproceedings{lu2020finding,
  author = {Songtao Lu and Meisam Razaviyayn and Bo Yang and Kejun Huang and Mingyi Hong},
  title = {{Finding Second-Order Stationary Points Efficiently in Smooth Nonconvex Linearly Constrained Optimization Problems}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure