Papers
Topics
Authors
Recent
Search
2000 character limit reached

SGDmax: Gradient Descent with Max-Oracle

Updated 14 July 2026
  • SGDmax is a family of optimization methods that integrates stochastic gradient descent with an inner max-oracle to address various min–max and robust optimization challenges.
  • It encompasses diverse variants such as RSGDA for nonconvex–strongly-concave problems, DSSG for distributionally robust optimization, and methods for risk-constrained LQR and nonconvex–nonconcave settings.
  • Its tailored inner maximization schemes lead to convergence guarantees and improved empirical performance in applications ranging from adversarial learning to control systems.

Searching arXiv for the cited SGDmax-related papers to ground the article. arXiv search query: (Sebbouh et al., 2021) Stochastic Gradient-Descent with Max-Oracle (SGDmax) denotes a family of optimization methods for objectives in which the minimization variable is updated by gradient descent or stochastic gradient descent, while an associated maximization problem is handled by a “max-oracle.” In the cited arXiv literature, the label is used for several related but non-identical algorithms: a sample-average max-oracle for distributionally robust optimization (DSSG), a randomized stochastic gradient descent ascent scheme (RSGDA) for nonconvex–strongly-concave min–max problems, a zero-order policy-gradient method for risk-constrained structured LQR, and a stochastic-greedy-descent-with-max-oracle procedure for general nonconvex–nonconcave minimax optimization (Ghosh et al., 2018, Sebbouh et al., 2021, Kwon et al., 2022, Keswani et al., 2020).

1. Terminological scope and common structure

Across these works, SGDmax is organized around an outer descent variable and an inner maximization step, but the inner oracle is instantiated differently depending on the problem class. The common pattern is therefore methodological rather than notationally uniform.

Variant Problem class Max-oracle form
DSSG / SGDmax Distributionally robust optimization Solve inner max-problem on a subset StS_t
RSGDA Nonconvex–strongly-concave min–max A Geometric(p)(p) number of vv-steps in expectation
SGDmax for LQR Risk-constrained structured feedback λj=argmaxλ[0,Λ]IL(Kj,λ)\lambda^j=\arg\max_{\lambda\in[0,\Lambda]^I}\mathcal{L}(K^j,\lambda) or sampled max-oracle under perturbation
SGDmax_{\max} Nonconvex–nonconcave minimax Repeated ascent until Gyϵ\|G_y\|\le\epsilon

This variation in oracle design is matched by variation in convergence targets. In one line of work, the goal is an ϵ\epsilon-stationary point of ϕ(θ)=maxvF(θ,v)\phi(\theta)=\max_v F(\theta,v); in another, it is vanishing gradient norm for a robust loss R(θ)R(\theta); in the LQR setting, the target is an ϵ\epsilon-stationary point of a Moreau envelope; and in the general nonconvex–nonconcave setting, the output is an (p)(p)0-approximate local equilibrium. A plausible implication is that “SGDmax” is best understood as a max-oracle design pattern for minimax optimization rather than a single canonical recursion (Sebbouh et al., 2021, Ghosh et al., 2018, Kwon et al., 2022, Keswani et al., 2020).

2. RSGDA as randomized SGDmax for nonconvex–strongly-concave objectives

For the nonconvex–strongly-concave problem

(p)(p)1

RSGDA is presented as a practical instantiation of SGDmax with a randomized inner loop. A stationary point of (p)(p)2 is (p)(p)3 with (p)(p)4, and a (p)(p)5-approximate maximizer for fixed (p)(p)6 is (p)(p)7 satisfying (p)(p)8. The analysis assumes smoothness, (p)(p)9-strong concavity in vv0, bounded variance in the vv1-gradient, and finite noise in the vv2-gradient at the maximizer. The algorithm uses the “coin-flip” update

vv3

