Tail Behavior and Prior-Likelihood Conflict

Summary

What happens when the prior and the data disagree — and why the normal-normal model hides the disagreement entirely. With against a prior, the posterior sits at 5.0, “contradicting both prior and likelihood,” and nothing in the posterior signals a problem. Three remedies are compared: a Cauchy prior (conflict resolved in favor of the likelihood), an explicit bias term (conflict resolved in favor of the prior, producing a non-monotonic posterior mean), and prior-likelihood conflict diagnostics. The section also shows that a prior can be unimodal in one parameterization and bimodal in another.

Overview

Why tails are hard to specify (Ch. 5.10, p. 93)

“When defining data models and priors, there is not usually strong information to determine the tail shape. In prior elicitation, domain experts may be able to supply some information about quantiles, but they will rarely have precise information on extreme quantiles and rare events” (O’Hagan et al. 2006).

The way to understand them: “One way to understand the tail properties of a data model and a prior is to see how they combine in the posterior distribution.”

The tradeoff: “Thick tails correspond to distributions where extreme values can arise with low but nontrivial probability, which allows resolution of prior-likelihood conflict (O’Hagan 1979). On the other hand, if we always prepare for unexpected data, we lose in statistical efficiency. An alternative is to use thinner tails as with the normal distribution and use prior-likelihood conflict diagnostics” (Kallioinen et al. 2024 — the priorsense package; see Influence of Likelihood and Prior).

Main Content

Priors under transformation of parameters

A prior can be unimodal in one parameterization and bimodal in another (Figure 5.9)

Consider a probability mapped to the real line by .

  • A uniform prior on corresponds to a unit logistic prior on — “the difference arising from the Jacobian of the transformation.”
  • Figure 5.9 shows five priors on with , each displayed on both the logit scale and the probability scale.
  • The lowest panel, , “on the scale of appears to be a weak prior allowing a wide range of parameter values, but on the scale of is strongly concentrating the probabilities near 0 and 1” — i.e. it becomes bimodal.

This is the same lesson as the binomial example in Noninformative priors, and why “flat” is not “weak” and the panel of Prior Predictive Checking: weakness is a property of the scale you look at it on.

The normal-normal model hides the conflict

The disturbing figure (Figure 5.10, Ch. 5.10, pp. 94-95)

Setup. independent observations with prior — “assuming the problem has been scaled so that there is no strong prior reason to expect to be positive or negative and that it is reasonable to expect its absolute value to be less than 1.”

Take , : “a large enough sample size that the variance parameter can be precisely estimated from data, and we have set so that the prior and data convey equal amounts of information” (since , matching the prior sd).

data { int N; vector[N] y; }
parameters { real theta; real<lower=0> sigma; }
model {
  theta ~ normal(0, 1);
  y ~ normal(theta, sigma);
}

Ignoring the small posterior uncertainty in , the posterior is analytic:

“which makes sense: prior and data are weighted equally.”

DataPosteriorAssessment
”This looks fine”
contradicts both prior and likelihood

“The awkward thing here is not so much the prior-likelihood conflict — our models are imperfect, and such things happen — but also that this conflict does not show up in the posterior distribution. But it is clear in the graph with prior and likelihood. If one were to use this model without such a check, it would just report the bad result with no warning.”

Note also: “Computation remains smooth.” There is no divergence, no warning, no sign of trouble in any diagnostic — the failure is invisible to everything in Chains, Iterations, and Effective Sample Size. Plotting prior and likelihood together is the only check that catches it.

Remedy 1 — a long-tailed prior

The normal-Cauchy model (Figures 5.11-5.12, Ch. 5.10, pp. 95-96)

“The Cauchy distribution matches the normal near its center but allows arbitrarily large values.” Implemented by replacing theta ~ normal(0, 1) with theta ~ cauchy(0, 1).

DataPosterior meanPosterior sdBehavior
1.30.9”a bit less pooling than with the normal prior, but essentially the same as before”
9.81.0”the model has weighed the information in the prior and likelihood and ‘decided’ (using the rules of probability) to favor the data”

“The increasing flatness of the Cauchy density in the tail implies that, for this model, the less consistent the data are with the prior, the less influence the prior has.”

The shrinkage factor (Figure 5.12, Ch. 5.10, p. 96)

The proportion by which is shrunk toward the prior mean of 0 to obtain the posterior mean :

  • Normal-normal model with equal prior and likelihood variance: the shrinkage factor is always , regardless of — a horizontal line.
  • Normal-Cauchy model: shrinkage is close to when is near zero, but declines toward 0 as moves away — “when it is far from zero, the Bayesian inference engages the flatter part of the Cauchy prior and the shrinkage approaches zero.”

“The tails of likelihood and prior in the normal-Cauchy model are such that, when there is prior-likelihood conflict, the posterior inference favors the likelihood.”

Remedy 2 — an explicit bias term (when you trust the prior)

Adding a bias parameter (Figure 5.13, Ch. 5.10, pp. 96-97)

The question this answers: “But what if you do have strong prior information and you don’t want prior-likelihood conflict to be resolved in favor of the likelihood?” Then “you need to add an additional error term to your model to allow for possible bias.”

data { int N; vector[N] y; }
parameters { real theta, bias; real<lower=0> sigma; }
model {
  theta ~ normal(0, 1);
  y ~ normal(theta + bias, sigma);
  bias ~ cauchy(0, 0.1);
}

“The prior implies that the bias is most likely to be small, but there’s a small probability it could be large, and if so it could be very large.”

Results with , :

| Data | | | sd(bias) | Where the signal went | |---|---|---|---|---| | | 0.9 | 0.2 | 0.6 | residual “implicitly attributed to the error term in the likelihood”; close to the from the no-bias model | | | 0.2 | 9.6 | — | “Prior-likelihood conflict is avoided by attributing almost all the error to the bias term” |

“Inference for this model with two error terms is counterintuitive. If the data are not too far from zero, posterior inferences are shrunk toward zero, but as the data become more extreme, the model infers that the bias must be large, and the resulting posterior for ends up giving less weight to the data. is a non-monotonic function of .”

This is a general property, not a quirk: “This behavior is common with all heavy-tailed prior distributions for coefficients used to encode the assumption that only some coefficients are likely to be big; see §4.1 of Piironen and Vehtari (2017b).” — i.e. the horseshoe family, The Horseshoe Prior and Regularized Horseshoe (Finnish Horseshoe).

Compare the “add a bias term” fix proposed for assumption 1 of the 8 schools model in Relating a Model to Subject-Matter Assumptions.

Choosing between the remedies

RemedyResolves conflict in favor ofUse when
Thick-tailed prior (Cauchy)the likelihoodyou distrust the prior more than the data; extreme values are genuinely possible
Explicit bias termthe prioryou have strong prior information and suspect measurement or design bias
Thin tails + conflict diagnosticsneither — it reports the conflictyou want efficiency and are willing to check (priorsense; Influence of Likelihood and Prior)

No safe haven, again

Why maximum likelihood is not the escape hatch (Ch. 5.10, p. 97)

“The challenges of prior-likelihood conflict do not imply that these problems go away in non-Bayesian inference. In the above example, one could simply use the maximum likelihood estimate . But this is unsatisfactory in settings with weak data and strong prior information.”

The recurring example: the early-childhood intervention with an estimated 42% effect on adult income, standard error 20%. “Even if data issues are set aside and this is taken as an unbiased estimate, it is very noisy, and any realistic expectation for an average treatment effect would be much lower. A reasonable prior might be .”

“Using raw, unregularized estimates in noisy settings leads to systematic overestimates of treatment effects, and these ‘exaggeration factors’ can be huge” (Gelman and Carlin 2014; van Zwet and Gelman 2022).

“This is the sort of problem that motivates the use of strong priors, but then we do need to be aware of how the resulting inferences can depend on technical aspects of the model such as tail behavior.”

“The case studies in Part 4 illustrate several examples of analyzing prior and likelihood sensitivity.”

Connections

See Also