arXiv (Cornell University) · 2019 · 50 citations · 18 references
ComputingComputer ScienceLinguisticsComputational LinguisticsMachine LearningNatural Language ProcessingDeep LearningGrammarLanguage ModelingNumber AgreementSyntactic AnalysisSyntactic ProcessingDistance InformationGrammatical EncodingHierarchical Network StructureLanguage Processing ModelsNeural Language ModelsRecurrent Neural Language ModelsRecurrent Neural Network Language ModelsSyntactic Knowledge
Recent work has shown that LSTMs trained on a generic language modeling objective capture syntax-sensitive generalizations such as long-distance number agreement. We have however no mechanistic understanding of how they accomplish this remarkable feat. Some have conjectured it depends on heuristics that do not truly take hierarchical structure into account. We present here a detailed study of the inner mechanics of number tracking in LSTMs at the single neuron level. We discover that long-distance number information is largely managed by two `number units'. Importantly, the behaviour of these units is partially controlled by other units independently shown to track syntactic structure. We conclude that LSTMs are, to some extent, implementing genuinely syntactic processing mechanisms, paving the way to a more general understanding of grammatical encoding in LSTMs.
18
Sepp Hochreiter, Jürgen Schmidhuber · Neural Computation · 1997 · 98.1K citations
Visualizing and Understanding Neural Models in NLP
Jiwei Li, Xinlei Chen, Eduard Hovy et al. · 2016 · 544 citations · Full text
Targeted Syntactic Evaluation of Language Models
Rebecca Marvin, Tal Linzen · 2018 · 359 citations · Full text