§15.3 The ideal representation: causes, separated
Back to the chapter’s central question — what makes one representation better than another? One answer: an ideal representation’s features correspond to the underlying causes of the data, with separate features or directions for separate causes — a representation that disentangles disentangled representation A representation whose separate features or directions correspond to SEPARATE underlying causal factors of the data (one direction = gender, another = wearing glasses) — the chapter's answer to what makes one representation better than another. defined in ch. 15 — open in glossary the causes from one another. This hypothesis motivates the whole seek-a-representation-of--first program: if is among the most salient causes of , that representation should serve too — an idea guiding research since at least the 1990s (Becker & Hinton 1992; Hinton & Sejnowski 1999).
Note the tension with earlier chapters: we have often wanted representations that are easy to model — sparse (§13.4), independent (§13.2). A causally-disentangled representation is not automatically easy to model. The deeper part of the hypothesis is that for many AI tasks the two properties coincide: once you hold the underlying explanation of the data, isolating individual attributes becomes easy.
When does knowing help at all? It can fail: if is uniform, a training set of values carries zero information about — no amount of unsupervised learning helps. And it can succeed spectacularly: when arises from a mixture with one component per class (fig 15.4), modeling alone finds the components, and one label per class finishes the job. Try both regimes:
P(x) = α·N(x; μ₁, σ²) + (1−α)·N(x; μ₂, σ²): the prior α = P(c=1) = 0.50 picks the component; merge the means and the modes fuse
What ties the marginal to the conditional in general? Causality. Suppose is one of the causal factors of , and let stand for all of them:
The causal structure, and the Bayes tie (eqs 15.1–15.3)
| the true generative process: h (all causal factors) is the parent of x in the directed graphical model — compare fig 13.1 | eq 15.1 | |
| the marginal the unsupervised learner sees — the best model of x (for generalization) is the one that uncovers the TRUE latent structure | eq 15.2 | |
| Bayes ties the conditional to the same components — knowledge of p(x)'s structure is knowledge ABOUT p(y|x), so semi-supervised learning should help whenever these assumptions hold | eq 15.3 |
Worked example — the Bayes tie with numbers
Two classes, equal priors , with and — a mixture the unsupervised learner can discover from unlabeled alone. At : the density ratio is , so . The posterior was sitting inside the mixture structure all along — the labels only needed to say which bump is which.
Too many causes — and who decides what is salient?
Real observations have an enormous number of underlying causes. If but we don’t know which , the brute-force plan is to capture all reasonably salient factors and disentangle them — then predicting is easy regardless. In practice that is infeasible: should a visual representation encode every small background object? (Even humans don’t — we famously fail to perceive changes irrelevant to our current task; Simons & Levin 1998.) Determining what to encode is a research frontier, with two main working strategies: use a supervised signal simultaneously with the unsupervised one so the model favors task-relevant factors, or use much larger representations when purely unsupervised.
An emerging third strategy changes the definition of salience itself. Fixed criteria decide which causes count: mean squared error implicitly says a cause is salient only if it moves the brightness of many pixels — which is how an autoencoder for a robotics task can fail to reconstruct a ping-pong ball whose existence and position are exactly what the task needs (fig 15.5). A pattern can instead be salient because it is highly recognizable:
The causal dividend: robustness for free
Schölkopf et al. (2012) point out a benefit of getting the causal direction right. If is the effect and the cause, then the mechanism is robust to changes in — modeled the other way around, Bayes’ rule makes the conditional sensitive to those shifts. And distribution changes in the wild — new domains, temporal non-stationarity, new tasks — mostly change the marginal over causes while the causal mechanisms stay invariant (the laws of the universe are constant). A generative model that recovers and inherits that invariance.
Next: the tool that makes cause-per-direction representations possible at all — distributed representations, and the exponential gains of depth.
Check yourself — disentangling causal factors
1.What is the chapter's "ideal representation" hypothesis?
2.When is unsupervised learning of p(x) PROVABLY useless for p(y|x)?
3.Predict the outcome — in the mixture explorer, slide the two component means far apart. Why does this make semi-supervised learning succeed?
4.The robot autoencoder failed to reconstruct a ping-pong ball (fig 15.5). What went wrong, and what fixes this class of failure?
5.Per Schölkopf et al. (2012), why prefer modeling in the CAUSAL direction (x as effect, y as cause)?
6.Capturing ALL underlying causes is infeasible (a scene has countless tiny background factors). What are the two main practical strategies?