arXiv:2609.08380math.OCSep 2026

Manuscript Offprint

arXiv:2609.08380

How to Make the Gradient Mapping Small for Constrained Stochastic Min-Max Problems and Beyond

Ahmet Alacaoglu

Abstract

We study the stochastic first-order oracle complexity for constrained or regularized convex-concave min-max optimization and stochastic monotone variational inequalities. We focus on the case when suboptimality is measured in terms of the gradient mapping, also known as, forward-backward or natural residual, an optimality notion that generalizes the gradient norm for unconstrained problems. In this setting, under standard unbiased oracle access with now-standard variance assumptions, the best-known complexity for making the norm of the gradient mapping less than ε\varepsilon is O~(ε−4)\tilde{O}(\varepsilon^{-4}), compared to the near-optimal O~(ε−2)\tilde{O}(\varepsilon^{-2}) that is established in the unconstrained case. We bridge this gap to improve the gradient mapping complexity for constrained convex-concave min-max problems to O~(ε−2)\tilde{O}(\varepsilon^{-2}). We then extend to prove the same complexity for problems without the bounded variance, by using the Blum-Gladyshev assumption.

1 Introduction

We study algorithms to solve the standard template of constrained convex-concave min-max optimization,

min⁡u∈Umax⁡v∈Vf(u,v),(1.1)\min_{\mathbf{u}\in U}\max_{\mathbf{v}\in V}f(\mathbf{u},\mathbf{v}), \tag{1.1}

where f(⋅,v)f(\cdot,\mathbf{v}) is convex, f(u,⋅)f(\mathbf{u},\cdot) is concave, the gradients ∇uf(u,v)\nabla_{\mathbf{u}}f(\mathbf{u},\mathbf{v}), ∇vf(u,v)\nabla_{\mathbf{v}}f(\mathbf{u},\mathbf{v}) are Lipschitz continuous, and U⊆Rn,V⊆RmU\subseteq\mathbb{R}^n, V\subseteq\mathbb{R}^m are closed convex sets admitting efficient projection operators.

Two canonical examples of this template come from cases where the coupling between u\mathbf{u} and v\mathbf{v} is bilinear, such as matrix games

min⁡u∈Δnmax⁡v∈Δm⟨Au,v⟩,(1.2)\min_{\mathbf{u}\in\Delta_n}\max_{\mathbf{v}\in\Delta_m}\langle A\mathbf{u},\mathbf{v}\rangle, \tag{1.2}

where Δn\Delta_n denotes the probability simplex, that is, Δn={u∈R+n:∑i=1nui=1}\Delta_n = \{\mathbf{u}\in\mathbb{R}_+^n: \sum_{i=1}^n u_i=1\}.

The second common example is linearly constrained optimization

min⁡u∈Rnf(u):Au≤b,\min_{\mathbf{u}\in\mathbb{R}^n} f(\mathbf{u}): A\mathbf{u}\leq \mathbf{b},

for a proper, convex and closed function f:Rn→(−∞,∞]f:\mathbb{R}^n\to(-\infty,\infty]. Solving this problem efficiently is generally done by utilizing convex duality to convert to a min-max problem given as

min⁡u∈Rnmax⁡v≥0f(u)+⟨Au−b,v⟩.(1.3)\min_{\mathbf{u}\in\mathbb{R}^n}\max_{\mathbf{v}\geq 0} f(\mathbf{u}) + \langle A\mathbf{u}-\mathbf{b},\mathbf{v}\rangle. \tag{1.3}

Strictly speaking, this problem does not fit the template (1.1) due to potential nonsmoothness in ff. However, our focus on (1.1) in this section is purely for a simple presentation. In the sequel, we develop our results for the more general problem of variational inequalities to cover this example, see (VI) for a precise problem statement.

We will focus on a setting where we do not have access to gradients ∇uf(u,v)\nabla_{\mathbf{u}}f(\mathbf{u},\mathbf{v}) and ∇vf(u,v)\nabla_{\mathbf{v}}f(\mathbf{u},\mathbf{v}), but to their unbiased estimators such that

E[∇ufξ(u,v)]=∇uf(u,v),\mathbb{E}[\nabla_{\mathbf{u}}f_{\xi}(\mathbf{u},\mathbf{v})]=\nabla_{\mathbf{u}}f(\mathbf{u},\mathbf{v}),

