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

09/23/2019
by   Grusha Prasad, et al.
0

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. 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.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset