TL;DR
Large Language Models (LLMs) exhibit structural priming—the tendency to repeat grammatical patterns they have recently processed—mirroring human behavior. However, this paper reveals that LLM priming is highly skewed and heavily driven by surface-level lexical cues (especially function words), though they do successfully replicate human-like "inverse frequency effects" where rarer, more surprising structures trigger stronger priming.
What Problem Does This Paper Address?
When humans read or hear a sentence with a specific grammatical structure (e.g., a Double Object dative like "The girl gave the boy the ball"), they become significantly more likely to use that same structure in subsequent speech. This psycholinguistic phenomenon is known as structural priming.
While recent studies show that LLMs also demonstrate structural priming as a form of "in-context learning," we still don't fully understand the underlying mechanisms. Do LLMs prime because they genuinely understand abstract syntax, or are they just reacting to surface-level word repetition? This paper investigates how, where (at a token level), and why structural priming occurs across a variety of modern LLMs, comparing their behavior directly to human corpus data.
Methods
The authors employ two primary metrics to analyze priming in auto-regressive LLMs:
- Sentence-level Priming Effect (s-PE): Measures the difference in the model's log probability for a target sentence when it is preceded by a structurally identical (congruent) prime versus an incongruent prime.
- Token-level Priming Effect (w-PE): A novel metric introduced in this paper that decomposes the sentence-level score to show the exact contribution of each individual token. This allows the authors to pinpoint precisely where a model's structural expectations shift.
Finally, they fit Linear Mixed Effects Models (LMMs) to perform a regression analysis, testing which factors (such as semantic similarity, lexical overlap, surprisal, and verb preferences) best predict the strength of the priming effect.
Datasets
The study utilizes dative constructions from the Prime-LM corpus, evaluating alternative structures: Prepositional Object (PO) vs. Double Object (DO). They evaluate across three primary conditions:
- Core: A baseline condition featuring zero lexical overlap or semantic association between the prime and target sentences.
- Semantic Similarity: Sentences containing words with explicit semantic relationships (calculated via human association norms or embedding cosine similarity).
- Lexical Overlap: Conditions where specific word classes (nouns, verbs, determiners, or prepositions) are repeated exactly between the prime and target.
Key Insights and Ideas
- The Baseline Skew: In the baseline (Core) condition, LLM priming is highly asymmetric and negatively correlated. Models strongly favor one structure over the other, which stands in stark contrast to human behavior where priming is generally positive for both structures.
- Lexical Overlap Balances the Model: When exact word repetition is introduced, the models shift dramatically into a "balanced priming" regime. Repeating the verb or even just function words pushes the models to behave much more robustly.
- Function Words Matter (Unlike in Humans): In human psycholinguistics, repeating function words (like the or to) doesn't impact structural priming. For LLMs, however, prepositional and determiner overlap are among the strongest predictors of priming, indicating that LLMs rely heavily on local lexical anchors to navigate syntax.
- Human-like Inverse Frequency Effects: Strikingly, LLMs mirror the human "inverse frequency effect." If a prime sentence has high surprisal (is rare/unexpected) or uses a verb in its non-preferred structure, the subsequent priming effect is significantly boosted. This proves that LLMs are tracking implicit structural expectations rather than just performing simple n-gram repetition.
Key Results
- In the baseline Core condition, only 26% to 38% of sentence pairs achieved positive priming in both directions due to the heavy structural skew of the models.
- Token-level tracking revealed that the priming effects for PO and DO sentences are perfectly inversely proportional up until the point of structural divergence (the second noun, $N_2$), after which the true structural alignment takes over.
- The regression analysis (LMM) showed that lexical overlap is the single strongest predictor of priming behavior (with coefficients reaching up to ~1.64), followed closely by prime surprisal and verb structural preference, all proving highly statistically significant ($p < 10^{-3}$).
Limitations and Future Work
- Syntactic Scope: The study is strictly limited to English dative alternations (PO vs. DO). Further work is required to see if these token-level insights hold true for other syntactic structures (like active vs. passive voice) or other languages.
- Comprehension vs. Production: The priming metric here evaluates sentence probabilities (a proxy for comprehension) rather than open-ended text generation (production).
- Model Scale and Alignment: While the authors evaluated 8 models (including GPT-2, Llama-2, Falcon, Mistral, and Zephyr), the sample size is too small to confidently isolate how model size or specific alignment techniques (like RLHF or DPO) systematically alter priming dynamics.
Summary updated