@article{bernardy-2018-recurrent,
title = "Can Recurrent Neural Networks Learn Nested Recursion?",
author = "Bernardy, Jean-Phillipe",
journal = "Linguistic Issues in Language Technology",
volume = "16",
month = jul,
year = "2018",
publisher = "CSLI Publications",
url = "https://aclanthology.org/2018.lilt-16.1",
abstract = "Context-free grammars (CFG) were one of the first formal tools used to model natural languages, and they remain relevant today as the basis of several frameworks. A key ingredient of CFG is the presence of nested recursion. In this paper, we investigate experimentally the capability of several recurrent neural networks (RNNs) to learn nested recursion. More precisely, we measure an upper bound of their capability to do so, by simplifying the task to learning a generalized Dyck language, namely one composed of matching parentheses of various kinds. To do so, we present the RNNs with a set of random strings having a given maximum nesting depth and test its ability to predict the kind of closing parenthesis when facing deeper nested strings. We report mixed results: when generalizing to deeper nesting levels, the accuracy of standard RNNs is significantly higher than random, but still far from perfect. Additionally, we propose some non-standard stack-based models which can approach perfect accuracy, at the cost of robustness.",
}
Markdown (Informal)
[Can Recurrent Neural Networks Learn Nested Recursion?](https://aclanthology.org/2018.lilt-16.1) (Bernardy, LILT 2018)
ACL