Manuscript Offprint

arXiv:2112.03178

Student of Games: A unified learning algorithm for both perfect and imperfect information games

Martin Schmid, Matej Moravcik, Neil Burch, Rudolf Kadlec, Josh Davidson, Kevin Waugh, Nolan Bard, Finbarr Timbers, Marc Lanctot, G. Zacharias Holland, Elnaz Davoodi, Alden Christianson, Michael Bowling

Martin Schmid1,2^{1,2}, Matej Moravčík1,2^{1,2}, Neil Burch2,3,4^{2,3,4}, Rudolf Kadlec1,2^{1,2}, Josh Davidson2,3^{2,3}, Kevin Waugh2,3^{2,3}, Nolan Bard2,3^{2,3}, Finbarr Timbers2,5^{2,5}, Marc Lanctot2,6^{2,6}, G. Zacharias Holland2,3^{2,3}, Elnaz Davoodi2,6^{2,6}, Alden Christianson2,7^{2,7}, Michael Bowling2,4,7∗^{2,4,7*}

1^{1}EquiLibre Technologies, Prague, Czechia, 2^{2}Google DeepMind,

3^{3}Sony AI, New York, NY, USA, 4^{4}Amii, Edmonton, Canada,

5^{5}Midjourney, South San Francisco, CA, USA,

6^{6}Google DeepMind, Montreal, Canada, 7^{7}University of Alberta, Edmonton, Canada

*To whom correspondence should be addressed; E-mail: mbowling@ualberta.ca

Teaser: Student of Games combines search, learning, and game-theoretic reasoning to play chess, go, poker, and Scotland Yard.

Games have a long history as benchmarks for progress in artificial intelligence. Approaches using search and learning produced strong performance across many perfect information games, and approaches using game-theoretic reasoning and learning demonstrated strong performance for specific imperfect information poker variants. We introduce Student of Games, a general-purpose algorithm that unifies previous approaches, combining guided search, self-play learning, and game-theoretic reasoning. Student of Games achieves strong empirical performance in large perfect and imperfect information games — an important step towards truly general algorithms for arbitrary environments. We prove that Student of Games is sound, converging to perfect play as available computation and approximation capacity increases. Student of Games reaches strong performance in chess and Go, beats the strongest openly available agent in heads-up no-limit Texas hold'em poker, and defeats the state-of-the-art agent in Scotland Yard, an imperfect information game that illustrates the value of guided search, learning, and game-theoretic reasoning.

Introduction

In the 1950s, Arthur L. Samuel developed a checkers-playing program that employed what is now called minimax search (with alpha-beta pruning) and “rote learning” to improve its evaluation function via self-play (1). This investigation inspired many others, and ultimately Samuel co-founded the field of artificial intelligence (2) and popularized the term “machine learning”. A few years ago, the world witnessed a computer program defeat a long-standing professional at the game of Go (3). AlphaGo also combined learning and search. Many similar achievements happened in between, such as the race for super-human chess leading to DeepBlue (4) and TD-Gammon teaching itself to play master-level performance in Backgammon through self-play (5), continuing the tradition of using games as canonical markers of mainstream progress across the field.

Throughout the stream of successes, there is an important common element: the focus on a single game. Indeed, DeepBlue could not play Go, and Samuel’s program could not play chess. Likewise, AlphaGo could not play chess; however its successor AlphaZero (6) could, and did. AlphaZero demonstrated that a single algorithm could master three different perfect information games — where the game’s state is known to all players — using a simplification of AlphaGo’s approach, and with minimal human knowledge. Despite this success, AlphaZero could not play poker, and the extension to imperfect information games was unclear.

Meanwhile, approaches taken to achieve super-human poker AI were substantially different. Strong poker play has relied on game-theoretic reasoning to ensure that private information is concealed effectively. Initially, super-human poker agents were based primarily on computing approximate Nash equilibria offline (7). Search was then added and proved to be a crucial ingredient to achieve super-human success in no-limit variants (8–10). Training for other large games have also been inspired by game-theoretic reasoning and search, such as Hanabi (11, 12), The Resistance (13), Bridge (14), AlphaStar (15), and (no-press) Diplomacy (16–18). Here again, however, despite remarkable success: each advance was still on a single game, with some clear uses of domain-specific knowledge and structure to reach strong performance.

In this paper, we introduce Student of Games (SOG), an algorithm that generalizes the class of games in which strong performance can be achieved using self-play learning, search, and game-theoretic reasoning. SOG uses growing-tree counterfactual regret minimization (GT-CFR): an anytime local search that builds subgames non-uniformly, expanding the tree toward the most relevant future states while iteratively refining values and policies. In addition, SOG employs sound self-play: a learning procedure that trains value-and-policy networks using both game outcomes and recursive sub-searches applied to situations that arose in previous searches.

Student of Games achieves strong performance in multiple challenge domains with both perfect and imperfect information – an important step towards truly general algorithms that can learn in arbitrary environments. Applications of traditional search suffer well-known problems in imperfect information games (2, Section 5.6.2). Evaluation has remained focused on single domains (e.g. poker) despite recent progress toward sound search in imperfect information games (8, 19, 20). Student of Games fills this gap, using a single algorithm with minimal domain-specific knowledge. Its search is sound (20) across these fundamentally different game types: it is guaranteed to find an approximate Nash equilibrium by re-solving subgames to remain consistent during online play, and yields low exploitability in practice in small games where exploitability is computable. SOG demonstrates strong performance across four different games: two perfect information (chess and Go) and two imperfect information (poker and Scotland Yard). Finally, unlike poker, Scotland Yard has substantially longer search horizons and game lengths, requiring long-term planning.

References (100)

Couldn't load all references. Reload the page to try again.