K-Beam Subgradient Descent for Minimax Optimization

Jihun Hamm, Yung-Kyun NoharXiv 2018

TL;DR

Standard alternating gradient descent often fails in minimax optimization (like GAN training) because the optimal solution for the inner maximization can jump discontinuously. This paper introduces K-Beam Minimax, an algorithm that tracks $K$ candidate solutions simultaneously to smoothly navigate these landscape discontinuities with minimal computational overhead.

What Problem Does This Paper Address?

Minimax optimization ($\min_u \max_v f(u,v)$) underpins many critical machine learning tasks, including Generative Adversarial Networks (GANs), domain adaptation, and adversarial robustness. Typically, these problems are solved using Alternating Gradient Descent (Alt-GD), where the model updates the minimizer $u$ and the maximizer $v$ sequentially.

However, Alt-GD assumes that the inner maximization has a unique, continuously moving solution. In realistic machine learning applications, the loss surface is rarely convex-concave. As $u$ changes, the global maximum of the inner problem can abruptly jump from one local peak to an entirely different one. Because a single point cannot "jump" across a discontinuous landscape, standard Alt-GD gets stuck, oscillates, or diverges.

The authors illustrate this using several 2D toy surfaces where Alt-GD fails completely because it cannot track these discontinuous jumps.

Toy surfaces showing saddle points vs. pure minimax points where solutions can be discontinuous.

Methods

To handle these discontinuities, the authors propose the K-Beam $\epsilon$-subgradient descent algorithm. Instead of tracking a single candidate for the inner maximizer $v$, the algorithm maintains a set of $K$ candidates (called "beams").

  • Min Step: The algorithm approximates the inner maximum function using the $K$ beams and computes an $\epsilon$-subgradient direction to update the minimization parameter $u$.
  • Max Step: All $K$ beams are updated in parallel using standard gradient ascent on $v$ to track local maxima.

By maintaining multiple beams, the algorithm ensures that even if the global maximum suddenly switches to a different peak, one of the beams is already there to capture it, allowing the outer minimization step to proceed smoothly.

Datasets

The algorithm was evaluated across three distinct environments:

  1. Synthetic 2D Surfaces: Six mathematical landscapes (including the Monkey Saddle, Anti-Saddle, and Weapons surface) designed to test optimization behavior under severe discontinuities.
  2. Mixture of Gaussians (MoG): A synthetic 2D dataset consisting of a ring of seven Gaussian distributions, used to evaluate GAN training stability and mode collapse.
  3. MNIST & MNIST-M: Standard handwritten digits (MNIST) and its colored, noisy counterpart (MNIST-M), used to evaluate unsupervised domain adaptation.

Key Insights and Ideas

  • Saddle Points $\neq$ Minimax Points: In non-convex-concave settings, global saddle points might not even exist, yet minimax points do. Alt-GD is fundamentally designed for saddle points and breaks down on pure minimax problems.
  • Sublinear Time Scaling: Because the $K$ beams are updated independently in the Max step, they can be processed in parallel. On a single GPU, moving from $K=1$ to $K=10$ only increases wall-clock runtime by about $2.26\times$, making it highly practical for deep learning.
  • Overestimating $K$ is Safe: While the mathematically optimal $K$ is unknown for complex networks, overestimating $K$ doesn't hurt performance—it just adds redundant beams, making hyperparameter tuning safer.

Key Results

  • Toy Surfaces: On non-saddle surfaces, Alt-GD completely fails to find the solution, whereas K-Beam consistently converges to the true minimax point for $K > 1$.
  • GAN Training: When training a GAN on a Mixture of Gaussians, increasing $K$ significantly accelerated convergence and dramatically reduced the variance across random trials, effectively mitigating the notorious "mode collapse" problem.
GAN training results on a Mixture of Gaussians showing more stable convergence and better sample quality as K increases.
  • Domain Adaptation: For the MNIST to MNIST-M task, lower values of $K$ (1 or 2) frequently led to total optimization failure. In contrast, $K=5$ or $10$ consistently stabilized training and achieved the lowest cross-domain classification error (~0.27).

Limitations and Future Work

While the empirical results on deep neural networks are strong, the paper's theoretical convergence proof requires the objective function $f(u,v)$ to be convex in $u$. Deep learning models are notoriously non-convex, meaning a theoretical gap remains. Additionally, the true optimal value of $K$ cannot be computed analytically for complex functions and must be chosen empirically based on resource limits. The authors suggest that relaxing these theoretical assumptions is a promising direction for future work.

Summary updated

BibTeX
@misc{hamm2018k,
  author = {Jihun Hamm and Yung-Kyun Noh},
  title = {{K-Beam Subgradient Descent for Minimax Optimization}},
  year = {2018},
  eprint = {1805.11640},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1805.11640},
}
Figure