Francesco Cagnetta, Leonardo Petrini, Umberto M. Tomasini, Alessandro Favero and Matthieu Wyart (2023), Physical Review X 14, 031001 (2024) — ARXIV-2307.02129, DOI-10.1103/PhysRevX.14.031001
Key takeaways
- The model. n_c classes and L vocabularies of v symbols each. Every class, and every symbol at levels 2 to L, rewrites to m distinct s-tuples of symbols from the level below, chosen uniformly at random among all such assignments, with no tuple produced by two parents (so m v ≤ v^s). A datum is the leaf string of a depth-L, branching-s tree: d = s^L one-hot symbols. Each class has m^((d−1)/(s−1)) data, and in the maximal case m = v^(s−1), n_c = v every string of length d occurs, so the data lie on no low-dimensional manifold, one changed symbol can change the label, and the label depends on all d positions.
- Shallow and lazy networks are cursed; deep feature learners are not. A two-layer fully connected network needs a number of examples proportional to the total P_max, exponential in d (Fig. 2). Deep CNNs of depth L + 1 with filters matched to the tree, trained by SGD under the maximal-update parametrisation, reach 10% of chance error at P* ≈ n_c m^L, so P*/n_c ≈ d^(ln m / ln s), whatever v (Figs. 3, 4, 12). Generic deep fully connected networks show the same law up to a further factor of about 2^L (Fig. 13). The same CNNs in the lazy (NTK) regime keep a finite error even at P close to P_max (Fig. 14).
- The number is where synonyms become interchangeable inside the network. The synonymic sensitivity S_{k,l}, how much layer k’s activations move when level-l tuples are swapped for synonyms relative to swapping whole data, falls from 1 to 0 around P*, and curves for different parameters collapse when P is rescaled by n_c m^L (Figs. 5, 6). Invariance to level-l synonyms appears from layer l + 1, and all levels are learned at the same P. The representations’ effective dimension falls with depth (Fig. 11).
- And where the data’s statistics reveal the synonyms. Because the rules are random, the probability of class α given the tuple in patch j differs from 1/n_c, and it is the same for tuples with the same parent. Its fluctuation over draws of the rules is of relative size (v/m^L)^(1/2); the sampling noise of its empirical estimate from P data is (v n_c/P)^(1/2). They balance at P_c = n_c m^L (Eq. 10, Appendix C). For a two-layer network on one patch, one gradient step from a symmetric start makes each hidden unit’s response to a tuple a weighted sum of exactly these empirical class frequencies, so it becomes synonym-invariant as they converge (Eq. 13, Fig. 8).
- Correlations are needed, hierarchy is not enough. Forcing every tuple at every level to be equally likely in every class keeps the tree and the synonyms but removes the signal; this generalises parity, and deep CNNs then stay near chance up to 90% of P_max (Fig. 9). A layer-wise algorithm that alternates one gradient step with k-means clustering of the representations does better than end-to-end training by about √n_c (Appendix D, Fig. 10).
Standing in the record
Filed on 2026-10-09 at the owner’s request, as one of a batch of six works on hierarchy and hyperbolic geometry asked for right after the record opened QUESTION-025, which asks whether correlated or hierarchical attributes in co-occurrence still give linear attribute directions and a concept lattice that is not Boolean. LIT-863, whose result that question starts from (THEORY-185), names “the random hierarchy model of Cagnetta et al.” as the place to take hierarchical attributes next. Read on its own merits (NOTE-677); the reading produces THEORY-195.
It does not answer QUESTION-025. Its hierarchy is constituency: tuples of symbols compose into higher symbols, and a tuple determines its parent uniquely. That is an implication structure, but between a tuple in a position and a latent symbol, not between attributes of one word, and the paper measures no co-occurrence matrix, PMI spectrum or linear direction. What it does supply is a generative model in which the statistics that reveal latent structure are exactly the ones invariant under the equivalence that structure defines (synonyms have equal class frequencies), and an estimate of when a finite sample shows them. The record’s other learning model with hierarchically generated data is Saxe, McClelland and Ganguli’s (LIT-862, THEORY-186), which the paper cites; there the hierarchy is of attributes over items, which is closer to the question’s.
The same group’s later papers build on this model and are not held here: Sclocchi, Favero and Wyart, A Phase Transition in Diffusion Models Reveals the Hierarchical Nature of Data (arXiv:2402.16991); Tomasini and Wyart, How Deep Networks Learn Sparse and Hierarchical Data: the Sparse Random Hierarchy Model (arXiv:2404.10727); and Cagnetta and Wyart, Towards a theory of how the structure of language is acquired by deep neural networks (arXiv:2406.00048). This paper is the one that introduces the model.