arXiv:2610.26395cs.ROOct 2026

Manuscript Offprint

arXiv:2610.26395

ForagerSim: Evaluating Embodied Map-Based Reasoning in Large-Scale Dynamic Worlds

Tomáš Musil, Martin Kotík, Michal Vavrečka, Karla Štěpánová, Sebastian Scherer, Martin Saska

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Animals build cognitive maps of vast environments, use them to perform map-based navigation, and might even be reusing the same circuitry used in spatial reasoning for creating and using maps of arbitrary task-spaces. In contrast, current embodied AI systems either rely on hand-engineered mapping pipelines, which break in the presence of unmodeled dynamics and are restricted to metric space, or on learned policies that rarely form map-like representations at all. Developing architectures that could learn to build and use map-like representations as flexibly as animals is, however, difficult because few embodied AI benchmarks actually require map-based reasoning. To address this, we present ForagerSim— an interdisciplinary research platform and simulation environment focused on embodied tasks that require map-based reasoning, with scenarios ranging from mobile-robot search and rescue to animal foraging in both complex mazes and vast, potentially infinite open areas. ForagerSim is highly modular and allows modifying independent axes of difficulty related to perception (abstract 2D sensing to full RGB or LiDAR), scale (room-scale to multi-km scale), topology (open-fields to complex mazes), dynamics (smoke, debris, sensorimotor failures and others) and tasks (from simple 2D coverage to foraging-inspired well-alternation tasks). We compare reinforcement learning baselines with a simple engineered robotics stack and a human player on 8 example worlds which show how different difficulty axes affect existing methods. Our results show that, when sensing is simplified to 2D, learned policies can perform multi-object search and well-alternation tasks surprisingly well in simple topologies, but they fall short of human performance in larger or more complex-topology environments where map-based baselines perform well, suggesting that map-based reasoning is the bottleneck in these scenarios. Code and data are made open source 1^{1}.

Figure

Figure 1: Example scenarios in ForagerSim- from left to right: The 4arm-submazes maze; multi-object search in a dynamic-environment consisting of houses with movable rubble and chaotically walking entities; ratmaze-foraging experiment with rewards alternating between random wells and a home well; massive-scale realistic bat-level foraging scenario

1^{1}https://github.com/MrTomzor/foragersim

1 INTRODUCTION

Searching for sparse objects (e.g. food) in vast, dynamic environments (deformable and changing), and then returning to known locations (e.g. a nest, a storage, or favorite feeding locations) are critical capabilities for the survival of nearly all animal species. When performing this task in large environments, animals and humans do not behave purely reactively, but they build highly scalable spatial representations (cognitive maps) (Tolman, 1948; Epstein et al., 2017; Geva-Sagiv et al., 2015) which enable efficient planning, navigation, and reacting to environment changes. Bats and other animals are capable of navigating at scales as high as tens of kilometers (Goldshtein et al., 2024; Gurarie et al., 2022). Dogs trained for search and rescue missions learn to navigate rubble, enter damaged structures, and search systematically over large areas through a curriculum of reinforcement, without being told how to map or plan (Gerritsen & Haak, 2014), and without human-level language understanding. Some research even suggests that the cognitive map construction could play a significant role in general task learning in the form of learning reusable schemata that agents can then use for faster learning, efficient decision making, or imagining future trajectories in both physical and abstract spaces (Aronov et al., 2017; Baraduc et al., 2019; Epstein et al., 2017). Importantly, replicating the learnable map-based reasoning observed in animals and humans could enable agents to learn to perform tasks that are currently unsolvable by neither hand-crafted map-based reasoning systems nor by existing end-to-end learning approaches by combining the strengths of both. The main motivating example, which we also use as inspiration in designing some of the dynamics and topologies in ForagerSim, are search-and-rescue missions in environments that are both large, and highly dynamic (e.g. autonomously finding survivors in a suburb during a wildfire, flood or earthquake), which have not yet been reliably solved by any existing embodied AI approach.