followed, with probability vv4, by vv5, and otherwise by vv6. Equivalently, between two vv7-steps one performs a Geometricvv8 number of vv9-steps, so the expected inner-loop length is λj=argmaxλ[0,Λ]IL(Kj,λ)\lambda^j=\arg\max_{\lambda\in[0,\Lambda]^I}\mathcal{L}(K^j,\lambda)0 (Sebbouh et al., 2021).

The parameterization is explicit. In the exact-gradient regime, with λj=argmaxλ[0,Λ]IL(Kj,λ)\lambda^j=\arg\max_{\lambda\in[0,\Lambda]^I}\mathcal{L}(K^j,\lambda)1, one sets

λj=argmaxλ[0,Λ]IL(Kj,λ)\lambda^j=\arg\max_{\lambda\in[0,\Lambda]^I}\mathcal{L}(K^j,\lambda)2

and for any λj=argmaxλ[0,Λ]IL(Kj,λ)\lambda^j=\arg\max_{\lambda\in[0,\Lambda]^I}\mathcal{L}(K^j,\lambda)3 obtains

λj=argmaxλ[0,Λ]IL(Kj,λ)\lambda^j=\arg\max_{\lambda\in[0,\Lambda]^I}\mathcal{L}(K^j,\lambda)4

hence λj=argmaxλ[0,Λ]IL(Kj,λ)\lambda^j=\arg\max_{\lambda\in[0,\Lambda]^I}\mathcal{L}(K^j,\lambda)5 iterations to reach λj=argmaxλ[0,Λ]IL(Kj,λ)\lambda^j=\arg\max_{\lambda\in[0,\Lambda]^I}\mathcal{L}(K^j,\lambda)6-stationarity. In the stochastic regime with decreasing steps, for any λj=argmaxλ[0,Λ]IL(Kj,λ)\lambda^j=\arg\max_{\lambda\in[0,\Lambda]^I}\mathcal{L}(K^j,\lambda)7,

λj=argmaxλ[0,Λ]IL(Kj,λ)\lambda^j=\arg\max_{\lambda\in[0,\Lambda]^I}\mathcal{L}(K^j,\lambda)8

which yields

λj=argmaxλ[0,Λ]IL(Kj,λ)\lambda^j=\arg\max_{\lambda\in[0,\Lambda]^I}\mathcal{L}(K^j,\lambda)9

With fixed stepsizes and arbitrary batch sizes, choosing max_{\max}0 of order max_{\max}1 gives max_{\max}2 iterations to reach max_{\max}3; a large-minibatch variant with batch size max_{\max}4 yields the optimal SGDA rate max_{\max}5; and the interpolation setting max_{\max}6 improves to max_{\max}7 (Sebbouh et al., 2021).

The theoretical core is a one-step inequality based on

max_{\max}8

Under

max_{\max}9

one obtains a “master” descent inequality from which almost-sure convergence follows by the Robbins–Siegmund supermartingale convergence theorem. If Gyϵ\|G_y\|\le\epsilon0, Gyϵ\|G_y\|\le\epsilon1, Gyϵ\|G_y\|\le\epsilon2, and Gyϵ\|G_y\|\le\epsilon3, then almost surely

Gyϵ\|G_y\|\le\epsilon4

and for the decreasing-step choices above,

Gyϵ\|G_y\|\le\epsilon5

The paper emphasizes that the geometric randomization removes the need to track a fixed inner-loop length Gyϵ\|G_y\|\le\epsilon6 and simplifies the bookkeeping of cross-terms between Gyϵ\|G_y\|\le\epsilon7 and Gyϵ\|G_y\|\le\epsilon8 updates. Experimentally, on a distributionally robust MNIST classifier, Gyϵ\|G_y\|\le\epsilon9 allowed a larger ϵ\epsilon0 and gave the fastest decrease in ϵ\epsilon1, while ϵ\epsilon2 made outer updates slow and ϵ\epsilon3 forced small ϵ\epsilon4; on adversarial optimal transport for single-cell data integration, best performance was at ϵ\epsilon5, significantly speeding up convergence of ϵ\epsilon6 compared to a minibatch Sinkhorn-gradient procedure (Sebbouh et al., 2021).

3. Distributionally robust optimization and the DSSG form of SGDmax

In the distributionally robust optimization setting, SGDmax is introduced as an efficient stochastic gradient method for

ϵ\epsilon7

where ϵ\epsilon8 is the uniform empirical distribution and

ϵ\epsilon9

An equivalent dual representation is

ϕ(θ)=maxvF(θ,v)\phi(\theta)=\max_v F(\theta,v)0

The algorithmic idea is to approximate the inner maximization on a subset ϕ(θ)=maxvF(θ,v)\phi(\theta)=\max_v F(\theta,v)1 of size ϕ(θ)=maxvF(θ,v)\phi(\theta)=\max_v F(\theta,v)2, sampled uniformly without replacement, and to solve

ϕ(θ)=maxvF(θ,v)\phi(\theta)=\max_v F(\theta,v)3

with an inflated radius

ϕ(θ)=maxvF(θ,v)\phi(\theta)=\max_v F(\theta,v)4

Two canonical schedules for ϕ(θ)=maxvF(θ,v)\phi(\theta)=\max_v F(\theta,v)5 are constant-factor growth ϕ(θ)=maxvF(θ,v)\phi(\theta)=\max_v F(\theta,v)6, up to ϕ(θ)=maxvF(θ,v)\phi(\theta)=\max_v F(\theta,v)7, and diminishing-factor growth such as ϕ(θ)=maxvF(θ,v)\phi(\theta)=\max_v F(\theta,v)8. In practice, the summary states ϕ(θ)=maxvF(θ,v)\phi(\theta)=\max_v F(\theta,v)9, R(θ)R(\theta)0 such as R(θ)R(\theta)1, and termination when R(θ)R(\theta)2 (Ghosh et al., 2018).

If R(θ)R(\theta)3 denotes the subset-optimal pmf, the gradient estimator is

R(θ)R(\theta)4

and the outer update is

R(θ)R(\theta)5

Although R(θ)R(\theta)6 is biased relative to R(θ)R(\theta)7, the bias and variance are quantified: R(θ)R(\theta)8 and

R(θ)R(\theta)9

As ϵ\epsilon0, both vanish. The main convergence statements are correspondingly expressed in terms of vanishing stochastic approximation error. Under differentiability assumptions for ϵ\epsilon1, the robust loss gradient has the form

ϵ\epsilon2

If ϵ\epsilon3 is ϵ\epsilon4-Lipschitz and ϵ\epsilon5, then

ϵ\epsilon6

so ϵ\epsilon7 whenever ϵ\epsilon8. In the strongly-convex case, the analysis uses total work ϵ\epsilon9 and characterizes the trade-off between deterministic linear convergence and stochastic error under different growth schedules (Ghosh et al., 2018).

Empirically, DSSG is reported to achieve the same final accuracy as the full-batch solver on RCV1, HIV-1 protease, Riccardo, and Adult income, but with 1–2 orders of magnitude less cumulative sample usage and hence CPU time. Standard SGD with a fixed small batch is described as suffering a bias in the DRO gradient and often failing to converge near the true robust solution unless one chooses a very large batch. The method is also reported as robust to (p)(p)00 in (p)(p)01 and to the step-size (p)(p)02 beyond a moderate range, and training with DRO via DSSG often yields models that generalize better, or at least as well, as classical ERM with (p)(p)03-regularization tuned by expensive (p)(p)04-fold cross-validation (Ghosh et al., 2018).

4. SGDmax for risk-constrained structured LQR

For infinite-horizon, average-cost, structured, risk-constrained LQR, SGDmax arises after reformulating the constrained control problem as a nonconvex–concave minimax. With state dynamics

(p)(p)05

and structured feedback

(p)(p)06

the primary cost is (p)(p)07 and the additional quadratic constraints are (p)(p)08. Introducing nonnegative Lagrange multipliers (p)(p)09, the Lagrangian is

