Structural Persistence in Language Models: Priming as a Window into Abstract Language Representations

Arabella Sinclair, Jaap Jumelet, Willem Zuidema, Raquel Fernández
9/30/2021
cs.CL

Official code: dmg-illc/prime-lm (10 stars, Python, last commit 2022-11-04).

Abstract

We investigate the extent to which modern, neural language models are susceptible to structural priming, the phenomenon whereby the structure of a sentence makes the same structure more probable in a follow-up sentence. We explore how priming can be used to study the potential of these models to learn abstract structural information, which is a prerequisite for good performance on tasks that require natural language understanding skills.

Show full abstract

We introduce a novel metric and release Prime-LM, a large corpus where we control for various linguistic factors which interact with priming strength. We find that Transformer models indeed show evidence of structural priming, but also that the generalisations they learned are to some extent modulated by semantic information. Our experiments also show that the representations acquired by the models may not only encode abstract sequential structure but involve certain level of hierarchical syntactic information. More generally, our study shows that the priming paradigm is a useful, additional tool for gaining insights into the capacities of language models and opens the door to future priming-based investigations that probe the model's internal states.

View on arXivView PDF

Code Implementations(1)

dmg-illc/prime-lmOfficial100%

Code for the 2022 TACL paper "Structural Persistence in Language Models: Priming as a Window into Abstract Language Representations"

102PythonMay 16, 20224 years ago

Similar Papers

Cite this paper

@article{sinclair2021structural,
  title  = {Structural Persistence in Language Models: Priming as a Window into Abstract Language Representations},
  author = {Arabella Sinclair and Jaap Jumelet and Willem Zuidema and Raquel Fernández},
  year   = {2021},
  eprint = {2109.14989},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.14989}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.14989.svg)](https://codeofpaper.com/paper/2109.14989)

Discussion