Competitive Mirror Descent

Florian Schäfer, Anima Anandkumar, Houman OwhadiarXiv 2020

Abstract

Constrained competitive optimization involves multiple agents trying to minimize conflicting objectives, subject to constraints. This is a highly expressive modeling language that subsumes most of modern machine learning. In this work we propose competitive mirror descent (CMD): a general method for solving such problems based on first order information that can be obtained by automatic differentiation. First, by adding Lagrange multipliers, we obtain a simplified constraint set with an associated Bregman potential. At each iteration, we then solve for the Nash equilibrium of a regularized bilinear approximation of the full problem to obtain a direction of movement of the agents. Finally, we obtain the next iterate by following this direction according to the dual geometry induced by the Bregman potential. By using the dual geometry we obtain feasible iterates despite only solving a linear system at each iteration, eliminating the need for projection steps while still accounting for the global nonlinear structure of the constraint set. As a special case we obtain a novel competitive multiplicative weights algorithm for problems on the positive cone.

Introduction: The Challenge of Constrained Games

Modern machine learning is increasingly moving toward constrained competitive optimization, as seen in Generative Adversarial Networks (GANs) and Reinforcement Learning with safety or fairness constraints. The standard tool for handling constraints is "Projected Gradient Descent," where an update step is followed by a projection back into the feasible region. However, in competitive settings, this approach often fails due to a phenomenon called empty threats.

Illustration of agent trajectories in a toy problem where standard projection methods might fail due to empty threats.

In a local approximation of a game, one player might see an advantage in moving toward a region that is actually forbidden by the constraints. An opponent, anticipating this move, changes their own strategy. But because the first player is eventually projected back to the feasible set, their "threat" was empty. This mismatch causes standard algorithms to diverge or settle into suboptimal points, as they fail to account for the global structure of the constraint set during the decision-making process.

Competitive Mirror Descent (CMD)

CMD addresses these issues by integrating constraints directly into the optimization dynamics. The algorithm consists of two main conceptual steps:

  1. Local Nash Equilibrium: Instead of agents moving independently, CMD solves for the Nash equilibrium of a regularized bilinear approximation of the game. This accounts for the interaction between players—how one agent's move affects another's loss—using the mixed Hessian.
  2. Dual Geometry (The Mirror): Instead of using standard Euclidean distance and projections, CMD uses Bregman potentials (like Shannon entropy) to define a "dual geometry."
Comparison of trajectories under primal vs. dual geometry. CMD uses the dual geometry to remain feasible without explicit projection.

The key innovation is the use of the dual exponential map. Rather than taking a linear step and projecting, the agents move along "straight lines" in a transformed space defined by the constraints. Boundaries act like infinite walls, ensuring iterates remain feasible without needing a separate projection step. For constraints on the positive cone, this naturally yields a Competitive Multiplicative Weights (CMW) algorithm, where updates are multiplicative rather than additive.

Experimental Evaluation

The authors evaluate CMD on controlled synthetic environments designed to highlight specific failure modes of existing methods:

  • Bilinear Zero-Sum Games: A toy problem on the positive orthant used to demonstrate how projection methods fail due to empty threats.
  • Robust Regression on the Simplex: A high-dimensional problem ($A \in \mathbb{R}^{50 \times 5000}$) where the goal is to minimize a loss subject to normalization constraints.

Key Results

  • Robustness to Step Size: CMD and its multiplicative variant CMW converged across a wide range of step sizes. In contrast, the Projected Extragradient (PX) method diverged as soon as the interaction strength between players became too high.
  • Superior Convergence: In the high-dimensional robust regression task, CMW was the only algorithm that consistently converged across all tested hyperparameters.
  • Efficiency: While CMD involves solving a linear system at each step, it can be implemented efficiently using Krylov subspace methods. This allows it to remain competitive with simpler methods because it can take much larger, more stable steps toward the solution.

Conclusion

Competitive Mirror Descent provides a framework where constraints are baked into the "physics" of agent movement. By accounting for both player interaction and the global structure of the constraint set, CMD avoids the instability of projection-based methods, offering a robust path for complex multi-agent optimization in modern machine learning.

Summary updated

BibTeX
@misc{schafer2020competitive,
  author = {Florian Schäfer and Anima Anandkumar and Houman Owhadi},
  title = {{Competitive Mirror Descent}},
  year = {2020},
  eprint = {2006.10179},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.10179},
}
Figure