Discretization Drift in Two-Player Games

Mihaela Rosca, Yan Wu, Benoit Dherin, David G. T. Barrett
5/28/2021
16 citations
stat.MLcs.LG

Official code: google-deepmind/deepmind-research (15,282 stars, Jupyter Notebook, Apache-2.0, last commit 2026-06-17).

Abstract

Gradient-based methods for two-player games produce rich dynamics that can solve challenging problems, yet can be difficult to stabilize and understand. Part of this complexity originates from the discrete update steps given by simultaneous or alternating gradient descent, which causes each player to drift away from the continuous gradient flow -- a phenomenon we call discretization drift.

Show full abstract

Using backward error analysis, we derive modified continuous dynamical systems that closely follow the discrete dynamics. These modified dynamics provide an insight into the notorious challenges associated with zero-sum games, including Generative Adversarial Networks. In particular, we identify distinct components of the discretization drift that can alter performance and in some cases destabilize the game. Finally, quantifying discretization drift allows us to identify regularizers that explicitly cancel harmful forms of drift or strengthen beneficial forms of drift, and thus improve performance of GAN training.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

This repository contains implementations and illustrative code to accompany DeepMind publications

15,2822,916Jupyter Notebook, PythonJan 15, 20195 months agoApache-2.0

Similar Papers

Cite this paper

@article{rosca2021discretization,
  title  = {Discretization Drift in Two-Player Games},
  author = {Mihaela Rosca and Yan Wu and Benoit Dherin and David G. T. Barrett},
  year   = {2021},
  eprint = {2105.13922},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.13922}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.13922.svg)](https://codeofpaper.com/paper/2105.13922)

Discussion