Abstract
This paper investigates how Large Language Models (LLMs) represent discrete relational data, specifically family trees. Through cone probing, activation patching, and model stitching, the authors demonstrate that diverse LLMs converge on a universal geometric representation—cone embeddings—to encode genealogical hierarchies. These findings suggest that certain knowledge structures have an optimal internal form that models independently discover during training, supporting the hypothesis of representation universality across different model families.
Introduction
As Large Language Models (LLMs) are increasingly integrated into complex reasoning tasks, understanding their internal knowledge representation is paramount for safety and interpretability. While LLMs are known to represent continuous variables like time or geography using simple geometric shapes, their handling of discrete, relational data—such as graphs—remains less understood. This research explores the "Representation Universality" hypothesis: the idea that different models, when trained on similar tasks, converge toward identical internal representations. Specifically, the authors investigate how LLMs encode genealogical trees and whether these strategies are shared across model families like LLaMA, Gemma, and Pythia.
Methodology
The study employs three primary techniques to analyze the internal states of various models:
- Cone Probing: Hypothesizing that "descendant-of" relationships are best represented via cone embeddings—where a child node resides within a cone projected from the parent—the researchers trained specialized probes to detect these structures in the residual stream activations.
- Activation Patching: To establish causality, the authors used interventionist methods, replacing activations in a "corrupted" prompt (containing a wrong answer) with those from a "clean" prompt to observe if the model's output corrected itself.
- Model Stitching: By joining the lower layers of one model to the upper layers of another via linear adapters, the researchers tested for a common internal "language." High performance in these hybrid models indicates shared representational spaces.
Key Insights: The Geometry of Hierarchy
Traditional visualization methods like Principal Component Analysis (PCA) often fail to capture the nuances of discrete graphs, typically clustering nodes only by depth. In contrast, cone probing reveals a discrete "branching" structure that mirrors the actual topology of the family tree.
The researchers found that these tree-like subspaces are not merely descriptive but causally active. Patching the specific subspace identified by the cone probe was often as effective as patching the entire layer, indicating that the model relies on this specific geometry for its reasoning. Furthermore, the stitching experiments revealed a consistent pipeline across models: early layers handle tokens, middle layers develop high-level semantic concepts (where models align most), and late layers manage next-token prediction mechanics.
Experimental Results and Universality
The study highlights a significant challenge termed the "Reversal Curse." While LLaMA-3.1-8B achieves an F1 score of ~0.9 on ordered tree descriptions, performance drops to ~0.4 when descriptions are shuffled, suggesting models depend on narrative flow to construct these geometric representations.
Despite this, the "Universality" hypothesis was strongly supported. Models from disparate families (e.g., OPT and Pythia) showed peak representational alignment in their middle layers. Stitched models performed best when joined at equivalent relative depths, suggesting a universal developmental trajectory for knowledge representation across different architectures.
Limitations and Future Directions
The authors note that the study was limited to small 15-node trees and linear alignment methods. Future work should explore whether these cone embeddings scale to larger, more complex graphs (e.g., including uncles or cousins) and how models represent uncertainty. Additionally, mapping the specific neural circuits that traverse these geometric structures remains an open challenge for the field of mechanistic interpretability.
Summary updated