(p)(p)10

which is concave in (p)(p)11 but nonconvex in (p)(p)12. The associated minimax is

(p)(p)13

Because (p)(p)14 may fail to be everywhere differentiable, the analysis instead uses the Moreau envelope

(p)(p)15

and an (p)(p)16-stationary point is characterized by (p)(p)17 (Kwon et al., 2022).

The deterministic GDmax alternates exact maximization in (p)(p)18 with gradient descent in (p)(p)19: (p)(p)20 The summary states that the maximization in (p)(p)21 is done exactly, in closed form by projecting each multiplier to (p)(p)22 or (p)(p)23. On a compact sublevel set (p)(p)24, the local constants (p)(p)25 bound Lipschitzness, smoothness, and a stability radius. With (p)(p)26, the envelope satisfies

(p)(p)27

whenever

(p)(p)28

Summing over (p)(p)29 steps yields an iterate with (p)(p)30 once

(p)(p)31

The model-free version, denoted SGDmax, replaces exact policy gradients with a zero-order policy gradient estimator. For smoothing radius (p)(p)32 and sample count (p)(p)33, one draws perturbations (p)(p)34 on the unit sphere of the nonzero pattern, evaluates

(p)(p)35

and forms

(p)(p)36

The update is (p)(p)37. The high-probability theorem states that, for any confidence parameter (p)(p)38, if

(p)(p)39

and

(p)(p)40

then with probability at least

(p)(p)41

one iterate satisfies (p)(p)42. The proof relies on bounded variance, an expected-decrease inequality, Doob’s maximal inequality, and a martingale argument for sublevel-set invariance (Kwon et al., 2022).

The numerical testbed is a radial network of (p)(p)43 identical microgrids, each with 4 states and one control input. Three cases are compared: structured (p)(p)44 with risk constraint learned by SGDmax; full (p)(p)45 with risk constraint learned by SGDmax; and full (p)(p)46 without constraint learned by vanilla ZOPG. All three methods converge to a stationary policy. The full-feedback risk-constrained policy has slightly higher LQR cost than the unconstrained full-feedback policy but reduced frequency variance; the structured risk-constrained policy has the highest LQR cost of the three, yet remains close to full-feedback performance; and in step-load tests both risk-constrained policies exhibit markedly smaller frequency deviations and tie-line power swings compared to unconstrained LQR (Kwon et al., 2022).

5. Stochastic-greedy-descent-with-max-oracle in nonconvex–nonconcave minimax optimization

Another use of the name appears in a variant of minimax optimization for a smooth, bounded objective

(p)(p)47

with (p)(p)48 convex. The method builds its equilibrium notion around a proposal distribution for the min-player and a greedy max-player path. For (p)(p)49, an (p)(p)50-increasing path is a continuous, unit-speed path (p)(p)51 with (p)(p)52 such that for almost every (p)(p)53,

(p)(p)54

and (p)(p)55 denotes the set of endpoints of such paths. The max-oracle (p)(p)56 repeatedly samples a stochastic gradient (p)(p)57, takes

(p)(p)58

and stops when (p)(p)59, returning a stationary point in (p)(p)60. The corresponding equilibrium notion is an (p)(p)61-approximate local equilibrium. It requires max-stationarity,

(p)(p)62

and a randomized no-descent property: (p)(p)63 This departs from standard stationarity and local Nash notions by tying the min-player’s admissible move to a proposal distribution (p)(p)64 (Keswani et al., 2020).

The SGD(p)(p)65 recursion samples (p)(p)66, sets (p)(p)67, applies the greedy max-oracle at (p)(p)68 starting from (p)(p)69, and then accepts or rejects according to the “look-ahead” value:

  • accept if (p)(p)70;
  • otherwise accept with small probability (p)(p)71;
  • otherwise reject and keep (p)(p)72. Termination occurs after (p)(p)73 consecutive rejections. A typical choice is (p)(p)74 equal to the distribution of the scaled stochastic gradient

