Hypothesis Search: Inductive Reasoning with Language Models

Ruocheng Wang, E. Zelikman, Gabriel Poesia, Yewen Pu, Nick Haber +1 more
2/12/2026

No official code found. Best implementation: Relento/hypothesis_search (22 stars, MIT, last commit 2024-11-26).

Abstract

Inductive reasoning is a core problem-solving capacity: humans can identify underlying principles from a few examples, which robustly generalize to novel scenarios. Recent work evaluates large language models (LLMs) on inductive reasoning tasks by directly prompting them yielding"in context learning."This works well for straightforward inductive tasks but performs poorly on complex tasks such as the Abstraction and Reasoning Corpus (ARC). In this work, we propose to improve the inductive reasoning ability of LLMs by generating explicit hypotheses at multiple levels of abstraction: we prompt the LLM to propose multiple abstract hypotheses about the problem, in natural language, then implement the natural language hypotheses as concrete Python programs. These programs can be verified by running on observed examples and generalized to novel inputs. To reduce the hypothesis search space, we explore steps to filter the set of hypotheses to implement: we either ask the LLM to summarize them into a smaller set of hypotheses or ask human annotators to select a subset. We verify our pipeline's effectiveness on the ARC visual inductive reasoning benchmark, its variant 1D-ARC, string transformation dataset SyGuS, and list transformation dataset List Functions. On a random 100-problem subset of ARC, our automated pipeline using LLM summaries achieves 30% accuracy, outperforming the direct prompting baseline (accuracy of 17%). With the minimal human input of selecting from LLM-generated candidates, performance is boosted to 33%. Our ablations show that both abstract hypothesis generation and concrete program representations benefit LLMs on inductive reasoning tasks.

View on arXivView PDF

Code Implementations(1)

MIT
223HTML, ShellMay 30, 20241 years agoMIT

Similar Papers

Cite this paper

@article{wang2026hypothesis,
  title  = {Hypothesis Search: Inductive Reasoning with Language Models},
  author = {Ruocheng Wang and E. Zelikman and Gabriel Poesia and Yewen Pu and Nick Haber and Noah D. Goodman},
  year   = {2026},
  eprint = {2309.05660},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2309.05660},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.05660.svg)](https://codeofpaper.com/paper/2309.05660)

Discussion