Abhishek S.
Shipping in public. Listening in private.

Abhishek

I lead women’s Indo-Western & Premium at Max Fashion. I also wrote the AI that runs the buying floor.

Rare profile. Category operator who ships production code.

Senior Buying Leader · Max Fashion Women’s Indo-Western & Premium · 530+ India stores NIFT ’12 · Twelve years on the floor

abhishek@bengaluru ~ %
>role: senior buying lead
>dept: women’s indo-western + premium
>floor: 530+ stores india

Bayesian Inference

A test that is 99% accurate for a disease with a 1-in-10,000 base rate, applied to a random patient, returns a positive result that is wrong 99 times out of 100. The arithmetic is not a trick. It is what Bayes' rule says happens when you take base rates seriously, and most human reasoning does not.

Bayesian inference is the procedure for updating a probability when new evidence arrives. It was written down by Thomas Bayes in a manuscript published posthumously in 1763, ignored for most of the next two centuries, and is now the default machinery behind spam filters, drug trials, and a sizable fraction of modern machine learning.

The move

Three quantities, one division:

P(H | E) = P(E | H) · P(H) / P(E)

The formula is one line of algebra. The work is in picking hypotheses that are not gerrymandered, priors that are not smuggling the answer in, and likelihood models that admit how much they don't know.

Where it actually shows up

The base-rate problem

Most human reasoning fails the medical-test question above. In one frequently-replicated study (Eddy 1982, repeated by Gigerenzer through the 2000s), physicians given a similar problem estimated the post-test probability at around 70-80%. The actual answer is closer to 1%. The error is so reliable that Daniel Kahneman built a chunk of Thinking, Fast and Slow (2011) on variants of it.

Bayesian reasoning is not natural. It is a posture you adopt against a strong cognitive current — see concept cognitive bias.

Priors are not cheating, but they are not free

Every inference method carries assumptions. Bayesian methods make some explicit by labeling them "prior." This is more honest, not more objective.

A prior can be:

When data is thin, the prior dominates. When data is abundant, the likelihood drowns the prior. Both cases require knowing which regime you are in.

What's contested

Three live arguments, none of them settled:

  1. Frequentist vs Bayesian foundations. The 20th-century statistics establishment, led by Ronald Fisher and Jerzy Neyman, treated probability as long-run frequency and dismissed priors as unscientific. Bayesians treat probability as degree of belief. The fight was bitter through the 1970s and is now mostly a truce of mutual usefulness, but the philosophical disagreement is real.

  2. How much computation buys how much belief. Modern Bayesian work runs on Markov-chain Monte Carlo and variational inference, both approximations. A posterior produced by 4 chains of 2,000 samples each is not the posterior; it is a sample from something hopefully near it. How much of "Bayesian" results in practice are artifacts of the sampler is an open empirical question.

  3. Calibration in deep learning. Neural networks routinely produce confident, wrong predictions. "Bayesian neural networks" promise calibrated uncertainty; whether they actually deliver it at scale, versus cheaper ensembles or temperature scaling, is still being argued in the literature as of 2024.

Why this has to do with other realms

The deepest cross-realm bridge is to physics. Edwin Jaynes spent the second half of his career arguing that statistical mechanics — entropy, the second law, the distribution of gas molecules in a box — is best understood as Bayesian inference applied to incomplete physical information rather than as a statement about the world itself. His 1957 paper Information Theory and Statistical Mechanics and his posthumous book Probability Theory: The Logic of Science (2003) make the case. If Jaynes is right, thermodynamic entropy and the posterior of a coin flip are the same kind of object. See concept entropy and concept information theory.

An open question

If a prior chosen for mathematical convenience consistently outperforms a prior chosen from domain expertise — as happens often in modern ML — what does it mean to say the model "believes" anything at all?

Key sources

Further reading

See Also