NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Large language models converge toward human-like concept organization

Mathias Lykke Gammelgaard, Jonathan Gabel Christiansen, Anders SøgaardarXiv 2023

TL;DR

This paper investigates whether Large Language Models (LLMs) develop human-like conceptual organization by comparing their internal representations to those of knowledge graphs. The authors find that LLMs, especially larger ones, increasingly mirror the structure of knowledge graphs, suggesting they learn more than just pattern matching and are developing a form of inferential semantics.

What Problem Does This Paper Address?

The central question in AI research is whether LLMs truly "understand" language or if their impressive performance is merely a sophisticated form of memorization and pattern matching. This debate hinges on whether LLMs develop rich, concept-based mental models akin to human understanding. This paper tackles this by asking if LLMs organize concepts in a way that reflects human-like semantics and world knowledge, as captured by structured knowledge bases.

Methods

The core of the methodology involves comparing the vector spaces learned by LLMs with those derived from knowledge graph embeddings. They employ three main techniques:

  • Procrustes Analysis: A method to align two vector spaces by finding an optimal transformation matrix. This allows for a direct comparison of the geometric structure of the LLM's representations and the knowledge graph embeddings.
  • Ridge Regression: Used as a secondary projection method, where individual predictors are trained for each dimension of the reference vector space. This offers a different perspective on how well LLM representations can be mapped to knowledge graph structures.
  • Representational Similarity Analysis (RSA): This technique compares the representational dissimilarity matrices (RDMs) of LLM embeddings and knowledge graph embeddings. A high cosine similarity between these RDMs indicates similar internal organization.
  • Analogy Solving: LLMs are tested on their ability to solve analogies, a task that requires understanding relational concepts. Success in this task is linked to the isomorphism of their internal representations to knowledge bases.

Datasets

  • Language Models: The paper evaluates 21 transformer-based language models from four families: OPT, GPT-2/GPT-3, Pythia, and BERT.
  • Knowledge Graph Embeddings: Vector spaces are derived from three graph embedding algorithms (BigGraph, GraphVite with TransE and ComplEx) trained on the Wikidata knowledge base.
  • Analogy Dataset: The WiQueen dataset is used for evaluating the models' ability to solve analogies.

Key Insights and Ideas

  • Convergence Towards Human-like Organization: The most striking finding is that as LLMs get larger and more capable, their internal representations become increasingly similar to the structured organization found in knowledge graphs. This suggests LLMs are not just memorizing text but are building internal models that reflect real-world knowledge and inferential relationships.
  • Inferential Semantics: The observed convergence strongly supports the idea that LLMs develop inferential semantics, meaning they can reason about relationships between concepts beyond simple co-occurrence.
  • Scaling Matters: The degree of convergence is directly correlated with model size and quality, indicating that scaling up LLMs is a key factor in developing more human-like conceptual understanding.
  • Polysemy and Semantic Category Impact: The study reveals that word ambiguity (polysemy) and semantic category (e.g., places vs. names) can affect convergence. Words with fewer meanings and certain categories (like cities) tend to show better alignment, suggesting that the nature of the concept itself influences how well LLMs represent it.

Key Results

  • High Precision Scores: Through Procrustes analysis, the paper reports precision@50 (p@50) scores reaching over 60% for the best-performing models (like GPT-3 Ada-002) projected onto knowledge graph embeddings. This means that for over 6 out of 10 words, the model could correctly identify the corresponding concept within a neighborhood of 50 words in the reference space.
  • Consistent Trends: Across all tested LLM families and knowledge graph embedding methods, a consistent trend of increasing alignment precision with model size was observed.
  • GPT Family Leads: The GPT family of models generally exhibited the most pronounced convergence properties.
  • Analogy Solving Success: The models showed a consistent upward trend in solving analogies as their size increased, aligning with human commonsense reasoning capabilities.

Limitations and Future Work

  • English-Centric: The experiments were conducted solely on English data, which is a significant limitation. Language characteristics and morpho-syntactic properties could influence the observed results.
  • Dimensionality Issues with Ridge Regression: For the largest models, the ridge regression method showed performance drops, possibly due to difficulties in handling high-dimensional embeddings, especially when exceeding 2048 dimensions.
  • Broader Variable Analysis: While polysemy and semantic categories were analyzed, the authors acknowledge that many other variables likely influence performance and warrant further investigation.
  • Future Work: The paper suggests that future work could explore language characteristics, investigate the impact of two-to-three-meaning words on performance for models like GPT-2, and delve deeper into the relationship between semantic categories and convergence. The authors also hint that in the long term, grounding LLMs in knowledge bases might become less critical as their internal representations mature.

Summary updated

BibTeX
@misc{gammelgaard2023large,
  author = {Mathias Lykke Gammelgaard and Jonathan Gabel Christiansen and Anders Søgaard},
  title = {{Large language models converge toward human-like concept organization}},
  year = {2023},
  eprint = {2308.15047},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.15047},
}
Figure