Do Language Models Exhibit Human-like Structural Priming Effects?
Abstract
Large Language Models (LLMs) are increasingly scrutinized for their ability to replicate human-like cognitive processes. This study investigates whether LLMs exhibit structural priming—the tendency to repeat grammatical structures—and whether this behavior is driven by the same mechanisms found in humans, such as the lexical boost and the inverse frequency effect. By analyzing several modern LLMs using novel token-level metrics, the researchers find that while models do mirror certain human-like priming patterns, their underlying statistical biases often diverge from human linguistic preferences.
Introduction
Structural priming is a well-documented psychological phenomenon: if a human hears a sentence with a specific structure (the "prime"), they are statistically more likely to use that same structure in their next sentence (the "target"). For example, after hearing a Double Object (DO) construction like "The girl gave the boy the ball," a person is more likely to say "The baker gave the lady the cake" instead of the Prepositional Object (PO) alternative, "The baker gave the cake to the lady."
While LLMs are known for their "in-context learning" capabilities, it has been unclear if their behavior reflects human-like linguistic processing. This study explores whether LLMs show a "lexical boost" (stronger priming when words are shared) and the "inverse frequency effect" (stronger priming for rare structures) to determine if their structural predictions are driven by the same abstract linguistic factors found in human language production.
Methods
The researchers employed a structural priming paradigm across several modern LLMs, including GPT-2, Llama-2, Falcon, and Mistral. They utilized the Prime-LM corpus, focusing on dative alternations (PO vs. DO), and introduced two primary metrics:
- Sentence-level Priming Effect (s-PE): The difference in the log probability of a target sentence when preceded by a congruent prime versus an incongruent one.
- Token-level Priming Effect (w-PE): A novel metric that decomposes the s-PE to show exactly where in a sentence the priming effect is strongest.
To isolate the causes of priming, they used Linear Mixed Effects Models (LMMs) to statistically weigh factors like surprisal (unexpectedness), lexical overlap (shared words), and structural preference (verb-specific biases).
Key Insights and Ideas
- The Inverse Frequency Effect is Real in LLMs: Models are more heavily primed by "surprising" sentences. If a prime is rare according to the model's internal statistics, it exerts a much stronger influence on the subsequent target's structure. This is evidenced by the negative correlation between PO and DO priming effects.
- Function Words Matter More than Expected: In humans, sharing content words (like verbs) usually provides the biggest priming boost. However, LLMs show a massive "lexical boost" from sharing function words like to or the, suggesting models rely heavily on local lexical cues to navigate structural choices.
Key Results
- Priming "Kicks In" at Divergence: Using the w-PE metric, the authors found that priming effects are negligible until the sentence reaches the point of structural divergence—the exact moment where the word order must change to accommodate one structure over the other. As shown in Figure 1, lexical overlap in nouns, prepositions, or determiners significantly amplifies these effects compared to the "Core" condition.
- Model Size and Skew: Newer, larger models (like Llama-2 and Mistral) showed more skewed and asymmetrical priming behavior in the "Core" condition compared to GPT-2, though they were also more susceptible to lexical boosting.
- Human Alignment: While models show human-like mechanisms (like inverse frequency), their actual structural preferences (which verbs they prefer in which structure) showed low correlation with human data, suggesting they learn different statistical biases from their training corpora.
Limitations and Future Work
The study is primarily limited to English dative constructions. Future work should investigate if these effects hold for more complex structures or in morphologically rich languages with flexible word order. Additionally, exploring how "instruction tuning" specifically alters these deep-seated linguistic biases remains a key area for further research.
Summary updated