Exploring BERT's Sensitivity to Lexical Cues using Tests from Semantic Priming

Kanishka Misra, Allyson Ettinger, Julia Taylor Rayz
10/6/2020
cs.CL

Official code: kanishkamisra/emnlp-bert-priming (1 star, R, MIT, last commit 2020-10-18).

Abstract

Models trained to estimate word probabilities in context have become ubiquitous in natural language processing. How do these models use lexical cues in context to inform their word probabilities?

Show full abstract

To answer this question, we present a case study analyzing the pre-trained BERT model with tests informed by semantic priming. Using English lexical stimuli that show priming in humans, we find that BERT too shows "priming," predicting a word with greater probability when the context includes a related word versus an unrelated one. This effect decreases as the amount of information provided by the context increases. Follow-up analysis shows BERT to be increasingly distracted by related prime words as context becomes more informative, assigning lower probabilities to related words. Our findings highlight the importance of considering contextual constraint effects when studying word prediction in these models, and highlight possible parallels with human processing.

View on arXivView PDF

Code Implementations(1)

MIT

Cleaned repository of our code and analysis of the paper "BERT as a Semantic Priming Subject: Exploring BERT's use of Lexical Cues to Inform Word Probabilities in Context"

10R, PythonJun 2, 20206 years agoMIT

Similar Papers

Cite this paper

@article{misra2020exploring,
  title  = {Exploring BERT's Sensitivity to Lexical Cues using Tests from Semantic Priming},
  author = {Kanishka Misra and Allyson Ettinger and Julia Taylor Rayz},
  year   = {2020},
  eprint = {2010.03010},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.03010}
}

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/2010.03010.svg)](https://codeofpaper.com/paper/2010.03010)

Discussion