Oracle Complexity of Single-Loop Switching Subgradient Methods for Non-Smooth Weakly Convex Functional Constrained Optimization

Yankun Huang, Qihang Lin

TL;DR

This paper proves that the classical Switching Subgradient (SSG) method—a simple, single-loop algorithm—can solve complex non-smooth, non-convex constrained optimization problems with the same theoretical efficiency as much more complicated "double-loop" methods. By introducing a clever switching stepsize rule, the authors achieve an oracle complexity of $O(1/\epsilon^4)$, significantly reducing the manual tuning effort required for modern machine learning tasks like fair classification.

What Problem Does This Paper Address?

In machine learning and statistics, we often face optimization problems where we want to minimize a cost function $f(x)$ subject to a constraint $g(x) \leq 0$. Things get difficult when these functions are:

  1. Non-smooth: They have "kinks" or sharp corners (like absolute value functions), meaning we can't use standard gradients.
  2. Non-convex: Specifically "weakly convex," meaning they aren't perfectly bowl-shaped but aren't wildly erratic either.
  3. Constrained: We must stay within a feasible region.

Previously, the "gold standard" for these problems involved double-loop algorithms (like the Proximal Point Method). These algorithms solve a sequence of sub-problems (the inner loop) to update the main solution (the outer loop). However, these are a headache to implement because you have to carefully tune how many iterations to run in the inner loop. If you stop too early, the algorithm fails; if you run too long, you waste time.

The authors ask: Can we get the same performance with a single-loop algorithm that just switches between moving toward the goal and moving toward the feasible region?

Methods

The authors revive and analyze the Switching Subgradient (SSG) method. The logic is intuitive:

  • If the current point is feasible ($g(x) \leq \epsilon$): Take a step using the subgradient of the objective function $f$.
  • If the current point is infeasible: Take a step using the subgradient of the constraint function $g$ to get back into the feasible zone.

The "secret sauce" that makes this work for non-convex problems is their novel switching stepsize rule:

  • For the objective ($f$), they use a fixed stepsize.
  • For the constraint ($g$), they use an adaptive Polyak stepsize.

This adaptive stepsize allows the algorithm to leverage the "local error bound" of the constraint. Essentially, it prevents the algorithm from getting "trapped" at a point that is stationary but infeasible—a common failure mode in non-convex optimization.

Datasets

The authors evaluated their method on two fairness-aware classification problems (where the goal is to maximize accuracy while ensuring the model doesn't discriminate against specific groups). They used three standard datasets: a9a (Adult), bank, and COMPAS.

Dataset characteristics including size, dimensionality, and fairness groups.

Key Insights and Ideas

  • Single-Loop Sufficiency: The biggest "aha" moment is that the complexity of $O(1/\epsilon^4)$—previously thought to require the machinery of double-loop proximal methods—is achievable with a much simpler switching strategy.
  • Polyak Stepsize is Key: Using a different stepsize logic for the constraint versus the objective is what allows the algorithm to handle the "weakly convex" nature of the constraints without getting stuck.
  • Unified Analysis: The paper provides separate but consistent proofs for when constraints are strictly convex versus when they are also weakly convex, providing a comprehensive toolkit for researchers.

Key Results

  • Theoretical Match: The SSG method matches the state-of-the-art oracle complexity of $O(1/\epsilon^4)$ for finding a "nearly stationary point."
  • Empirical Performance: In tests on the a9a, bank, and COMPAS datasets, the SSG method (especially with diminishing stepsizes) reduced the objective value and reached "near stationarity" faster than double-loop baselines like IPP-SSG and IPP-ConEx.
  • Feasibility Maintenance: The algorithm successfully kept solutions "nearly feasible" throughout the process, which is often the hardest part of non-convex constrained optimization.
Performance comparison of SSG methods against double-loop baselines across three datasets.

Limitations and Future Work

  • Constraint Qualifications: The proofs rely on certain assumptions like "Slater's condition" (the existence of a strictly feasible point). If the feasible region is extremely "thin" or has no interior, the theoretical guarantees might not hold.
  • Hyperparameter Sensitivity: While it eliminates the "inner loop" tuning, users still need to choose the initial stepsize parameters ($E_1, E_2$), though the authors provide heuristics for this.
  • Stochastic Extension: While the paper mentions extending this to stochastic settings (where we only have noisy estimates of gradients) in the appendix, the primary focus of the main text is on the deterministic case. Further empirical validation on massive-scale deep learning tasks would be a natural next step.

Summary updated

BibTeX
@inproceedings{huang2023oracle,
  author = {Yankun Huang and Qihang Lin},
  title = {{Oracle Complexity of Single-Loop Switching Subgradient Methods for Non-Smooth Weakly Convex Functional Constrained Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=A383wMho4h},
}
Figure