Large Language Bayes Is Not Reparameterisation-Invariant
Organizations: RIKEN
Abstract
Large Language Bayes (LLB) answers an informal modelling question by sampling candidate probabilistic programs from a language model, running approximate inference on each, and averaging them with weights proportional to an exponentiated evidence bound. We show that this weighting depends on how a model is written. The log marginal likelihood is invariant to reparameterisation; the evidence bound is not. On eight schools the centered and non-centered programs are the same measure to , yet their weights differ by ; importance weighting reduces this only to , and reproducing the inference LLB actually runs, a full-covariance Gaussian matched to the posterior moments, still leaves on eight schools and in dimensions. Across likelihood families, dimensions and funnel severities the discrepancy reaches and reverses sign, so no single writing is uniformly preferable. It inverts Bayes factors against eight natural competitors, and the induced error in the model posterior, and in any downstream target, is controlled by the spread of the bound shortfalls through a known sharp Hilbert-distance bound. Across programs from six language models the parameterisation written ranges from to centered and is stable within a model. Detecting equivalent programs statistically can falsely merge genuinely different models at practical sample budgets; verifying reparameterisations we generate ourselves cannot, and closes the window.
Figures & tables
| centered | ||||||
|---|---|---|---|---|---|---|
| non-centered | ||||||
| gap (nats) | ||||||
| weight ratio |
| eight schools ( ) | synthetic ( ) | |||||
|---|---|---|---|---|---|---|
| centered | non-cent. | ratio | centered | non-cent. | ratio | |
| configuration | gap (nats) | weight ratio | cent. | non-cent. |
|---|---|---|---|---|
| Gaussian (eight schools), | ||||
| hierarchical logistic, | ||||
| hierarchical Poisson, | ||||
| Gaussian (synthetic), | ||||
| Gaussian (synthetic), | ||||
| Gaussian, |
| model | provider | centered | non-centered | other | no hier. | centered share |
|---|---|---|---|---|---|---|
| gpt-4o-mini | OpenAI | |||||
| gpt-4.1 | OpenAI | |||||
| gpt-5.1 | OpenAI | |||||
| gpt-5.5 | OpenAI | |||||
| deepseek-v4-pro | DeepSeek | |||||
| claude-opus-5 | Anthropic |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| competing model | ranked above by LLB? | |
|---|---|---|
| complete pooling | (genuinely better) | |
| independent effects, | yes, incorrectly | |
| independent effects, | yes, incorrectly | |
| independent effects, | yes, incorrectly | |
| independent effects, | yes, incorrectly | |
| independent effects, | yes, incorrectly |
| pair | |||||||||
| equiv (cent./non-cent.) | |||||||||
| equiv (affine) | |||||||||
| scale vs | |||||||||
| scale vs | |||||||||
| Normal vs Student- | |||||||||
| configuration | gap (nats) | weight ratio | cent. | non-cent. |
|---|---|---|---|---|
| likelihood family ( ) | ||||
| Gaussian (eight schools) | ||||
| hierarchical logistic | ||||
| hierarchical Poisson | ||||
| dimension (Gaussian, synthetic data) | ||||
| Gaussian (synthetic), | ||||
Bayesian Inference
Bayesian inference updates probability distributions over unknowns with evidence to quantify uncertainty and guide prediction and decisions.
See all 315 papersThe Geometry of Ignorance: LLMs Know When to Temper Bayesian Priors
Llama, Qwen, Gemma, and Pythia), ranging from 0.4B to 405B parameters. Projecting the final prediction state onto this direction yields a per-token prior loading factor , which, empirically, declines steadily as the context becomes more informative. Formally, the same projection decomposes the prediction state into two orthogonal vectors that correspond exactly to the two factors of a tempered Bayesian update: a unigram prior raised to the exponent and a context-driven likelihood. This geometric-probabilistic interpretation calibrates , making it meaningfully comparable across model sizes and families, with larger models generally exhibiting lower prior reliance in the high-context limit. Finally, we show that the direction of ignorance is causally active: raising or lowering at the final prediction state steers the prediction toward or away from the unigram prior in KL divergence.