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

Accelerating stochastic sequential quadratic programming for equality constrained optimization using predictive variance reduction

Albert S. Berahas, Jiahao Shi, Zihong Yi, Baoyu ZhouComput. Optim. Appl 2023

TL;DR

This paper introduces SVR-SQP, a novel stochastic optimization algorithm that accelerates solving equality-constrained problems by employing variance-reduced gradient estimates within a sequential quadratic programming (SQP) framework. This approach achieves faster convergence and improved robustness compared to existing methods, particularly in machine learning applications.

What Problem Does This Paper Address?

Many real-world optimization problems, especially in machine learning, involve minimizing a sum of functions subject to equality constraints. Solving these problems deterministically can be computationally prohibitive due to the large number of functions (N). Stochastic methods offer a solution by approximating gradients, but traditional stochastic methods can suffer from slow convergence due to noisy gradient estimates. Existing stochastic SQP methods have made progress, but often require careful step-size tuning or diminishing step sizes for convergence. This paper aims to develop a more robust and efficient stochastic SQP method that leverages variance reduction techniques to overcome the noise in gradient estimates, leading to faster convergence and better performance.

Methods

The core of this work is the Stochastic Variance Reduced Sequential Quadratic Programming (SVR-SQP) algorithm. It builds upon the Sequential Quadratic Programming (SQP) paradigm, which iteratively solves a quadratic approximation of the objective function subject to a linearization of the constraints. The key innovation is the use of variance-reduced gradient approximations, specifically inspired by the SVRG method.

Here's a breakdown of the approach:

  • SQP Framework: The algorithm iteratively solves a subproblem to find a search direction. This subproblem involves minimizing a quadratic model of the objective and satisfying linearized constraints.
  • Variance Reduction (SVRG-type): Instead of using standard stochastic gradients, SVR-SQP employs a variance-reduced gradient estimate. This estimate is computed by leveraging a reference point from a previous outer iteration, significantly reducing the variance of the gradient approximation. This is a crucial departure from standard stochastic gradient methods.
  • Nested Iterations: Due to the nature of the SVRG gradient estimation, the algorithm operates with two types of iterations: outer (k) and inner (s).
  • Merit Function and Step Size: A merit function is used to guide the optimization process and determine an appropriate step size. The paper proposes two step size strategies:
  • Constant Step Size: A fixed step size is used, similar to existing SVRG methods.
  • Adaptive Step Size: A more sophisticated strategy that aims to minimize an upper bound on the change in the merit function, inspired by previous work on stochastic SQP. This strategy is more robust to parameter choices.
  • Theoretical Guarantees: The paper provides theoretical convergence guarantees, proving that the proposed method converges to a first-order stationary point in expectation, even with non-diminishing step sizes.

Datasets

The authors evaluate their method on binary classification problems using datasets from the LIBSVM collection. Specifically, they consider:

  • Constrained Logistic Regression Problems:
    • With linear equality constraints (Equation 5.1).
  • With an L2 norm squared constraint (Equation 5.2).
  • Datasets Used: a9a, australian, heart, ijcnn1, ionosphere, mushroom, phishing, sonar, splice, and w8a.

Key Insights and Ideas

  • Variance Reduction is Key for SQP: The paper demonstrates that incorporating variance reduction techniques into SQP methods is highly effective for equality-constrained optimization. It significantly improves convergence speed and robustness compared to methods relying on noisy stochastic gradients.
  • Adaptive Step Size Offers Robustness: The adaptive step size strategy proves to be competitive with, and often superior to, the best-tuned constant step size strategy. This suggests that adaptive methods can reduce the burden of manual parameter tuning.
  • SQP Advantage over Subgradient: The experimental results highlight that the SQP framework, even in its stochastic and variance-reduced form, offers advantages over simpler stochastic subgradient methods, especially in terms of achieving better feasibility and stationarity.
  • Theoretical Guarantees with Non-Diminishing Steps: A significant theoretical contribution is the proof of convergence in expectation with non-diminishing step sizes, a stronger result than what is typically achieved by standard stochastic gradient methods.

Key Results

  • Convergence Guarantees: The SVR-SQP method is theoretically proven to converge to a first-order stationary point in expectation for both constant and adaptive step size strategies.
  • Empirical Performance:
    • SVR-SQP-A (adaptive step size) performs competitively with the best-tuned SVR-SQP-C (constant step size) and often outperforms it.
  • SVR-SQP-A consistently outperforms other methods (Sto-SQP and Sto-Subgrad-VR) on small batch sizes.
  • When compared to Sto-SQP and Sto-Subgrad-VR, SVR-SQP-A achieves comparable or better results with significantly less hyperparameter tuning effort.
  • The method demonstrates robustness to the choice of inner iteration length (S) and the adaptive step size parameter (β).

Limitations and Future Work

  • Limitations:
    • The paper assumes that the constraint function and its derivatives can be computed exactly, which might not always be the case in practice.
  • The theoretical analysis relies on certain assumptions, such as the boundedness of derivatives and the existence of a unique solution to the SQP subproblem.
  • While the adaptive step size strategy is more robust, it still requires careful selection of some parameters (e.g., au).
  • Future Work:
    • The authors suggest extending the analysis to derive iteration complexity results for the entire sequence of iterates, not just the best iterate.
  • Investigating the performance of SVR-SQP on a wider range of machine learning problems and constraint types.
  • Exploring alternative variance reduction techniques within the SQP framework.
  • Further analysis of the adaptive step size strategy and its theoretical properties.

Summary updated

BibTeX
@article{berahas2023accelerating,
  author = {Albert S. Berahas and Jiahao Shi and Zihong Yi and Baoyu Zhou},
  title = {{Accelerating stochastic sequential quadratic programming for equality constrained optimization using predictive variance reduction}},
  journal = {Comput. Optim. Appl},
  year = {2023},
  doi = {10.1007/s10589-023-00483-2},
}
Figure