Bayesian Updating in LLM Evaluation: A Defensible Model Choice

Bayesian updating turns each batch of task-specific LLM eval results into a posterior with credible intervals a procurement committee can compare.

Bayesian Updating in LLM Evaluation: A Defensible Model Choice
Written by TechnoLynx Published on 11 Jul 2026

Bayesian updating means going from a prior probability to a posterior, using new data to revise it. That posterior then becomes the prior for the next batch of data. In an LLM procurement decision, this stops the model choice being a one-off benchmark snapshot. It becomes a running estimate of each candidate’s performance, with an interval that narrows as task-specific results come in. Updating is the mechanism that keeps the accuracy and failure-mode sections of a task-specific LLM evaluation pack current as evidence accumulates.

How Bayesian Updating Works: Prior, Likelihood, Posterior

Bayes’ theorem has five roles: a hypothesis, some data, the prior probability of the hypothesis before the data, the likelihood of the data under that hypothesis, and the posterior that results. The posterior is proportional to the likelihood times the prior, normalised so the probabilities sum to one. The MIT 18.05 course notes call the result a tug-of-war: a small likelihood can deflate a large prior, and a large likelihood can inflate a small one. The update can be repeated. Once the first data is in, the first posterior serves as the prior for the second data.

For pass/fail evaluations the arithmetic is simple. Suppose you put a Beta prior on a model’s success rate and count binary test outcomes. The posterior is again a Beta distribution: its two parameters are the prior’s parameters plus the number of passes and the number of fails. A study of sequential Bayesian updating uses this conjugate property to update batch by batch. Only the new batch has to be computed, and the informative prior carries forward everything learned from earlier batches.

What Changes When the Model Choice Is a Posterior, Not a Score

A single eval score taken to committee answers the wrong question. The committee doesn’t need to know what the model scored on one run. It needs to know how confident it can be that the model clears the bar on the work it will actually do. The HiBayES authors point out that evaluations usually report a model’s accuracy without quantifying uncertainty. That leaves open whether the model has really crossed a capability threshold or is still within the margin of error around it.

LLMs make single-run numbers more fragile still. They are usually deployed with stochastic decoding, yet benchmark metrics are often reported from deterministic output or a single generation per test case. Small evaluation sets add a second problem. A 2025 position paper on LLM evals showed in simulations that error bars based on the central limit theorem usually underestimate uncertainty dramatically on small, specialised benchmarks, which often hold only tens to hundreds of examples per task. In the same simulations, Bayesian credible intervals (and Wilson intervals) kept their nominal coverage at small sample sizes. Where a buyer’s task-specific prompt set is that small, an interval that keeps its coverage at that size fits procurement better than a point score.

A posterior interval over the model’s success rate is not the same thing as the AI confidence scores a model attaches to its own outputs. The interval describes what the evaluation evidence supports. A confidence score is a number the system produces about one answer.

What Prior Should We Use Before We’ve Tested on Our Own Prompts?

Start weakly informative, write the prior down, and test how much it matters. Standard weakly informative priors are common practice. A 2026 Frontiers study of LLM evaluation uses Beta(1, 1), which is uniform over accuracy. Longjohn et al. (2025) use Jeffreys’ prior, Beta(0.5, 0.5), for refusal rates, because they expect each input to be either nearly always refused or nearly always answered. The HiBayES authors argue that a uniform prior often can’t be defended when you have past experience with models from the same family. They recommend mildly informative priors, which use that experience without becoming so confident that the data struggles to overturn them.

Results from previous evaluations can inform that prior. Arena-style rankings carry their own distortions, which are covered in what leaderboard Elo tells a procurement buyer and what it hides.

Sensitivity checking matters most early on. Röver et al. (2020) note that with few studies the exact prior can become crucial, because you can’t rely on the data to overrule it. In some cases the posterior closely resembles the prior and the result is driven mostly by the prior settings. Two checks follow. Compare the result with one from a noninformative prior, to separate what the prior contributed from what the data did. A result moving with the prior is only a worry if the prior was not convincingly motivated, and the check itself does not show whether the prior is appropriate.

FDA guidance on Bayesian statistics in medical device trials adds two checks. Run a sensitivity analysis across different prior distributions. Keep the prior probability of the claim below the posterior success criterion, so a favourable prior cannot mask unfavourable new results. If the prior turns out to be wrong, the cost tends to be short-lived: in the 2025 CLT study, a mismatched prior made credible intervals too wide, and the problem went away fairly quickly as data grew.

How Each Batch of Task Results Moves the Posterior

Each new batch of results on the buyer’s prompts runs through the same short cycle. The steps run in order:

  1. Fix the success criterion, threshold and model before results arrive, as the FDA asks Bayesian trials to pre-specify the prior and the model.
  2. Run the batch with several stochastic generations per prompt, so each prompt contributes evidence about its own output distribution and not a single draw.
  3. Update the posterior from the new outcomes. In the conjugate case this means adding the new passes and fails to the Beta parameters.
  4. Report the posterior mean, standard deviation and credible interval, as FDA guidance recommends for summarising a posterior. Add the posterior probability that performance exceeds the committee’s threshold.
  5. Keep the raw outcomes alongside the posterior, because some later updates need the full record and not just the summary.

As batches accumulate, the posterior standard deviation falls and the mean settles towards a stable value. The original prior’s influence fades, and with enough data it becomes negligible next to the likelihood.

