Deep Learning Agents Trained For Avoidance Behave Like Hawks And Doves

Aryaman Reddi, Glenn VinnicombearXiv 2025 · DOI

Abstract

In multi-agent reinforcement learning (MARL), symmetric environments often lead to the emergence of asymmetric coordination protocols. This study investigates two Deep Q-Network (DQN) agents trained to navigate past each other in a grid world. Despite identical architectures and starting conditions, the agents consistently converge on a "Hawk-Dove" dynamic. One agent becomes aggressive (the Hawk), claiming the direct path, while the other learns to yield (the Dove) to avoid costly collisions. This behavior represents a stable Nash Equilibrium where agents maximize rewards through role differentiation rather than symmetric cooperation.

Introduction

Multi-agent navigation is a critical challenge for autonomous systems, from self-driving cars to warehouse robotics. A central problem is coordination: how can independent agents learn to avoid collisions in shared spaces? In human societies, social protocols like "stay to the right" provide symmetric solutions. However, training AI agents to discover such protocols is complicated by environmental non-stationarity—as one agent learns, the other's environment changes. This research explores whether agents in a perfectly symmetric setup will arrive at a symmetric solution or if asymmetric power dynamics will emerge.

Methods

The experimental environment consists of a 64x64 grid world where two agents are spawned on opposite edges with the goal of reaching the opposite side. The agents utilize Deep Q-Networks (DQN) and perceive the world through 2D images of the grid. Frame stacking is employed to provide temporal context, allowing agents to understand motion.

The reward function is designed to incentivize efficiency and safety, featuring a large positive reward for reaching the target, a massive penalty for collisions, and a small "time penalty" for every step taken. Two primary scenarios were tested: parallel pathways (head-on) and perpendicular pathways (90-degree crossing).

Theoretical Framework: The Hawk-Dove Game

The observed behaviors can be mapped to the classic "Hawk-Dove" model from evolutionary biology and game theory. In this model, agents must choose between being aggressive (Hawk/Straight) or submissive (Dove/Avoid).

The Hawk-Dove payoff matrix mapping agent behaviors to game-theoretic outcomes, where rs is the straight-line reward, ra is the avoidance reward, and rd is the collision penalty.

The payoff hierarchy is defined as $r_s > r_a > r_d$. Because the reward for avoiding ($r_a$) is significantly higher than the penalty for collision ($r_d$), an agent is rationally incentivized to yield if it perceives the other agent will not deviate from its path.

Key Insights and Results

The most striking finding is the consistent emergence of asymmetry. Even with identical starting conditions, agents never settled on a symmetric "share the road" strategy. Instead, they developed distinct roles based on a first-mover advantage: the agent that first discovers the sparse reward during exploration typically "claims" the straight-line path (the Hawk), while the other learns to detour or wait (the Dove) to maximize its own reward by avoiding a crash.

Emergent coordination protocols in parallel (left) and perpendicular (right) navigation tasks, illustrating the 'Hawk' (straight path) and 'Dove' (detour/wait) behaviors.

In parallel scenarios, one agent moves in a dead-straight line while the other performs a detour maneuver. In perpendicular scenarios, one agent rushes to the target while the other learns to wait for the first agent to pass before proceeding.

Conclusion and Future Work

The study demonstrates that reinforcement learning agents left to their own devices are likely to develop "bully" dynamics rather than fair protocols. While these asymmetric solutions are efficient and stable, they may not be desirable in real-world applications where fairness is a priority. Future work should address scaling to hundreds of agents or continuous action spaces, which may reveal more complex social structures or the necessity of explicitly programmed "traffic laws" to ensure equitable outcomes.

Summary updated

BibTeX
@misc{reddi2025deep,
  author = {Aryaman Reddi and Glenn Vinnicombe},
  title = {{Deep Learning Agents Trained For Avoidance Behave Like Hawks And Doves}},
  year = {2025},
  eprint = {2503.11452},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.11452},
}
Figure