TL;DR
This paper introduces an adaptive stochastic sequential quadratic programming (StoSQP) algorithm for solving nonlinear optimization problems with stochastic objectives and deterministic equality constraints. By using a differentiable exact augmented Lagrangian as a merit function and incorporating a novel stochastic line search, the algorithm achieves "almost sure" convergence and demonstrates superior performance compared to existing methods, especially in noisy environments.
What Problem Does This Paper Address?
Many real-world optimization problems, particularly in machine learning and statistics, involve objectives where evaluating the exact function, its gradient, or Hessian is computationally prohibitive or impossible. Instead, we rely on stochastic estimates (e.g., from subsampling data). These problems often come with deterministic equality constraints that must be satisfied. Existing methods for such "stochastic optimization with equality constraints" have limitations, such as requiring prespecified step-sizes that heavily influence performance or relying on specific noise distribution assumptions for convergence guarantees. This paper aims to develop a more robust and adaptive algorithm that can handle these challenges effectively.
Methods
The core of the proposed method is a Stochastic Sequential Quadratic Programming (StoSQP) framework. Here's a breakdown of the key components:
- Differentiable Exact Augmented Lagrangian: Instead of traditional penalty functions, the authors use a differentiable exact augmented Lagrangian as a "merit function." This function helps guide the optimization process by balancing objective reduction and constraint satisfaction.
- Revisiting and Simplifying Deterministic SQP: The authors start by simplifying a known deterministic SQP algorithm (Lucidi, 1990) to serve as a foundation.
- Non-Adaptive StoSQP: This is the first stochastic version, where the deterministic gradients and Hessians are replaced by their stochastic estimates. However, the step-sizes are still deterministic and prespecified, which can be a bottleneck.
- Adaptive StoSQP: This is the main contribution. It builds upon the non-adaptive version by incorporating a stochastic line search procedure (Paquette and Scheinberg, 2020). This line search adaptively determines the step-size in each iteration, making the algorithm more robust to noise and less dependent on prespecified sequences.
- Penalty Parameter Selection: A novel approach to selecting the penalty parameter for the augmented Lagrangian is introduced. This involves a "while loop" that iteratively adjusts the parameter to ensure sufficient descent and convergence to a KKT point, without relying on strict assumptions about noise distributions.
Datasets
The paper evaluates its algorithms on nonlinear optimization problems from the CUTEst test set. They selected problems that meet specific criteria: non-constant objective, only equality constraints, dimension less than 1000, and no reported GG singularity during iteration. This resulted in a dataset of 47 problems.
Key Insights and Ideas
- Adaptive Step-Sizes are Crucial for Noise: The experiments strongly suggest that adaptive step-size selection via stochastic line search (AdapSQP) significantly outperforms methods with prespecified step-sizes (NonAdapSQP, l₁ SQP), especially in the presence of high noise.
- Augmented Lagrangian Benefits: The use of a differentiable exact augmented Lagrangian as a merit function appears to offer robust performance, even when compared to methods using l₁ penalized merit functions.
- Robustness to Tuning Parameters: The adaptive line search schemes (AdapSQP, l₁ AdapSQP) show remarkable robustness to their tuning parameters (Cgrad, Cf), indicating that their performance is less sensitive to these choices compared to the prespecified sequences in non-adaptive methods.
- "Almost Sure" Convergence is Achievable: The paper establishes "almost sure" convergence for its adaptive algorithm, which is a stronger guarantee than convergence in expectation, especially in the context of stochastic optimization.
Key Results
- Superior Performance of AdapSQP: The adaptive StoSQP (AdapSQP) consistently achieved better KKT residuals than its non-adaptive counterparts (NonAdapSQP, l₁ SQP) and the l₁ penalized adaptive version (l₁ AdapSQP), particularly under higher noise levels.
- Robustness to Noise: AdapSQP demonstrated stable performance across various noise levels (σ²), unlike NonAdapSQP and l₁ SQP, which showed significantly degraded performance with increasing noise.
- Step-Size Adaptivity: The adaptive line search allowed stepsizes to exceed 1, a behavior not common in deterministic optimization but beneficial in stochastic settings, enabling faster convergence.
- Convergence Guarantees: Both the non-adaptive and adaptive StoSQP algorithms are proven to achieve "almost sure" convergence.
Limitations and Future Work
- Sample Complexity: The adaptive line search methods (AdapSQP, l₁ AdapSQP) require more samples per iteration compared to non-adaptive methods, especially when noise levels are low. However, their adaptivity and robustness to noise make them preferable in many scenarios.
- Local Convergence: While global convergence is established, the paper acknowledges that investigating the local benefits of differentiable merit functions in stochastic optimization is a complex and open question.
- Inequality Constraints: The current work focuses on equality constraints. Extending the framework to handle inequality constraints is a natural next step.
- Iteration Complexity: Establishing precise iteration complexity bounds for the adaptive algorithm, especially considering the random nature of the penalty parameter selection, remains an area for future research.
- Acceleration Techniques: Exploring the application of momentum and heavy ball methods to further accelerate StoSQP is suggested.
Summary updated