Differentiable Game Mechanics

Alistair Letcher, David Balduzzi, Sebastien Racaniere, James Martens, Jakob Foerster +2 more
5/13/2019
cs.LGcs.GTcs.MA

Official code: google-deepmind/symplectic-gradient-adjustment (154 stars, Jupyter Notebook, Apache-2.0, last commit 2018-12-06).

Abstract

Deep learning is built on the foundational guarantee that gradient descent on an objective function converges to local minima. Unfortunately, this guarantee fails in settings, such as generative adversarial nets, that exhibit multiple interacting losses.

Show full abstract

The behavior of gradient-based methods in games is not well understood -- and is becoming increasingly important as adversarial and multi-objective architectures proliferate. In this paper, we develop new tools to understand and control the dynamics in n-player differentiable games. The key result is to decompose the game Jacobian into two components. The first, symmetric component, is related to potential games, which reduce to gradient descent on an implicit function. The second, antisymmetric component, relates to Hamiltonian games, a new class of games that obey a conservation law akin to conservation laws in classical mechanical systems. The decomposition motivates Symplectic Gradient Adjustment (SGA), a new algorithm for finding stable fixed points in differentiable games. Basic experiments show SGA is competitive with recently proposed algorithms for finding stable fixed points in GANs -- while at the same time being applicable to, and having guarantees in, much more general cases.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A colab that implements the Symplectic Gradient Adjustment optimizer from "The mechanics of n-player differentiable games"

15427Jupyter NotebookSep 24, 20187 years agoApache-2.0

Similar Papers

Cite this paper

@article{letcher2019differentiable,
  title  = {Differentiable Game Mechanics},
  author = {Alistair Letcher and David Balduzzi and Sebastien Racaniere and James Martens and Jakob Foerster and Karl Tuyls and Thore Graepel},
  year   = {2019},
  eprint = {1905.04926},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.04926}
}

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/1905.04926.svg)](https://codeofpaper.com/paper/1905.04926)

Discussion