Compositional game theory is a branch ofgame theory andcomputer science, which aims to present large complex games as a composition of simple small games.[1][2][3]
A major theme incomputer science is the ability to construct simple building-blocks (e.g. functions or procedures in aprogramming language), and compose them into larger structures (e.g. more complex functions or programs). This principle is also calledmodularity.
In contrast, in classicgame theory, even complex games are treated as single, monolithic objects. This makes the analysis of games hard to scale.
Compositional game theory(CGT) aims to apply the modularity principle to game theory. The main motivation is to make it easier to analyze large games using software tools.
Ahigher-order simultaneous game[4] is a generalization of aSimultaneous game in which players are defined byselection functions rather than byutility functions. Formally, a higher-order simultaneous game forn players contains the following elements:
The term "higher-order" comes from the latter element. The best-response correspondence of each player is ahigher-order function, as is input is itself a function. Every strategy-profile s1 inΣ, defines for each playeri a function fromXi toR: the function maps each possible actionxi inXi to the outcome that would result if all players except i play as in s1, whereas playeri switches his action toxi. In other words, s1 defines thecontext in which playeri operates.
Given two strategy-tuples s1 and s2 inΣ, we say that s2 is abest-response to s1 if, for each playeri, s2,i is contained in the output ofdi on the context generated by s1. Thebest-response relation is abinary relation contained inΣ x Σ, denoted byB.
In a standard game, instead of the selection function, there is autility functionui for each playeri. A utility function takes as input an outcome fromR, and returns areal number. Such a game can be represented as a higher-order game as follows. For each playeri, the selection function returns the set of actions fromXi that maximize the utility of agenti, given the context.
The main object of study in CGT is theopen game. An open game has the following elements:
It is an abstraction of a higher-order game.
Open games can be decomposed in two ways:[2]