Shoot First, Ask Questions Later? Building Rational Agents that Explore and Act Like People
Gabriel Grand, Valerio Pepe, Joshua B Tenenbaum, Jacob Andreas
International Conference on Learning Representations 2026 · Oral
Overview
In high-stakes domains ranging from scientific discovery to medical diagnosis and complex engineering, the ability for artificial intelligence to strategically seek information is paramount. While humans excel at forming hypotheses, asking incisive questions, and resolving uncertainty efficiently, traditional language models are primarily optimized for answering queries rather than formulating good ones independently. This talk, presented by Gabriel Grand and collaborators, introduces a novel framework for building and evaluating AI agents that can engage in rational exploration, mirroring human cognitive processes. The core challenge addressed is the tension between exploration (gathering information) and action (making decisions based on that information), especially in environments characterized by vast, combinatorially complex state spaces.

Key moments
- 0:00 Building rational agents for strategic information seeking
- 2:50 Introducing Collaborative Battleship: A sandbox for discovery
- 4:50 Solution: Pairing agents with a code-based world model
- 6:00 World model enables computing Expected Information Gain (EIG)
- 9:00 Dramatic gains: Llama 4 achieves superhuman performance
- 10:20 Key takeaways and future implications of the framework
- 11:15 World model's role: hypothesis sampling and reasoning
Shoot First, Ask Questions Later? Building Rational Agents that Explore and Act Like People
Speakers: Gabriel Grand, Valerio Pepe, Joshua B Tenenbaum, Jacob Andreas
Conference: ICLR 2026
YouTube: https://slideslive.com/39062093
Overview
In high-stakes domains ranging from scientific discovery to medical diagnosis and complex engineering, the ability for artificial intelligence to strategically seek information is paramount. While humans excel at forming hypotheses, asking incisive questions, and resolving uncertainty efficiently, traditional language models are primarily optimized for answering queries rather than formulating good ones independently. This talk, presented by Gabriel Grand and collaborators, introduces a novel framework for building and evaluating AI agents that can engage in rational exploration, mirroring human cognitive processes. The core challenge addressed is the tension between exploration (gathering information) and action (making decisions based on that information), especially in environments characterized by vast, combinatorially complex state spaces.
The research proposes a principled approach grounded in Bayesian experimental design, enabling agents to learn efficiently by maximizing Expected Information Gain (EIG). A central innovation is the integration of a code-based world model as an interactive simulator, allowing agents to test hypotheses and simulate experiment outcomes before committing to an action. This methodology is demonstrated within a custom sandbox environment, Collaborative Battleship, specifically designed to study information-seeking behavior in both humans and AI. The findings reveal that equipping agents with a world model dramatically boosts their performance, elevating weaker models from random chance to superhuman capabilities and even surpassing the performance of larger, more advanced frontier models.
This work holds significant implications for the development of more trustworthy and effective AI systems. By enabling agents to explore rationally and make informed decisions in controlled environments, the researchers aim to pave the way for their deployment in critical real-world applications such as clinical decision support, laboratory automation, and complex system engineering. The ability to ask pertinent questions and strategically reduce uncertainty is a cornerstone of intelligent behavior, and this framework offers a robust pathway for AI to acquire and leverage this crucial skill.
Background
▶ Watch: Building rational agents for strategic information seeking (0:00)
The problem of strategic information seeking is fundamental to many real-world AI applications. Whether it's a scientist designing an experiment, a doctor diagnosing a patient, or an engineer debugging a system, the process often involves navigating a vast space of possibilities, narrowing down options through iterative observation, and making decisions under uncertainty. Humans are remarkably adept at this, intuitively forming hypotheses and asking targeted questions to resolve ambiguities. In contrast, while modern Large Language Models (LLMs) demonstrate impressive capabilities in comprehending and generating text, and answering complex queries, their inherent training objective typically doesn't cultivate the ability to proactively ask good questions to reduce their own uncertainty.
The core challenge in these discovery problems lies in the state space, which is often combinatorially huge, making exhaustive search impractical – akin to finding a "needle in a haystack." To mitigate this, agents must judiciously choose experiments or questions. However, acting on incomplete or incorrect information can lead to disastrous consequences, highlighting a critical tension between exploration (gathering information) and action (making a decision). Prior work in both AI and cognitive science has often utilized games as simplified, yet challenging, environments to study decision-making and reasoning. Benchmarks like ARC-AGI exemplify how grid worlds can encapsulate complex reasoning tasks, and previous research has even adapted games like Battleship to study human question-asking behavior.
The theoretical foundation for rational exploration is often rooted in Bayesian experimental design. This framework posits that the optimal experiment is one that maximizes the Expected Information Gain (EIG), a measure of how much an experiment is expected to reduce uncertainty about the true state of the world. However, practical implementation of EIG maximization faces several significant hurdles. Firstly, computing the entropy terms required for EIG involves summing over an enormous space of possible hidden states, which is computationally intractable for complex problems. Secondly, accurately estimating the likelihood of each potential outcome of an experiment necessitates a robust method for simulating the environment's dynamics. Finally, the space of possible experiments or questions itself can be vast, making it impossible to enumerate and evaluate every single option. These challenges underscore the need for a practical, scalable approach to enable AI agents to perform rational, human-like exploration.
Key Findings
▶ Watch: Solution: Pairing agents with a code-based world model (4:50)
The research yielded several significant findings, demonstrating the efficacy of combining AI agents with a code-based world model for rational exploration:
- Human Baselines: A human study using the Battleship QA dataset revealed that human captains consistently ask informative questions, though not always theoretically optimal. Crucially, humans rarely posed redundant questions, a stark contrast to many initial LLM behaviors. A strong correlation was observed between the number of questions asked and overall game performance, while human spotters demonstrated near-perfect accuracy in answering questions.
- LLM Answering Capabilities: Benchmarking 15 diverse LLMs on human-generated questions showed wide variability in base accuracy, generally falling below human performance. While Chain-of-Thought (CoT) reasoning offered some improvement, the most substantial gains came from integrating the world model, which translated natural language questions into executable code, providing a significant accuracy boost to spotter agents.
- Enhanced Question Asking: The world model proved instrumental in improving the informativeness of agent-generated questions. By enabling agents to sample and evaluate multiple candidate questions, the approach allowed them to reach 94% of the theoretical EIG ceiling with as few as 10 candidate samples. This process effectively eliminated the tendency of weaker models to ask redundant questions and further benefited stronger models like GPT-5 in their question formulation.
- Dramatic Performance Gains in Game Play: The improvements in both answering and asking questions translated directly into superior game performance. While out-of-the-box LLMs showed considerable variation (e.g., GPT-5 competitive with humans, but Llama 4 and GPT-4o barely above chance), equipping these agents with the world model led to dramatic gains. For instance, Llama 4 transitioned from near-random performance to achieving "superhuman" status, even outperforming GPT-5. This result is particularly noteworthy given the significant cost difference between these models, suggesting a highly efficient pathway to advanced capabilities.
- Generalizability: The effectiveness of the approach was not limited to Battleship. The same strategies were successfully replicated on the Guess Who game from the TextArena benchmark, producing significant performance improvements for the same models. This demonstrates the framework's generalizability to other information-seeking tasks characterized by combinatorial hypothesis spaces.
Technical Deep Dive
▶ Watch: World model enables computing Expected Information Gain (EIG) (6:00)
The core of this work lies in formalizing rational exploration using Bayesian experimental design and addressing its practical challenges with a novel code-based world model.
The problem is framed within a two-player cooperative game called Collaborative Battleship, an extension of the classic board game. In this setup:
- Captain: Observes a partial view of the board (hidden ships) and must decide on each turn whether to shoot at a tile to potentially hit a ship or ask a natural language question about the board state. The Captain's objective is to discover all hidden ships in the fewest possible moves.
- Spotter: Possesses a full view of the board, with all ship locations known. The Spotter's role is to answer the Captain's natural language questions, but with a critical constraint: only yes/no answers are permitted. This bottleneck limits the information conveyed by any single question, forcing the Captain to formulate precise and effective queries.
The Captain is modeled as a rational agent that maintains a belief distribution over the hidden state S, which represents the true configuration of ships on the board. When an experiment (either a shot or a question-answer pair) yields new evidence, this belief is updated using Bayes' rule: P(S|X,Y) = P(Y|S,X) * P(S) / P(Y|X). Here, P(S) is the prior belief, P(Y|S,X) is the likelihood (capturing whether a specific board S is consistent with the answer Y given question X), and P(Y|X) is the marginal likelihood.
The Captain's goal is to choose experiments that maximize learning efficiency, formalized by Expected Information Gain (EIG). EIG quantifies the expected reduction in uncertainty about the hidden state S after performing an experiment X and observing its outcome Y. The formula for EIG is EIG(X) = E_Y [ H(S) - H(S|X,Y) ], where H(S) is the entropy of the current belief over states, and H(S|X,Y) is the posterior entropy given the experiment outcome. The expectation E_Y is taken over all possible outcomes Y of experiment X, weighted by their probability P(Y|X).
Maximizing EIG in practice presents three main challenges:
- State Space Intractability: Computing
H(S)andH(S|X,Y)requires summing over a potentially huge space of possible board configurations, which is computationally prohibitive. - Outcome Simulation: Estimating
P(Y|S,X)andP(Y|X)(i.e., simulating the results of an experiment) demands an accurate model of the environment's dynamics. - Experiment Space Vastness: The space of possible natural language questions (and thus experiments) is immense, making exhaustive enumeration and evaluation impossible.
To overcome these challenges, the proposed approach integrates a code-based world model with the agent. This world model acts as an interactive simulator that captures the environment's dynamics and allows for efficient computation:
- Hypothesis Generation: Upon observing a partial board, the Captain queries the world model to generate a hypothesis space. This space consists of a tractable number of conditional samples, each representing a full board configuration that is consistent with all observed evidence so far. This effectively replaces the intractable summation over all possible states with a manageable set of samples.
- Experiment Simulation via Code Execution: When the Captain proposes a natural language question, it is first translated into a Python function. This function takes a full board state as input and returns a boolean value (e.g.,
is_ship_at_C4(board)). By executing this Python function against each sample in the hypothesis space, the system can efficiently simulate the possible answers (yesorno) and their respective distributions. This directly provides the necessary components to estimate the likelihoodsP(Y|S,X). - EIG Computation: With the simulated answer distribution for a given question, the EIG can be computed. The Captain can then propose and score multiple candidate questions, selecting the one that maximizes the estimated EIG. Questions yielding the same output for all hypotheses (i.e., redundant questions) will have an EIG of zero, naturally guiding the agent towards more informative queries that partition the hypothesis space more evenly.
This "inference scaling recipe" demonstrates that by sampling more candidates from the hypothesis space and evaluating questions against them, the agent can formulate increasingly informative questions. The integration of the world model thus transforms the intractable EIG maximization into a practical, scalable procedure, enabling agents to explore and act more rationally. The world model also allows for computing posteriors over ship locations, providing a "heatmap" of probabilities that aids in further reasoning and decision-making.
Experimental Setup & Results
▶ Watch: Key takeaways and future implications of the framework (10:20)
The research utilized a carefully designed experimental setup to evaluate the proposed framework, involving both human studies and extensive agent experiments.
Sandbox Environment: Collaborative Battleship
The core of the experimental setup was the Collaborative Battleship game, an enhanced version of the classic game tailored for studying information-seeking. The design criteria for this sandbox were:
- Rapid Iteration: Real-world experiments are slow and costly; the game allowed for quick, repeatable trials.
- Process-Driven Metrics: Beyond just final outcomes, the game allowed for quantifying the utility of each "experiment" (question or shot) using metrics like EIG.
- Human Comparability: The task was simple enough for anyone to pick up and play, enabling direct comparison between AI agents and human participants.
The game involved a Captain and a Spotter. The Captain saw a partial board and could either shoot at a tile or ask a natural language question. The Spotter saw the full board and could only respond with "yes" or "no" to the Captain's questions, creating an information bottleneck.
Human Study & Battleship QA Dataset
A significant portion of the initial work involved collecting human data to establish baselines and understand human information-seeking strategies.
- Data Collection: Participants played the role of the Captain, generating natural language questions. The resulting interactions formed the Battleship QA dataset.
- Key Human Findings:
- Human captains consistently asked informative questions, though they didn't always reach the theoretical maximum EIG.
- Crucially, humans rarely asked redundant questions, demonstrating an intuitive understanding of information value.
- A strong positive correlation was observed between the number of questions asked by a player and their overall performance in sinking ships.
- Human spotters showed high accuracy, almost always agreeing with expert labels for question answers.
Agent Experiments
The agent experiments were structured in three phases: benchmarking question answering, evaluating question asking, and assessing overall game performance.
- Question Answering Benchmark:
- Models Evaluated: 15 different Large Language Models (LLMs) were tested.
- Task: Answer the gold-labeled questions sourced from the human study.
- Metrics: Accuracy of answers.
- Results:
- Base LLM performance varied widely but averaged significantly below human accuracy.
- Adding Chain-of-Thought (CoT) reasoning provided some improvement.
- The most substantial gains came from integrating the world model, which translated natural language questions into executable code. This "code-based reasoning" provided a significant accuracy boost, making LLMs much more reliable as Spotters.
- Question Asking Benchmark:
- Task: Quantify the informativeness of agent-generated questions.
- Metrics: The Expected Information Gain (EIG) of the best question chosen by the agent, plotted as a function of the number of candidate questions sampled.
- Results:
- With just 10 candidate questions sampled and evaluated using the world model, agents were able to select questions that reached 94% of the theoretical EIG ceiling.
- This procedure effectively eliminated the tendency of weaker models to ask redundant questions, and it also benefited stronger models like GPT-5 by helping them formulate more precise and informative queries.
- Overall Game Performance:
- Task: Play Collaborative Battleship, measuring the efficiency of ship discovery.
- Metrics: F1 score, treating ship discovery as a binary classification task (hit/miss).
- Baselines:
- Random shooting (very low F1).
- Human players (wide spread of performance).
- Out-of-the-box LLMs (e.g., GPT-5, Llama 4, GPT-4o).
- Ablations: Agents with access to the world model.
- Results:
- Out-of-the-box LLMs showed significant variation: GPT-5 was competitive with humans, but models like Llama 4 and GPT-4o performed barely above random chance.
- Dramatic Gains with World Model: When agents were equipped with the world model, they showed substantial performance improvements. Llama 4, for example, went from random chance to achieving "superhuman" performance, even outperforming GPT-5. This result is particularly impactful, highlighting that a smaller, less expensive model, when augmented with a world model, can surpass a larger, more costly frontier model.
Generalization Study
To validate the robustness and applicability of the framework beyond Battleship, the approach was replicated on the Guess Who game, a classic information-seeking task from the TextArena benchmark. The same strategies, involving the code-based world model for rational exploration, proved highly effective, producing significant performance improvements for the same LLMs. This confirms the generalizability of the proposed framework to other info-seeking tasks characterized by combinatorial hypothesis spaces.
Practical Implications
▶ Watch: World model's role: hypothesis sampling and reasoning (11:15)
This research offers profound practical implications for developers, infrastructure teams, and model builders aiming to create more intelligent and reliable AI systems, particularly in domains requiring strategic information acquisition.
For practitioners and model builders, the most significant takeaway is a viable pathway to imbue Large Language Models (LLMs) with capabilities for rational exploration without requiring extensive retraining or fine-tuning. By integrating a code-based world model as an interactive simulator, even smaller, less powerful LLMs can achieve "superhuman" performance in complex information-seeking tasks. This suggests a paradigm shift: instead of solely relying on increasingly larger and more expensive foundation models, strategic augmentation with domain-specific computational tools can unlock superior, more human-like intelligence. This approach allows model builders to leverage the natural language understanding and generation capabilities of LLMs while offloading the rigorous, logical reasoning and simulation aspects to a more deterministic and efficient world model.
For infrastructure teams and deployers, the findings point towards potential for significant cost savings and efficiency gains. The demonstration that a smaller model like Llama 4, when paired with a world model, can outperform a larger, more expensive model like GPT-5, challenges the "bigger is always better" mentality. Deploying smaller LLMs augmented with world models could lead to reduced inference costs, lower computational resource requirements, and faster response times, making advanced AI capabilities more accessible and sustainable. The key lies in the ability to translate natural language queries into executable code, which the world model then processes. This necessitates robust natural language to code generation capabilities within the agent or the integration of specialized tools for this translation.
However, there are also important tradeoffs and limitations to consider. The effectiveness of this approach hinges on the availability and accuracy of a suitable code-based world model for the specific domain. Building and maintaining such a simulator can be a non-trivial engineering effort, requiring deep domain expertise to accurately capture the environment's dynamics and rules. The current work focuses on discrete, combinatorial state spaces (like board games), where rules are well-defined. Generalizing this approach to more open-ended, continuous, or less structured real-world environments might require more sophisticated world models, potentially involving probabilistic programming or advanced simulation techniques. Furthermore, the "yes/no" answer bottleneck of the Spotter in Collaborative Battleship, while effective for the experimental design, is a specific constraint; real-world information sources might provide richer, more complex observations, requiring adaptable inference mechanisms. Despite these considerations, the framework provides a powerful blueprint for developing AI agents that can explore, learn, and act with greater rationality and efficiency.
Key Takeaways
- A novel framework, grounded in Bayesian experimental design, enables Large Language Models (LLMs) to engage in rational, human-like exploration and strategic information seeking.
- Code-based world models serve as interactive simulators, allowing agents to test hypotheses and simulate experiment outcomes before acting, dramatically boosting their performance in information-seeking games.
- This approach significantly improves both the accuracy of LLM-based question answering and the informativeness of agent-generated questions, reducing redundancy and approaching theoretical Expected Information Gain (EIG) ceilings.
- Smaller, less expensive LLMs (e.g., Llama 4), when combined with a world model, can achieve "superhuman" performance, surpassing even larger, frontier models like GPT-5, demonstrating a cost-effective pathway to advanced AI capabilities.
- The framework generalizes effectively to other information-seeking tasks with combinatorial hypothesis spaces, as demonstrated by its success in the Guess Who game.
- Controlled environments like Collaborative Battleship serve as crucial "proving grounds" for developing and validating trustworthy AI agents, laying the groundwork for their deployment in high-stakes real-world applications such as medicine and science.
About the Speaker(s)
The talk on "Shoot First, Ask Questions Later? Building Rational Agents that Explore and Act Like People" was presented by Gabriel Grand, in collaboration with Valerio Pepe, Joshua B Tenenbaum, and Jacob Andreas. Valerio Pepe was noted to be present at the ICLR conference, available for further discussion at the poster session. The research highlights their expertise in developing AI agents that mimic human cognitive processes for strategic information acquisition and decision-making, particularly within the context of machine learning and cognitive science.
Reviews
→ Top-rated talks at International Conference on Learning Representations 2026
All talks from International Conference on Learning Representations 2026