Exploiting LLMs for Automatic Hypothesis Assessment via a Logit-Based Calibrated Prior

Yue Gong, Raul Castro Fernandez

Introduction

As automated data discovery tools begin to generate thousands of potential hypotheses, the new bottleneck in scientific research is human attention. Modern discovery systems can scan massive repositories—such as municipal open data portals—and surface tens of thousands of statistically significant correlations. However, a vast majority of these findings are either trivial (e.g., the relationship between daily temperature and ice cream sales) or redundant.

The challenge has shifted from finding correlations to assessing them. Currently, human experts must manually sift through extensive lists to identify the few novel relationships that merit deeper investigation. This paper introduces the Logit-based Calibrated Prior (LCP), a method that extracts an LLM’s internal "beliefs" about statistical correlations to automatically identify which findings are genuinely surprising and which are common sense.

Overview of the LCP framework for hypothesis assessment, contrasting trivial and surprising correlations.

Methodology: The Logit-based Calibrated Prior

The authors propose the LCP to model human prior knowledge using Large Language Models (LLMs). Instead of simply prompting an LLM to estimate a correlation coefficient—which often results in overconfident, single-point estimates—the LCP leverages the model's internal logits (raw probability scores for next-token predictions).

The LCP construction involves four key steps:

  1. Logit Extraction: The LLM is prompted to predict a correlation coefficient, and probabilities for numeric tokens (signs, decimals, digits) are extracted.
  2. Distribution Construction: These probabilities are aggregated into a discrete distribution over the range [-1, 1].
  3. Kernel Smoothing: A Gaussian kernel is applied to the sparse raw output to create a continuous probability density function.
  4. Calibration: LLMs are naturally overconfident. The authors tune a smoothing parameter ($\sigma$) on a validation set to ensure the model’s uncertainty accurately reflects reality, significantly improving credible interval coverage.

Experimental Setup

The method was evaluated using a benchmark of 2,096 real-world variable pairs with known Pearson correlation coefficients. This benchmark includes:

  • Cause-Effect Pairs: 96 pairs with established causal directions.
  • Kaggle Data: Over 7,000 significant correlations filtered for meaningful variable names and balanced to prevent extreme value bias.
  • Nexus (Chicago Open Data): A real-world dataset where 15 specific correlations had been previously flagged by human experts as "hypothesis-worthy."

Key Results and Insights

The LCP approach demonstrates superior performance in identifying meaningful insights compared to traditional ranking methods.

Predictive Performance and Calibration

LCP achieved a 78.8% sign accuracy and a Mean Absolute Error of 0.26. Crucially, after calibration, the model’s 95% credible intervals covered the true correlation 89.2% of the time, outperforming standard Gaussian or KDE baselines.

Comparison of LCP against baseline methods across absolute difference, density, and information content metrics.

Surprise as a Metric for Discovery

A key insight is that ranking correlations by "surprise" (low likelihood under the LCP) is far more effective than ranking by absolute magnitude. In the Chicago Open Data test, LCP achieved a Precision@10 of 0.80 in identifying expert-flagged hypotheses, significantly outperforming fine-tuned RoBERTa classifiers.

Reasoning vs. Memorization

To ensure the LLM was not merely recalling training data, the authors tested "contextual contradiction" by creating alternate scenarios (e.g., a world where higher horsepower leads to lower speed). The LLM successfully updated its priors based on these new rules, demonstrating an ability to reason about variable contexts.

Discussion and Limitations

While LCP effectively "explains away" obvious patterns—reducing the information content of datasets from 0.69 to 0.27—certain limitations remain. Generating an LCP requires an LLM call per variable pair, which may be costly for extremely large datasets. Additionally, if an LLM possesses advanced scientific knowledge unknown to the user, it might mark a valid discovery as "unsurprising." Future work will explore extending this framework to non-linear relationships and more complex causal structures.

Summary updated

BibTeX
@inproceedings{gong2025exploiting,
  author = {Yue Gong and Raul Castro Fernandez},
  title = {{Exploiting LLMs for Automatic Hypothesis Assessment via a Logit-Based Calibrated Prior}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=D5TSSVkTBA},
}
Figure