English

LSTMs Exploit Linguistic Attributes of Data

Computation and Language 2019-04-09 v2

Abstract

While recurrent neural networks have found success in a variety of natural language processing applications, they are general models of sequential data. We investigate how the properties of natural language data affect an LSTM's ability to learn a nonlinguistic task: recalling elements from its input. We find that models trained on natural language data are able to recall tokens from much longer sequences than models trained on non-language sequential data. Furthermore, we show that the LSTM learns to solve the memorization task by explicitly using a subset of its neurons to count timesteps in the input. We hypothesize that the patterns and structure in natural language data enable LSTMs to learn by providing approximate ways of reducing loss, but understanding the effect of different training data on the learnability of LSTMs remains an open question.

Keywords

Cite

@article{arxiv.1805.11653,
  title  = {LSTMs Exploit Linguistic Attributes of Data},
  author = {Nelson F. Liu and Omer Levy and Roy Schwartz and Chenhao Tan and Noah A. Smith},
  journal= {arXiv preprint arXiv:1805.11653},
  year   = {2019}
}

Comments

7 pages, 4 figures; accepted to ACL 2018 RepL4NLP workshop

R2 v1 2026-06-23T02:12:29.784Z