Engineered mobile robotics systems, often called autonomy stacks (Tranzatto et al., 2022; Hudson et al., 2022; Petrlík et al., 2025), serve as examples showing that performing localization, mapping and planning at multiple levels of abstraction (e.g. using a global+local planner, and combining both metric and topological maps) can allow robots to search and navigate unknown environments at scales of even up to several kilometers. However, they are also built on assumptions that break in highly dynamic environments, since every new type of dynamics has to be engineered into the pipeline by hand (e.g. how the mapping and planning has to be changed, compared to a static environment, in the case of smoke, humans or e.g. actuator or odometry failures). Even though deep learning is sometimes used in parts of these systems (e.g. for perception or low-level control), the mapping and planning modules, their interactions and their hierarchy levels are hand-designed and not learnable end-to-end.

While deep learning approaches can learn to perform arbitrary tasks in worlds with arbitrary dynamics, for which handcrafting autonomy stacks would be completely infeasible, map-like representations and online planning capabilities are severely limited in existing learning architectures. Some recent works have investigated the map-building capabilities of commonly used learned memory architectures, and found that map-like representations can emerge, but only in highly specific conditions, (Wijmans et al., 2023; Banino et al., 2018) or when a structural prior on spatial transformations is embedded into the architecture (Yang et al., 2026). While recent research has shown that the popularly used large language models can sometimes provide reasonable estimates on “where to go to search for a given object”, studies have shown that they are very brittle when tested on long-horizon embodied tasks that require spatial reasoning (Paglieri et al., 2025). Some approaches have combined classical autonomy stacks with taking LLM outputs as high-level guidance, which has had success in static environments (Kim et al., 2026), but this approach still suffers from the core problems of engineered autonomy stacks (inability to learn and brittleness to noise and hard-to-model situations).

Finding learning architectures that could learn to build and utilize maps at the scales and flexibility seen in animals could benefit the robotics community (by removing the need to re-engineer mapping/planning pipelines and heuristics for different morphologies and environments), the reinforcement learning community (by helping with long-term memory and behavior), and the cognitive science community (by providing testable models of how map-like representations may arise in animals). However, each community evaluates these capabilities on its own tasks, under its own assumptions: robotics on realistic sensing in largely static worlds, reinforcement learning on memory tasks in small abstract environments, and cognitive science on animal experiments that are rarely reproduced in simulation and often only in small box-arenas. To provide a platform for these commu-nities to collaboratively investigate the problem of learnable map-based reasoning, our paper brings the following contributions:

• Environment We introduce ForagerSim, an open-source environment for embodied search and navigation in which perception, scale, topology and dynamics can be varied independently, allowing the construction of tasks that truly require map-like memory and online planning. To keep it accessible, we design the worlds such that the same scenarios can be addressed in both a fast, low-dimensionality abstract 2D depth+semantics observation mode and a more detailed, 3D mode with RGB/LiDAR sensing. We replicate scenarios from mobile robot navigation, memory-learning benchmarks and animal experiments, design new environmental topologies and dynamics which challenge existing methods and present an example curriculum learning experiment which smoothly increases topological complexity.

• Baseline RL Scores We benchmark a model-free and a model-based agent on 8 world configurations along 3 axes that isolate topology, dynamics, and task complexity, and find that while RL baselines show some learning on simple worlds, they are easily broken by more complex world topologies and by the more map-focused well-alternation task.

• Comparison with a Classic Mobile-Robotics Exploration Stack For the multi-object search settings, we compare learned approaches with a simple engineered autonomy stack implemented in ROS2 and note its high performance on complex topologies and failure cases in worlds with dynamics or non-uniform distributions of reward objects.

• Human Reference We record the performance of a human player and provide a robotics-inspired UI that makes the comparison fair when simulating in the fast, 2D raycasting mode. This offers an estimate of the gap between current methods and human performance.

References (54)