atlas

Research map / Large language models / Language, safety and interpretability

The Geometry of Categorical and Hierarchical Concepts in Large Language Models

ICLR 2025 · Large language models › Language, safety and interpretability · approach: Linguistic encoding in LLM representations · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Extends the linear representation hypothesis from binary contrast directions to vector representations of binary features, showing categorical concepts are polytopes and hierarchical relations are encoded as orthogonality, validated on Gemma-2B and LLaMA-3-8B with WordNet concepts.

Problem

Prior formalizations of linear representations only handle binary concepts with natural counterfactual contrasts; it is unclear how binary features, categorical concepts, and hierarchical relations between concepts are geometrically encoded in LLM representation spaces.

Approach

Extend the linear representation definition so that binary features get magnitude-carrying vector representations (via the unembedding whitening and a causal inner product), which makes categorical concepts polytopes and yields hierarchical orthogonality theorems (child-parent difference orthogonal to parent vector).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add the normalized plant-to-animal parent contrast representationGemma-2B context embeddings · WordNet noun hierarchy: plant.n.02 → animal.n.01change in logit differences: 5.1265 ± 1.1731Helped
Add the normalized plant-to-animal parent contrast representationGemma-2B context embeddings · WordNet noun hierarchy: mammal.n.01 → reptile.n.01change in logit differences: -0.0600 ± 1.2190No clear effect
Add the normalized fluid-to-solid parent contrast representationGemma-2B context embeddings · WordNet noun hierarchy: fluid.n.02 → solid.n.01change in logit differences: 9.8296 ± 1.1099Helped
Add the normalized fluid-to-solid parent contrast representationGemma-2B context embeddings · WordNet noun hierarchy: crystal.n.01 → food.n.02change in logit differences: 0.3770 ± 1.5410No clear effect
Add the normalized scientist-to-contestant parent contrast representationGemma-2B context embeddings · WordNet noun hierarchy: scientist.n.01 → contestant.n.01change in logit differences: 14.4222 ± 0.9458Helped
Add the normalized scientist-to-contestant parent contrast representationGemma-2B context embeddings · WordNet noun hierarchy: athlete.n.01 → player.n.01change in logit differences: -0.1545 ± 1.1426No clear effect
Use shuffled unembeddings instead of original unembeddingsGemma-2B vector representation estimation · WordNet noun hierarchytest-word projectionHurt
Use shuffled unembeddings instead of original unembeddingsGemma-2B vector representation estimation · WordNet noun hierarchy, sibling relationshipscosine similarity reflecting semantic structureHurt
Use the naive Euclidean inner product instead of the causal inner productGemma-2B representation geometry · WordNet noun hierarchyhierarchical orthogonalityHurt

Surprising findings

Limitations

Experimental setup

Datasets: WordNet noun and verb hierarchy Gemma unembedding vocabulary

Benchmarks: WordNet noun hierarchy (593 synsets) WordNet verb hierarchy (364 synsets)

Metrics: projection of test vs random words onto concept vector change in logit differences after intervention cosine similarity between concept vectors

Baselines: random parent vector shuffled unembeddings Euclidean inner product

Builds on: linear representation hypothesis (Park et al. 2024 causal inner product) WordNet

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy