Abstract
Kanishka Misra, Allyson Ettinger, Julia Rayz. Findings of the Association for Computational Linguistics: EMNLP 2020.
2020.
Introduction
Large Language Models (LLMs) like BERT have revolutionized NLP by predicting masked words based on context. However, the specific cues these models prioritize remain largely opaque. In cognitive science, "semantic priming" describes how humans recognize words faster when preceded by related concepts (e.g., "doctor" priming "nurse"). This study investigates whether BERT exhibits similar lexical sensitivities and how these interactions change as the surrounding sentence context becomes more predictable.
Methodology
The researchers adapted psycholinguistic experimental setups to evaluate BERT-base and BERT-large.
Measuring Priming
Instead of human reaction times, the study uses Surprisal (negative log probability). Facilitation is defined as the increase in a target word's probability when preceded by a related prime compared to an unrelated one.
Contextual Constraint
"Constraint" measures sentence predictability based on the probability of its most likely completion. Low-constraint sentences (e.g., "He lost the [MASK]") allow many completions, while high-constraint sentences (e.g., "She opened the door using a [MASK]") are highly predictable.
Experimental Scenarios
- WORD: The prime word is prepended directly (e.g., "[CLS] airplane. I wanted to become a [MASK].").
- SENTENCE: The prime is placed in a neutral carrier (e.g., "[CLS] The next word is airplane. I wanted to become a [MASK].").
The study utilized 2,112 triples from the Semantic Priming Project (SPP) and naturally occurring target sentences from the ROCStories Corpus.
Key Results
BERT demonstrates significant priming in neutral or low-constraint contexts. However, as sentence constraint increases, the influence of the prime word diminishes sharply.
As shown in Figure 2, facilitation (measured in bits) is highest when constraint is near zero. As the sentence provides more information, the model relies less on the external lexical cue.
The Distraction Effect
A critical finding is the "distraction effect." In highly constrained sentences, a related prime can actually decrease the model's accuracy. For instance, if the target is "bacon" and the prime is "pork," BERT may become "distracted" by the prime and prioritize other pork-related words (like "eggs") over the actual target.
Figure 3 illustrates this transition: as constraint increases, the proportion of instances where the prime helps (F > 0) drops, eventually falling below the 50% threshold where the majority of related words act as distractors rather than primes.
Relational Preferences
BERT's sensitivity varies by the type of lexical relationship. The model is most responsive to synonyms, antonyms, and category members, while it shows less sensitivity to "functional properties" (e.g., "bell" priming "ring").
Conclusion
While BERT mimics human-like semantic priming in unconstrained settings, its reliance on these cues is highly conditional. The emergence of the distraction effect in predictable contexts highlights a specific architectural quirk of masked language models that differs from human cognitive processing. Future research should explore how these dynamics manifest in autoregressive models like GPT.
Summary updated