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

A Sequential Quadratic Programming Method for Optimization with Stochastic Objective Functions, Deterministic Inequality Constraints and Robust Subproblems

Songqiang Qiu, Vyacheslav KungurtsevarXiv 2023 · DOI

This paper presents a robust Sequential Quadratic Programming (SQP) framework designed to tackle a particularly thorny class of problems: optimization where the objective function is stochastic (an expectation), but the constraints are deterministic and nonlinear. By blending classical "robust" SQP techniques with modern stochastic line search methods, the authors provide a mathematically rigorous path to convergence in the presence of noise.

TL;DR

The authors develop a robust SQP algorithm that handles stochastic objectives and deterministic constraints by ensuring subproblems always remain solvable, even when linearizations are inconsistent. Using a stochastic line search and adaptive sampling, they prove the algorithm converges "almost surely" to a KKT point, offering a reliable tool for constrained machine learning and statistical tasks.

What Problem Does This Paper Address?

In the world of optimization, we often face a "double whammy." First, we might only have access to noisy samples of our objective function (e.g., training a model on a subset of data), which is the realm of Stochastic Optimization. Second, we often have hard rules that the solution must follow (e.g., physical limits or budget constraints), known as Constrained Optimization.

Sequential Quadratic Programming (SQP) is a powerhouse for constrained problems, but it has a major weakness: the local linearizations of the constraints can sometimes be "inconsistent," meaning the quadratic subproblem has no solution. When you add stochastic noise into the mix, these subproblems become even more fragile. Most existing stochastic methods either ignore complex constraints or assume they are simple enough to "project" onto. This paper fills the gap by providing a method that handles nonlinear equality and inequality constraints robustly.

Methods

The authors combine three key ingredients to build their algorithm:

  1. Robust Subproblems: Following the work of Burke and Han, the algorithm doesn't just solve a standard quadratic program. Instead, it solves a "perturbed" version that allows for slight violations of the linearized constraints, penalized by a merit function. This ensures that every iteration produces a valid search direction, even if the constraints are temporarily impossible to satisfy.
  2. Stochastic Line Search: Unlike standard Stochastic Gradient Descent (SGD) which uses a fixed or diminishing step size, this method uses a line search. Since we can't calculate the true objective value, the algorithm uses "probabilistically accurate" estimates. If the estimates are good enough with a high enough probability, the line search can safely decide whether to accept a step.
  3. Adaptive Batch Sampling: To prevent the penalty parameter (which balances the objective vs. feasibility) from blowing up to infinity due to noise, the authors designed a specific sampling strategy. As the gradient gets larger or noisier, the batch size increases to maintain accuracy.

Datasets

The algorithm was evaluated on two fronts:

  • Hock-Schittkowski (HS) Problems: A benchmark set of 58 classic constrained optimization problems. The authors modified these by adding Gaussian noise to the objective functions to simulate a stochastic environment.
  • Learning Directed Acyclic Graphs (DAGs): A real-world application in structure learning. They used synthetic datasets generated from Erdős-Rényi (ER) and scale-free (SF) graph models, using both Gaussian and Exponential noise distributions.

Key Insights and Ideas

  • Inconsistency is Avoidable: The "aha moment" here is that you don't need the linearized constraints to be perfectly consistent at every step. By treating feasibility as part of a penalized subproblem, the algorithm remains stable throughout the optimization process.
  • Almost Sure Convergence: The paper provides a strong theoretical guarantee: under the extended Mangasarian-Fromovitz constraint qualification (eMFCQ), the iterates will converge to a Karush-Kuhn-Tucker (KKT) point with probability 1.
  • The Penalty Parameter Balance: A recurring nightmare in SQP is the penalty parameter $\rho$ becoming unbounded. The authors show that by linking the accuracy of the gradient estimates to the step size, they can guarantee $\rho$ stays bounded almost surely.

Key Results

  • Robustness across Noise: In the 58 HS test problems, the algorithm successfully found approximate solutions across three tiers of noise ($\sigma = 10, 1, 0.1$). While higher noise required more iterations (an exponential increase, as expected in stochastic land), the algorithm remained stable.
  • DAG Learning: When applied to the "NOTEARS" framework for learning graph structures, the SQP method produced encouraging results. On graphs with 10–15 nodes, it achieved low False Discovery Rates (FDR) and Structural Hamming Distances (SHD) comparable to state-of-the-art deterministic solvers, despite the noisy objective.
  • Sample Efficiency: The experiments confirmed that while larger sample sizes reduce variation, there is a "marginal returns" threshold where additional samples don't significantly improve the expected value of the result.

Limitations and Future Work

  • Scaling to Large Graphs: The DAG experiments were limited to relatively small graphs (up to 15 nodes). The authors note that applying this to large-scale problems will require specialized linear algebra "tricks" and sparse matrix techniques.
  • Second-Order Information: The current implementation uses a simple diagonal Hessian approximation ($H_k = \tau I$). The authors suggest that incorporating more sophisticated quasi-Newton updates (like BFGS) while maintaining stochastic convergence guarantees is a primary direction for future research.
  • Specific Failure Cases: The algorithm struggled with a few specific HS problems (e.g., S394, S395), suggesting that certain constraint geometries might still pose challenges for this robust formulation.

Summary updated

BibTeX
@misc{qiu2023sequential,
  author = {Songqiang Qiu and Vyacheslav Kungurtsev},
  title = {{A Sequential Quadratic Programming Method for Optimization with Stochastic Objective Functions, Deterministic Inequality Constraints and Robust Subproblems}},
  year = {2023},
  eprint = {2302.07947},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.07947},
}
Figure