Learning and Calibrating Heterogeneous Bounded Rational Market Behaviour with Multi-agent Reinforcement Learning

Benjamin Patrick Evans, Sumitra Ganesh

Introduction

In economic modeling, researchers often face a binary choice: assuming agents are "perfectly rational" optimizers or manually hard-coding rigid "heuristics." Neither approach fully captures the complexity of human behavior. Humans are neither perfect calculators nor mindless robots. A recent paper from JP Morgan AI Research proposes a middle ground by combining Multi-Agent Reinforcement Learning (MARL) with information theory to "learn" the messy, boundedly rational behavior characteristic of real-world markets.

The Bounded Rationality Framework

The core innovation of this research is a MARL framework that replaces the assumption of perfect rationality with "bounded rationality." Instead of simply maximizing a reward signal, agents are penalized for the "cost" of deviating from their prior beliefs. This approach allows for the simulation of diverse, human-like behaviors that outperform traditional models in predicting experimental data.

The proposed MARL framework for learning boundedly rational behavior by training a shared policy across a distribution of processing costs.

Methods: Information-Theoretic Processing Costs

The researchers implement a "mental tax" on agents. The standard reward $R$ is modified to $R' = R - \lambda \cdot D_{KL}(\pi || q)$, where $\pi$ is the learned policy, $q$ is a prior belief (intuition), and $\lambda$ represents the processing cost. A high $\lambda$ forces agents to rely on intuition, while a low $\lambda$ allows them to approach perfect rationality.

To manage hundreds of agents efficiently, the team uses Shared Policy Learning. A single neural network is trained to represent a spectrum of skill levels by taking the agent's specific cost parameter $\lambda_i$ as an input. These costs are assumed to follow a Gaussian distribution $N(\mu, \sigma)$. By calibrating the average skill ($\mu$) and the diversity of skill ($\sigma$) against real-world data, the model can accurately mirror specific human populations.

Key Results and Insights

The model was validated against human data from three classic economic experiments: Supply Chain (Capacity Allocation), Cournot Oligopoly, and the Cobweb Market. Across all environments, the proposed approach achieved the highest accuracy, consistently outperforming standard PPO and analytical Nash Equilibrium solutions.

Calibration results showing how the mean rank (performance) improves as the diversity of agent skills (sigma) increases.

One of the most significant findings was the importance of heterogeneity. The authors discovered that setting $\sigma > 0$—allowing for a mix of skill levels—was crucial for replicating market dynamics. A population of diverse, bounded agents produces phenomena like "excess volatility" (price swings) that perfectly rational, homogeneous models cannot capture. Furthermore, by adjusting the prior distribution $q$, the model could incorporate known human cognitive biases, such as a preference for "prominent numbers," leading to a much tighter fit with experimental data.

Conclusion

This research demonstrates that boundedness and diversity are not just "noise" but essential features of realistic markets. While the model requires computational effort for calibration and relies on the convergence of RL algorithms, it offers a powerful tool for bridging the gap between theory and reality. Future work aims to apply these techniques to more complex systems, such as Limit Order Books, where the interaction between high-frequency traders and retail investors creates a rich landscape of heterogeneous behavior.

Summary updated

Abstract

Agent-based models (ABMs) have shown promise for modelling various real world phenomena incompatible with traditional equilibrium analysis. However, a critical concern is the manual definition of behavioural rules in ABMs. Recent developments in multi-agent reinforcement learning (MARL) offer a way to address this issue from an optimisation perspective, where agents strive to maximise their utility, eliminating the need for manual rule specification. This learning-focused approach aligns with established economic and financial models through the use of rational utility-maximising agents. However, this representation departs from the fundamental motivation for ABMs: that realistic dynamics emerging from bounded rationality and agent heterogeneity can be modelled. To resolve this apparent disparity between the two approaches, we propose a novel technique for representing heterogeneous processing-constrained agents within a MARL framework. The proposed approach treats agents as constrained optimisers with varying degrees of strategic skills, permitting departure from strict utility maximisation. Behaviour is learnt through repeated simulations with policy gradients to adjust action likelihoods. To allow efficient computation, we use parameterised shared policy learning with distributions of agent skill levels. Shared policy learning avoids the need for agents to learn individual policies yet still enables a spectrum of bounded rational behaviours. We validate our model's effectiveness using real-world data on a range of canonical n-agent settings, demonstrating significantly improved predictive capability.
BibTeX
@inproceedings{evans2024learning,
  author = {Benjamin Patrick Evans and Sumitra Ganesh},
  title = {{Learning and Calibrating Heterogeneous Bounded Rational Market Behaviour with Multi-agent Reinforcement Learning}},
  booktitle = {AAMAS},
  year = {2024},
  url = {https://openreview.net/forum?id=fnnIC0CeXl},
}
Figure