Constructing deterministic finite-state automata in recurrent neural networks

被引:114
|
作者
Omlin, CW [1 ]
Giles, CL [1 ]
机构
[1] UNIV MARYLAND, UMIACS, COLLEGE PK, MD 20742 USA
关键词
automata; connectionism; knowledge encoding; neural networks; nonlinear dynamics; recurrent neural networks; rules; stability;
D O I
10.1145/235809.235811
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Recurrent neural networks that are trained to behave like deterministic finite-state automata (DFAs) can show deteriorating performance when tested on long strings. This deteriorating performance can be attributed to the instability of the internal representation of the learned DFA states. The use of a sigmoidal discriminant function together with the recurrent structure contribute to this instability. We prove that a simple algorithm can construct second-order recurrent neural networks with a sparse interconnection topology and sigmoidal discriminant function such that the internal DFA state representations are stable, that is, the constructed network correctly classifies strings of arbitrary length. The algorithm is based on encoding strengths of weights directly into the neural network. We derive a relationship between the weight strength and the number of DFA states for robust string classification. For a DFA with n states and m input alphabet symbols, the constructive algorithm generates a ''programmed'' neural network with O(n) neurons and O(mn) weights. We compare our algorithm to other methods proposed in the literature.
引用
收藏
页码:937 / 972
页数:36
相关论文
共 50 条
  • [1] FIRST-ORDER RECURRENT NEURAL NETWORKS AND DETERMINISTIC FINITE-STATE AUTOMATA
    MANOLIOS, P
    NEURAL COMPUTATION, 1994, 6 (06) : 1155 - 1173
  • [2] Fuzzy finite-state automata can be deterministically encoded into recurrent neural networks
    Omlin, CW
    Thornber, KK
    Giles, CL
    IEEE TRANSACTIONS ON FUZZY SYSTEMS, 1998, 6 (01) : 76 - 89
  • [3] Deterministic chaotic finite-state automata
    Moatsum Alawida
    Azman Samsudin
    Je Sen Teh
    Wafa’ Hamdan Alshoura
    Nonlinear Dynamics, 2019, 98 : 2403 - 2421
  • [4] Deterministic chaotic finite-state automata
    Alawida, Moatsum
    Samsudin, Azman
    Teh, Je Sen
    Alshoura, Wafa' Hamdan
    NONLINEAR DYNAMICS, 2019, 98 (03) : 2403 - 2421
  • [5] Stable encoding of large finite-state automata in recurrent neural networks with sigmoid discriminants
    Omlin, CW
    Giles, CL
    NEURAL COMPUTATION, 1996, 8 (04) : 675 - 696
  • [6] Recurrent Neural Language Models as Probabilistic Finite-state Automata
    Svete, Anej
    Cotterell, Ryan
    2023 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING, EMNLP 2023, 2023, : 8069 - 8086
  • [7] Methods of constructing universal tests for finite-state automata
    V. A. Tverdokhlebov
    Automation and Remote Control, 2005, 66 (1) : 139 - 147
  • [8] Methods of constructing universal tests for finite-state automata
    Tverdokhlebov, VA
    AUTOMATION AND REMOTE CONTROL, 2005, 66 (01) : 139 - 147
  • [9] Representation and identification of finite state automata by recurrent neural networks
    Kuroe, Y
    NEURAL INFORMATION PROCESSING, 2004, 3316 : 261 - 268
  • [10] Identification of Finite State Automata With a Class of Recurrent Neural Networks
    Won, Sung Hwan
    Song, Iickho
    Lee, Sun Young
    Park, Cheol Hoon
    IEEE TRANSACTIONS ON NEURAL NETWORKS, 2010, 21 (09): : 1408 - 1421