Can foundation models actively gather information in interactive environments to test hypotheses?

Nan Rosemary Ke, Danny P. Sawyer, Hubert Soyer, Martin Engelcke, David P. Reichert, Drew A. Hudson, John Reid, Alexander Lerchner, Danilo Jimenez Rezende, Timothy P. Lillicrap, Michael Mozer, Jane X. Wang · DOI

Introduction

While Large Language Models (LLMs) have demonstrated remarkable capabilities in static reasoning tasks, their ability to engage in "active exploration"—the process of gathering information and adapting strategies within dynamic environments—remains a critical frontier. Real-world challenges such as scientific discovery, software debugging, and complex problem-solving require agents to interact with a system, test hypotheses, and update their internal world models based on feedback. This paper investigates whether state-of-the-art foundation models can perform directed exploration and meta-learn complex causal structures through in-context reasoning.

Experimental Framework and Methods

The researchers evaluated several frontier models, including Gemini 1.5/2.5, Claude 3.7, and ChatGPT-4o, using a zero-shot, in-context prompting approach. The core of the methodology involved testing different "cognitive scaffolding" architectures to support exploration:

  1. Standard Prompting: Providing the current state and interaction history.
  2. Prior Information: Supplying general domain rules (e.g., "potions come in pairs").
  3. Cross-Trial Summarization: Requiring the model to summarize observations and "learned chemistry" at the end of each trial to carry forward into subsequent attempts.
The Feature World environment and the LLM-environment interaction loop.

The study utilized two primary environments: Feature World, where agents identify rewarding objects based on features like color and shape, and Alchemy, a benchmark requiring agents to deduce a latent causal "chemistry" that governs object transformations.

Key Insights: The Role of Scaffolding and the Robustness Gap

A primary finding was the "Summarization Unlock." In the complex Alchemy environment, models initially struggled to improve across successive trials. However, by prompting models to summarize their findings, researchers enabled an emergent meta-learning process, where the summary acted as an external working memory.

Another critical observation was the "Robustness Gap." While most models performed well on simple tasks, their efficiency degraded significantly in "conjunction" tasks—where a reward depends on multiple features (e.g., "Red AND Cube"). As the number of unique colors increased, the performance of many models dropped, though Gemini 2.5 Pro remained a notable outlier, maintaining near-optimal efficiency.

Comparison of model performance on single-feature vs. conjunction tasks.

Furthermore, the study highlighted a "Vision Bottleneck." In 3D embodied tasks, models often chose the correct exploratory actions but failed due to simple visual errors, such as misidentifying an object's shape or color in a video frame.

Results and Performance

In Feature World, almost all models achieved near-optimal information gathering in basic settings. However, the Alchemy environment proved more challenging. Without summarization, no model showed significant improvement over 10 trials. With summarization enabled, Gemini 2.5 Pro and Claude 3.7 demonstrated dramatic improvements, eventually outperforming Reinforcement Learning (RL) agents that had been trained for 1 billion steps.

In terms of model rankings, Gemini 2.5 Pro consistently performed best in the most difficult settings, followed by Claude 3.7. Models like ChatGPT-4o and o4-mini struggled more with the complex causal reasoning required by the Alchemy benchmark.

Limitations and Future Directions

Despite these successes, several hurdles remain. The high rate of vision errors in 3D environments suggests that multimodal models require improvements in temporal consistency and fine-grained recognition. Additionally, for 3D tasks, models provided text instructions to human actors rather than controlling motor policies directly; future work must integrate these "reasoning brains" with robust motor control. Finally, while this study focused on in-context learning, exploring how task-specific fine-tuning might further enhance exploratory instincts remains a promising avenue for future research.

Summary updated

BibTeX
@misc{ke2024can,
  author = {Nan Rosemary Ke and Danny P. Sawyer and Hubert Soyer and Martin Engelcke and David P. Reichert and Drew A. Hudson and John Reid and Alexander Lerchner and Danilo Jimenez Rezende and Timothy P. Lillicrap and Michael Mozer and Jane X. Wang},
  title = {{Can foundation models actively gather information in interactive environments to test hypotheses?}},
  year = {2024},
  eprint = {2412.06438},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.06438},
}
Figure