Do language models learn typicality judgments from text?

Kanishka Misra, Allyson Ettinger, Julia Taylor Rayz

TL;DR

This paper investigates whether large language models (LLMs), trained solely on text, can learn human-like "typicality judgments" – the intuition that some members of a category are more representative than others (e.g., a robin is a more typical bird than a penguin). While LLMs show some modest ability to mimic these judgments, they are consistently less extreme than humans, suggesting that text alone is insufficient for acquiring this nuanced aspect of conceptual knowledge.

What Problem Does This Paper Address?

Cognitive science has long established that human understanding of categories isn't just about membership, but also about "typicality." For instance, we intuitively know that a robin is a more "prototypical" bird than a penguin. This phenomenon significantly impacts how humans process information, learn new concepts, and make inferences. Recent advances in Natural Language Processing (NLP) have shown that LLMs, trained on vast amounts of text, can acquire impressive amounts of world knowledge, including categorical and conceptual information. However, it remains an open question whether this text-based learning extends to the more subtle aspect of typicality. This paper aims to bridge this gap by testing whether LLMs, without explicit human-like experience or grounding, can learn and exhibit typicality effects in their predictions.

Methods

The researchers designed two experiments to probe LLMs' understanding of typicality, inspired by classic human psychology experiments:

  1. Taxonomic Sentence Verification: This experiment tests if LLMs assign higher probabilities to sentences that reflect typical category members. For example, given the prompt "An X is a bird," the model's probability for "bird" should be higher when X is a typical bird (like a robin) compared to an atypical one (like a penguin). They measured this by calculating the correlation between LM log-probabilities and human typicality ratings.
  2. Category-Based Induction: This experiment assesses if LLMs can extend new information about an item to its category in a way that's sensitive to the item's typicality. Inspired by studies where people are more likely to generalize a property from a typical category member, the researchers tested if LLMs would assign higher probabilities to conclusions when the premise involved a typical item. They developed a metric called "Adjusted AS" (Argument Strength) to quantify this, controlling for potential confounds like simple word repetition.

They tested various transformer-based LLMs, including GPT, GPT2, ALBERT, ELECTRA, BERT, and RoBERTa, as well as compressed versions and a baseline 5-gram language model.

Datasets

The primary dataset used for human typicality ratings was compiled by Rosch (1975), containing 565 item-typicality ratings across 10 categories (e.g., furniture, birds, tools). These ratings were collected from human participants who rated items on a scale of 1 (most typical) to 7 (least typical). For the category-based induction experiment, the researchers created synthetic "blank predicates" (nonce words like "dax," "wugs") to ensure the LLMs couldn't rely on pre-existing knowledge of specific properties, mimicking human experimental setups.

Key Insights and Ideas

  • Modest but Present Typicality: LLMs do exhibit some sensitivity to typicality, showing a non-trivial correspondence with human judgments in both taxonomic verification and inductive reasoning tasks.
  • Less Extreme Than Humans: A significant finding is that LLMs are consistently less extreme in their typicality judgments compared to humans. They don't differentiate as sharply between highly typical and highly atypical examples.
  • Textual Input Limitations: The results strongly suggest that relying solely on textual input, even from massive corpora, is insufficient for LLMs to fully acquire the nuanced understanding of typicality that humans possess.
  • Simpler Models Show Surprising Competitiveness: The baseline 5-gram language model, which relies on simpler n-gram statistics, showed surprisingly competitive results, especially in taxonomic verification. This indicates that a portion of the observed typicality effects in LLMs might be attributable to basic sequential statistical patterns rather than deep conceptual understanding.
  • Model Size and Typicality: In taxonomic verification, larger models tended to show better correspondence with human typicality ratings, suggesting that more expressive models are needed for this task. However, this trend was not observed in the category-based induction experiment, implying that typicality effects in inductive reasoning might be less dependent on sheer model size.

Key Results

  • Taxonomic Verification: Spearman correlations (ρ) between LM log-probabilities and human typicality ratings ranged from 0.24 to 0.41 (p < .001), indicating a moderate but significant link. LLMs consistently assigned higher probabilities to typical category members, but their scaled typicality scores were less extreme than humans.
  • Category-Based Induction: Similar moderate positive correlations (ρ ∈ [0.27, 0.45], p < .001) were found for the adjusted AS scores and human typicality ratings. LLMs showed a tendency to extend information from typical premise items more readily, but again, their responses were less extreme than human behavior.

Limitations and Future Work

The authors acknowledge that their findings suggest text-based exposure alone is insufficient for acquiring typicality knowledge. They highlight that LLMs' word prediction capacities, while powerful, may not fully capture the richness of human semantic cognition, especially when it comes to perceptual or semi-perceptual features that are learned through multimodal experiences.

Future work could explore:

  • Correcting for Textual Distortions: Developing methods to account for the potentially skewed representation of typicality in textual corpora.
  • Grounded Knowledge Integration: Incorporating features from more grounded sources of knowledge, such as visual input or explicit conceptual representations, to better align LLMs with human typicality ratings.
  • Adapting Representations: Letting LLMs adapt their representations to texts that explicitly encode conceptual and categorical knowledge.
  • Fine-grained Analysis: Further investigating specific language modeling factors that influence typicality correspondence.

Summary updated

BibTeX
@inproceedings{misra2021do,
  author = {Kanishka Misra and Allyson Ettinger and Julia Taylor Rayz},
  title = {{Do language models learn typicality judgments from text?}},
  booktitle = {CogSci},
  year = {2021},
  url = {https://openreview.net/forum?id=VzPFfoVfUP},
}

Loading related content...

Figure