Skip to main content
QUICK REVIEW

[Paper Review] Emergent Bartering Behaviour in Multi-Agent Reinforcement Learning

Michael Bradley Johanson, Edward Hughes|arXiv (Cornell University)|May 13, 2022
Complex Systems and Time Series AnalysisEconomics, Econometrics and Finance8 citations
TL;DR

This paper introduces the Fruit Market environment, a multi-agent reinforcement learning setup where agents autonomously develop bartering behavior through production, trade, and consumption in response to supply and demand. Key results show emergent microeconomic phenomena such as localized pricing, arbitrage via inter-regional transport, and adaptive production/consumption—demonstrating that complex economic behaviors can arise naturally from RL without domain-specific coding.

ABSTRACT

Advances in artificial intelligence often stem from the development of new environments that abstract real-world situations into a form where research can be done conveniently. This paper contributes such an environment based on ideas inspired by elementary Microeconomics. Agents learn to produce resources in a spatially complex world, trade them with one another, and consume those that they prefer. We show that the emergent production, consumption, and pricing behaviors respond to environmental conditions in the directions predicted by supply and demand shifts in Microeconomics. We also demonstrate settings where the agents' emergent prices for goods vary over space, reflecting the local abundance of goods. After the price disparities emerge, some agents then discover a niche of transporting goods between regions with different prevailing prices -- a profitable strategy because they can buy goods where they are cheap and sell them where they are expensive. Finally, in a series of ablation experiments, we investigate how choices in the environmental rewards, bartering actions, agent architecture, and ability to consume tradable goods can either aid or inhibit the emergence of this economic behavior. This work is part of the environment development branch of a research program that aims to build human-like artificial general intelligence through multi-agent interactions in simulated societies. By exploring which environment features are needed for the basic phenomena of elementary microeconomics to emerge automatically from learning, we arrive at an environment that differs from those studied in prior multi-agent reinforcement learning work along several dimensions. For example, the model incorporates heterogeneous tastes and physical abilities, and agents negotiate with one another as a grounded form of communication.

Motivation & Objective

  • To develop a multi-agent reinforcement learning environment that enables the emergence of microeconomic behaviors such as trade, pricing, and specialization.
  • To investigate whether deep RL agents can autonomously discover complex economic behaviors like arbitrage and supply-demand adjustments from random initialization.
  • To identify environmental design choices that enable or inhibit the emergence of social and economic behaviors in multi-agent systems.
  • To bridge the gap between multi-agent RL and agent-based computational economics by demonstrating state-of-the-art RL agents learning foundational economic phenomena.

Proposed method

  • Agents operate in a spatially complex world where they produce, consume, and trade resources (e.g., apples, bananas) based on individual preferences and production capabilities.
  • Agents use a combination of movement, offer, and exchange actions to negotiate trades, with pricing emerging organically from supply and demand dynamics.
  • The environment incorporates heterogeneous agent traits, including distinct production skills and consumption preferences, to model real-world economic diversity.
  • Reinforcement learning is applied using V-MPO, a deep RL algorithm, with sparse rewards tied to consumption and hunger reduction.
  • Agents learn through distributed training, with no explicit reward shaping for trade, relying instead on emergent incentives from consumption and opportunity cost.
  • The environment is released as open-source within the Melting Pot suite to support reproducibility and further research in MARL and computational economics.

Experimental results

Research questions

  • RQ1Can multi-agent reinforcement learning agents spontaneously develop bartering behavior without explicit reward shaping for trade?
  • RQ2How do supply and demand shifts in the environment influence emergent pricing and production/consumption behaviors?
  • RQ3Does spatial variation in resource abundance lead to localized pricing and the emergence of arbitrage strategies?
  • RQ4What environmental and architectural design choices are necessary for the emergence of complex economic behaviors like trade and specialization?
  • RQ5Can agents learn to transport goods between regions with price disparities, thereby discovering arbitrage as a profitable strategy?

Key findings

  • Agents spontaneously developed localized pricing that reflected regional resource abundance, with price disparities emerging naturally in response to supply and demand shifts.
  • When price differences formed across regions, some agents discovered and specialized in transporting goods from low-price to high-price areas, achieving higher rewards through arbitrage.
  • The emergence of trade was sensitive to environmental design: removing hunger penalties or altering trade mechanics (e.g., drop/give actions) significantly hindered or prevented trade from emerging.
  • Agents failed to learn trade using 'drop and give' actions alone, indicating that joint exploration of trade requires more structured or reliable communication mechanisms.
  • Ablation studies confirmed that agent architecture, movement penalties, and reward shaping (e.g., hunger penalty) critically influence whether economic behaviors emerge.
  • The Fruit Market environment successfully enabled state-of-the-art deep RL agents to learn complex, human-like economic behaviors—including production, consumption, trade, and arbitrage—without domain-specific code or prior knowledge.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.