AutoElicit: Using Large Language Models for Expert Prior Elicitation in Predictive Modelling

Alexander Capstick, Rahul Krishnan, Payam Barnaghi

Introduction

In high-stakes domains like healthcare and finance, predictive modeling faces a fundamental tension: the desire for the predictive power of modern AI versus the strict requirements for interpretability and privacy. This often leads practitioners to rely on simple linear models, which are transparent and easier for domain experts to trust.

However, linear models are notoriously data-hungry. To make them effective with small datasets, practitioners often use Bayesian inference, which incorporates "priors"—pre-existing knowledge about how features (like blood pressure or age) should affect the outcome. Traditionally, acquiring these priors requires "expert elicitation," a time-consuming process of interviewing specialists to translate their intuition into mathematical distributions.

To overcome this bottleneck, researchers introduce AutoElicit, a framework that leverages the vast, internalized knowledge of Large Language Models (LLMs) to act as automated domain experts, generating these priors without the need for extensive human interviews.

The AutoElicit Framework

AutoElicit is designed to bridge the gap between the "black box" knowledge of LLMs and the "glass box" transparency of linear models. The pipeline operates through several key steps:

  1. Prompting for Priors: Instead of asking an LLM to make a direct prediction, AutoElicit prompts it to act as a domain expert. Given feature names and a task description, the LLM provides a "best guess" mean and standard deviation for the weight of each feature in a linear model.
  2. Mixture of Gaussians: Because LLMs can be inconsistent, AutoElicit generates multiple rephrased versions of the task description. It then aggregates the LLM's responses into a robust Mixture of Gaussians prior.
  3. Expert Refinement: The system allows human experts to "steer" the model using natural language (e.g., "Feature X is a strong positive indicator"), which the LLM seamlessly incorporates into the mathematical prior.
  4. Bayesian Integration: These LLM-generated priors are plugged into a standard Bayesian linear regressor or logistic classifier, which updates its posterior distribution as real data arrives.
The AutoElicit pipeline extracts priors from LLMs to inform Bayesian models, significantly reducing the data needed to reach high accuracy.

Datasets and Evaluation

The researchers evaluated AutoElicit across a variety of contexts to test its robustness and real-world applicability:

  • Synthetic Data: A controlled environment with a known ground truth relationship ($y = 2x_1 - x_2 + x_3$).
  • Public Clinical Datasets: Standard benchmarks including Heart Disease, Diabetes progression, Hypothyroidism, and Breast Cancer diagnosis.
  • Private Clinical Dataset: A real-world study on dementia care using sensor data to predict Urinary Tract Infections (UTIs). This dataset was specifically chosen because it was entirely absent from the LLMs' training data.

Key Insights and Results

AutoElicit demonstrates that LLMs are often better "teachers" than "doers." When compared to In-Context Learning (ICL)—where an LLM is given examples and asked to predict directly—AutoElicit consistently performed better. LLMs often fail to apply their internal knowledge consistently during ICL, whereas AutoElicit successfully extracts that knowledge into a stable, external statistical model.

Performance of AutoElicit priors across various datasets compared to uninformative priors.
  • The "Label Saving" Miracle: In the private dementia study, using AutoElicit priors allowed the model to reach peak accuracy with just ~15 labeled examples. Achieving the same accuracy with standard "uninformative" priors would have required waiting an additional 220 days for data collection.
  • Accuracy Boost: On the synthetic task, LLM-elicited priors reduced the Mean Squared Error (MSE) by an order of magnitude compared to uninformative priors after observing only 5 examples.
  • Reasoning Models Excel: The study highlighted that newer "reasoning" models, such as DeepSeek-R1, are significantly better at providing useful priors for classification tasks than older standard chat models.
  • Cost-Effective Expertise: Eliciting a full set of priors proved incredibly cheap—costing as little as $0.07 using GPT-3.5-turbo—making it a highly scalable alternative to human expert panels.

Limitations and Future Work

While AutoElicit offers a powerful new tool for predictive modeling, the authors note a few limitations. LLM-elicited priors are inherently a product of their training data and may contain unwanted biases, though human experts can mitigate this by steering the model via task descriptions. Additionally, the current framework is limited to linear models. While ideal for interpretability, future work could extend this elicitation technique to non-linear models like Random Forests or Gaussian Processes. Finally, while AutoElicit succeeded on private data, the risk remains that an LLM's apparent "expertise" on public datasets stems from memorization during pre-training.

Summary updated

BibTeX
@inproceedings{capstick2025autoelicit,
  author = {Alexander Capstick and Rahul Krishnan and Payam Barnaghi},
  title = {{AutoElicit: Using Large Language Models for Expert Prior Elicitation in Predictive Modelling}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=GekXB58ZS7},
}
Figure