The Ultimatum Game as a Paradigm for Learning Agents: A Python Adventure
摘要
This chapter explores the application of Agent-Based Models (ABMs) in understanding economic crises and pandemics, employing a machine learning approach for description and prediction. Emphasizing Game Theory’s importance in ABMs, the Ultimatum game serves as a paradigm for learning agents. The game involves a proposer and responder, deciding on a split, with consequences based on acceptance or refusal. The implementation, conducted step by step in Python, initially establishes a baseline model with proposers using fair or unfair split strategies. Subsequently, two learning strategies, Fictitious Play and Reinforcement Learning, are introduced. Fictitious Play minimizes responder rejections, while Reinforcement Learning optimizes action policies through sequential decision processes. In the model, a crisis is triggered halfway through the defined iterations, that entails responders increasing their acceptance threshold by 50%, demonstrating the synergy between ABMs, Game Theory, and machine learning in economic modeling.