A Recurrent Neural Network that Learns to Count. Rodriguez, P., Wiles, J., & Elman, J. L Connection Science, 11(1):5–40, 1999.
abstract   bibtex   
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.
@Article{Rodriguez1999,
  author   = {Paul Rodriguez and Janet Wiles and Jeffrey L Elman},
  journal  = {Connection Science},
  title    = {A Recurrent Neural Network that Learns to Count},
  year     = {1999},
  number   = {1},
  pages    = {5--40},
  volume   = {11},
  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.},
}

Downloads: 0