Skip to main content
QUICK REVIEW

[Paper Review] Intrinsic fluctuations of reinforcement learning promote cooperation

Wolfram Barfuß, Janusz M Meylahn|arXiv (Cornell University)|Sep 1, 2022
Evolutionary Game Theory and CooperationSocial Sciences6 citations
TL;DR

This paper demonstrates that intrinsic stochastic fluctuations in temporal-difference reinforcement learning with $\epsilon$-greedy exploration are a key driver of spontaneous cooperation in multi-agent systems. Using the one-period memory iterated Prisoner’s Dilemma, the authors show that these fluctuations increase cooperation rates from ~40–50% (without noise) to up to 80%, revealing noise as a critical enabler rather than a hindrance in cooperative learning.

ABSTRACT

In this work, we ask for and answer what makes classical temporal-difference reinforcement learning with epsilon-greedy strategies cooperative. Cooperating in social dilemma situations is vital for animals, humans, and machines. While evolutionary theory revealed a range of mechanisms promoting cooperation, the conditions under which agents learn to cooperate are contested. Here, we demonstrate which and how individual elements of the multi-agent learning setting lead to cooperation. We use the iterated Prisoner's dilemma with one-period memory as a testbed. Each of the two learning agents learns a strategy that conditions the following action choices on both agents' action choices of the last round. We find that next to a high caring for future rewards, a low exploration rate, and a small learning rate, it is primarily intrinsic stochastic fluctuations of the reinforcement learning process which double the final rate of cooperation to up to 80%. Thus, inherent noise is not a necessary evil of the iterative learning process. It is a critical asset for the learning of cooperation. However, we also point out the trade-off between a high likelihood of cooperative behavior and achieving this in a reasonable amount of time. Our findings are relevant for purposefully designing cooperative algorithms and regulating undesired collusive effects.

Motivation & Objective

  • To identify the conditions under which independent reinforcement learning agents spontaneously learn to cooperate without explicit coordination.
  • To investigate the role of intrinsic stochasticity in the learning process in promoting cooperative behavior.
  • To disentangle the contributions of learning rate, exploration rate, discount factor, and noise to the emergence of cooperation in multi-agent reinforcement learning.
  • To provide a framework for understanding and designing cooperative algorithms in autonomous agents, especially in contexts like algorithmic pricing and autonomous vehicles.

Proposed method

  • The study uses Expected SARSA with $\epsilon$-greedy exploration in a two-agent, one-period memory iterated Prisoner’s Dilemma environment.
  • Stability of strategies is analyzed analytically by examining the dependence of equilibrium stability on the discount factor ($\delta$) and exploration rate ($\epsilon$).
  • Learnability is assessed via deterministic strategy-average learning dynamics to compute the size of basins of attraction for different equilibria.
  • A stochastic batch-learning algorithm is implemented with time-dependent learning rates ($\alpha(s,a,t) = 1/(t+1)$) to simulate realistic learning dynamics and isolate the effect of intrinsic fluctuations.
  • The algorithm uses two value tables: $q_{\text{act}}$ for action selection and $q_{\text{val}}$ for value estimation, with separate learning rates for adaptation.
  • Simulations are run over 1000 trajectories with random initial state-action values to measure convergence to All-Defect, Grim-Trigger, and Win-Stay, Lose-Shift equilibria.

Experimental results

Research questions

  • RQ1What conditions in temporal-difference reinforcement learning lead to spontaneous cooperation in multi-agent settings?
  • RQ2How do intrinsic stochastic fluctuations in the learning process affect the emergence of cooperative strategies?
  • RQ3What is the relative contribution of learning rate, exploration rate, and discount factor to the likelihood of achieving cooperation?
  • RQ4Can cooperative equilibria be reached reliably through independent learning, or is noise essential for convergence?
  • RQ5What is the trade-off between achieving high cooperation and the time required to converge?

Key findings

  • Intrinsic stochastic fluctuations in the reinforcement learning process increase the final cooperation rate from approximately 40–50% to up to 80%, demonstrating that noise is a critical enabler of cooperation.
  • The cooperative equilibrium (Win-Stay, Lose-Shift) is only robustly stable when agents care sufficiently for future rewards (high discount factor $\delta$), have low exploration ($\epsilon$), and use small learning rates.
  • Without stochasticity, the basin of attraction for the cooperative equilibrium is limited to about 40–50% of initial conditions, indicating limited learnability in deterministic settings.
  • The inclusion of intrinsic fluctuations significantly expands the effective basin of attraction, enabling convergence to cooperation in a much larger fraction of trials.
  • The study reveals a trade-off: while higher noise increases cooperation likelihood, it also slows convergence, making high cooperation rates less efficient in terms of time to reach equilibrium.
  • The results suggest that noise is not a flaw but a necessary feature for spontaneous cooperation in independent reinforcement learning, challenging the view that noise must be minimized in learning systems.

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.