Manuscript Offprint

arXiv:2610.18025

SHELDON: Reasoning through Dual Search over Hypothesis and Observation Spaces

Harshit Joshi, Priyank Shethia, Monica S. Lam

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

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 hypothetic-codeductive 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.5×4.5 \times more novel solutions.

Observation Space

a

Observations motivate new explanations and revisions to existing ones

Evidence Relations

E

Hypotheses guide which evidence to seek

Hypothesis Space

LLM.SQL

b

Figure

Diagnosis Arena

ORCA Bench

ARC-AGI-2

QNN Circuit Topology

Figure 1: SHELDON jointly explores hypothesis and observation spaces, and outperforms strong baselines across tasks with and without explicit scoring functions. (a) Conceptual illustration of dual-space reasoning; edges represent refinement of hypotheses. (b) Improvements on a system optimization task. (c) Performance across diverse investigation tasks.

1 INTRODUCTION

With advances in test-time scaling, LLMs have become increasingly capable of tackling complex tasks traditionally associated with general intelligence (Snell et al., 2025; Venkatraman et al., 2025;

*Equal contribution | https://github.com/stanford-oval/sheldon

Brown et al., 2024), including algorithm discovery (Novikov et al., 2025; Mitchener et al., 2025), challenging mathematical reasoning (OpenAI, 2026b), and system optimization (Cheng et al., 2025; Cemri et al., 2026). For example, by using a swarm of 10000 concurrent agents, OpenAI resolves the Navier–Stokes Millennium Prize problem (OpenAI, 2026a).

However, existing test-time scaling approaches face distinct limitations. General coding agents such as Codex (OpenAI, 2025) and Claude Code (Anthropic, 2025) proceed sequentially, appending tool outputs to their context and using the resulting history to choose the next action. This results in refinements to existing solution without ensuring that all accumulated evidence is reconciled to come up with the final solution. Evolutionary methods (Novikov et al., 2025; Cemri et al., 2026) broaden exploration by maintaining populations of candidate solutions. Yet their search remains governed by predefined evolutionary mechanisms, and fitness-based selection only favors further exploration around discovered high-performing candidates. EvoX (Liu et al., 2026a) introduces greater flexibility by searching over evolutionary strategies themselves. Nevertheless, its exploration still remains anchored to the initial population and the candidates derived from it.

Recent specialized harnesses make the research state explicit: Arbor organizes hypotheses and experimental insights in a persistent tree (Jin et al., 2026), GoS maintains a graph of hypotheses and evidence (Luo et al., 2026), and ScientistOne explores parallel solution branches while preserving evidence provenance (Meng et al., 2026). These structures enable later investigations to build on previous findings. However, collecting evidence is guided by existing hypotheses which leads to observations that are already known or are refinements of existing hypotheses. This leaves phenomena outside their scope unexamined. Even comparing all current hypotheses may therefore overlook gaps in the assumptions they share. Discovering genuinely different hypotheses and solutions requires opportunities to encounter observations that challenge shared assumptions.

To broaden hypothesis exploration and strengthen investigation, we draw on the hypothetic-codeductive method (Hempel, 1945; 1966), Simon & Lea (1974)'s work on rule induction, and its extension to scientific discovery through dual-space search (Klahr & Dunbar, 1988). These perspectives characterize discovery as an iterative process in which hypotheses guide empirical investigation, and observations reshape subsequent hypotheses. We adapt these ideas by separately representing and exploring hypothesis and observation spaces. The hypothesis space supports exploitation by retaining promising explanations and their investigation outcomes for further refinement. The observation space supports exploration by treating observations as explicit objects of discovery, including those that no current hypothesis adequately explains. Such unexplained observations expose gaps in existing explanations, motivating new investigations and qualitatively different hypotheses.

We instantiate this process in SHELDON (Systematic Hypothesis Exploration and Learning through Directed Observation and Navigation), a scientific reasoning harness that maintains both spaces and connects them through evidence relations. Through exploration, candidate-level investigation, comparative analysis, and exploitation, SHELDON uses hypotheses to direct evidence collection and observations to assess competing explanations and identify new research directions. The two spaces thus co-evolve, supporting refinement while reducing the risk of premature concentration on a narrow set of hypotheses. As shown in Figure 1, SHELDON outperforms evaluated baselines across diagnosis, abstract reasoning, and optimization tasks by up to 26.7 points. Notably, it discovers a Quantum Neural Network (Liu et al., 2026b) topology achieving a perfect score of 1.00, surpassing both the strongest agent baseline (0.85) and the benchmark's hand-written reference topology (0.917). Ablations demonstrate the contribution of the observation space, removing it reduces performance by 14.0 and 13.34 points on DiagnosisArena (Zhu et al., 2026) and ORCA-Bench (Gong et al., 2026), respectively. Further analysis shows that, compared with GoS (Luo et al., 2026), SHELDON increases the proportion of ground-truth causes discovered by 29.8 percentage points and the proportion of discovered causes investigated by 34.4 percentage points.

References (39)