(p)(p)75

Under boundedness (p)(p)76, (p)(p)77-Lipschitz gradient, and bounded-variance stochastic oracles, the main theorem states that the algorithm finds an (p)(p)78-approximate local equilibrium with (p)(p)79 in

(p)(p)80

stochastic-gradient and function-oracle calls, independent of dimension (p)(p)81, with probability at least (p)(p)82. The proof combines descent per accepted step, an inner-loop runtime bound for the max-oracle, and a termination argument based on repeated rejections (Keswani et al., 2020).

The empirical study emphasizes GAN training. On synthetic minimax test functions (p)(p)83, the method converges on (p)(p)84 and (p)(p)85, whereas (p)(p)86 has no finite global max and the method diverges to (p)(p)87. On a 4-mode Gaussian mixture, out of 20 runs, SGD(p)(p)88 recovered all 4 modes in 70% of runs, compared with at most 20% for GDA and 0% for OMD and Unrolled GAN. On 0-1 MNIST, GDA mode-collapses in about 77% of runs whereas SGD(p)(p)89 never mode-collapses. On full MNIST, it learns all 10 digits reliably in 5/5 runs. On CIFAR-10, the reported Inception Score is approximately (p)(p)90 for SGD(p)(p)91, (p)(p)92 for GDA, and approximately (p)(p)93 for OMD (Keswani et al., 2020).

6. Comparative interpretation, guarantees, and common misconceptions

The cited literature shows that SGDmax is not a single standardized update rule. In one setting, the max-oracle is an exact maximization in (p)(p)94; in another, it is a subset-based convex maximization over probability weights; in RSGDA it is encoded through a randomized alternation between descent and ascent; and in the nonconvex–nonconcave framework it is a greedy ascent process that terminates at first-order stationarity. A common misconception is therefore to equate “max-oracle” with exact global maximization. The papers collectively show that the oracle may be exact, sample-average, stochastic, geometric, or first-order stationary, depending on the problem model (Kwon et al., 2022, Ghosh et al., 2018, Sebbouh et al., 2021, Keswani et al., 2020).

The convergence statements are likewise heterogeneous. RSGDA provides the first almost sure convergence rates among SGDA algorithms in the nonconvex min/strongly-concave max setting and matches the best SGDA rates known to hold for SGDA. DSSG establishes that the bias and variance of the gradient estimator vanish as the support size reaches the full dataset, and proves (p)(p)95 under summable (p)(p)96. The risk-constrained LQR method guarantees, with high probability, an iterate satisfying (p)(p)97. The nonconvex–nonconcave algorithm proves convergence to an (p)(p)98-approximate local equilibrium in a number of calls that is independent of dimension. This suggests that direct comparison of rates across papers requires care because the target objects—stationary points of (p)(p)99, gradients of vv00, Moreau-envelope stationarity, and randomized local equilibrium—are not identical (Sebbouh et al., 2021, Ghosh et al., 2018, Kwon et al., 2022, Keswani et al., 2020).

The empirical tuning rules also depend strongly on the application. In RSGDA, vv01 is fastest on the MNIST distributionally robust problem, but vv02 is best for adversarial optimal transport in single-cell data integration. In DSSG, the growth of vv03 is the central control knob, with slowly increasing support sizes balancing computational effort and stochastic error. In the LQR setting, the design revolves around local constants vv04, smoothing radius vv05, sample count vv06, and step size vv07. In the nonconvex–nonconcave framework, proposal distribution vv08, inner ascent tolerance, and acceptance or rejection dynamics define the practical behavior. The literature therefore supports a narrow but robust conclusion: SGDmax names a family of outer-descent/inner-maximization procedures whose precise oracle, stationarity notion, and complexity guarantee are task-dependent rather than universal (Sebbouh et al., 2021, Ghosh et al., 2018, Kwon et al., 2022, Keswani et al., 2020).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Stochastic Gradient-Descent with Max-Oracle (SGDmax).