Hypothesis Generation with Large Language Models

Yangqiaoyu Zhou, Haokun Liu, Tejes Srivastava, Hongyuan Mei, Chenhao Tan
4/5/2024
cs.AIcs.CLcs.CY

No official code found. Best implementation: ChicagoHAI/hypothesis-generation (135 stars, MIT, last commit 2025-11-12). 1 more below.

Abstract

Effective generation of novel hypotheses is instrumental to scientific progress. So far, researchers have been the main powerhouse behind hypothesis generation by painstaking data analysis and thinking (also known as the Eureka moment). In this paper, we examine the potential of large language models (LLMs) to generate hypotheses. We focus on hypothesis generation based on data (i.e., labeled examples). To enable LLMs to handle arbitrarily long contexts, we generate initial hypotheses from a small number of examples and then update them iteratively to improve the quality of hypotheses. Inspired by multi-armed bandits, we design a reward function to inform the exploitation-exploration tradeoff in the update process. Our algorithm is able to generate hypotheses that enable much better predictive performance than few-shot prompting in classification tasks, improving accuracy by 31.7% on a synthetic dataset and by 13.9%, 3.3% and, 24.9% on three real-world datasets. We also outperform supervised learning by 12.8% and 11.2% on two challenging real-world datasets. Furthermore, we find that the generated hypotheses not only corroborate human-verified theories but also uncover new insights for the tasks.

View on arXivView PDF

Code Implementations(2)

MIT

This is the official repository for HypoGeniC (Hypothesis Generation in Context) and HypoRefine, which are automated, data-driven tools that leverage large language models to generate hypothesis for open-domain research. For more details, please see the original paper using the link below.

13515Shell, PythonApr 4, 202411 months agoMIT
hypothesis-generationinterpretabilityllm-applicationresearch-toolscientific-discovery
MIT

Papers about scientific hypothesis generation with large language models (LLMs).

845May 16, 20241 years agoMIT

Similar Papers

Cite this paper

@article{zhou2024hypothesis,
  title  = {Hypothesis Generation with Large Language Models},
  author = {Yangqiaoyu Zhou and Haokun Liu and Tejes Srivastava and Hongyuan Mei and Chenhao Tan},
  year   = {2024},
  eprint = {2404.04326},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.04326v3}
}

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/2404.04326.svg)](https://codeofpaper.com/paper/2404.04326)

Discussion