Simple recurrent networks learn context-free and context-sensitive languages by counting. Rodriguez, P. Neural Comput, 13(9):2093-118, 2001. doi abstract bibtex It has been shown that if a recurrent neural network (RNN) learns to process a regular language, one can extract a finite-state machine (FSM) by treating regions of phase-space as FSM states. However, it has also been shown that one can construct an RNN to implement Turing machines by using RNN dynamics as counters. But how does a network learn languages that require counting? Rodriguez, Wiles, and Elman (1999) showed that a simple recurrent network (SRN) can learn to process a simple context-free language (CFL) by counting up and down. This article extends that to show a range of language tasks in which an SRN develops solutions that not only count but also copy and store counting information. In one case, the network stores information like an explicit storage mechanism. In other cases, the network stores information more indirectly in trajectories that are sensitive to slight displacements that depend on context. In this sense, an SRN can learn analog computation as a set of interdependent counters. This demonstrates how SRNs may be an alternative psychological model of language or sequence processing.
@Article{Rodriguez2001,
author = {Paul Rodriguez},
journal = {Neural Comput},
title = {Simple recurrent networks learn context-free and context-sensitive languages by counting.},
year = {2001},
number = {9},
pages = {2093-118},
volume = {13},
abstract = {It has been shown that if a recurrent neural network (RNN) learns
to process a regular language, one can extract a finite-state machine
(FSM) by treating regions of phase-space as FSM states. However,
it has also been shown that one can construct an RNN to implement
Turing machines by using RNN dynamics as counters. But how does a
network learn languages that require counting? Rodriguez, Wiles,
and Elman (1999) showed that a simple recurrent network (SRN) can
learn to process a simple context-free language (CFL) by counting
up and down. This article extends that to show a range of language
tasks in which an SRN develops solutions that not only count but
also copy and store counting information. In one case, the network
stores information like an explicit storage mechanism. In other cases,
the network stores information more indirectly in trajectories that
are sensitive to slight displacements that depend on context. In
this sense, an SRN can learn analog computation as a set of interdependent
counters. This demonstrates how SRNs may be an alternative psychological
model of language or sequence processing.},
doi = {10.1162/089976601750399326},
keywords = {Models, Neurological, Neural Networks (Computer), Programming Languages, Support, Non-U.S. Gov't, 11516359},
}
Downloads: 0
{"_id":"C83wHAmvoqn8vqHyn","bibbaseid":"rodriguez-simplerecurrentnetworkslearncontextfreeandcontextsensitivelanguagesbycounting-2001","author_short":["Rodriguez, P."],"bibdata":{"bibtype":"article","type":"article","author":[{"firstnames":["Paul"],"propositions":[],"lastnames":["Rodriguez"],"suffixes":[]}],"journal":"Neural Comput","title":"Simple recurrent networks learn context-free and context-sensitive languages by counting.","year":"2001","number":"9","pages":"2093-118","volume":"13","abstract":"It has been shown that if a recurrent neural network (RNN) learns to process a regular language, one can extract a finite-state machine (FSM) by treating regions of phase-space as FSM states. However, it has also been shown that one can construct an RNN to implement Turing machines by using RNN dynamics as counters. But how does a network learn languages that require counting? Rodriguez, Wiles, and Elman (1999) showed that a simple recurrent network (SRN) can learn to process a simple context-free language (CFL) by counting up and down. This article extends that to show a range of language tasks in which an SRN develops solutions that not only count but also copy and store counting information. In one case, the network stores information like an explicit storage mechanism. In other cases, the network stores information more indirectly in trajectories that are sensitive to slight displacements that depend on context. In this sense, an SRN can learn analog computation as a set of interdependent counters. This demonstrates how SRNs may be an alternative psychological model of language or sequence processing.","doi":"10.1162/089976601750399326","keywords":"Models, Neurological, Neural Networks (Computer), Programming Languages, Support, Non-U.S. Gov't, 11516359","bibtex":"@Article{Rodriguez2001,\n author = {Paul Rodriguez},\n journal = {Neural Comput},\n title = {Simple recurrent networks learn context-free and context-sensitive languages by counting.},\n year = {2001},\n number = {9},\n pages = {2093-118},\n volume = {13},\n abstract = {It has been shown that if a recurrent neural network (RNN) learns\n\tto process a regular language, one can extract a finite-state machine\n\t(FSM) by treating regions of phase-space as FSM states. However,\n\tit has also been shown that one can construct an RNN to implement\n\tTuring machines by using RNN dynamics as counters. But how does a\n\tnetwork learn languages that require counting? Rodriguez, Wiles,\n\tand Elman (1999) showed that a simple recurrent network (SRN) can\n\tlearn to process a simple context-free language (CFL) by counting\n\tup and down. This article extends that to show a range of language\n\ttasks in which an SRN develops solutions that not only count but\n\talso copy and store counting information. In one case, the network\n\tstores information like an explicit storage mechanism. In other cases,\n\tthe network stores information more indirectly in trajectories that\n\tare sensitive to slight displacements that depend on context. In\n\tthis sense, an SRN can learn analog computation as a set of interdependent\n\tcounters. This demonstrates how SRNs may be an alternative psychological\n\tmodel of language or sequence processing.},\n doi = {10.1162/089976601750399326},\n keywords = {Models, Neurological, Neural Networks (Computer), Programming Languages, Support, Non-U.S. Gov't, 11516359},\n}\n\n","author_short":["Rodriguez, P."],"key":"Rodriguez2001","id":"Rodriguez2001","bibbaseid":"rodriguez-simplerecurrentnetworkslearncontextfreeandcontextsensitivelanguagesbycounting-2001","role":"author","urls":{},"keyword":["Models","Neurological","Neural Networks (Computer)","Programming Languages","Support","Non-U.S. Gov't","11516359"],"metadata":{"authorlinks":{}}},"bibtype":"article","biburl":"https://endress.org/publications/ansgar.bib","dataSources":["xPGxHAeh3vZpx4yyE","TXa55dQbNoWnaGmMq"],"keywords":["models","neurological","neural networks (computer)","programming languages","support","non-u.s. gov't","11516359"],"search_terms":["simple","recurrent","networks","learn","context","free","context","sensitive","languages","counting","rodriguez"],"title":"Simple recurrent networks learn context-free and context-sensitive languages by counting.","year":2001}