arXiv:2610.21604cs.AIOct 2026

Manuscript Offprint

arXiv:2610.21604

Evaluating Inquiry Learning in LLM-Based Agents: Hypothesizing, Reasoning, and Exploration

Marta Knežević, Seyed Parsa Neshaei, Jibril Frej, Vinitra Swamy, Tanja Käser

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

Abstract

Scientific inquiry involves iterative cycles of exploration, hypothesis generation, and reasoning over observations to uncover relationships in complex systems. Large language models (LLMs) have demonstrated strong capabilities in several components of this process, including inductive reasoning, hypothesis generation, and data analysis. However, prior work typically evaluates these abilities in isolation, leaving open how models integrate them across a full inquiry cycle. In this work, we introduce a framework for evaluating LLMs' inquiry capabilities in a unified, interactive setting. We extend the Countdown task to a mathematical environment where an agent probes the system by manipulating variables, collecting observations, and inferring relationships between them. This setup enables analysis of exploration strategies, causal discovery, and hypothesis refinement during inquiry. Across seven LLMs and multiple prompting strategies, our experiments reveal limited inherent inquiry capabilities and low success rates in discovering the underlying expressions. However, structured guidance inspired by educational scaffolding significantly improves performance. Our findings highlight current limitations of LLMs in strategic exploration and iterative hypothesis refinement, and show how simple guidance strategies developed for human learners in inquiry learning can support more effective inquiry behavior.

epfl-ml4ed/llm-inquiry

1 Introduction

Understanding complex systems requires identifying patterns in observations, reasoning about causal relationships, and forming hypotheses about relationships between variables. These capabilities underpin scientific inquiry and are formalized in inquiry learning (IL) as a cycle of exploration, hypothesis generation, and evidence-based reasoning.

With recent advancements, Large Language Models (LLMs) have demonstrated strong capa-

Figure

Figure 1: The agent explores the environment by collecting datapoints and engages in iterative hypothesizing to infer the underlying mathematical model.

abilities in inductive reasoning (Han et al., 2024; Yang et al., 2024a; Webb et al., 2023), hypothesizing (Wang et al., 2024) and data analysis (Zhu et al., 2024). One research direction has focused on inductive reasoning to discover underlying patterns between examples (Han et al., 2024; Yang et al., 2024a; Webb et al., 2023). Another line of research has shown that LLMs have strong capabilities in generating hypotheses (Yang et al., 2024b; Qiu et al., 2024). Moreover, recent work has investigated how LLMs interact with environments to explore and uncover underlying processes by modifying parameters, gathering data, and inferring causal relationships (Gandhi et al., 2025; He et al., 2025).

However, these approaches typically evaluate isolated capabilities, benchmarking models on specific tasks with limited analysis of the factors that support or limit performance. From the perspective of IL, where exploration, reasoning, and hypothesis generation are intertwined, it remains unclear how LLMs coordinate these processes, refine hypotheses based on new observations, and identify causal relationships that guide exploration.

To study these questions, we introduce an interactive task that combines exploration and mathe-matical modeling in a controlled environment defined by deterministic multivariable equations. Our task is inspired by the Countdown problem, where the goal is to find a combination of operators mapping numbers to a target value. Instead of using fixed set of numbers, we introduce variables whose values can be chosen and modified by the LLM-based agent, and extend the problem to an interactive environment in which the agent actively explores the system. The agent interacts with the environment by assigning different values to the variables and observing their effect on the target output, iteratively collecting observations to infer the underlying mathematical expression. The full interaction trajectory including explored variable configurations and intermediate conclusions supports hypothesis refinement and model discovery.

This setup allows us to evaluate LLMs’ ability to (1) strategically explore and collect data, and (2) iteratively infer relationships between variables, providing a framework for studying core inquiry capabilities.

Our methodology is inspired by the principles of IL, integrating systematic exploration with hypothesis generation and reasoning. To support these abilities, we draw inspiration from Guided Inquiry Learning (GIL), which provides structured support for performing inquiry. In our setting, GIL guides mathematical model discovery through imposed exploration and reasoning strategies (Schunn and Anderson, 1999), following the inquiry cycle (Pedaste et al., 2015).

Our experiments across seven instruction-following LLMs and different prompting strategies reveal limited inherent IL capabilities in LLMs, leading to a low number of correctly discovered expressions, with GIL improving the success rate. Our main contributions are:

  1. An interactive benchmark for inquiry-based mathematical modeling, where LLM-based agents iteratively explore variables and generate hypotheses to discover underlying relationships.

  2. A guided inquiry learning paradigm that provides structured scaffolding for strategic exploration and reasoning via in-context guidance.

  3. A systematic evaluation of inquiry capabilities in LLMs, providing both quantitative and qualitative insights into their exploration, hypothesis refinement, and reasoning behavior.