Research Article
An evaluation of reinforcement learning performance in the iterated prisoner’s dilemma
Abstract
This paper uses recurrent neural network-based reinforcement learning to play Iterated Prisoner’s Dilemma against different game theory strategies. Multiple experiments are carried out to compare the performance of the reinforcement learning agents, e.g., RL-agent vs. Tit for Tat, RL-agent vs. Grudge, RL-agent vs. Tit for Tat then Defect, RL-agent vs. Cooperate or Defect. It shows that both DQN and PPO agent would receive the highest reward by playing against a Tit for Tat agent in Iterated Prisoner Dilemma. Furthermore, DQN agent would perform better, by receiving higher mean episode reward compared to PPO agent.
Keywords: reinforcement learning; game theory; deep q-network; proximal policy optimization.
References
- Sutton RS, Barto AG. Reinforcement learning: An introduction. MIT press; 2018 Nov 13.
- Rapoport A, Chammah AM, Orwant CJ. Prisoner's dilemma: A study in conflict and cooperation. University of Michigan press; 1965.
- Sandholm TW, Crites RH. Multiagent reinforcement learning in the iterated prisoner's dilemma. Biosystems. 1996 Jan 1;37(1-2):147-66.
- Harper M, Knight V, Jones M, Koutsovoulos G, Glynatsi NE, Campbell O. Reinforcement learning produces dominant strategies for the iterated prisoner’s dilemma. PloS one. 2017 Dec 11;12(12):e0188046.
- Liang E, Liaw R, Nishihara R, Moritz P, Fox R, Goldberg K, Gonzalez J, Jordan M, Stoica I. RLlib: Abstractions for distributed reinforcement learning. In International Conference on Machine Learning 2018 Jul 3 (pp. 3053-3062). PMLR.
- Luce RD, Raiffa H. Games and decisions: Introduction and critical survey (new york, 1957). Chs. vi and xiv. 1957;4.
- Mnih V, Kavukcuoglu K, Silver D, Graves A, Antonoglou I, Wierstra D, Riedmiller M. Playing atari with deep reinforcement learning. arXiv preprint arXiv:1312.5602. 2013 Dec 19.
- Schulman J, Wolski F, Dhariwal P, Radford A, Klimov O. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347. 2017 Jul 20.
- Axelrod R. Effective choice in the prisoner's dilemma. Journal of conflict resolution. 1980 Mar;24(1):3-25.
- Anschel O, Baram N, Shimkin N. Averaged-dqn: Variance reduction and stabilization for deep reinforcement learning. InInternational conference on machine learning 2017 Jul 17 (pp. 176-185). PMLR.