Marginal

Condensation

When do two models of the same observations have matching latent variables? Latent models, reconstruction and the Markov condition, the two-witness lemma, the correspondence theorem, and how condensation relates to natural latents and interpretability.

7 lessons in 1 unit · free with an account

Start your free trialThis course stays free after the trial.
What you'll learn

7 lessons, one small step at a time

Each lesson states its goal, then works up to it in short steps with practice after each. A placement test at the start skips what you already know.

Condensation

7 lessons
  1. Latent models of observationsCompute the information observations share, assign latents to addresses, and measure how well a latent mediates with conditional mutual information.
  2. Reconstruction & MarkovCompute the Markov defect and the reconstruction error of a latent model, and use the two conditions to rule out trivial models.
  3. The two-witness lemmaBound how much of a target two nearly independent witnesses leave unexplained with the two-witness lemma, and read its terms.
  4. Why an agent would condenseCompute an agent's query cost and split its excess into the Markov and reconstruction defects, and read each condition as something an efficient agent wants.
  5. The correspondence theoremCount the latents in a tower, compute the correspondence bound kδ + (k − 1)η, and say what the theorem guarantees for two agents.
  6. When condensations existExplain why towers rather than single latents correspond, why noisy data have no perfect condensation, and how an approximate one looks in clustering.
  7. Condensation in contextPlace condensation among related ideas, test whether a feature behaves like a condensation latent, and trace the chain from correspondence to safety.
Sample lesson

Latent models of observations

Goal: Compute the information observations share, assign latents to addresses, and measure how well a latent mediates with conditional mutual information.

If an AI and a human both model the same world, are their latent variables comparable? Sam Eisenstat's condensation theory studies how to organize the information shared among observations X₁, …, Xₙ into latent variables, and when that organization is essentially unique.

We will share information among observations, give latents addresses, measure mediation, and finish with why this matters for interpretability.

Step 1: Information shared among observations

Observations of the world overlap: two cameras see some of the same objects, two documents mention some of the same facts. A latent variable model explains the observations by hidden variables, each responsible for some of them. The question condensation asks is how to divide the information so that each piece sits with exactly the observations that share it.

Running example: S, P and Q are independent random strings, and X₁ = (S, P), X₂ = (S, Q), X₃ = (P, Q). Each pair of observations shares one string, and the entropy of an observation is the sum of its strings' lengths in bits.

SPQX₁X₂X₃

Step 2: Addresses

Each latent YA is assigned to a set A of observations, its address: the observations it helps explain. A latent model requires that an observation be determined by the latents whose addresses contain it: H(Xᵢ | YA for all A containing i) = 0. In the example the natural latents are Y{1,2} = S, Y{1,3} = P and Y{2,3} = Q. The information two observations share, I(X₁; X₂) = H(S), is exactly what sits at their shared address. Addresses need not form a tree: {1, 2} and {1, 3} overlap in observation 1.

Step 3: Measuring mediation

How well a latent mediates is measured by conditional mutual information: I(X₁; X₂ | Y) is the information the two observations still share once Y is known, zero for a perfect mediator. In the example, I(X₁; X₂) = H(S), and taking Y = S brings I(X₁; X₂ | Y) to 0. A latent holding only the first half of S's bits leaves the other half shared: I(X₁; X₂ | Y) = H(S)/2.

Step 4: Why this matters for interpretability

If the information shared among observations can be organized in essentially one way, then any two good models of the same data, a human's and an AI's, would organize it the same way, and their latents could be matched. The next lessons give the conditions that make an organization good and prove that good organizations agree. The running example is the template: whatever model you build, S belongs with X₁ and X₂, because that is where it is shared.

In the app, each step ends with practice questions, new ones every time, and the lesson comes back later in spaced reviews.

Start Condensation

Lessons that need something you haven't learned yet bring it in first, from any course.

Start your free trialThis course stays free after the trial.