You also get a principled point at which to stop testing. FDA guidance allows stopping criteria such as a sufficiently narrow credible interval, as opposed to a sample size fixed in advance. Longjohn et al. go a step further: they treat the next prompt to test as a sequential allocation problem, spending the generation budget where it most reduces uncertainty.

When Batches Are Not the Same Kind of Evidence

Chaining posteriors assumes each batch comes from the same kind of experiment. A paper on Bayesian updating shows that when two experiments have different probability models, the final posterior can depend on which one is analysed first. The author takes that order-dependence as a sign that something is wrong. The paper’s remedy is to apply Bayes’ theorem once, to the combined likelihoods from all the experiments. The paper shows this for noninformative priors and continuous parameters, so it isn’t a general verdict on every chained update. The practical lesson still carries over. Suppose a later batch is graded on a rubric where earlier ones were pass/fail, or it comes from a different slice of the prompt distribution. Then refit from the stored raw outcomes rather than treating the old posterior as the prior. FDA guidance makes the related point that data from earlier studies cannot simply be pooled when the units are not exchangeable.

Does a Vendor Version Bump Mean Restarting the Whole Evaluation?

No. But the old posterior shouldn’t be carried over unchanged either. The model behind an API name does change: Chen, Zaharia and Zou (2023) measured GPT-4’s accuracy at identifying prime numbers falling from 84% in March 2023 to 51% in June 2023. The aggregate score can also hide what changed. A 2026 arXiv study of commercial API migrations found that upgrades with aggregate gains of up to 7.3 percentage points contained up to 8.3% of items that had reliably regressed.

The defensible move is to treat the previous version’s posterior as a discounted prior for the new version. FDA guidance on hierarchical models notes that some analysts call this logic “borrowing strength”. How much the current study borrows depends on how closely its results match the earlier ones, and very different results borrow nothing. The guidance also gives a check on how much you borrowed: an effective sample size computed from the posterior variance with and without the prior, which also shows whether the prior is too informative.

The new version still needs a fresh comparison on the current prompt. With the model, prompt, tools and eval set versioned as one bundle, that comparison is a CI run. Deprecated models get a retirement date, after which requests fail. Anthropic, for example, commits to at least 60 days’ notice before retiring a publicly released model, and advises thorough testing of replacements well before the retirement date. The full step-by-step procedure for re-validating the pack on a new vendor version is covered separately.

Putting the Bayesian Posterior in Front of a Committee

A committee can compare options fairly when every candidate is reported the same way. That means the same prior family, the same prompt set, a posterior mean with a credible interval, and the probability of clearing the agreed threshold. A 95% credible interval has a 95% posterior probability of containing the true value. A 95% confidence interval instead means that 95% of intervals computed under repeated sampling would contain it. The trade-off is that credible intervals require a stated prior, while confidence intervals do not. That’s one reason the prior belongs in the pack.

Evidence a buyer, auditor or model-risk committee can read and sign against is an engineering output, and TechnoLynx builds it as such through its AI governance and trust work. That covers task-specific evaluations and the evidence packs built around them, not legal advice or certification.

Where candidates were run on the same questions, a paired comparison is worth using. The 2025 CLT study recommends paired Bayesian intervals, because they account for correlations between models on shared questions and come out narrower.

Reading Two Candidates’ Intervals

The HiBayES authors give a simple rule for comparing two models’ highest posterior density intervals (HPDIs), the narrowest intervals holding a stated share of the posterior:

What the two intervals do What the committee can conclude
No overlap The models perform differently on this evaluation
Partial overlap Inconclusive
The narrower interval sits entirely inside the wider one Evidence that the models perform equivalently

A 2026 Frontiers study uses an equivalent test: the difference is credible when the 95% interval of the difference excludes zero.

Reported intervals also need to show what produced them. A review cited in Kruschke’s Bayesian Analysis Reporting Guidelines (Nature Human Behaviour) found that of 17 articles on medical devices, only 24% fully reported the prior and only 18% reported a sensitivity analysis. A procurement evidence pack should state its prior, its sensitivity check and its bundle versions. The NIST AI RMF 1.0 MEASURE function asks for performance assessment with associated measures of uncertainty and formalised documentation of results.

Where the Evidence Pack Stops and Benchmark Methodology Begins

The Bayesian layer described here interprets and maintains evaluation evidence on one buyer’s prompt distribution for one procurement decision. How a benchmark itself is run and measured across hardware is LynxBenchAI’s discipline, and the line between the two is drawn in evidence pack versus benchmark methodology.

The point to settle before trusting any posterior is whether the prompts behind it look like production. The NIST AI RMF MEASURE function asks that performance be demonstrated under conditions similar to the deployment setting. The 2026 Frontiers model also assumes the questions are exchangeable, and the authors note that this may not capture structure such as topic clusters. If the prompt set is unrepresentative, the interval can narrow around the wrong number. Updating makes the evidence more precise, but only the representativeness of the prompt set makes it relevant.

FAQ

What Is the Bayesian Method Used for in Clinical Trials?

In clinical trials, Bayesian methods formally combine prior information with the current trial’s data, treating both as one stream in which inferences update as new data arrives. FDA guidance notes this can make adaptive designs easier to implement, including stopping a trial early when a pre-specified plan allows it.

What Does a 95% Confidence Interval Represent?

A 95% confidence interval means that under repeated sampling, 95% of the intervals computed this way would contain the true value. It is not a 95% probability statement about any single interval; that reading belongs to a Bayesian credible interval.