Exploring exploration with foundation agents in interactive environments

Daniel P. Sawyer, Nan Rosemary Ke, Hubert Soyer, Martin Engelcke, John Reid, David P Reichert, Drew A. Hudson, Alexander Lerchner, Danilo Jimenez Rezende, Timothy P Lillicrap, Michael Curtis Mozer, Jane X WangEWM @ NeurIPS 2025

TL;DR

This paper investigates the exploration capabilities of foundation models (large language models) in interactive environments, moving beyond single-turn reasoning to multi-turn learning. They find that while models excel at information gathering in simple settings, they struggle with meta-learning and strategy adaptation in complex, dynamic environments, but these abilities can emerge with specific prompting techniques like summarization.

What Problem Does This Paper Address?

Foundation models have shown remarkable prowess in static, single-turn tasks. However, many real-world challenges, from scientific discovery to complex problem-solving, require agents to actively explore dynamic environments, gather information over time, learn underlying rules, and adapt to changes. This paper addresses the critical gap in understanding how well current foundation models can perform these essential exploration-related capabilities: efficient information gathering, meta-learning (learning to learn), and strategy adaptation. The authors argue that these skills are crucial for the next generation of AI agents, especially as we move towards an "era of experience" where models learn from interaction rather than just pre-existing data.

Methods

The authors introduce and utilize three key environments to systematically evaluate these capabilities:

  • Feature World: A simple, memory-less text-based environment designed to test efficient information gathering. It involves identifying a hidden reward function based on object properties (color, shape, texture). They also created a 3D embodied version of this environment to assess multimodal exploration.
  • Alchemy: A more complex, text-based environment designed for meta-learning and strategy adaptation. In Alchemy, agents must deduce a latent causal structure (the "chemistry") that governs the environment's dynamics, which is resampled for each episode. This requires learning and adapting strategies over multiple trials and episodes.

They evaluate several state-of-the-art foundation models (Gemini 1.5 Pro/Flash, Gemini 2.5 Pro/Flash, Claude 3.7 Sonnet, ChatGPT-40, and GPT-4 Turbo) using zero-shot, in-context prompting, without task-specific fine-tuning. They specifically investigate the impact of prompting strategies, such as providing prior information about invariant rules and prompting models to summarize their observations.

Datasets

The paper uses two primary environments for evaluation:

  • Feature World: A newly developed text-based environment with variations in complexity (number of features, reward function complexity) and a 3D embodied version built in the Construction Lab simulation.
  • Alchemy: A custom, text-based environment adapted from a previous benchmark, designed to test meta-learning and strategy adaptation in a procedurally generated setting with hidden, resampled causal structures.

The models themselves are not trained on these environments; rather, their pre-trained knowledge is leveraged through in-context prompting.

Key Insights and Ideas

  • Exploration is not a monolithic skill: The paper clearly delineates and measures distinct aspects of exploration (information gathering, meta-learning, strategy adaptation), revealing that models can excel in one area while struggling in another.
  • Summarization unlocks latent abilities: A key finding is that prompting LLMs to summarize their observations and actions across trials can elicit emergent meta-learning and strategy adaptation capabilities, even in complex environments where these skills are otherwise brittle. This suggests these abilities are not entirely absent but require specific scaffolding.
  • Complexity is a revealing stress test: While foundation models perform near-optimally in simple Feature World tasks, the increased complexity of Alchemy (multi-trial, hidden dynamics, strategy adaptation) starkly reveals their limitations and differences in robustness.
  • Vision is a bottleneck, but not the whole story: In the 3D embodied environment, while vision errors impacted performance, the authors suggest that the core reasoning and exploration capabilities of LLMs can generalize to embodied settings, with vision being a separate area for improvement.
  • Strategy adaptation is hard, but not impossible: The ability to adapt to unexpected rule changes (strategy adaptation) is shown to be a significant challenge. However, models like Gemini 2.5 and Claude 3.7 demonstrated this capability with prompt augmentations, suggesting no fundamental barrier.

Key Results

  • Feature World: Most models achieved near-optimal performance in information gathering for simple reward functions, even with increased cognitive load (more unique colors). However, performance degraded with more complex (conjunction) reward functions, with Gemini 2.5 Pro being an outlier, maintaining near-optimal performance.
  • 3D Feature World: Gemini 1.5 Pro showed efficient information gathering, but vision errors slightly reduced its accuracy in identifying the correct property.
  • Alchemy (No Augmentation): Models struggled with meta-learning (improvement over trials) and strategy adaptation. Some models (Gemini 2.5, o4-mini) outperformed a memoryless heuristic, but performance was generally far from optimal.
  • Alchemy (With Summarization): Prompting models to summarize their experiences significantly improved performance and enabled emergent meta-learning, leading to score improvements over trials. This effect was more pronounced than providing prior information directly in some cases.
  • Alchemy (Strategy Adaptation): Gemini 2.5 and Claude 3.7 could regain performance after an uncued change in game rules with prompt augmentations. ChatGPT-40, despite good initial meta-learning, failed to adapt. Previous generation models like Claude 3.5 also showed adaptation, suggesting it's not solely tied to recent "thinking" capabilities.

Limitations and Future Work

  • Zero-shot evaluation: The study exclusively used zero-shot, in-context prompting. The authors acknowledge that fine-tuning or other adaptation methods could yield different results and represent an important area for future work.
  • 3D embodied environment: The 3D experiments were a preliminary proof-of-concept with a single model and limited complexity. The human-in-the-loop setup also abstracted away direct action generation challenges. Future work could involve more comprehensive embodied evaluations.
  • Model robustness: While Gemini 2.5 and Claude 3.7 showed more robust performance, stark differences were observed among models, highlighting the need for further investigation into the underlying mechanisms of these differences.
  • Future Directions: The authors suggest that future generations of foundation agents will likely improve in these exploration capabilities. Benchmarks like Alchemy are crucial for tracking progress in this "era of experience." They also highlight the need to address challenges in multi-modal reasoning, particularly vision and action recognition, for embodied agents.

Summary updated

BibTeX
@inproceedings{sawyer2025exploring,
  author = {Daniel P. Sawyer and Nan Rosemary Ke and Hubert Soyer and Martin Engelcke and John Reid and David P Reichert and Drew A. Hudson and Alexander Lerchner and Danilo Jimenez Rezende and Timothy P Lillicrap and Michael Curtis Mozer and Jane X Wang},
  title = {{Exploring exploration with foundation agents in interactive environments}},
  booktitle = {EWM @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=ay2d66HWO2},
}
Figure