Evaluating Inquiry Learning in LLM-Based Agents: Hypothesizing, Reasoning, and Exploration
Organizations: EPFL
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.
Figures & tables
| IL Phase | Question | Label | Description |
| Exploring | Are IL exploration | Strategic | Only one dependent variable changed |
| strategies followed? | Non-strategic | Modifying multiple variables or a repeat data point | |
| Hypothesizing | Do data interpretations | Repeated | The agent repeats a previous hypothesis |
| confirm prior beliefs? | Numerical Modification | Agent adapts numerical values in the equation (e.g. scaling) | |
| Term Modification | Agent adapts equation with a term expressed in variables (e.g. add new term) | ||
| Reasoning | Quantitative and Qualitative | The agent discovered a both qualitative and quantitative relationship |
| Shots | Model | IL | AO | AOT | AOT-control | IL-ver | GIL | GIL-step | GIL-strategy | GIL-reasoning |
|---|---|---|---|---|---|---|---|---|---|---|
| 0-shot | Llama-8B | 0.006 | 0.011 | 0.011 | 0.023 | 0.011 | 0.063 | 0.069 | 0.075 | 0.080 |
| Vicuna-13B | 0.011 | 0.011 | 0.011 | 0.017 | 0.011 | 0.006 | 0.011 | 0.011 | 0.011 | |
| Qwen-14B | 0.092 | 0.063 | 0.023 | 0.092 | 0.109 | 0.155 | 0.029 | 0.086 | 0.052 | |
| Gemma-27B | 0.040 | 0.057 | 0.046 | 0.086 | 0.046 | 0.098 | 0.034 | 0.086 | 0.075 | |
| Qwen-32B | 0.063 | 0.040 | 0.046 | 0.103 | 0.086 | 0.201 | 0.115 | 0.201 | 0.086 | |
| Llama-70B | 0.126 | 0.086 | 0.149 | 0.149 | 0.132 | 0.247 | 0.149 | 0.195 | 0.155 |
| Setting | Model | Support | Repeated hypothesis | Numerical modification | Term modification |
|---|---|---|---|---|---|
| 0-shot IL | Qwen-14B | 0.67 | 0.31 0.12 | 0.38 0.12 | 0.12 0.09 |
| Qwen-32B | 0.67 | 0.44 0.13 | 0.38 0.12 | 0.31 0.12 | |
| Llama-70B | 0.88 | 0.19 0.09 | 0.24 0.10 | 0.48 0.11 | |
| 0-shot GIL | Qwen-14B | 0.88 | 0.29 0.10 | 0.43 0.11 | 0.10 0.07 |
| Qwen-32B | 0.75 | 0.22 0.10 | 0.56 0.12 | 0.06 0.06 | |
| Llama-70B | 0.67 | 0.12 0.09 | 0.00 0.00 | 0.31 0.12 |
| Setting | Model | Cause-Effect Ratio | Statement | Qual. only | Qual. + Quant. |
|---|---|---|---|---|---|
| 0-shot IL | Qwen-14B | ||||
| Qwen-32B | |||||
| Llama-70B | |||||
| 0-shot GIL | Qwen-14B | ||||
| Qwen-32B | |||||
| Llama-70B |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Without Context | With Context | ||
|---|---|---|---|---|
| Abstract | Acronym | Abstract | Acronym | |
| Llama-8B | 0.077 | 0.000 | 0.077 | 0.154 |
| Vicuna-13B | 0.077 | 0.308 | 0.231 | 0.692 |
| Qwen-14B | 0.308 | 0.654 | 0.500 | 1.000 |
| Gemma-27B | 0.231 | 0.577 | 0.538 | 0.769 |
| Qwen-32B | 0.538 | 0.769 | 0.731 | 0.923 |
| # shots | Model | IL | IL-ver | GIL-step | GIL-reasoning | GIL-strategy | GIL |
|---|---|---|---|---|---|---|---|
| 0-shot | Llama-8B | 0.00 0.00 | 0.00 0.00 | 1.97 0.03 | 1.98 0.03 | 1.95 0.02 | 1.95 0.02 |
| Vicuna-13B | 0.00 0.00 | 0.00 0.00 | 0.13 0.04 | 0.01 0.01 | 0.13 0.03 | 0.09 0.03 | |
| Qwen-14B | 3.43 0.32 | 11.76 0.68 | 0.74 0.08 | 1.90 0.04 | 1.74 0.05 | 1.90 0.04 | |
| Gemma-27B | 3.70 0.27 | 5.18 0.21 | 0.29 0.05 | 1.20 0.07 | 1.99 0.04 | 1.94 0.02 | |
| Qwen-32B | 3.28 0.33 | 13.74 0.69 | 0.61 0.07 | 1.26 0.08 | 1.79 0.03 | 1.81 0.03 | |
| Llama-70B | 3.06 0.10 | 3.80 0.12 | 2.06 0.04 | 1.99 0.03 | 1.99 0.04 | 1.82 0.03 |
| IL | GIL | GIL-Extended | |||||
|---|---|---|---|---|---|---|---|
| Model | # Shots | Coeff. | Int. | Coeff. | Int. | Coeff. | Int. |
| Qwen-14B | 0 | 0.09 | 0.14 | 0.02 | 0.02 | 0.05 | 0.05 |
| 1 | 0.02 | 0.02 | 0.00 | 0.00 | 0.00 | 0.02 | |
| 3 | 0.03 | 0.09 | 0.00 | 0.05 | 0.00 | 0.02 | |
| Qwen-32B | 0 | 0.10 | 0.09 | 0.00 | 0.03 | 0.03 | 0.05 |
| 1 | 0.05 | 0.10 | 0.05 | 0.05 | 0.07 | 0.03 | |
| Model | # observations | 0-shot | 3-shot |
|---|---|---|---|
| Qwen-14B | 4-3-3 | 0.328 | 0.362 |
| 7-0-0 | 0.259 | 0.345 | |
| 7-3-3 | 0.328 | 0.276 | |
| 7-6-6 | 0.241 | 0.276 | |
| 10-3-3 | 0.293 | 0.345 | |
| Qwen-32B | 4-3-3 | 0.276 | 0.414 |
| Shots | Model | C1 | C2 | C3 | C4 | C5 |
|---|---|---|---|---|---|---|
| 0-shot | Qwen-14B | 0.259 | 0.276 | 0.293 | 0.293 | 0.293 |
| Qwen-32B | 0.224 | 0.276 | 0.276 | 0.276 | 0.276 | |
| Llama-70B | 0.276 | 0.345 | 0.379 | 0.397 | 0.414 | |
| 3-shot | Qwen-14B | 0.241 | 0.276 | 0.293 | 0.328 | 0.328 |
| Qwen-32B | 0.241 | 0.328 | 0.362 | 0.397 | 0.397 | |
| Llama-70B | 0.345 | 0.362 | 0.414 | 0.414 | 0.431 |
| Setting | Model | Strategic Exploration | Repeated Observation | Random Exploration |
|---|---|---|---|---|
| 0-shot IL | Qwen-14B | 0.31 0.07 | 0.04 0.02 | 0.65 0.07 |
| Qwen-32B | 0.08 0.03 | 0.02 0.01 | 0.90 0.03 | |
| Llama-70B | 0.26 0.04 | 0.02 0.01 | 0.72 0.04 | |
| 0-shot GIL | Qwen-14B | 0.92 0.01 | 0.01 0.01 | 0.07 0.01 |
| Qwen-32B | 0.91 0.01 | 0.00 0.00 | 0.08 0.01 | |
| Llama-70B | 0.92 0.01 | 0.00 0.00 | 0.08 0.01 |
| # shots | Model | Verification | Calculation | Correct |
|---|---|---|---|---|
| 0-shot | Qwen-14B | |||
| Qwen-32B | ||||
| Llama-70B | ||||
| 3-shot | Qwen-14B | |||
| Qwen-32B | ||||
| Llama-70B |