A Comparison of Non-human Primate and Deep Reinforcement Learning Agent Performance in a Virtual Pursuit-Avoidance Task

Theodore L. Willke, Seng Bum Michael Yoo, Mihai Capotă, Sebastian Musslick, Benjamin Y. Hayden, Jonathan D. CohenbioRxiv 2019

Abstract

We compare the performance of non-human primates and deep reinforcement learning agents in a virtual pursuit-avoidance task, as part of an effort to understand the role that cognitive control plays in the deeply evolved skill of chase and escape behavior. Here we train two agents, a deep Q network and an actor-critic model, on a video game in which the player must capture a prey while avoiding a predator. A previously trained rhesus macaque performed well on this task, and in a manner that obeyed basic principles of Newtonian physics. We sought to compare the principles learned by artificial agents with those followed by the animal, as determined by the ability of one to predict the other. Our findings suggest that the agents learn primarily 1st order physics of motion, while the animal exhibited abilities consistent with the 2nd order physics of motion. We identify scenarios in which the actions taken by the animal and agents were consistent as well as ones in which they differed, including some surprising strategies exhibited by the agents. Finally, we remark on how the differences between how the agents and the macaque learn the task may affect their peak performance as well as their ability to generalize to other tasks.

Introduction

Artificial Intelligence (AI) frequently outperforms biological agents in specialized tasks, yet the underlying mechanisms driving these performance gaps often remain opaque. Pursuit and escape are fundamental survival skills requiring cognitive control—the ability to coordinate thoughts and actions toward a goal. This study investigates whether state-of-the-art reinforcement learning (RL) agents develop an "intuitive physics" model similar to primates or if they exploit task-specific statistical shortcuts that may hinder generalization.

Methods

The experimental setup involved a virtual environment where the player controls a yellow avatar to capture a prey (green square) while avoiding a predator (red triangle).

Subjects and Training

  • Primate: A male rhesus macaque was trained over 70 days (10,850 trials) using a joystick.
  • RL Agents: A Double Deep Q-Network (DQN) with discrete actions and a Soft Actor-Critic (SAC) agent with continuous actions were trained for 6,000 to 10,000 episodes until performance plateaued.

Analytical Approach

To identify the learned "physics," generative models were fitted to the subjects' trajectories. The researchers tested 1st-order (velocity-based), 2nd-order (acceleration/inertia-based), and 3rd-order (jerk-based) equations of motion.

Results

Performance and Learning Dynamics

Both RL agents significantly outperformed the macaque in catch rate and efficiency. The SAC agent achieved a near-perfect 99.99% catch rate, while the DQN reached 98.5%, compared to the monkey's 66.67%. Notably, the agents reached peak performance within a similar number of trials as the primate (~10,000), suggesting that the environment's motion mechanics were simple enough for rapid artificial acquisition.

Comparison of learning curves for the macaque (left) and RL agents (middle, right).

The "Physics" Gap

A critical finding was the divergence in internal models. The macaque’s behavior was best explained by 2nd-order physics, accounting for acceleration and mechanical inertia. Conversely, both RL agents relied on 1st-order physics, essentially using a "point and shoot" strategy toward the target's current trajectory without modeling momentum.

Efficiency and Survival

The SAC agent was approximately four times faster at catching prey than the macaque. In "doomed" scenarios—where initialization occurred very close to a predator—the RL agents demonstrated superior escape capabilities and often successfully reversed the situation to capture the prey.

Ratio of average steps remaining across different stages of trial completion.

Discussion

While RL agents achieved higher precision and efficiency, their reliance on narrow, task-specific knowledge contrasts with the primate's domain-general intuitive physics. This suggests that while AI can be more efficient in stable environments, its ability to adapt to changing physical rules may be limited compared to biological counterparts.

Limitations and Future Work

The study is limited by a single primate subject and the inherent differences in motor constraints; the monkey faces physical fatigue and joystick mechanics, whereas RL agents execute precise, unencumbered movements. Future work will focus on identifying neural correlates of these 1st and 2nd-order physics models within biological neural networks.

Summary updated

Abstract

Abstract We compare the performance of non-human primates and deep reinforcement learning agents in a virtual pursuit-avoidance task, as part of an effort to understand the role that cognitive control plays in the deeply evolved skill of chase and escape behavior. Here we train two agents, a deep Q network and an actor-critic model, on a video game in which the player must capture a prey while avoiding a predator. A previously trained rhesus macaque performed well on this task, and in a manner that obeyed basic principles of Newtonian physics. We sought to compare the principles learned by artificial agents with those followed by the animal, as determined by the ability of one to predict the other. Our findings suggest that the agents learn primarily 1st order physics of motion, while the animal exhibited abilities consistent with the 2nd order physics of motion. We identify scenarios in which the actions taken by the animal and agents were consistent as well as ones in which they differed, including some surprising strategies exhibited by the agents. Finally, we remark on how the differences between how the agents and the macaque learn the task may affect their peak performance as well as their ability to generalize to other tasks.
BibTeX
@misc{willke2019comparison,
  author = {Theodore L. Willke and Seng Bum Michael Yoo and Mihai Capotă and Sebastian Musslick and Benjamin Y. Hayden and Jonathan D. Cohen},
  title = {{A Comparison of Non-human Primate and Deep Reinforcement Learning Agent Performance in a Virtual Pursuit-Avoidance Task}},
  year = {2019},
  doi = {10.1101/567545},
  howpublished = {bioRxiv},
}
Figure