Francesco Cagnetta and Matthieu Wyart (2024), Advances in Neural Information Processing Systems 37 (NeurIPS 2024), pp. 83119–83163 — ARXIV-2406.00048, DOI-10.52202/079017-2645
Key takeaways
- The task. The Random Hierarchy Model of LIT-877 (L levels of v symbols, each rewriting to m distinct s-tuples from the level below, no tuple with two parents), now with an unlabelled root and the last of the d = s^L tokens masked. A network sees the d − 1 preceding tokens and is trained by cross-entropy to predict the last.
- Correlations decay with depth of the common ancestor. The covariance C_{i,d}(µ, ν) = P(X_i = µ, X_d = ν) − P(X_i = µ)P(X_d = ν), averaged in root-mean-square over the vocabulary, depends only on the level ℓ of the two positions’ lowest common ancestor, and falls in steps with it: C̃^(ℓ) ≈ ((1 − m/v^(s−1))/(v³ m^(2ℓ−1)))^(1/2) (Eq. 8, App. D, large v and m). Read against distance t this is roughly a power law, t^(−β) with β = ln m / ln s. In the maximal case m = v^(s−1) every string occurs and there are no correlations.
- A finite sample is a finite context. The empirical estimate from P sequences saturates at a noise floor (v²P)^(−1/2) (App. E), so only correlations out to t*(P) are resolved; for a power law, t*(P) ~ P^(1/(2β)). The thresholds P_ℓ = v m^(2ℓ−1)/(1 − m/v^(s−1)) (Eq. 12) count the choices that fix two tokens with a level-ℓ ancestor.
- Hidden variables from correlations. Given its parent, a tuple is conditionally independent of the masked token, so tuples with the same parent have the same correlations with it and can be grouped; tuple correlations and their noise shrink by the same factor (App. F), so the thresholds stand. Counting n-grams needs a sample exponential in the context length; a learner that reconstructs the hidden variables needs one polynomial in it. This route is argued, not proved for networks trained by gradient descent (§6).
- Measured. Depth-3 transformers on L = 3 data show a loss step near each P_ℓ, to the levels bounded by Eq. 11 (Fig. 2); with the context cut to t = s^ℓ − 1 the curve stops after ℓ steps. In depth-4 CNNs matched to the tree, a layer’s sensitivity to resetting the production rule below a level-ℓ symbol, relative to replacing the symbol, drops from 1 to 0 near P_ℓ (Fig. 3). CNNs reach the third step earlier than P_3, which the authors attribute to weight sharing (App. G.1); the first step scales as P_1 ∝ (t + 1), which the theory does not capture (App. G.3).
- Real text. On character-level tiny-Shakespeare and WikiText-103, the token correlation decays as t^(−β) with β ≈ 1.4 and 1.55; the loss of a transformer with context t levels off at a P that grows with t, and curves for different t collapse when P is rescaled by t^(2β) with β taken from the correlations (Figs. 4, 5; Eq. 16). The test bears on the conjectured link between correlation range and usable context, not on hidden variables, which real text does not expose.
Standing in the record
Filed on 2026-10-09 at the owner’s request, as one of the works cited by the batch on hierarchy and hyperbolic geometry (LIT-865 to LIT-877) that neither record held. LIT-877, which introduces the Random Hierarchy Model, names it among the same group’s later papers. Read on its own merits (NOTE-687); the reading produces THEORY-201.
It moves the Random Hierarchy Model from labels to language: the statistics that reveal the hierarchy are now between tokens of the sequence, which is the kind of object the record’s word-embedding readings work on (LIT-855, LIT-860, LIT-863). It does not answer QUESTION-025. It studies no embedding, no PMI and no direction; its correlation function is a root-mean-square over the vocabulary, which says how strong the dependence between two positions is, not which tokens carry it. What it adds is how a hierarchy shows in co-occurrence: descendants of one hidden symbol have identical correlations with what lies outside it, and the strength falls by a factor of about m per level, so a finite corpus shows the shallow levels and hides the deep ones. The details are in the NOTE.