A compositional approach to game-theoretic economic modelling
Lead Research Organisation:
University of Oxford
Department Name: Computer Science
Abstract
Game theory is the mathematical study of strategic interaction and decision-making under uncertainty. It is arguably the central tool of microeconomics, and is also widely used in evolutionary biology, cybersecurity and military strategy, among other application areas.
Compositionality, one of the most fundamental ideas of software science, is the principle that the behaviour of a system should be understandable in terms of the behaviour of its components. Compositionality allows large, complex systems to be designed, implemented, analysed and tested in a modular way, and allows modules to be reused in different contexts. Without this, modern software engineering would be impossible.
Game models, however, are not compositional, and generally must be produced in their entirety rather than by combining standard components. As a result, game-theoretic modelling is a slow process, as small variations in the domain to be modelled can lead to large changes needed in the model. In particular this means that game-theoretic models are currently not well-suited to software implementation.
This project concerns a new approach to game theory which is compositional, and therefore promises the possibility of software support for economists and other users of game theory on a scale that is currently impossible. Specifically, it should be possible to specify, simulate, solve and more generally reason about games in a way that allows the reuse of existing work. For example a typical economic system has a hierarchical structure, from agents to households to markets to economies, and it should be possible to gradually build models of each level in a way that directly uses existing models of the lower levels.
The mathematical techniques and concepts underlying this approach mostly come from proof theory (part of mathematical logic) and the theory of programming languages (part of theoretical computer science). Fortunately there is no need for users to learn this sophisticated and (to them) unfamiliar theory, because it is also possible to hide the mathematics behind an intuitive graphical language known as string diagrams, which have been widely studied recently due to applications in quantum information theory, linguistics and abstract algebra. This means that game theoretic software can be graphical and intuitive, but still have a strong theoretical underpinning.
The purpose of this project is to develop the mathematical theory needed for these economic applications, in a way that exploits the close relationship between theory and applications in this area, while using a worked example (based on modelling of smart energy grids) to provide a continual test of the practical benefits of compositionality.
A large part of the theoretical part of this project will involve extending the theory of selection functions with various known concepts in game theory, such as repeated games, imperfect information and different solution concepts, which can be found in any standard text on game theory. This will largely consist of generalising existing theory to the new framework.
Compositionality, one of the most fundamental ideas of software science, is the principle that the behaviour of a system should be understandable in terms of the behaviour of its components. Compositionality allows large, complex systems to be designed, implemented, analysed and tested in a modular way, and allows modules to be reused in different contexts. Without this, modern software engineering would be impossible.
Game models, however, are not compositional, and generally must be produced in their entirety rather than by combining standard components. As a result, game-theoretic modelling is a slow process, as small variations in the domain to be modelled can lead to large changes needed in the model. In particular this means that game-theoretic models are currently not well-suited to software implementation.
This project concerns a new approach to game theory which is compositional, and therefore promises the possibility of software support for economists and other users of game theory on a scale that is currently impossible. Specifically, it should be possible to specify, simulate, solve and more generally reason about games in a way that allows the reuse of existing work. For example a typical economic system has a hierarchical structure, from agents to households to markets to economies, and it should be possible to gradually build models of each level in a way that directly uses existing models of the lower levels.
The mathematical techniques and concepts underlying this approach mostly come from proof theory (part of mathematical logic) and the theory of programming languages (part of theoretical computer science). Fortunately there is no need for users to learn this sophisticated and (to them) unfamiliar theory, because it is also possible to hide the mathematics behind an intuitive graphical language known as string diagrams, which have been widely studied recently due to applications in quantum information theory, linguistics and abstract algebra. This means that game theoretic software can be graphical and intuitive, but still have a strong theoretical underpinning.
The purpose of this project is to develop the mathematical theory needed for these economic applications, in a way that exploits the close relationship between theory and applications in this area, while using a worked example (based on modelling of smart energy grids) to provide a continual test of the practical benefits of compositionality.
A large part of the theoretical part of this project will involve extending the theory of selection functions with various known concepts in game theory, such as repeated games, imperfect information and different solution concepts, which can be found in any standard text on game theory. This will largely consist of generalising existing theory to the new framework.
Planned Impact
This project explicitly concerns working towards applications in economics. Specifically, the hope is that an approach to economic game theory using techniques from proof theory and theoretical computer science can be scalable, in a way that standard economic techniques are not. Moreover, the theory can be used to develop computer software that can be used by working economists and others without a need for deep knowledge of the underlying mathematics.
Of course, the range of impacts resulting from such a theory depending on exactly how far the scalability can be pushed, and the methodology of the project has been designed so as to continually test this scalability.
Examples of possible impacts, arranged approximately in increasing order of scale (and timescale), include:
- Developing software for economics and business education, which could be used for example in massively online courses
- Developing a framework for rapid development of software for behavioural laboratory experiments in economics, used both in universities and in commercial settings (for example with consumer focus groups)
- Developing software models of relatively simple markets or other economic situations, useful to companies within the market as well as within academia
- Developing software models of a large and complex market, such as the energy sector of a particular country, by composing existing models of component parts, in a way that can be used to predict consequences of policy decisions
- Developing models of complex economic events such as corporate mergers and economic shocks, which involve many interacting markets and other systems, in a way that can be used to predict consequences of policy decisions
Of course, the range of impacts resulting from such a theory depending on exactly how far the scalability can be pushed, and the methodology of the project has been designed so as to continually test this scalability.
Examples of possible impacts, arranged approximately in increasing order of scale (and timescale), include:
- Developing software for economics and business education, which could be used for example in massively online courses
- Developing a framework for rapid development of software for behavioural laboratory experiments in economics, used both in universities and in commercial settings (for example with consumer focus groups)
- Developing software models of relatively simple markets or other economic situations, useful to companies within the market as well as within academia
- Developing software models of a large and complex market, such as the energy sector of a particular country, by composing existing models of component parts, in a way that can be used to predict consequences of policy decisions
- Developing models of complex economic events such as corporate mergers and economic shocks, which involve many interacting markets and other systems, in a way that can be used to predict consequences of policy decisions
People |
ORCID iD |
Julian Hedges (Principal Investigator / Fellow) |
Publications
Ghani N
(2018)
Compositional Game Theory
Hedges J
(2018)
Morphisms of Open Games
in Electronic Notes in Theoretical Computer Science
Hedges J
(2017)
Practical Aspects of Declarative Languages
Hedges J
(2018)
Towards Functorial Language-Games
in Electronic Proceedings in Theoretical Computer Science
Hedges J
(2018)
Backward Induction for Repeated Games
in Electronic Proceedings in Theoretical Computer Science
Description | I am a co-founder of a startup based in Germany, 20squares UG, who incorporated at the beginning of 2023. We are using compositional game theory for microeconomic modelling in the area of blockchain. I am also a co-founder of a nonprofit organisation based in Germany, Institute for Categorical Cybernetics gGmbH, who incorporated at the beginning of 2024. We are continuing research and open source software development in compositional game theory and related topics. |
First Year Of Impact | 2023 |
Sector | Digital/Communication/Information Technologies (including Software),Financial Services, and Management Consultancy |
Impact Types | Economic |
Company Name | 20squares UG (haftungsbeschränkt) |
Description | We are a startup using compositional game theory for microeconomic modelling in the blockchain space. Note, the incorporation date is 2023, there is an error in the database |
Impact | NA |