A Recurrent Neural Network that Learns to Count
Open accessThe DOI matches its Crossref record; 24 of the 24 references it cites were found in a registry or an index.
Abstract
Parallel distributed processing (PDP) architectures demonstrate a potentially radical alternative to the traditional theories of language processing that are based on serial computational models. However, learning complex structural relationships in temporal data presents a serious challenge to PDP systems. For example, automata theory dictates that processing strings from a context-free language (CFL) requires a stack or counter memory device. While some PDP models have been hand-crafted to emulate such a device, it is not clear how a neural network might develop such a device when learning a CFL. This research employs standard backpropagation training techniques for a recurrent neural network (RNN) in the task of learning to predict the next character in a simple deterministic CFL (DCFL). We show that an RNN can learn to recognize the structure of a simple DCFL. We use dynamical systems theory to identify how network states reflect that structure by building counters in phase space. The work is an empirical investigation which is complementary to theoretical analyses of network capabilities, yet original in its specific configuration of dynamics involved. The application of dynamical systems theory helps us relate the simulation results to theoretical results, and the learning task enables us to highlight some issues for understanding dynamical systems that process language with counters.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Learning Internal Representations by Error Propagation
Rumelhart, D. E., Hinton, G. E., & Williams, R. J. (1985) · doi:10.21236/ada164453 · Cited by 16,172
Introduction to automata theory, languages and computation
(1981) · Mathematics and Computers in Simulation · doi:10.1016/0378-4754(81)90068-9 · Cited by 10,699
Introduction to Applied Nonlinear Dynamical Systems and Chaos
Wiggins, S., & Mazel, D. S. (1990) · Computers in Physics · doi:10.1063/1.4822950 · Cited by 3,780
Distributed representations, simple recurrent networks, and grammatical structure
Elman, J. L. (1991) · Machine Learning · doi:10.1007/bf00114844 · Cited by 1,354
Self-citationAttention and Performance XII: The Psychology of Reading
Coltheart, M. (1987) · Cited by 1,195
Dynamical Systems: Stability, Symbolic Dynamics, and Chaos
Robinson, C. (1994) · Cited by 1,012
The induction of dynamical recognizers
Pollack, J. B. (1991) · Machine Learning · doi:10.1007/bf00114845 · Cited by 294
Experimental Analysis of the Real-time Recurrent Learning Algorithm
WILLIAMS, R. J., & ZIPSER, D. (1989) · Connection Science · doi:10.1080/09540098908915631 · Cited by 292 · cited 1×
“It has also been shown that an RNN can implement FSM computations, such as push± pop transitions for a PDA (Sun et al., 1990) and the read/ write /shift transitions for a Turing machine (Cottrell & Tsung, 1993; Williams & Zipser, 1989).”
MethodComputational complexity and natural language
Barton, G., Berwick, R. C., & Ristad, E. S. (1987) · Cumulative Index of Computer Aided Architectural Design · Cited by 283
The Case for Interactionism in Language Processing
McClelland, J. L. (1987) · doi:10.21236/ada204521 · Cited by 203
Cited by
Deep learning in neural networks: an overview
Schmidhuber, J. (2015) · Neural Networks · doi:10.1016/j.neunet.2014.09.003 · Cited by 18,570
Deep Learning for Hyperspectral Image Classification: An Overview
Li, S., Song, W., Fang, L., Chen, Y., Ghamisi, P., & Benediktsson, J. A. (2019) · IEEE Transactions on Geoscience and Remote Sensing · doi:10.1109/tgrs.2019.2907932 · Cited by 2,007
“RNNs were originally introduced in [39] and [40].”
MethodDeep Recurrent Neural Networks for Hyperspectral Image Classification
Mou, L., Ghamisi, P., & Zhu, X. X. (2017) · IEEE Transactions on Geoscience and Remote Sensing · doi:10.1109/tgrs.2016.2636241 · Cited by 1,383
Deep Learning for Anomaly Detection: A Survey
Chalapathy, R., & Chawla, S. (2019) · arXiv · doi:10.48550/arxiv.1901.03407 · Cited by 1,240
“…network (DBN) (Salakhutdinov and Larochelle [2010]), generalized denoising autoencoders (Vincent et al. [2008]) , recurrent neural network (RNN) (Rodriguez et al. [1999]) Long short term memory networks (Lample et al. [2016]) which are used to detect outliers are discussed in detail in Section…”
BackgroundInfluentialRecurrent Network Models for Human Dynamics
Fragkiadaki, K., Levine, S., Felsen, P., & Malik, J. (2015) · 2015 IEEE International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2015.494 · Cited by 860
More than words: Frequency effects for multi-word phrases
Arnon, I., & Snider, N. (2010) · Journal of Memory and Language · doi:10.1016/j.jml.2009.09.005 · Cited by 791
Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependencies
Linzen, T., Dupoux, E., & Goldberg, Y. (2016) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl_a_00115 · Cited by 737
LSTM recurrent networks learn simple context-free and context-sensitive languages
Gers, F. A., & Schmidhuber, E. (2001) · IEEE Transactions on Neural Networks · doi:10.1109/72.963769 · Cited by 722
Dynamical approaches to cognitive science
Beer, R. D. (2000) · Trends in Cognitive Sciences · doi:10.1016/s1364-6613(99)01440-0 · Cited by 639
An alternative view of the mental lexicon
Elman, J. L. (2004) · Trends in Cognitive Sciences · doi:10.1016/j.tics.2004.05.003 · Cited by 483
Self-citationOn the Meaning of Words and Dinosaur Bones: Lexical Knowledge Without a Lexicon
Elman, J. L. (2009) · Cognitive Science · doi:10.1111/j.1551-6709.2009.01023.x · Cited by 446
Self-citationBorovsky, A., Elman, J. L., & Fernald, A. (2012) · Journal of Experimental Child Psychology · doi:10.1016/j.jecp.2012.01.005 · Cited by 322
Self-citationLiu, Q., Zhou, F., Hang, R., & Yuan, X. (2017) · Remote Sensing · doi:10.3390/rs9121330 · Cited by 318
Hyperspectral image classification using spectral-spatial LSTMs
Zhou, F., Hang, R., Liu, Q., & Yuan, X. (2019) · Neurocomputing · doi:10.1016/j.neucom.2018.02.105 · Cited by 246
What artificial grammar learning reveals about the neurobiology of syntax
Petersson, K.-M., Folia, V., & Hagoort, P. (2012) · Brain and Language · doi:10.1016/j.bandl.2010.08.003 · Cited by 198
Compositionality Decomposed: How do Neural Networks Generalise?
Hupkes, D., Dankers, V., Mul, M., & Bruni, E. (2020) · Journal of Artificial Intelligence Research · doi:10.1613/jair.1.11674 · Cited by 194
Biological Foundations and Origin of Syntax
(2009) · The MIT Press eBooks · doi:10.7551/mitpress/9780262013567.001.0001 · Cited by 174
Rule Extraction from Recurrent Neural Networks: ATaxonomy and Review
Jacobsson, H. (2005) · Neural Computation · doi:10.1162/0899766053630350 · Cited by 174
“A brief (and most probably inconclusive) list of examples of other analysis tools that have been used on RNNs is: Hinton diagrams (e.g. Hinton 1990, Niklasson & Bod´en 1997), Hierarchical Cluster Analysis (e.g. Cleeremans, McClelland & Servan-Schreiber 1989, Elman 1990, Servan-Schreiber, Cleeremans & McClelland 1989,…”
BackgroundMarkovian Architectural Bias of Recurrent Neural Networks
Tino, P., Cernansky, M., & Benuskova, L. (2004) · IEEE Transactions on Neural Networks · doi:10.1109/tnn.2003.820839 · Cited by 172
“RNNS AND NEURAL PREDICTION MACHINES Besides discrete state models, like Markov models, continuous state models, such as RNNs, have been widely applied to sequence modeling tasks, e.g. [9], [18], [19], [25].”
MethodInferring Algorithmic Patterns with Stack-Augmented Recurrent Nets
Joulin, A., & Mikolov, T. (2015) · arXiv (Cornell University) · doi:10.48550/arxiv.1503.01007 · Cited by 165
“Rodriguez et al. (1999) further studied the behavior of this network.”
BackgroundMethodA deep-learning model for urban traffic flow prediction with traffic events mined from twitter
Essien, A., Petrounias, I., Sampaio, P., & Sampaio, S. (2021) · World Wide Web · doi:10.1007/s11280-020-00800-3 · Cited by 163
Security, Privacy, and Usability in Continuous Authentication: A Survey
Baig, A. F., & Eskeland, S. (2021) · Sensors · doi:10.3390/s21175967 · Cited by 98
“Moreover, each type of NN offers distinct advantages depending on applications, such as RNN performs well on image data, LSTM is suitable for time series data, and MLP has various applications in natural language processing (NLP) and speech recognition.”
BackgroundZhang, X., Sun, J., & Deng, Y. (2023) · Applied Artificial Intelligence · doi:10.1080/08839514.2023.2216051 · Cited by 87
Directed Acyclic Graph Neural Network for Human Motion Prediction
Li, Q., Chalvatzaki, G., Peters, J., & Wang, Y. (2021) · 2021 IEEE International Conference on Robotics and Automation (ICRA) · doi:10.1109/icra48506.2021.9561540 · Cited by 29
“A scalable model for casting an arbitrary spatio-temporal graph as a fully differentiable and jointly trainable RNN mixture was proposed by [16], while an RNN encoder-recursive decoder [9] combined representation learning with temporal dynamic modeling for feature extraction and prediction [33].”
Method
Metadata
- Authors
- RODRIGUEZ, P., WILES, J., & ELMAN, J. L.
- Venue
- Connection Science
- Publisher
- Informa UK Limited
- Published
- 1999-03
- Volume
- 11
- Issue
- 1
- Pages
- 5-40
- ISSN
- 0954-0091 (ISSN-L)
- 1360-0494
- OpenAlex
- W1972085588
- Cited by
- 241
- References
- 24
- FWCI
- 11.80
- Type
- journal article
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.