Single-Loop Deterministic and Stochastic Interior-Point Algorithms for Nonlinearly Constrained Optimization

Frank E. Curtis, Xin Jiang, Qi Wang · DOI

Abstract

An interior-point algorithm framework is proposed, analyzed, and tested for solving nonlinearly constrained continuous optimization problems. The main setting of interest is when the objective and constraint functions may be nonlinear and/or nonconvex, and when constraint values and derivatives are tractable to compute, but objective function values and derivatives can only be estimated. The algorithm is intended primarily for a setting that is similar for stochastic-gradient methods for unconstrained optimization, namely, the setting when stochastic-gradient estimates are available and employed in place of gradients of the objective, and when no objective function values (nor estimates of them) are employed. This is achieved by the interior-point framework having a single-loop structure rather than the nested-loop structure that is typical of contemporary interior-point methods. For completeness, convergence guarantees for the framework are provided both for deterministic and stochastic settings. Numerical experiments show that the algorithm yields good performance on a large set of test problems.

Introduction: Overcoming the "Stochastic Allergy"

In the realm of continuous optimization, Interior-Point (IP) methods are the gold standard for handling inequality constraints, powering industry-standard solvers like Ipopt and Knitro. However, these methods have traditionally struggled with stochasticity.

Traditional IP methods utilize a nested-loop structure: an inner loop solves a "barrier subproblem" for a fixed penalty parameter, while an outer loop gradually shrinks that parameter. This process typically requires exact objective function values to perform line searches and decide when to terminate the inner loop. In modern machine learning, where we often only have stochastic gradients (noisy estimates) and full objective evaluations are computationally impossible, this nested structure fails. This paper introduces SLIP (Single-Loop Interior-Point), a framework that bridges this gap by enabling IP methods to function like Stochastic Gradient Descent (SGD) while respecting complex nonlinear constraints.

The SLIP Framework: A Single-Loop Approach

The core innovation of SLIP is its Single-Loop structure. Instead of waiting for an inner loop to converge, the algorithm updates the iterate $x$, the barrier parameter $\mu$, and the neighborhood parameter $\theta$ simultaneously in every step.

Key Technical Components

  • Feasible Path Strategy: SLIP is a "feasible" method, meaning it starts at a strictly feasible point and uses specific step-size rules to ensure it never violates the constraints during the optimization process.
  • Search Direction: The algorithm computes a search direction $d_k$ that balances descending the objective function with staying away from constraint boundaries. In stochastic settings, this is achieved by solving a KKT-like linear system using a stochastic gradient estimate.
  • No Line Searches: Because line searches require objective evaluations, the authors developed conservative parameter rules that dictate step sizes based on Lipschitz constants and barrier parameters, guaranteeing theoretical convergence without "checking" the objective value.
  • Shifted Barrier Analysis: To prove convergence, the authors use a "shifted" barrier function. This mathematical tool handles the fact that standard logarithmic barriers have gradients that blow up near the boundary, allowing for standard Lipschitz-based proofs.

Experimental Validation

The authors evaluated SLIP across three distinct scenarios to demonstrate its broad applicability:

  1. CUTEst Collection: On a standard benchmark of 327 problems involving nonlinear inequality constraints, SLIP successfully made substantial progress toward stationarity in almost every case, despite not using second-order derivatives.
  2. Second-Order Conic Optimization (SOCO): In tests on randomly generated convex but nonlinear problems, the stochastic version of SLIP (using noisy gradients) achieved final objective values nearly identical to the deterministic baseline.
  3. Nonconvex Neural Network Training: Using the mushrooms dataset, SLIP was used to train a neural network classifier subject to a squared $\ell_2$-norm constraint on the weights. SLIP successfully minimized the nonconvex cross-entropy loss while strictly maintaining the norm constraint, matching the performance of deterministic methods.

Key Insights and Limitations

The primary breakthrough of this work is the realization that the nested loop is the main obstacle to stochastic interior-point methods. By moving to a single loop, the algorithm becomes compatible with the "blind" nature of stochastic gradients.

However, some hurdles remain for future research:

  • Strict Feasibility: The algorithm requires a strictly feasible starting point, which can be difficult to find for some complex problems.
  • Equality Constraints: Currently, convergence guarantees only cover affine (linear) equality constraints. Maintaining feasibility on a nonlinear manifold is significantly more challenging.
  • Infeasible Variants: Future work may explore "infeasible" single-loop methods that allow the algorithm to start outside the feasible region and gradually move toward it.

Summary updated

BibTeX
@misc{curtis2024single,
  author = {Frank E. Curtis and Xin Jiang and Qi Wang},
  title = {{Single-Loop Deterministic and Stochastic Interior-Point Algorithms for Nonlinearly Constrained Optimization}},
  year = {2024},
  eprint = {2408.16186},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.16186},
}
Figure