# Asymptotic Equivalence of Bayes Cross Validation and Widely Applicable Information Criterion in Singular Learning Theory

Bayes cross-validation loss matches WAIC asymptotically in singular learning models

Sumio Watanabe · arXiv · 2010-4-14

- **Problem** Cross-validation is well understood for regular models, but its asymptotic behavior in singular models, where many learning machines live, was unknown. Those models break the regular-model results.
- **Method** The authors compare both values term by term via cumulant expansions.
- **Results** The Bayes cross-validation loss is asymptotically equivalent to WAIC as a random variable. The sum of Bayes generalization error and cross-validation error is asymptotically 2λ/n, where λ is the real log canonical threshold.

## Why cross-validation was unclear for singular models

In regular models fitted by maximum likelihood, leave-one-out cross-validation is asymptotically equivalent to AIC. Many learning machines, including neural networks and normal mixtures, are singular rather than regular. In singular models the maximum likelihood estimator can diverge, so the regular-model results do not carry over. Bayes estimation makes the generalization error smaller in singular models, so the authors study cross-validation within Bayes estimation.

The asymptotic behaviour of cross-validation in singular Bayes models had not been clarified.

The practical stake is model selection, because the Bayes generalization loss needs samples from the unknown true distribution. Cross-validation and WAIC can be computed from the training samples alone, so they are the candidates for selecting models and hyperparameters. Comparing them therefore matters only if the two values behave alike, which is the question the paper takes up.

## The key idea: expand both through posterior cumulants

The key idea is to write both the cross-validation loss and WAIC in terms of the same functional cumulants of the log likelihood, and then compare them term by term. The posterior weights each parameter by the product of the likelihood factors raised to the inverse temperature β, multiplied by the prior. Its expectation of a function f(w) is the integral of f(w) times that product, divided by the integral of the product alone.

For each training sample, the authors average over the posterior that leaves that sample out, and then average the negative logs of those predictive values. The result is written as the cross-validation loss, CvL(n), where the leave-one-out posterior of sample i is denoted E(i)w. Computing n separate posteriors is expensive, so the importance sampling approximation CV2 uses only one posterior, with powers of the likelihood as weights.

## How the two quantities are expanded

The generating function F(α) is the average over training samples of the log of the posterior average of p(Xi\|w) raised to α. Its k-th derivative at zero defines the functional cumulant Yk(n), so the first cumulant is minus the Gibbs training loss. Y2(n) equals the functional variance V(n) divided by n, which links the cumulants to the WAIC term.

The leave-one-out loss can be rewritten as F(−β) minus F(1 − β), because the leave-one-out posterior is a ratio of posterior averages with powers 1 − β and −β. Both sides are then Taylor-expanded in α around zero. Each cumulant of order k is of size n to the minus k/2 in probability, so the terms beyond order three shrink fast enough to be absorbed into the error term.

## Theorem 1: CvL and WAIC agree

Theorem 1 gives CvL(n) as minus Y1(n), plus (2β − 1)/2 times Y2(n), minus (3β² − 3β + 1)/6 times Y3(n), plus a remainder of order n to the minus two. WAIC(n) has the same first two terms, but its third term is minus one sixth of Y3(n). The two third-order coefficients differ, so the leading difference sits in Y3 and appears only at order n to the minus one.

The difference between the two values is of order n to the minus three halves for any β. For β = 1 the difference shrinks to order n to the minus two, and its leading term is one twelfth of Y4(n). Both expectations approximate the Bayes generalization loss at n − 1 samples, which is why the two quantities can be swapped for model selection.

## Generalization error plus cross-validation error

The Bayes generalization error is the Bayes generalization loss minus the minimum loss L0, and the cross-validation error is CvL(n) minus the empirical loss Ln. The real log canonical threshold λ is the positive rational number given by the largest pole of the zeta function, and it is a birational invariant. Lemma 3 gives the leading term of the Bayes generalization error as λ − νβ + ν over n, and at β = 1 this reduces to λ over n.

Theorem 2 states that Bg(n) plus Cv(n) equals (β − 1)V(n)/n plus 2λβ/n, up to op(1/n). At β = 1 the sum is 2λ/n up to op(1/n), so the two errors together are fixed by the model's singularity structure. The authors conclude that minimizing the cross-validation does not ensure minimum generalization loss.

## Checking the theorems on a three-layer network

The inputs x and outputs y are in R3, and the output noise has standard deviation σ = 0.1. The learner is a three-layer network with H = 3, while the true distribution uses H = 1, so the true parameters form a singular set. Each of the 100 training sets has n = 200 samples, and the posterior with β = 1 is approximated by Metropolis MCMC. Each set yields 2,000 parameters from 10 independent MCMC runs of 200 samples each.

The original leave-one-out CV1 was not measured because its computational cost was too high, so the experiment uses CV2. BG averaged 0.0264 with standard deviation 0.0120, CV averaged 0.0298 with standard deviation 0.0137, and WAIC averaged 0.0278 with standard deviation 0.0134. The authors read these close averages and spreads as support for Theorem 1 in this setup.

The correlation between CV and WAIC is 0.996, which is the strongest agreement in the table. The correlation between BG and CV is −0.854, and between BG and WAIC it is −0.873. The standard deviation of BG plus CV is 0.0071, smaller than the 0.0120 of BG and the 0.0137 of CV, which the authors take as agreement with Theorem 2.

The singular parameters were estimated as λ ≈ 5.6 and ν(1) ≈ 7.9, with ν′(1) ≈ 3.6. A regular model with the same dimension would give λ = ν(1) = 9, so the singular case differs from that reference.

## Why deviance criteria differ

DIC 1 adds a penalty built from the posterior mean of the log likelihood to the training loss, while DIC 2 uses a posterior variance term. For a regular and realizable truth, both DIC variants match the Bayes generalization error to order 1/n. For a singular and realizable truth, the DIC 1 average tends to a constant C that differs from L0, so it is not the Bayes generalization error.

The authors conclude that the deviance criteria differ from cross-validation and WAIC when the true distribution is singular or unrealizable. In the experiment too, the averages of the two deviance criteria did not equal the average of the Bayes generalization error.

## Limitations

The equivalence assumes the posterior is precisely realized, and with an insufficient approximation CV1, CV2 and WAIC may differ. The analysis assumes a compact parameter set and assumption (4), which the authors say may fail in some singular unrealizable cases. The singular fluctuation ν is a birational invariant whose properties the paper leaves unknown, and λ and ν remain unknown constants for singular unrealizable cases.

The only experiment uses one network, one true distribution, n = 200 and β = 1.

## Paper info

- **Authors**: Sumio Watanabe
- **Venue**: arXiv · Preprint
- **First published**: 2010-4-14
- **Added**: 2026-11-12
- **Updated**: 2010-10-14
- **Version**: v2
- **arXiv**: 1004.2316
- **Category**: cs.LG
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1004.2316v2) · [PDF ↗](https://arxiv.org/pdf/1004.2316v2)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Sumio Watanabe (2010). Asymptotic Equivalence of Bayes Cross Validation and Widely Applicable Information Criterion in Singular Learning Theory. arXiv:1004.2316v2. https://arxiv.org/abs/1004.2316v2

**BibTeX**

```
@misc{watanabe2010asymptotic,
  title = {{Asymptotic Equivalence of Bayes Cross Validation and Widely Applicable Information Criterion in Singular Learning Theory}},
  author = {Sumio Watanabe},
  year = {2010},
  eprint = {1004.2316},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1004.2316v2}
}
```

## Related papers

- [Done, But Still Working: Anytime Evaluation of When Coding Agents Should Stop](https://refivu.com/en/papers/6f1eafa9-bd9c-423c-87ce-44843aadea20-done-but-still-working-anytime-evaluation-of-when.md)

## Other paper commentary

- [Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPR](https://refivu.com/en/papers/0d61122d-d270-4b56-bf77-9a4632bff37e-counterfactual-explanations-without-opening-the-black-box.md)
- [Principles alone cannot guarantee ethical AI](https://refivu.com/en/papers/0e47907c-e3eb-4d3b-9eb2-114a78e7ef9c-principles-alone-cannot-guarantee-ethical-ai.md)
- [Practical recommendations for gradient-based training of deep architectures](https://refivu.com/en/papers/0f41024c-5358-4bc2-be1e-7190db5f4d0c-practical-recommendations-for-gradient-based-training-of.md)
- [Fair prediction with disparate impact: A study of bias in recidivism prediction instruments](https://refivu.com/en/papers/63f46b07-c8ea-4844-bd07-458032bf0b42-fair-prediction-with-disparate-impact-a-study-of.md)
- [Consistent Individualized Feature Attribution for Tree Ensembles](https://refivu.com/en/papers/25122a82-e886-4eee-bc7a-c921ba59d7de-consistent-individualized-feature-attribution-for-tree.md)
- [CatBoost: gradient boosting with categorical features support](https://refivu.com/en/papers/8cd656c3-e110-48b3-a81f-5afaaf394ed3-catboost-gradient-boosting-with-categorical-features-support.md)
- [Supervised Learning of Universal Sentence Representations from Natural Language Inference Data](https://refivu.com/en/papers/3b717e36-7795-4260-9240-213b394ce804-supervised-learning-of-universal-sentence-representations.md)
- [Deep Speech: Scaling up end-to-end speech recognition](https://refivu.com/en/papers/ace0f457-6253-437c-903d-54b5979d9074-deep-speech-scaling-up-end-to-end-speech.md)
- [ResUNet-a: a deep learning framework for semantic segmentation of remotely sensed data](https://refivu.com/en/papers/e379f4f3-b44b-4709-bcbb-3cde82b7fd42-resunet-a-a-deep-learning-framework-for-semantic.md)
- [Natural Language Processing: State of The Art, Current Trends and Challenges](https://refivu.com/en/papers/96f7443d-3832-4114-ab52-f019f5aec932-natural-language-processing-state-of-the-art-current.md)
- [Center-based 3D Object Detection and Tracking](https://refivu.com/en/papers/b992611c-4688-4646-b792-a65eff7bf099-center-based-3d-object-detection-and-tracking.md)
- [Adaptive Federated Learning in Resource Constrained Edge Computing Systems](https://refivu.com/en/papers/75d8bb03-c432-4128-871e-23133be3cbc7-adaptive-federated-learning-in-resource-constrained-edge.md)

## Terms in this paper

- [Markov Chain Monte Carlo](https://refivu.com/en/terms/6fce1ff83248-markov-chain-monte-carlo)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/af4e7ac9-4c58-4c62-938e-efd2bc4d7bd5-asymptotic-equivalence-of-bayes-cross-validation-and-widely)
