Source
Cagnetta and Wyart (2024, NeurIPS 2024), LIT-883, Appendices D–F (the covariance, the sampling noise and the tuple correlations), read in full in NOTE-687 from arXiv v3. The note followed the moment computations to their large-v, large-m limits. The promotion audit re-derived the result to leading order and checked it numerically (batch 063).
What was actually shown
The model. L levels; v symbols at each; each symbol has m rules, each an s-tuple of symbols of the level below. A level’s v·m tuples are distinct, so it uses a fraction f = m/v^(s−1) of all s-tuples. The root and every rule choice are uniform.
The derivation, to leading order.
- Siblings. For two positions of one tuple, the joint probability of the pair (x, y) is N(x, y)/(vm), where N counts the level’s tuples with x and y in those positions. Each of the v^(s−2) such tuples is present with probability f, so N has mean m/v and variance v^(s−2) f(1 − f), the 1 − f being the correction for drawing tuples without replacement. The covariance therefore has mean zero over grammars and variance (1 − f)/(v³ m).
- One level further. A level’s transition matrix for one position is uniform plus a fluctuation Δ whose entries have variance about 1/(vm). A covariance has zero row and column sums, so passing it down both branches leaves Δ₁ᵀ C Δ₂. Each factor multiplies the variance by v · 1/(vm) = 1/m: a factor m per level in root-mean-square size.
- Level ℓ. Hence variance (1 − f)/(v³ m^(2ℓ−1)). Two tokens t apart have their common ancestor about log_s t levels up, so the size decays roughly as t^(−ln m/ln s).
- Sampling noise. Each entry of a joint estimated from P sequences has variance about 1/(v²P), so the estimated covariance has noise (v²P)
- Threshold. Signal equals noise at P_ℓ = v m^(2ℓ−1)/(1 − f).
The check. For s = 2 and L = 4, the exact covariance was computed by multiplying transition matrices for 20 sampled grammars per setting, and compared with the formula. The ratio for ℓ = 1 to 4 was 1.02, 1.02, 1.01 and 0.96 at v = 128, m = 16, and 1.07, 0.97, 0.91 and 0.74 at v = 16, m = 4. The agreement improves with v and m, and degrades with depth when they are small, as a leading-order result should. The sampling noise came within 3% of (v²P)^(−1/2) for P from 10³ to 10⁶. The recipe is in the audit’s decision for THEORY-201.
What this does not say
- Not exact. It is leading order in large v and m, with tuple draws treated as independent. At small v and m and deep levels the exact covariance falls below it (about a quarter below at v = 16, m = 4, ℓ = 4).
- Nothing about learning. That a trained network detects these correlations, represents the hidden symbols, or shows loss steps at P_ℓ is THEORY-201’s claim, which measures some of it in small networks and argues the link.
- Nothing about language. The model’s rules are uniform, unambiguous and of fixed shape. That real text has correlations decaying as a power of distance does not make it such a tree.
- Only s = 2 was checked numerically. The derivation covers general s; the exact computation did not.
Connections
- THEORY-201 extends this, adding the learning curves and the character-level test.
- THEORY-195 is the classification result for the same model (LIT-877).