MEAICLJun 27, 2025

Using Large Language Models to Suggest Informative Prior Distributions in Bayesian Statistics

arXiv:2506.21964v1h-index: 14
Originality Incremental advance
AI Analysis

This addresses the resource-intensive and subjective problem of prior selection for statisticians and data scientists, though it is incremental as it builds on existing LLM capabilities.

The study tackled the challenge of selecting prior distributions in Bayesian statistics by using large language models (LLMs) to suggest informative priors, finding that Claude and Gemini performed better than ChatGPT, with Claude showing a significant advantage in avoiding overly vague priors.

Selecting prior distributions in Bayesian statistics is challenging, resource-intensive, and subjective. We analyze using large-language models (LLMs) to suggest suitable, knowledge-based informative priors. We developed an extensive prompt asking LLMs not only to suggest priors but also to verify and reflect on their choices. We evaluated Claude Opus, Gemini 2.5 Pro, and ChatGPT-4o-mini on two real datasets: heart disease risk and concrete strength. All LLMs correctly identified the direction for all associations (e.g., that heart disease risk is higher for males). The quality of suggested priors was measured by their Kullback-Leibler divergence from the maximum likelihood estimator's distribution. The LLMs suggested both moderately and weakly informative priors. The moderate priors were often overconfident, resulting in distributions misaligned with the data. In our experiments, Claude and Gemini provided better priors than ChatGPT. For weakly informative priors, a key performance difference emerged: ChatGPT and Gemini defaulted to an "unnecessarily vague" mean of 0, while Claude did not, demonstrating a significant advantage. The ability of LLMs to identify correct associations shows their great potential as an efficient, objective method for developing informative priors. However, the primary challenge remains in calibrating the width of these priors to avoid over- and under-confidence.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes