AI Glossary / Probabilistic machine learning / Advanced
Likelihood tempering
Definition
Likelihood tempering changes the influence of observed data by raising the likelihood to a power before combining it with the prior. A common tempered target is proportional to prior times likelihood to the power beta, where beta between zero and one softens the likelihood contribution.
What it means
Ordinary Bayesian updating multiplies a prior density by a likelihood and normalizes the result. Likelihood tempering introduces a coefficient on the log likelihood, changing how strongly differences in data fit affect the target distribution.
There are two distinct reasons to do this. Computational methods may use a sequence of intermediate tempered distributions on the way to the ordinary posterior. Other methods deliberately retain a tempered posterior as an alternative inferential target, for example when investigating sensitivity to model assumptions.
These uses should not be confused. A sample from a softened intermediate distribution is not automatically a sample from the ordinary posterior, and a deliberately tempered analysis should state that its target differs from standard Bayesian updating.
How it works
Write the target as p_beta(theta given data) proportional to p(theta) times L(theta) to the power beta. In log form, this is log prior plus beta times log likelihood, followed by normalization.
At beta = 1, the ordinary posterior is recovered. At beta = 0, the path is defined to start at the prior, subject to appropriate support and normalization conditions. Intermediate values form a bridge used by methods such as power-posterior evidence estimation.
Some authors use temperature T with beta = 1/T, so a larger temperature means a smaller likelihood exponent. Check conventions. Tempering the likelihood alone differs from raising the entire posterior, including its prior factor, to a power.
Three practical examples
- A computational inference procedure moves through a sequence of likelihood powers to bridge a prior and a concentrated posterior.
- A marginal-likelihood estimator uses expectations under power posteriors to calculate a model's evidence.
- A modeling study compares deliberately tempered analyses to assess the effect of reducing the likelihood's influence, evaluating the resulting predictions separately.
Think of it this way
Think of turning down the volume of one contributor in a discussion while leaving another contributor's volume unchanged. Likelihood tempering reduces the relative force of the data-fitting term while retaining the specified prior.
The analogy does not mean that observations become less true or that arbitrary volume adjustments improve decisions. The exponent defines a mathematical target, and its justification depends on the computational or inferential purpose.
Worked example
A Gaussian update with a likelihood power
Consider an original scalar example with prior theta distributed as Normal(mean 0, variance 4). Observe y = 2 from a Normal distribution with mean theta and known variance 1.
The prior precision is 1/4. Raising the likelihood to beta gives a target with precision 1/4 + beta. Its variance is 1/(1/4 + beta), and its mean is 2 beta/(1/4 + beta).
At beta = 1, the posterior mean is 1.6 and variance is 0.8. At beta = 0.25, the mean is 1 and variance is 2. At beta = 0, the prior mean 0 and variance 4 are recovered.
This example shows the softened likelihood pulling the estimate less strongly toward the observation while leaving more uncertainty. It does not establish that every parameter's variance must change monotonically in every nonlinear or multimodal model.
If instead the entire ordinary posterior were raised to power 0.25, its Gaussian mean would remain 1.6 and its variance would become 3.2. That different result illustrates why likelihood tempering and whole-posterior tempering must be distinguished.
Illustrative case study
Fictional case: documenting a computational bridge
A fictional modeling team estimates the evidence for a small probabilistic model using a ladder of likelihood powers. It starts from the prior, samples at intermediate powers and includes the ordinary posterior endpoint.
The team records the exponent ladder and checks sampling behavior at each stage. It separates error from numerical integration across the ladder from error due to inadequate exploration within a stage.
In its report, the team labels intermediate draws by their exponent and does not pool them as ordinary posterior samples. It validates the procedure on a simpler model with known evidence before applying it to the more complicated case. No improvement in evidence accuracy is assumed without that check.
Common misconceptions and mistakes
Tempering a likelihood does not generally produce a new sampling distribution by itself. A likelihood is viewed as a function of parameters for fixed data; if one wants a fully normalized model for new data, additional normalization can matter.
Reducing beta is not the same as deleting a particular fraction of observations. In some models it resembles scaling sufficient statistics or information, but that interpretation is not universally exact.
A softened target may be easier to explore, yet a multimodal or badly parameterized model can remain difficult. Tempering also does not automatically guarantee calibrated uncertainty or robustness. Those are separate properties that require assumptions and evaluation.
Business use
Use likelihood tempering only with a clear statement of purpose: computational bridging, evidence calculation or a deliberately modified inferential target. The same exponent can have different practical meanings in those settings.
Record whether the prior is tempered, the exponent convention, support restrictions and how final results are formed. If the target is deliberately changed, compare predictive performance and uncertainty rather than claiming improvement from wider intervals alone. If tempering is only computational, verify that the final estimator or sampling scheme actually targets the intended ordinary posterior or evidence.
People also ask
Is beta always between zero and one?
That is common for a prior-to-posterior bridge. Exponents above one sharpen the likelihood contribution and occur in other formulations.
Is likelihood tempering the same as KL annealing?
No. KL annealing changes a term in a variational training objective; likelihood tempering defines a powered-likelihood target. Connections depend on the exact formulation.
Can an intermediate draw be treated as an ordinary posterior draw?
Not without a valid correction or algorithmic construction that justifies doing so.
Check your understanding
In the Gaussian worked example, what happens at beta = 0.5?
Answer: Precision is 0.25 + 0.5 = 0.75, so variance is 4/3 and mean is 1/0.75 = 4/3. These belong to the tempered target, not the beta = 1 posterior.
Related terms
- Bayesian inference
- Prior distribution
- Annealed importance sampling
- Power posterior
- inverse temperature
- marginal likelihood
- thermodynamic integration
Learn next
Compare likelihood-only and whole-posterior tempering algebraically. Then study how a power-posterior path can estimate evidence, keeping normalizing constants and sampling error explicit.
More in Probabilistic machine learning
- Latent coincidence analysis - Latent coincidence analysis (LCA) is a supervised latent-variable method for learning a linear transformation in which distances reflect labeled similarity...
- LDA-HMM - LDA-HMM is a composite text model combining latent Dirichlet allocation's document-level topics with a hidden Markov model's local sequence structure.
- Leapfrog integrator - The leapfrog integrator is a numerical method that advances position and momentum through alternating half and full steps.
- Local level model - A local level model represents a time series as noisy observations of an underlying level that changes through a random walk.
- Local linear trend model - A local linear trend model is a state-space time-series model with both a changing level and a changing slope.
- Log-Gaussian Cox process - A log-Gaussian Cox process is a model for randomly located events in which the logarithm of an underlying event intensity follows a Gaussian process.
Sources
Primary computational source: Friel, Hurn and Wyse, Improving power posterior estimation of statistical evidence: https://arxiv.org/pdf/1209.3198
Primary predictive-analysis study: McLatchie and colleagues, Predictive performance of power posteriors: https://arxiv.org/abs/2408.08806
The Gaussian calculation and computational-bridge case are original teaching examples.
Previous: Likelihood ratio chi- square Next: Likelihood weighting