Related Experiment Video
Updated: Jan 16, 2026

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
Using large language models to suggest informative prior distributions in Bayesian regression analysis
Michael A Riegler1, Kristoffer H Hellton2, Vajira Thambawita2,3
1Simula Research Laboratory, Oslo, Norway.
Large language models (LLMs) can suggest informative prior distributions for Bayesian regression, aiding objective analysis. While capable of identifying correct associations, calibrating prior distribution width remains a challenge for LLMs.
Area of Science:
- Bayesian statistics
- Machine learning
- Statistical modeling
Background:
- Selecting prior distributions in Bayesian regression is complex and subjective.
- Existing methods for eliciting informative priors are resource-intensive and difficult to perform objectively.
Purpose of the Study:
- To investigate the potential of large language models (LLMs) in suggesting suitable prior distributions for Bayesian regression analysis.
- To evaluate the performance of different LLMs in generating knowledge-based and objective informative priors.
Main Methods:
- Developed an extensive prompt for LLMs to suggest, verify, and reflect on prior distributions.
- Evaluated three LLMs (Claude Opus, Gemini 2.5 pro, ChatGPT 4o-mini) on two real-world datasets (heart disease risk, concrete strength).
- Assessed prior distribution quality using Kullback-Leibler divergence against the maximum likelihood estimator's distribution.
Main Results:
- LLMs successfully suggested the correct direction of associations for variables in both datasets.
- Claude and Gemini generally outperformed ChatGPT in suggesting prior distributions.
- Moderate informative priors suggested by LLMs were often too confident, showing limited agreement with the data.
- Claude demonstrated an advantage by not defaulting to a mean of 0 for weakly informative priors, unlike ChatGPT and Gemini.
Conclusions:
- LLMs show significant potential for developing efficient and objective informative prior distributions in Bayesian regression.
- A key challenge lies in calibrating the width of LLM-suggested priors, as they exhibit tendencies towards overconfidence and underconfidence.
- Claude Opus exhibited a notable advantage in its approach to suggesting priors compared to Gemini and ChatGPT.
Related Concept Videos
Distributions to Estimate Population Parameter
Model Approaches for Pharmacokinetic Data: Distributed Parameter Models
The distributed parameter models are specifically designed to account for variations and differences in some drug classes. This model is particularly useful for assessing regional concentrations of anticancer or...
Prediction Intervals
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
Multiple Regression
Farmers can use multiple regression to determine the crop yield based on more than one factor, such as water availability, fertilizer, soil properties, etc. Here, the crop yield is the response or dependent variable as it depends on the other independent variables. The analysis requires the construction of a scatter plot...
Regression Analysis
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as:

