Using Priming to Uncover the Organization of Syntactic Representations in Neural Language Models

Grusha Prasad, Marten van Schijndel, Tal Linzen
9/23/2019
cs.CL

Official code: grushaprasad/RNN-Priming (8 stars, Python, last commit 2020-07-24).

Abstract

Neural language models (LMs) perform well on tasks that require sensitivity to syntactic structure. Drawing on the syntactic priming paradigm from psycholinguistics, we propose a novel technique to analyze the representations that enable such success.

Show full abstract

By establishing a gradient similarity metric between structures, this technique allows us to reconstruct the organization of the LMs' syntactic representational space. We use this technique to demonstrate that LSTM LMs' representations of different types of sentences with relative clauses are organized hierarchically in a linguistically interpretable manner, suggesting that the LMs track abstract properties of the sentence.

View on arXivView PDF

Code Implementations(1)

83PythonSep 15, 20196 years ago

Similar Papers

Cite this paper

@article{prasad2019using,
  title  = {Using Priming to Uncover the Organization of Syntactic Representations in Neural Language Models},
  author = {Grusha Prasad and Marten van Schijndel and Tal Linzen},
  year   = {2019},
  eprint = {1909.10579},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.10579}
}

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

Discussion