Definition
Given a rooted tree over entities with node depths , and one centroid per entity in a real model’s activations, the representation is depth-stratified when the (mean-centered) cosine RDM rank-correlates with a depth template (depth-RSA, Spearman), against a stated null, and the centroids form depth layers: same-depth nodes band together and parent-child pairs are among the farthest.
This is a claim about layering by depth, deliberately weaker than a tree embedding. It does not assert that tree path distance is recovered, that a linear map turns squared distance into graph distance (that is Tree Metric Embedding), or that the layout has negative curvature (that is Hyperbolic Manifold).
Intuition
Stack the nodes of a family tree by generation. Everyone in a generation sits at roughly the same level, and levels are ordered, but nothing is said about which cousin is near which. The pattern is the stack of levels, not the branching.
Properties
- Layering, not branching. What is established is the ordering by depth. The finer branch relation (cosine distance growing with common-ancestor distance among same-depth leaves) can be present but is only metric and partly surface-driven, so no faithful tree embedding follows.
- Low effective dimension. The layered centroids occupy few effective dimensions (participation ratio about 2 for an imposed tree on the seven weekdays), versus about 4 for a ring on the same tokens.
- Rank-based evidence. The measure is RSA against a template with a permutation or label-shuffle null, so it supports ordering but not metric shape.
- Distinct from a ring or a line. Imposing a tree on tokens removes the ring (no persistent loop) while an imposed cycle keeps one; see Circle.
Key evidence
David & Fomin (2026) impose a declarative binary tree (“P is the parent of A and B”, no exemplars) on arbitrary meaning-free nouns in instruction-tuned Gemma-4 and Qwen-3.5 models and read last-prompt-token centroids at 0.75 of depth under neutral queries that ask nothing structural. The centroid RDM tracks node depth with RSA near +0.9 at depth 2, holding at +0.73 (Gemma-31B) and +0.63 (Qwen-27B) at depth 4, with same-depth nodes banding together and parent and child the farthest pairs. A co-occurrence control (siblings shuffled apart) leaves depth-RSA unchanged (0.83 to 0.82 Gemma, 0.71 to 0.72 Qwen); the 2B model builds none. The authors state they do not claim a faithful tree embedding. The structure is imposed by the prompt, and the finding is that the model’s activations reorganize into it with no pretrained relation to inherit; no causal test is run on the tree itself. See an-in-context-declarative-cyclic-order-redraws-entity-centroids-into-a-ring-matching-the-imposed-cycle-not-the-pretrained-order-in-capable-gemma-4-and-qwen-3-5-models-with-persistent-h1-loop-and-entity-patching-crossover.
Exercises
Base
- Why is depth-RSA of +0.73 not evidence that a tree is embedded? Consider what a depth template does and does not fix about pairs of same-depth nodes.
Advanced
- Design a test that separates depth layering from a tree metric. State which quantity (depth versus common-ancestor distance among same-depth leaves) each result would constrain.