*Department of Mathematics, University of British Columbia, ahmet.alacaoglu@ubc.ca where ξ\xi is sampled from an unknown distribution PP, where we can have f(u,v)=Eξ∼P[fξ(u,v)]f(\mathbf{u}, \mathbf{v}) = \mathbb{E}_{\xi \sim P}[f_{\xi}(\mathbf{u}, \mathbf{v})]. At every iteration of our algorithm, we will assume that we receive i.i.d. samples ξ∼P\xi \sim P.

More concretely, for (1.2) or (1.3), these stochastic oracles may correspond to randomly sampling rows or columns from the matrix AA, whereas the full-gradients require accessing the matrix AA at every iteration. A concrete example is given at the end of Section 1.1.

Two optimality notions. Arguably, the most widely used optimality notion for min-max problems is the primal-dual gap

Gap(uˉ,vˉ)=max⁡u∈U,v∈Vf(uˉ,v)−f(u,vˉ).\mathrm{Gap}(\bar{\mathbf{u}},\bar{\mathbf{v}})=\max_{\mathbf{u}\in U,\mathbf{v}\in V}f(\bar{\mathbf{u}},\mathbf{v})-f(\mathbf{u},\bar{\mathbf{v}}).

This is well-suited to problems such as matrix games in (1.2), however, when the sets U,VU,V are unbounded, such as the case of linearly constrained optimization in (1.3), this notion runs into problems. In particular, this quantity may be infinite at test points uˉ,vˉ\bar{\mathbf{u}},\bar{\mathbf{v}} that are not optimal.

This well-known drawback gave rise to the restricted primal-dual gap function [Nes09] that takes the maximum over a compact set that needs to satisfy certain requirements. That is, this set needs to contain a solution and the iterates of the algorithm, see [Nes09, Lemma 4]. This approach can be compatible in the deterministic case when the boundedness of the iterates can be shown for standard methods.

For stochastic algorithms, boundedness of the iterates does not generally hold, causing difficulty in identifying a compact set to define the restricted gap function á la [Nes09]. Moreover, the restricted gap is generally taken over sets that generally depend on the solution, making it difficult to compute in general.

Despite its incompatibility with unbounded domains and stochastic problems, this notion is widely used because the standard convergence analyses for algorithms, such as extragradient [Kor76] or forward-backward-forward (FBF) methods [Tse00], give a rate result on the gap as a byproduct. As a result, optimal methods for reducing the gap is well-established for both deterministic and stochastic problems [Nem04, NJLS09].

Perhaps even a more natural way of measuring suboptimality for unbounded problems is the gradient mapping norm [Nes13, Section 2], which generalizes the gradient norm for unconstrained problems

∥Gη,f(x,y)∥2=1η2(∥x−proj⁡U(x−η∇xf(x,y))∥2+∥y−proj⁡V(y+η∇yf(x,y))∥2),(1.4)\|\mathcal{G}_{\eta,f}(\mathbf{x},\mathbf{y})\|^{2}=\frac{1}{\eta^{2}}\left(\|\mathbf{x}-\operatorname{proj}_{U}(\mathbf{x}-\eta\nabla_{\mathbf{x}}f(\mathbf{x},\mathbf{y}))\|^{2}+\|\mathbf{y}-\operatorname{proj}_{V}(\mathbf{y}+\eta\nabla_{\mathbf{y}}f(\mathbf{x},\mathbf{y}))\|^{2}\right), \tag{1.4}

where proj⁡C\operatorname{proj}_{C} denotes the Euclidean projection on CC. While this notion is widely used for nonconvex problems, optimal complexity results for making this quantity small, even for convex minimization problems is relatively recent, see [Nes12] for deterministic and [AZ18] for stochastic optimization.

Clearly, this reduces to the gradient norm when (U,V)=(Rn,Rm)(U,V)=(\mathbb{R}^{n},\mathbb{R}^{m}) since

Gη,f(x,y)=(∇xf(x,y)−∇yf(x,y)).\mathcal{G}_{\eta,f}(\mathbf{x},\mathbf{y})=\begin{pmatrix}\nabla_{\mathbf{x}}f(\mathbf{x},\mathbf{y})\\ -\nabla_{\mathbf{y}}f(\mathbf{x},\mathbf{y})\end{pmatrix}.

Optimal methods for reducing the gradient – or gradient mapping – norm for deterministic convex-concave min-max problems is established relatively recently as well, see [Dia20, Kim21, YR21, KG22]. An optimal method for unconstrained and stochastic min-max problems is proposed in [CL24] who showed the complexity O~(ε−2)\widetilde{O}(\varepsilon^{-2}) for making the gradient norm less than ε\varepsilon with matching lower bounds.

