SHELDON: Reasoning through Dual Search over Hypothesis and Observation Spaces
Organizations: Stanford University, USA
Abstract
Test-time scaling has enabled LLMs to solve increasingly complex reasoning, discovery, and optimization tasks. However, existing approaches often gather observations while seeking evidence for current hypotheses, then generate new hypotheses conditioned on those hypotheses and their associated evidence. This couples observation discovery to existing hypotheses, favoring local refinements over exploration of unknown hypotheses regions. Inspired by the hypothetico-deductive method (Hempel, 1945) and dual-space models of scientific discovery (Klahr & Dunbar, 1988), we introduce SHELDON, a scientific reasoning harness that separately represents and jointly explores hypothesis and observation spaces. By actively seeking new observations along with new hypotheses, SHELDON can discover observations that its current hypotheses do not explain. These unexplained observations expose gaps in its understanding, motivate new investigations, and guide the generation of hypotheses beyond refinements of existing ones. Across diagnosis, abstract reasoning, and optimization benchmarks, SHELDON outperforms evaluated baselines by up to 26.7 points. Additional analysis shows that SHELDON generates up to 4.5x more novel solutions.
Figures & tables
| Benchmark | Case material | Tools | Hypothesis space | Observation space | Metric |
| ORCA Bench: Find the cause of a service fault | Telemetry, service code, incident report | Container shell; Grafana API | Fault explanations: service, fault type, and failure mechanism | Metrics, logs, traces, code, and incident timeline | GT |
| Diagnosis-Arena: Diagnose a patient | Patient record: history, exam, tests, and notes | EviDx record readers | Candidate diagnoses and their predicted symptoms and test results | History, labs, imaging, pathology, and treatment response | GT |
| ARC-AGI-2: Infer a grid transformation rule | Example grid pairs, test grid, seed program | Python sandbox | Candidate rules: symmetry, movement, replacement, encoding, and tiling | Grid changes, object shapes, patterns across examples, and synthetic tests | GT |
| QNN topology: Optimise a two-qubit circuit | Circuit seed and training harness | Python sandbox; evaluator | Circuit design explanations: gate count, connections, rotation axes, and parameters | Circuit scores, gate-removal tests, design variants, and repeated runs | SF |
| ADRS: Optimise a systems program | Program seed, evaluator, workload | Python sandbox; evaluator | Algorithm explanations: greedy methods, grouping, allocation, search, and scheduling | Program scores, validity checks, test workloads, edge cases, and timing | SF |
| DOCK-STRING: Design a drug-like molecule | Target and scored molecule library | Docking, property, and similarity tools; Python | Molecule design explanations: scaffold, chemical groups, size, and rigidity | Docking scores, molecule properties, similar molecules, and chemical variants | SF |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| DiagnosisArena | ORCA-Bench | |||
| Method | Cost | Time | Cost | Time |
| ReAct | 0.02 | 0.3 | 0.54 | 4.2 |
| Codex | 0.06 | 0.8 | 0.73 | 4.5 |
| RLM | 0.09 | 1.7 | 1.56 | 2.7 |
| GoS | 2.79 | 29.1 | 7.54 | 55.4 |
| SHELDON | 2.91 | 14.0 | 6.90 | 22.0 |
| Parameter | Value | Meaning |
| mode | session | a round’s deciding steps run as turns of one conversation ( session ) |
| plan | on | separate the problem from the answer specification before round 1 |
| rounds | 8 | round cap |
| n_initial | 5 | hypotheses proposed by Explore in round 1 |
| n_explore | 3 | hypotheses proposed by Explore in each later round |
| select_k | 5 | hypotheses selected for CandidateAnalysis per round (round 2 on) |
Scientific Reasoning in Language Models
Scientific reasoning in language models studies how AI systems use evidence, domain knowledge, and tools to solve problems and support discovery.
See all 144 papers