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.
1. Introduction
While artificial intelligence (AI) has achieved remarkable success in specialized domains such as strategic games and generative modeling, the development of "embodied" agents capable of navigating the physical world with the "common sense" of a biological organism remains a significant challenge. A primary obstacle is the lack of a shared experimental framework between AI researchers and cognitive scientists.
Animal-AI 3 addresses this gap by providing a standardized, 3D virtual laboratory. It allows researchers to implement experimental paradigms from comparative psychology—ranging from simple foraging to complex causal reasoning—and test both biological and artificial agents under identical conditions.
2. The Animal-AI 3 Environment
The platform is built on the Unity engine using the ML-Agents toolkit. It features a 40x40 unit arena where agents (represented as various animals like hedgehogs or pandas) must navigate to collect rewards while avoiding hazards.
2.1 Technical Enhancements in Version 3
Version 3 introduces several critical updates:
- Expanded Ontology: New interactive elements such as buttons, "spawner trees" (reward dispensers), and signboards for visual signaling.
- Performance Optimization: An overhaul using the Universal Render Pipeline (URP) significantly improves frame rates, reducing the wall-clock time required for agent training.
- Accessibility: A Python-based graphical configuration tool enables the design of complex arenas without requiring deep knowledge of the underlying Unity code.
- Standardized Integration: Native support for Gymnasium and stable-baselines3 ensures compatibility with modern reinforcement learning (RL) workflows.
3. The Virtuous Cycle of Intelligence
A core philosophy of the Animal-AI project is the "virtuous cycle." This framework posits that AI development should not merely aim to solve environments but should use failures to generate new hypotheses about biological cognition. These insights, in turn, inspire more robust AI architectures.
4. Benchmarking and Results
The environment includes the Animal-AI Testbed, a benchmark of 900 tasks across 10 difficulty levels. These tasks cover domains such as object permanence, navigation, and causal reasoning. To establish a "biological-level" baseline, the authors collected performance data from 59 children (ages 6–10).
4.1 Agent Performance
The authors evaluated state-of-the-art agents, including Proximal Policy Optimization (PPO) and Dreamer-v3:
- Foraging: Both agents achieved near-optimal performance on basic navigation within 1 million training steps.
- Complex Interaction: In "operant chamber" tasks requiring button presses, Dreamer-v3 succeeded only when guided by a 5-stage curriculum; PPO failed to learn the mechanic entirely without it.
- The Testbed Challenge: Human children continue to vastly outperform AI agents. Notably, Dreamer-v3—despite its success in Minecraft—ranked only 25th against historical entries from the 2019 Animal-AI competition. This suggests that cognitive "common sense" requires different inductive biases than those found in current general-purpose RL models.
5. Conclusion and Future Work
Animal-AI 3 provides a robust platform for investigating the frontiers of embodied intelligence. Future development will focus on adaptive curricula to bridge the gap to human-level reasoning, increased environmental variety to test generalization, and expanding the platform to support larger, open-field navigation experiments.
Summary updated