Cat, Rat, Meow: On the Alignment of Language Model and Human Term-Similarity Judgments

Lorenz Linhardt, Tom Neuhäuser, Lenka Tětková, Oliver Eberle

TL;DR

This paper evaluates 32 small and mid-sized language models to see how well their internal representations and generative behaviors align with human semantic similarity judgments using a word triplet task. The authors discover a striking paradox: even very small models develop internal representation spaces that match human-level alignment, but actually extracting this knowledge through generative behavior requires much larger model sizes.

What Problem Does This Paper Address?

While large language models (LLMs) are frequently evaluated on their outward behavior (e.g., answering questions or following instructions), we still have a limited understanding of their internal representation spaces. Specifically, how do these models structure concepts internally, and does this structure mirror human cognition?

Prior work has often relied on simple pairwise word comparisons to evaluate semantic similarity. This paper addresses this gap by using a more nuanced word triplet task to probe semantic associations. Furthermore, it tackles a core question in the representational alignment community: To what extent can we translate observations about a model's internal representational structure into actual behavioral outcomes?

Methods

The authors evaluate both the representational and behavioral alignment of 32 language models across 6 model families (including Gemma 2, LLaMA 3, Phi, and Qwen 2.5).

Human Task:   Which is closer in meaning to C (Anchor)? A or B?
Model Task 1 (Representational): Compare cosine similarity of embeddings: cos(A, C) vs cos(B, C)
Model Task 2 (Behavioral):       Prompt the model directly to output "A" or "B"
  1. Representational Extraction: For a given triplet (e.g., Anchor: Cat, Targets: Rat, Meow), the authors extract the hidden states at three distinct sub-blocks across every layer: the attention block, the MLP layer, and the residual stream. The model's "choice" is determined by which target word embedding has a higher cosine similarity to the anchor word embedding. Crucially, the authors apply layer-wise centering (subtracting the mean representation of all terms) to improve accuracy.
  2. Behavioral Extraction: The instruction-tuned variants are directly prompted to answer the triplet question (e.g., "Which of the words A or B is closer in meaning with the word C?"), forcing a generative choice.
Figure 1: We assess the alignment of language model representations at different layers (attention block, MLP, residual stream) with the human similarity space via a triplet task: Human raters judge which of two terms is more similar to an anchor term. The human choice is compared to the model choice, which is based on representational similarities to the anchor. The fraction of agreeing choices is the “choice accuracy”.

Datasets

The study utilizes the Three-Terms-Task (3TT) dataset (Borghesani et al., 2023).

  • The full dataset contains 10,107 term triplets sampled from 6,433 unique words.
  • The authors focus on a human-evaluated subset of 2,539 triplets (after filtering out ties), where each triplet was judged by at least 17 human raters to establish a reliable "human majority choice."

Key Insights and Ideas

  • The Scale Paradox: Model size does not limit representational alignment. Tiny models can structure concepts internally just as well as larger ones. However, model size heavily dictates behavioral alignment. Small models possess the internal alignment but fail to express it when prompted textually.
  • Instruction Tuning Reshapes Internal Space: Instruction tuning doesn't just change how a model formats its output; it actively reshapes its internal representation layers, significantly boosting alignment with human similarity judgments across families like Qwen and Minitron.
  • Layer Architecture Dynamics: The way alignment evolves from the input layer to the output layer is highly model-dependent. For instance, OpenELM shows a monotonic increase in alignment, while Gemma 2 exhibits a bimodal wave pattern. Residual streams consistently provide the most stable and highest overall alignment compared to volatile attention or MLP layers.
Layer-wise alignment patterns for OpenELM vs Gemma2

Key Results

  • Human Benchmark: The average human agreement with the majority vote baseline is 0.82.
  • Representational Success: Even small models achieve near-human representational alignment. For example, the pretrained OpenELM-450M hits a top choice accuracy of 0.82. The overall mean representational accuracy across instruction-tuned models matches the human average at 0.82.
  • Behavioral Disconnect: As shown in the figure below, while representational alignment (blue line) remains high and flat regardless of parameter count, behavioral alignment (orange line) scales sharply with model size. A small model like Qwen-2.5-0.5B scores a poor 0.44 behaviorally, whereas Qwen-2.5-7B climbs to 0.79, finally closing the gap with its internal representations.
Representational vs Behavioral choice accuracy across model sizes

Limitations and Future Work

  • Confidence Mismatch: While the models' categorical choices align well with humans, their internal distance ratios poorly correlate with human uncertainty or disagreement levels ($\gamma < 0.4$).
  • Association vs. Type Bias: Qualitative analysis suggests a fundamental difference in how humans and models judge similarity. Humans often favor associative relationships (matching Cat with Meow), whereas language models consistently default to taxonomic/type relationships (matching Cat with Rat).
  • Future Directions: The authors suggest extending this framework beyond single-word triplets to more complex textual structures and using triplet-loss objectives during training to explicitly encourage human-like representation spaces.

Summary updated

BibTeX
@inproceedings{linhardt2025cat,
  author = {Lorenz Linhardt and Tom Neuhäuser and Lenka Tětková and Oliver Eberle},
  title = {{Cat, Rat, Meow: On the Alignment of Language Model and Human Term-Similarity Judgments}},
  booktitle = {Re-Align @ ICLR},
  year = {2025},
  url = {https://openreview.net/forum?id=wIcg6M2Dvj},
}
Figure