This zhichai.net post is a creative, first-person narrative recounting a fictional roundtable aboard a ship, where a captain and four specialized AI agents (mathematical rigor, life analogies, case practice, critical reflection) jointly explain the Bayesian belief-updating pipeline: prior + information input → probability estimation → posterior.
The Core Formula
The mathematical agent presents Bayes' theorem:
- Prior \(P(H)\): initial belief in hypothesis H before seeing evidence
- Likelihood \(P(E \mid H)\): probability of the evidence given H
- Evidence normalization \(P(E)\): total probability across all competing hypotheses (law of total probability), ensuring posteriors are comparable
- Posterior \(P(H \mid E)\): updated belief — and tomorrow's new prior, enabling endless iteration
- Prior \(P(D) = 1\%\)
- Sensitivity \(P(+ \mid D) = 99\%\)
- False-positive rate \(P(+ \mid \neg D) = 5\%\)
- Bayesian updating is an iterative engine, not a one-shot formula
- Foundational to AI/ML: naive Bayes classifiers, Bayesian neural networks, RL belief states
- Practical rules: write priors down, test sensitivity, report full posterior distributions with uncertainty
- As the captain concludes: "Bayes is not an algorithm, but the rational way to update your world model."
The post emphasizes the key insight: posterior ∝ prior × likelihood.
Detective Analogy
A suspect with a 10% prior of guilt has a perfect fingerprint match reported; integrating the likelihood raises the posterior to about 75%. The author argues the human brain is a natural Bayesian machine, continuously updating world models with new information rather than waiting for large frequentist samples.
Worked Medical Example (Base Rate Fallacy)
For a rare disease with:
The total probability of a positive test:
Posterior:
Despite a highly accurate test, the low base rate dominates — a vivid demonstration of the base rate fallacy. A second positive test iterates the prior upward substantially.
Critical Debate
The critical agent lists strengths (fusing subjective priors with objective data, full posterior distributions, small-sample and online learning) and weaknesses (prior subjectivity — "garbage in, garbage out" — MCMC computational cost, philosophical disputes over priors). The captain resolves: use sensitivity analysis, uninformative priors, or empirical Bayes to mitigate subjectivity.