Yet, the best-known complexity for constrained min-max problems, which are of interest in terms of many applications – such as matrix games (1.2), linearly constrained optimization (1.3), and distributionally robust optimization [ND16, Eq. (1)] – remained at O~(ε−4)\widetilde{O}(\varepsilon^{-4}) – with the exception of [TDNT26] that improved this to O~(ε−10/3)\widetilde{O}(\varepsilon^{-10/3}) under stronger assumptions on the stochastic oracle, see Table 1. The goal of this work is to improve this complexity to one that is optimal in terms of ε\varepsilon dependence. This discussion is summarized in Table 2 where we highlighted the main setting we focus on.

Generalized problems. For a simpler notation and a slight generalization, we will consider the problem of variational inequalities where the goal is to

find x⋆ such that ⟨F(x⋆),x−x⋆⟩≥r(x⋆)−r(x) for any x∈Rd,\mathrm{find}\ \mathbf{x}^{\star}\ \mathrm{such\ that}\ \langle F(\mathbf{x}^{\star}),\mathbf{x}-\mathbf{x}^{\star}\rangle\geq r(\mathbf{x}^{\star})-r(\mathbf{x})\ \mathrm{for\ any}\ \mathbf{x}\in\mathbb{R}^{d},

(VI) with a proper, convex and closed r ⁣:Rd→(−∞,∞]r\colon \mathbb{R}^d \to (-\infty, \infty] and a monotone operator1^1 F ⁣:Rd→RdF\colon \mathbb{R}^d \to \mathbb{R}^d. Mapping (1.1) to this problem is done by setting

x=(uv),F(x)=(∇uf(u,v)−∇vf(u,v)),r(x)=δU(u)+δV(v),(1.5)\mathbf{x}=\begin{pmatrix}\mathbf{u}\\ \mathbf{v}\end{pmatrix},\quad F(\mathbf{x})=\begin{pmatrix}\nabla_{\mathbf{u}}f(\mathbf{u},\mathbf{v})\\ -\nabla_{\mathbf{v}}f(\mathbf{u},\mathbf{v})\end{pmatrix},\quad r(\mathbf{x})=\delta_{U}(\mathbf{u})+\delta_{V}(\mathbf{v}), \tag{1.5}

where δC(x)\delta_C(\mathbf{x}) denotes the indicator function, that is 0 when x∈C\mathbf{x}\in C and ∞\infty otherwise.

We will often use the equivalent form written as a monotone inclusion problem where the goal is to

find x⋆ such that 0∈H(x⋆):=(F+∂r)(x⋆).\mathrm{find}\ \mathbf{x}^\star\ \mathrm{such\ that}\ 0\in H(\mathbf{x}^\star):=(F+\partial r)(\mathbf{x}^\star).

(MI)

We focus on this specific monotone inclusion for presentation purposes, but by changing Algorithm 1 to a method based on FBF [Tse00] or forward-reflected-backward method [MT20], our analysis can be extended to solve general monotone inclusion where ∂r\partial r is replaced by a maximally monotone operator. We skip this extension for keeping our notation simpler.

By overloading the terminology for simplicity, we shall now write the gradient mapping as

Gη,H(x)=1η(x−proxηr(x−ηF(x))),\mathcal{G}_{\eta,H}(\mathbf{x})=\frac{1}{\eta}\left(\mathbf{x}-\mathrm{prox}_{\eta r}(\mathbf{x}-\eta F(\mathbf{x}))\right),

which is equivalent to (1.4) with the setting (1.5). We emphasize that FF does not need to be the gradient of a function, and we merely use this notation to keep the link with min-max optimization (1.1) transparent. This notion is also referred to as forward-backward residual or natural residual (in the specific case when rr is an indicator function), see [FP03, Section 10.3].

Our goal in the sequel is to find an approximate solution to (MI) by making the residual small. This result directly covers making the gradient mapping small for convex-concave and constrained min-max problems by the mapping (1.5).

Complexity. Given the problem (VI) introduced above, we measure complexity in terms of the number of calls to the unbiased stochastic oracles FξF_{\xi} such that

E[Fξ(x)]=F(x)\mathbb{E}[F_{\xi}(\mathbf{x})]=F(\mathbf{x})

and to the proximal operator of rr —which reduces to the number of calls to stochastic gradients and projections on U,VU,V in the case of min-max problems (1.1)— to get a certain optimality notion less than ε\varepsilon.

There exists now a large body of works that analyze methods such as stochastic extragradient with optimal complexity for reducing the gap. That is, it is well-known how to get

