Skip to main content
QUICK REVIEW

[Paper Review] Language Models Can Learn Exceptions to Syntactic Rules

Cara Su-Yi Leong, Tal Linzen|arXiv (Cornell University)|Jun 6, 2023
Natural Language Processing TechniquesComputer Science3 citations
TL;DR

This paper investigates whether language models can learn exceptions to syntactic rules, focusing on English passivization. Using GPT-2 trained on a 100M-word corpus, the study shows that the model's probability scores closely match human acceptability judgments for unpassivizable verbs like 'last' and 'cost', and that relative frequency of active vs. passive usage correlates with passive drop—supporting the entrenchment hypothesis while suggesting additional cues are needed for full exceptionality.

ABSTRACT

Artificial neural networks can generalize productively to novel contexts. Can they also learn exceptions to those productive rules? We explore this question using the case of restrictions on English passivization (e.g., the fact that "The vacation lasted five days" is grammatical, but "*Five days was lasted by the vacation" is not). We collect human acceptability judgments for passive sentences with a range of verbs, and show that the probability distribution defined by GPT-2, a language model, matches the human judgments with high correlation. We also show that the relative acceptability of a verb in the active vs. passive voice is positively correlated with the relative frequency of its occurrence in those voices. These results provide preliminary support for the entrenchment hypothesis, according to which learners track and uses the distributional properties of their input to learn negative exceptions to rules. At the same time, this hypothesis fails to explain the magnitude of unpassivizability demonstrated by certain individual verbs, suggesting that other cues to exceptionality are available in the linguistic input.

Motivation & Objective

  • To investigate whether language models can learn exceptions to productive syntactic rules, such as the passive construction in English.
  • To evaluate whether GPT-2, trained only on next-word prediction, can replicate human-like gradience and exceptionality in acceptability judgments.
  • To test the entrenchment hypothesis by examining whether distributional frequency of active vs. passive constructions predicts model and human judgments.
  • To determine whether frequency alone explains the magnitude of passive drop for highly unpassivizable verbs like 'last' and 'cost'.

Proposed method

  • Collected human acceptability judgments for passive sentences with a range of verbs, including unpassivizable ones like 'last' and 'cost'.
  • Trained a GPT-2 model on a 100-million-word English corpus to generate probability scores for active and passive sentence pairs.
  • Compared model-generated probability scores to human acceptability judgments using correlation analysis.
  • Analyzed the training corpus to compute relative frequencies of active and passive constructions for each verb.
  • Computed the correlation between the model’s preference for active over passive and the verb’s relative frequency in active vs. passive in the corpus.
  • Used bootstrapped 95% confidence intervals to assess the reliability of model and human judgment correlations.

Experimental results

Research questions

  • RQ1Can language models like GPT-2 learn exceptions to productive syntactic rules, such as the passive construction, in a human-like manner?
  • RQ2To what extent does the relative frequency of a verb in active vs. passive constructions correlate with its acceptability in those voices?
  • RQ3Does the distributional frequency of verbs in the training corpus predict the model’s judgment of passive acceptability?
  • RQ4Are there factors beyond frequency that explain the magnitude of passive drop for highly unpassivizable verbs like 'last'?
  • RQ5Can altering the frequency of active and passive constructions in the training data causally affect a model’s prediction of passivizability?

Key findings

  • The GPT-2 model’s probability scores for passive sentences showed a high correlation with human acceptability judgments, indicating that the model learns exceptionality in a human-like way.
  • There was a weak but positive correlation between the relative frequency of a verb in active vs. passive constructions and the model’s preference for the active voice, supporting the entrenchment hypothesis.
  • The model successfully captured the gradience of unpassivizability, correctly identifying verbs like 'last' and 'cost' as highly unpassivizable, even without explicit negative feedback.
  • Despite the frequency correlation, the magnitude of passive drop for certain verbs like 'last' and 'cost' could not be fully explained by frequency alone, indicating additional cues are involved.
  • The study found that polysemy in verbs like 'take' can confound frequency-based analyses, as different senses may have divergent passive frequencies.
  • The results suggest that while distributional information is informative, it is insufficient to fully account for exceptionality, pointing to the need for additional semantic or distributional cues.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.