Abstract
The Animal-AI Environment is a unique game-based research platform designed to facilitate collaboration between the artificial intelligence and comparative cognition research communities. In this paper, we present the latest version of the Animal-AI Environment, outlining several major features that make the game more engaging for humans and more complex for AI systems. These features include interactive buttons, reward dispensers, and player notifications, as well as an overhaul of the environment's graphics and processing for significant improvements in agent training time and quality of the human player experience. We provide detailed guidance on how to build computational and behavioural experiments with the Animal-AI Environment. We present results from a series of agents, including the state-of-the-art deep reinforcement learning agent Dreamer-v3, on newly designed tests and the Animal-AI Testbed of 900 tasks inspired by research in the field of comparative cognition. The Animal-AI Environment offers a new approach for modelling cognition in humans and non-human animals, and for building biologically inspired artificial intelligence.
Introduction
Despite the rapid progress in artificial intelligence (AI), a persistent "evaluation gap" remains between machine intelligence and biological intelligence. AI research typically relies on static datasets or specialized games, whereas comparative psychologists use physical laboratory setups—such as mazes or operant chambers—to study animals. This divergence makes direct comparisons difficult and limits the development of agents capable of general-purpose reasoning.
The Animal-AI Environment addresses this by providing a physically realistic virtual laboratory. It allows researchers to place AI agents into the same experimental paradigms used in animal research for decades, testing for fundamental cognitive traits like object permanence, spatial reasoning, and tool use.
The Animal-AI Environment
Built on the Unity game engine with the ml-agents toolkit, the environment consists of a 3D arena where agents navigate to collect rewards and avoid punishments. It features realistic Newtonian physics (gravity, friction, drag) and Euclidean geometry, forcing agents to contend with the same physical constraints as biological organisms.
Agents interact with the world through a first-person RGB camera or simplified raycast sensors. The action space is intentionally kept simple—consisting of 9 discrete actions—to ensure the focus remains on cognitive problem-solving rather than complex motor control. Recent updates have introduced interactive elements like spawner buttons, sign boards for conditioning, and reward dispensers that mimic natural or laboratory food sources.
A Virtuous Cycle of Research
The platform facilitates a "virtuous cycle" of interdisciplinary research. By replicating animal experiments in a virtual space, researchers can evaluate AI models, identify cognitive shortcomings, and use those insights to refine both AI architectures and future biological experiments.
This approach emphasizes embodied cognition. Unlike large language models that process text, these agents must manage partial observability and physical constraints, which the authors argue are essential components for developing "true" intelligence.
Benchmarking and Results
The environment includes a comprehensive testbed of 900 tasks across 10 difficulty levels, covering spatial reasoning, working memory, and causal reasoning. To establish a "gold standard," the researchers collected performance data from 59 children (ages 6-10), providing a benchmark for comparing AI performance against biological development.
Key findings from testing state-of-the-art agents like Dreamer-v3 and PPO include:
- Foraging and Efficiency: Agents perform well on simple foraging tasks, matching basic heuristics and significantly outperforming random chance.
- The Importance of Scaffolding: Complex tasks, such as using an operant chamber (pressing a button to receive food), often require "curriculum learning"—gradually increasing difficulty—to be successful. Without this guidance, even advanced agents often fail to learn basic causal links.
- The Cognitive Gap: While Dreamer-v3 is highly capable, it still struggles with causal reasoning and object permanence—tasks that young children solve with ease. In the full 900-task battery, general-purpose agents still lag behind specialized models from previous competitions.
Conclusion and Future Work
The Animal-AI Environment provides a standardized bridge between AI and psychology. Future developments will focus on social interactions between multiple agents, expanding to "open-field" navigation, and improving visual variety to test generalization across different ecological contexts. By grounding AI in the physical realities of biological life, the project aims to move closer to truly general artificial intelligence.
Summary updated