E[Gap(xˉ,yˉ)]≤ε, with complexity O(ε−2).\mathbb{E}[\mathrm{Gap}(\bar{\mathbf{x}},\bar{\mathbf{y}})]\leq \varepsilon,\ \mathrm{with}\ \mathrm{complexity}\ O(\varepsilon^{-2}).

We refer to [NJLS09, JNT11, KLL22, Zha22, LL26] for representative examples.

Moreover, when r≡0r\equiv 0, that is, we have a root finding problem, [CL24] established the oracle complexity

O~(ε−2) for making E∥F(x)∥≤ε,\widetilde{O}(\varepsilon^{-2})\ \mathrm{for}\ \mathrm{making}\ \mathbb{E}\|F(\mathbf{x})\|\leq \varepsilon,

which is optimal. The authors assumed that the unbiased oracle has bounded variance upper bounded by σ2\sigma^2 and designed an algorithm that sets its parameters by using σ2\sigma^2 and ∥x0−x⋆∥2\|\mathbf{x}_0 - \mathbf{x}^\star\|^2, the initial distance of their initial point to a solution. For unconstrained problems, with stronger assumptions such as sharpness, [CSGD22] also obtained a similar complexity, yet for unconstrained and merely monotone problems, the complexity in this work deteriorated to O~(ε−3)\widetilde{O}(\varepsilon^{-3}).

For constrained problems, the best-known complexity for the gradient mapping under our assumptions is

O(ε−4) for making E∥Gη,H(x)∥≤ε,O(\varepsilon^{-4})\ \mathrm{for}\ \mathrm{making}\ \mathbb{E}\|\mathcal{G}_{\eta,H}(\mathbf{x})\|\leq \varepsilon,

which is suboptimal. This complexity remained as the best-known on a large body of literature for constrained or regularized min-max problems [IJOT17, BMSV21, AMW25, LK21, PFL+^{+}23, Böh23, DDJ21, TDNT25].

1^{1}Introduced in Section 1.1.

ConstraintsNeed for setting alg. parametersStoc. oracle complexityVariance assumption
[CL24]×\timesσ2,∥x0−x⋆∥2,LF,G\sigma^2, \|\mathbf{x}_0 - \mathbf{x}^\star\|^2, L_F, GO~(ε−2)\widetilde{O}(\varepsilon^{-2})Bounded
[TDNT26]✓\checkmarkLFL_FO~(ε−10/3)\widetilde{O}(\varepsilon^{-10/3})Bounded varianceMulti-point oraclemean-squared Lipschitz
[IJOT17]and other works✓\checkmarkLF,BL_F, BO~(ε−4)\widetilde{O}(\varepsilon^{-4})Blum-Gladyshev
This work✓\checkmarkLF,BL_F, BO~(ε−2)\widetilde{O}(\varepsilon^{-2})Blum-Gladyshev

Table 1: Complexity results for stochastic convex-concave optimization under Assumption 1 and variance assumption specified in the last column. For the first row, the complexity is for E∥F(x)∥≤ε\mathbb{E}\|F(\mathbf{x})\| \leq \varepsilon. For the last three rows, the complexity is for E∥Gη,H(x)∥≤ε\mathbb{E}\|\mathcal{G}_{\eta,H}(\mathbf{x})\| \leq \varepsilon. See the notation in (1.5) and (MI).

ConstrainedUnconstrained
GapO(ε−2)O(\varepsilon^{-2})[JNT11]O(ε−2)O(\varepsilon^{-2})[JNT11]
Gradient mappingO(ε−4)O(\varepsilon^{-4})[KLL22]O~(ε−2)\widetilde{O}(\varepsilon^{-2})[CL24]

Table 2: Best-known complexity results for stochastic convex-concave optimization under Assumption 1 and bounded variance. For the first row, the complexity is for making the (restricted) gap less than ε\varepsilon. For the second row, it is for making the gradient mapping (which reduces to gradient norm for unconstrained problem) less than ε\varepsilon.

Even though some of these works relied on some relaxations of convex-concavity, none of the analyses in those works gave rise to a better complexity for convex-concave problems. The aim of this work is to improve this complexity for problems satisfying the Blum-Gladyshev variance and without requiring parameters depending on initial distance to solution or variance upper bounds.

A recent work by [TDNT26] obtained a complexity of O~(ε−10/3)\widetilde{O}(\varepsilon^{-10/3}) for constrained problems by using variance reduction. Different from our work, they required a multi-point oracle that requires querying the stochastic oracle at the same seed for different points, the mean-square Lipschitzness assumption (which is stronger than mere Lipschitzness of FF) and bounded variance.

References (25)