When Do LLM-Elicited Priors Help? A Controlled Audit of Language Models as Priors for Small-Sample Bayesian Regression

Ran Zou, Yang LiuarXiv 2026

Imagine you’re trying to predict housing prices in a neighborhood you’ve never visited, and you only have 20 sales records to go on. A standard statistical model will struggle—it simply hasn't seen enough to know which features (like "number of bathrooms" vs. "square footage") really matter.

But what if you could ask a "super-expert" who has read every real estate book ever written for a head start? That’s the promise of using Large Language Models (LLMs) to set priors for Bayesian regression. This paper is a rigorous "audit" of that promise, asking: Is the LLM actually helping, or is it just reciting a tutorial it memorized during training?

TL;DR

Using an LLM to "guess" the starting coefficients for a small-data regression can provide a helpful boost, but it’s a double-edged sword. While LLMs bring useful domain knowledge (like knowing that more rooms usually mean higher prices), they are chronically overconfident, share the same systematic errors across different models, and struggle to understand how variables interact with each other.

What Problem Does This Paper Address?

In Bayesian statistics, a prior is your "educated guess" before you see any data. If you have a mountain of data, your prior doesn't matter much—the data speaks for itself. But in "small-sample" regimes (think $n=20$ or $n=50$), a good prior is the difference between a useful model and total noise.

Recently, researchers have started asking LLMs to provide these priors. However, the field has a "contamination" problem: LLMs might have seen the test datasets (like the famous California Housing set) thousands of times during training. If an LLM gives a perfect prior for a 1990s dataset, is it "reasoning," or is it just "remembering"? The authors set out to build a controlled environment to find out.

Methods

The researchers conducted a "controlled audit" using two types of models: a "frontier" model (Claude 3 Opus) and a "flash" model (Gemini 3.1 Flash).

Figure 1: Overview of the audit. (1) A fixed prompt, with real feature names or with names removed, elicits a prior mean and scale per coefficient from the LLM. (2) The elicited mean becomes the prior center; its scale is the LLM’s own, calibrated on the data (Theorem 2), or a robust mixture. (3) The priors are compared with zero-centered adaptive priors on 100 paired small-sample splits, with memorization controls, an error-dependence measurement and a pre-specified external test.

Key methodological innovations included:

  • The Anonymization Control: They ran the same tests but replaced feature names (e.g., "median_income") with generic labels ("feature_1"). If the LLM’s performance tanked, it proved the benefit came from the names (domain knowledge), not some hidden ability to "see" patterns in raw numbers.
  • The "Future" Data: They used NYC housing sales from May/June 2026 (simulated/post-cutoff) to ensure the model couldn't have memorized the specific rows.
  • Type-II ML Calibration: Instead of blindly trusting the LLM's stated confidence, they used a statistical "trust dial" that lets the actual data decide how much to weight the LLM’s guess.

Datasets

The audit spanned several classic and "future-proofed" benchmarks:

  1. California Housing: Both the real version and a semi-synthetic version.
  2. Diabetes & Breast Cancer: Standard medical regression/classification tasks.
  3. NYC-2026: A custom dataset of New York City property sales that post-dates the models' training cutoffs.
  4. Stress Tests: Synthetic problems where the "true" coefficients were randomized to see how badly a "wrong" LLM prior would hurt.

Key Insights and Ideas

  • The Echo Chamber Effect: If you ask an LLM for its opinion 20 times, you aren't getting 20 independent pieces of evidence. The errors are highly correlated ($r = 0.92–0.99$). Treating these draws as independent leads to massive overconfidence.
  • Marginal vs. Partial Effects: This is the "aha!" moment of the paper. Humans (and LLMs) tend to think in marginal effects—how much does one variable affect the outcome in isolation? But regression requires partial effects—how much does it matter given all other variables are held constant? LLMs consistently fail to make this distinction, leading to systematic bias in collinear datasets.
  • The "Names" are the Secret Sauce: Without feature names, LLMs fall back to zero-mean guesses. They aren't "reasoning" about the data structure; they are retrieving a "mental map" of the world based on the labels we give them.
Figure 2: E19 (gemini-3.1-flash-lite): pooling draws as if they were independent makes the prior overconfident. (a) Simulation with a shared bias: the log pool’s nominal-90% coverage of β collapses as K grows, the oracle hierarchical pool keeps it, and moment matching stays conservative. (b) Real draws up to K=20: the same collapse, while moment matching stays flat. The averaged center is no closer to the truth at K=20 than at K=1.

Key Results

  • NYC-2026 Win: On the post-cutoff NYC data, the LLM prior clearly helped, reducing the Root Mean Squared Error (RMSE) by 5.8% compared to the best classical method.
  • Mixed Performance: On other benchmarks, the results were "partial." The LLM helped on 6 out of 18 external problems but actually hurt on 4.
  • Calibration is Mandatory: Using the LLM’s own "elicited scale" (its self-reported uncertainty) was often disastrous. Letting the data calibrate the scale (LLM-cal) cut the harm of a misaligned prior four-fold.

Limitations and Future Work

The authors note that their audit was limited to tabular regression with a relatively small number of features ($p \le 10$). They also found that while LLMs are great at guessing the sign (positive or negative) of a coefficient, they are much worse at guessing the magnitude.

Future work could explore whether "chain-of-thought" prompting or multi-agent systems can help LLMs better estimate "partial effects" in complex, correlated datasets. For now, the takeaway is clear: Trust the LLM's direction, but let the data decide the volume.

Summary updated

BibTeX
@misc{zou2026when,
  author = {Ran Zou and Yang Liu},
  title = {{When Do LLM-Elicited Priors Help? A Controlled Audit of Language Models as Priors for Small-Sample Bayesian Regression}},
  year = {2026},
  eprint = {2611.27075},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27075},
}
Figure