Hierarchical Concept Geometry in Language Representations Emerges from Word Co-occurrence
Andres Nava, Matthieu Wyart
NeurIPS page · OpenReview · Open on the map
Category: Interpretability & Model Adaptation › Concept Decomposition and Interpretability · Type: theory · Keywords: hierarchical concept geometry, word co-occurrence, embedding spectrum, WordNet hypernymy, language model representations
Areas: Graph Learning › Graph Reasoning and Representation › Graph-Language Models; Interpretability › Mechanistic Interpretability › Concept Geometry and Interpretability
Summary
The paper proves that hierarchical concept geometry in language models emerges from word co-occurrence statistics, showing that spectral properties of embedding matrices naturally separate taxonomic branches.
Explained to a 5-year-old
When we read books or talk, words show up together a lot. If two words mean similar things, they often appear near each other in the text. Scientists noticed that words that are more alike tend to be used together more often. They thought maybe this could explain why some words are grouped together in a special map. If we draw a picture of these words based on how close they are, the picture naturally forms a tree shape.
Explained to a 5-year-old, longer
When we read books or talk, words show up together a lot. If two words mean similar things, they often appear near each other in the text. Scientists noticed that words that are more alike tend to be used together more often. They thought maybe this could explain why some words are grouped together in a special map. They built a theory that says if you look at how often words appear together, you can see a pattern. This pattern is like a tree: big categories appear first, then smaller ones inside them. They proved mathematically that under certain conditions, the biggest parts of the map separate the biggest groups. Then the next biggest parts split the smaller groups, and so on. They checked this idea on old word maps made by computers (word2vec). They found that many small groups of words followed the tree pattern. They also tried it on a modern language model called Gemma and saw the same pattern. This shows that the model can understand hierarchy just because of how words are used, not because it was told to.
For a technical reader
The paper shows that the way words are positioned in a vector space can naturally form a tree-like structure without any special training. It starts from the observation that words with similar meanings tend to co-occur more often in text. By modeling this co-occurrence as a kernel and analyzing the spectrum of the resulting Gram matrix, the authors prove that the top eigenvectors separate broad concepts first and then finer sub-concepts. Experiments on classic word embeddings and on the Gemma 2B model confirm that this spectral hierarchy matches the expected taxonomy. The result suggests that hierarchical reasoning can emerge from simple statistical patterns, offering insight for designing more interpretable language models.
Problem
How is the hierarchical "is-a" relation encoded in geometric representations of words? Prior work assumes models explicitly learn hierarchy, but it is unclear whether such geometry can arise from simple co-occurrence statistics.
Method
The authors start from the empirical observation that words with closer hypernymic distance co-occur more frequently, model this relationship as a co-occurrence kernel, and analyze the spectrum of the resulting embedding Gram matrix. Under mild positivity and decay conditions, they prove that the leading eigenvectors organize hierarchically, separating broad branches first and finer sub-branches later.
Results
The theoretical predictions are confirmed in word2vec embeddings on many WordNet subtrees and extend to Gemma 2B unembeddings, showing a strong match between spectral organization and hierarchical taxonomy.
Contributions
We provide a distributional theory linking word co-occurrence statistics to hierarchical geometry in embeddings, prove that spectral decomposition yields a coarse-to-fine organization mirroring taxonomy, and empirically validate the theory on both traditional word vectors and modern LLMs.
Limitations and assumptions
The analysis relies on mild positivity and decay assumptions for the co-occurrence kernel, and the empirical validation is limited to sampled WordNet subtrees and a single LLM.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction