Deep RL Needs Deep Behavior Analysis: Exploring Implicit Planning by Model-Free Agents in Open-Ended Environments
Riley Simmons-Edler, Ryan P. Badman, Felix Baastad Berg, Raymond Chua, John J. Vastola, Joshua Lunger, William Qian, Kanaka Rajan
TL;DR
This work addresses the need for behavior-focused diagnostics in deep RL by introducing ForageWorld, a naturalistic, partially observable foraging environment. It develops a neuroscience-inspired analysis framework and applies it to model-free PPO-RNN agents, showing that memory and planning-like behaviors can emerge without explicit world models. Through decoding of allocentric position, GLM analyses, and ablations, the study reveals structured exploration, patch revisitation, and modular internal representations that support long-horizon planning. It demonstrates staged skill acquisition during training and shows how architectural choices such as recurrence, pruning, and auxiliary losses influence both performance and interpretability. By releasing open-source pipelines and linking behavioral and neural analyses, the paper contributes to neuroAI and offers a robust platform for evaluating safe, desirable behaviors in open-ended autonomous agents.
Abstract
Understanding the behavior of deep reinforcement learning (DRL) agents -particularly as task and agent sophistication increase- requires more than simple comparison of reward curves, yet standard methods for behavioral analysis remain underdeveloped in DRL. We apply tools from neuroscience and ethology to study DRL agents in a novel, complex, partially observable environment, ForageWorld, designed to capture key aspects of real-world animal foraging- including sparse, depleting resource patches, predator threats, and spatially extended arenas. We use this environment as a platform for applying joint behavioral and neural analysis to agents, revealing detailed, quantitatively grounded insights into agent strategies, memory, and planning. Contrary to common assumptions, we find that model-free RNN-based DRL agents can exhibit structured, planning-like behavior purely through emergent dynamics- without requiring explicit memory modules or world models. Our results show that studying DRL agents like animals -analyzing them with neuroethology-inspired tools that reveal structure in both behavior and neural dynamics- uncovers rich structure in their learning dynamics that would otherwise remain invisible. We distill these tools into a general analysis framework linking core behavioral and representational features to diagnostic methods, which can be reused for a wide range of tasks and agents. As agents grow more complex and autonomous, bridging neuroscience, cognitive science, and AI will be essential- not just for understanding their behavior, but for ensuring safe alignment and maximizing desirable behaviors that are hard to measure via reward. We show how this can be done by drawing on lessons from how biological intelligence is studied.
