arXiv:2610.13787math.OCOct 2026

Manuscript Offprint

arXiv:2610.13787

Optimal Algorithms for Nonsmooth Nonconvex Stochastic Optimization with Constraints

Gon Buzaglo, Guy Kornowski

Abstract

We present new algorithms for stochastic optimization problems in which the objective is neither smooth nor convex, subject to a convex constraint set. Our algorithms return a (δ,ε)(\delta, \varepsilon)-Goldstein stationary point, as recently defined for constrained problems by Liu et al. [2024], with improved complexities, and are the first to achieve optimal convergence rates for this task in several settings. In particular, we design projection-based and projection-free algorithms that achieve a O~(δ−1ε−3)\widetilde{O}(\delta^{-1}\varepsilon^{-3}) rate using stochastic gradients, which we show to be optimal, and a O~(dδ−1ε−3)\widetilde{O}(d\delta^{-1}\varepsilon^{-3}) rate using zeroth-order queries, which is also optimal in its dependence on the dimension dd and improves over prior work. Notably, our lower bound is given in terms of the Frank-Wolfe gap and holds even for smooth problems, which is of independent interest. These results show that in nonconvex stochastic optimization, the convergence rate is degraded neither by the presence of constraints nor by nonsmoothness. Our analysis is based on a reduction to online linear optimization, extending a related technique from unconstrained optimization.

1 Introduction

We consider stochastic optimization problems of the form

min⁡x∈Xf(x):=Eξ∼Ξ[F(x;ξ)],(1)\min_{\mathbf{x}\in\mathcal{X}}f(\mathbf{x}):=\mathbb{E}_{\xi\sim\Xi}[F(\mathbf{x};\xi)], \tag{1}

where the objective f:Rd→Rf : \mathbb{R}^d \to \mathbb{R} is neither smooth nor convex, subject to a closed convex constraint set X⊆Rd\mathcal{X} \subseteq \mathbb{R}^d. Such problems arise naturally in machine learning applications, including in adversarial attacks and robust training [Szegedy et al., 2014, Madry et al., 2018, Wang et al., 2019, Qi et al., 2024], norm-constrained training of deep neural networks [Goodfellow et al., 2013, Srivastava et al., 2014], and sharpness-aware training [Foret et al., 2021, Chen et al., 2023, Mordido et al., 2024]. Nonetheless, despite its prevalence, constrained nonsmooth nonconvex optimization is rather challenging to analyze, with most existing work guaranteeing either only asymptotic convergence without explicit finite-time rates, or only applying to deterministic objectives, or both [Curtis and Overton, 2012, Hare et al., 2016, Ruszczyński, 2020, Davis et al., 2020, Ermol'ev and Norkin, 1998, Hoseini Monjezi and Nobakhtian, 2021, Grimmer and Jia, 2025].

Recently, Liu et al. [2024] provided the first non-asymptotic convergence rates for algorithms solving problem (1). To do so, the authors defined two novel stationarity measures suitable for constrained nonsmooth optimization, which generalize the classic gradient mapping norm and the Frank-Wolfe gap, both of which are common measures for smooth constrained optimization, by replacing classical gradients with the Goldstein subdifferential. The Goldstein subdifferential, which is the convex hull of nearby Clarke subdifferentials [Goldstein, 1977, Clarke, 1990], has played a key role in non-asymptotic analyses of (unconstrained) nonsmooth nonconvex optimization problems in recent years following Zhang et al. [2020], since the norm of individual gradients cannot be minimized efficiently in general [Kornowski and Shamir, 2022].

While Liu et al. [2024] established convergence rates for several zeroth-order methods, it is notable that these rates are strictly worse than those achievable for unconstrained optimization when X=Rd\mathcal{X} = \mathbb{R}^d. In particular, the complexities of the algorithms therein all scale as O(d3/2)O(d^{3/2}) where dd is the problem’s dimension, whereas in the analogous unconstrained problem, the optimal complexity is known to be O(d)O(d) [Kornowski and Shamir, 2024]. This raises the natural question, asked by Liu et al. [2024], of whether the complexity achieved in their work can be further improved. In particular, it remained unclear whether incorporating constraints necessarily makes nonsmooth nonconvex optimization harder to solve.

References (58)