## Neural Computation

May 15, 1996, Vol. 8, No. 4, Pages 675-696
(doi: 10.1162/neco.1996.8.4.675)
© 1996 Massachusetts Institute of Technology
Stable Encoding of Large Finite-State Automata in Recurrent Neural Networks with Sigmoid Discriminants
Article PDF (916.23 KB)
Abstract

We propose an algorithm for encoding deterministic finite-state automata (DFAs) in second-order recurrent neural networks with sigmoidal discriminant function and we prove that the languages accepted by the constructed network and the DFA are identical. The desired finite-state network dynamics is achieved by programming a small subset of all weights. A worst case analysis reveals a relationship between the weight strength and the maximum allowed network size, which guarantees finite-state behavior of the constructed network. We illustrate the method by encoding random DFAs with 10, 100, and 1000 states. While the theory predicts that the weight strength scales with the DFA size, we find empirically the weight strength to be almost constant for all the random DFAs. These results can be explained by noting that the generated DFAs represent average cases. We empirically demonstrate the existence of extreme DFAs for which the weight strength scales with DFA size.