Skip to main content
QUICK REVIEW

[Paper Review] Prosocial learning agents solve generalized Stag Hunts better than selfish ones

Alexander Peysakhovich, Adam Lerer|arXiv (Cornell University)|Sep 8, 2017
Evolutionary Game Theory and CooperationSocial Sciences14 citations
TL;DR

This paper proposes that making a single agent prosocial—by modifying its reward function to care about its partner's payoff—significantly increases the likelihood of group convergence to high-payoff equilibria in generalized Stag Hunt games, even when other agents use reactive reinforcement learning. The key result is that prosociality expands the basin of attraction for efficient outcomes in both matrix-form and complex Markov games with function approximation.

ABSTRACT

Deep reinforcement learning has become an important paradigm for constructing agents that can enter complex multi-agent situations and improve their policies through experience. One commonly used technique is reactive training - applying standard RL methods while treating other agents as a part of the learner's environment. It is known that in general-sum games reactive training can lead groups of agents to converge to inefficient outcomes. We focus on one such class of environments: Stag Hunt games. Here agents either choose a risky cooperative policy (which leads to high payoffs if both choose it but low payoffs to an agent who attempts it alone) or a safe one (which leads to a safe payoff no matter what). We ask how we can change the learning rule of a single agent to improve its outcomes in Stag Hunts that include other reactive learners. We extend existing work on reward-shaping in multi-agent reinforcement learning and show that that making a single agent prosocial, that is, making them care about the rewards of their partners can increase the probability that groups converge to good outcomes. Thus, even if we control a single agent in a group making that agent prosocial can increase our agent's long-run payoff. We show experimentally that this result carries over to a variety of more complex environments with Stag Hunt-like dynamics including ones where agents must learn from raw input pixels.

Motivation & Objective

  • Address the challenge of inefficient equilibrium selection in multi-agent reinforcement learning, particularly in general-sum games like Stag Hunts.
  • Investigate how modifying a single agent's learning rule can improve collective outcomes when other agents use reactive training.
  • Explore whether prosocial reward shaping—making an agent care about its partner’s payoff—can lead to better coordination and higher long-term payoffs.
  • Extend findings from simple matrix games to complex environments with raw pixel inputs and function approximation.
  • Evaluate the robustness of prosociality across different game dynamics and learning architectures.

Proposed method

  • Apply reward shaping to a single agent by modifying its reward function to include a weighted sum of its own and its partner’s payoff.
  • Use independent multi-agent reinforcement learning (independent MARL) for all agents, treating others as part of the environment.
  • Train agents using deep Q-networks (DQN) and dueling DQN architectures in environments with raw pixel observations.
  • Introduce prosociality via a hyperparameter α that controls the weight of the partner’s reward in the agent’s objective function.
  • Evaluate convergence to equilibria using metrics like payoff dominance, risk dominance, and basin of attraction size.
  • Compare prosocial agents against selfish counterparts in both matrix-form Stag Hunts and complex Markov games with stochastic dynamics.

Experimental results

Research questions

  • RQ1Can prosocial reward shaping in a single agent improve the likelihood of group convergence to payoff-dominant equilibria in Stag Hunt games?
  • RQ2Does prosociality remain effective in complex environments with function approximation and raw input (e.g., pixels)?
  • RQ3How does prosociality affect the size of the basin of attraction for efficient equilibria compared to selfish learning?
  • RQ4What are the trade-offs of prosociality in non-Stag-Hunt environments, such as social dilemmas?
  • RQ5How do off-equilibrium dynamics and function approximation influence the effectiveness of prosocial reward shaping?

Key findings

  • Prosocial agents significantly increase the probability that a group of reactive learners converges to the payoff-dominant equilibrium in matrix-form Stag Hunts.
  • The prosocial modification expands the basin of attraction for high-payoff equilibria, making it more likely for the system to reach efficient outcomes regardless of initial conditions.
  • In complex Markov games with raw pixel inputs, prosocial agents still outperform selfish ones in coordinating on high-payoff strategies, even when exploration is difficult.
  • The benefit of prosociality is robust across different architectures and learning dynamics, including environments where the stag runs away and requires coordinated action.
  • However, prosociality can be detrimental in non-Stag-Hunt games, such as social dilemmas, where it may lead to exploitation by selfish partners.
  • Function approximation and network architecture influence the relative likelihood of discovering different equilibria, highlighting the importance of architectural priors in multi-agent learning.

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.