Deep Q-network in the Iterated Prisoner's Dilemma under Noise
Abstract
In game theory, there is a fundamental challenge about maintaining cooperation among selfish players, especially under practical noise. This study applies a noisy Iterated Prisoner’s Dilemma (IPD) model to investigate how learning strategies perform against classical strategies when players may receive false or misleading signals due to random observation errors. More specifically, this study compares Deep Q-Network (DQN) agents with basic Q-learning (QL) and several classical strategies such as Tit-for-Tat, Win-Stay-Lose-Shift, and Grudger. The experiment results show that when noise emerges, DQN agents not only achieve higher cumulative rewards than other strategies but also maintain more stability, adaptability, and resilience across repeated interactions. DQN agents’ deep neural structure helps them to capture long-term temporal dependencies, effectively differentiate accidental defections from intentional ones, and recover cooperation after disturbances by noise. These findings indicate that deep reinforcement learning is effective in noisy and imperfect settings. The findings also offers valuable insights for understanding the emergence of cooperation and for designing robust multi-agent decision-making mechanisms in noisy or uncertain environments.
References
- Axelrod, R. (1984). The evolution of cooperation. Basic Books.
- Dal Bó, P., & Fréchette, G. R. (2019). Strategy choice in the infinitely repeated prisoner's dilemma. American Economic Review, 109(11), 3929–3952.
- Imhof, L. A., Fudenberg, D., & Nowak, M. A. (2005). Evolutionary cycles of cooperation and defection. Proceedings of the National Academy of Sciences, 102(31), 10797–10800.
- Majeski, S. J. (1984). Arms races as iterated prisoner's dilemma games. Mathematical Social Sciences, 7(3), 253–266.
- Nowak, M. A. (2006). Five rules for the evolution of cooperation. Science, 314(5805), 1560–1563.
- Wu, J., & Axelrod, R. (1995). How to cope with noise in the iterated prisoner’s dilemma. Journal of Conflict Resolution, 39(1), 183–189.
- Rapoport, A. (1989). Prisoner’s dilemma. In J. Eatwell, M. Milgate, & P. Newman (Eds.), Game theory (pp. 199–204). Palgrave Macmillan UK. https: //doi.org/10.1007/978-1-349-20181-5_23
- Cohen, J., & Holland, B. (2024). Deep learning and the prisoner’s dilemma: A strategic evaluation. The National High School Journal of Science.
- Kuhn, S. (2024, Winter). Prisoner’s dilemma. In E. N. Zalta & U. Nodelman (Eds.), The Stanford Encyclopedia of Philosophy. Metaphysics Research Lab, Stanford University.
- Fan, J., Wang, Z., Xie, Y., & Yang, Z. (2020). A theoretical analysis of deep Q-learning. In Learning for Dynamics and Control (pp. 486–489). PMLR.
- Sandholm, T. W., & Crites, R. H. (1996). Multiagent reinforcement learning in the iterated prisoner’s dilemma. Biosystems, 37(1–2), 147–166.