Characterizing the Role of Similarity in the Property Inferences of Language Models

Juan Diego Rodriguez, Aaron Mueller, Kanishka Misra

Abstract: Property inheritance—a phenomenon where novel properties are projected from higher-level categories (e.g., birds) to lower-level ones (e.g., sparrows)—provides a unique window into how humans organize and deploy conceptual knowledge. It is debated whether this ability arises due to explicitly stored taxonomic knowledge vs. simple computations of similarity between mental representations. How are these mechanistic hypotheses manifested in contemporary language models? In this work, we investigate how LMs perform property inheritance with behavioral and causal representational analysis experiments. We find that taxonomy and categorical similarities are not mutually exclusive in LMs' property inheritance behavior. That is, LMs are more likely to project novel properties from one category to the other when they are taxonomically related and at the same time, highly similar. Our findings provide insight into the conceptual structure of language models and may suggest new psycholinguistic experiments for human subjects.

Introduction

In cognitive psychology, the mechanism behind property inheritance—how we project a new trait from a category (e.g., dogs) to its members (e.g., corgis)—remains a subject of intense debate. One school of thought suggests a structural approach, where knowledge is organized in a strict hierarchical taxonomy. Another theory, notably championed by Steven Sloman, argues that these inferences are driven by similarity: we are more likely to attribute a "bird trait" to a robin than to a penguin because a robin is perceived as a more prototypical bird.

As Large Language Models (LLMs) increasingly demonstrate human-like reasoning capabilities, understanding their internal conceptual structures becomes vital. Are LLMs following a symbolic-like taxonomy, or are they performing vector similarity calculations in their embedding space? This research explores whether LLMs rely on strict hierarchies or fuzzy conceptual similarities when performing property inheritance.

Conceptual overview of taxonomic versus similarity-based relations in property inheritance tasks for language models.

Experimental Methodology

To investigate these mechanisms, the researchers employed a two-pronged approach involving four instruction-tuned models: Mistral-7B, Gemma-2 (2B and 9B), and Llama-3-8B.

1. Behavioral Analysis

The models were prompted with "nonce" properties—invented words like daxable or feps—to ensure that responses were based on reasoning rather than the retrieval of memorized facts. The study measured the probability of a model affirming an inheritance relationship based on two distinct similarity metrics:

  • Word-Sense Similarity: Derived from distributional context in text.
  • SPoSE Similarity: Based on human behavioral judgments regarding how objects look or feel.

2. Mechanistic Interpretability (Causal Analysis)

To look "under the hood," the team used Boundless Distributed Alignment Search (DAS). This technique identifies specific "subspaces" within the model's high-dimensional activation space responsible for specific behaviors. By "patching" or swapping these internal activations between different inputs, the researchers could causally determine if specific internal representations were dedicated to taxonomic or similarity-based logic.

Key Findings: The Entanglement of Taxonomy and Similarity

The most significant discovery is that taxonomy and similarity are not separate, modular processes within LLMs. Instead, they are fundamentally entangled. When researchers isolated the internal subspace responsible for taxonomic reasoning, they found it was simultaneously sensitive to similarity.

Average probability of property inheritance across four models. Results are categorized by taxonomic relationship (+/- Tax) and conceptual similarity (+/- Sim) using Word-Sense and SPoSE metrics. Dashed lines indicate chance level (0.5).
  • Taxonomic Sensitivity (TS): Models showed high sensitivity (0.79 to 0.90), generally correctly identifying that members should inherit traits from parent categories.
  • Graded Behavior: LLMs do not treat all category members equally. Like humans, they are significantly more likely to project a property to a "typical" member (high similarity) than an "atypical" one, even when both belong to the same taxonomic category.
  • Similarity Dominance: In scenarios where taxonomy and similarity conflicted, the models' internal logic tended to lean more heavily on similarity metrics.

Localization and Directionality

Causal analysis revealed that property inheritance logic is not distributed uniformly. It typically crystallizes in the middle-to-late layers of the models (e.g., layers 10-20 in Gemma) and is specifically localized at the position of the final token in a prompt. Furthermore, models exhibited a "logical" directionality, showing higher accuracy when projecting from a general category to a specific member (dogs → corgis) than the reverse.

Conclusion

This study demonstrates that LLMs organize conceptual knowledge in a way that mirrors the complexity of human psychology, where strict categories and fuzzy similarities coexist and interact. While the current research focused on concrete objects from the THINGS and WordNet datasets, future work is needed to determine if this "entanglement" persists in abstract concepts or ad-hoc categories. These insights not only clarify how LLMs process information but also offer new avenues for psycholinguistic research into human conceptual structures.

Summary updated

BibTeX
@inproceedings{rodriguez2025characterizing,
  author = {Juan Diego Rodriguez and Aaron Mueller and Kanishka Misra},
  title = {{Characterizing the Role of Similarity in the Property Inferences of Language Models}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=JDD7nSe96W},
}
Figure