Conformance Testing for Finite State Machines Guided by Deep Neural Network

被引:0
|
作者
Rahaman, Habibur [1 ]
Chattopadhyay, Santanu [1 ]
Sengupta, Indranil [1 ]
机构
[1] Indian Inst Technol Kharagpur, Kharagpur 721302, W Bengal, India
关键词
Fault detection; conformance testing; machine verification; black box; DNN; FSM; TEST-GENERATION;
D O I
10.1142/S0218126622501560
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper proposes a Finite State Machine (FSM) testing technique based on deep neural network (DNN). This technique verifies the correctness of an implementation FSM-B of a specification FSM-A. Using the back-propagation algorithm, a deep neural network is trained with the input-output patterns for a given set of transition functions that specify an FSM. Initially, for FSM-A, the input patterns and the corresponding output patterns (I/O pairs) are generated. Then most of the patterns are used to train the DNN. Once the training is over, the DNN is validated with the remaining I/O pairs (around 20%). The model can be used for verifying the correctness of FSM-B after training and validation of the DNN. Some inputs are applied to FSM-B and the generated output patterns are compared with the predicted values of the proposed DNN. The difference of accuracy percentages between FSM-A and FSM-B is recorded and zero difference between them indicates the fault-free condition of the implementation FSM-B. To check the effectiveness of the scheme, the output- and state-type faults are injected to derive mutant FSMs. Experimental results performed on the MCNC FSM benchmarks prove the efficacy of the proposed method. Only a few numbers of tests are needed to detect the presence of anomaly, if any. Hence, the test time reduces significantly - resulting in an average test time reduction of 85.67% compared to the conventional techniques. To the best of our knowledge, for the first time a DNN-driven testing scheme is being proposed.
引用
收藏
页数:19
相关论文
共 50 条
  • [1] A Deep Neural Network Guided Testing Approach for Finite State Machines
    Rahaman, Habibur
    Chattopadhyay, Santanu
    Sengupta, Indranil
    [J]. 2021 4TH INTERNATIONAL SYMPOSIUM ON DEVICES, CIRCUITS AND SYSTEMS (ISDCS 2021), 2021,
  • [2] Conformance testing of protocols specified as communicating finite state machines - A guided random walk based approach
    Lee, D
    Sabnani, KK
    Kristol, DM
    Paul, S
    [J]. IEEE TRANSACTIONS ON COMMUNICATIONS, 1996, 44 (05) : 631 - 640
  • [3] Testing and incremental conformance testing of timed state machines
    Tvardovskii, Aleksandr
    El-Fakih, Khaled
    Yevtushenko, Nina
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2024, 233
  • [4] NONDETERMINISTIC STATE MACHINES IN PROTOCOL CONFORMANCE TESTING
    PETRENKO, A
    YEVTUSHENKO, N
    LEBEDEV, A
    DAS, A
    [J]. PROTOCOL TEST SYSTEMS, VI, 1994, 19 : 363 - 378
  • [5] Learning a class of large finite state machines with a recurrent neural network
    Giles, CL
    Horne, BG
    Lin, T
    [J]. NEURAL NETWORKS, 1995, 8 (09) : 1359 - 1365
  • [6] Bounds on the complexity of recurrent neural network implementations of finite state machines
    Horne, BG
    Hush, DR
    [J]. NEURAL NETWORKS, 1996, 9 (02) : 243 - 252
  • [7] Bounds on the complexity of recurrent neural network implementations of finite state machines
    NEC Research Institute, 4 Independence Way, Princeton, NJ 08540, United States
    [J]. NEURAL NETW., 2 (243-252):
  • [8] Stochastic testing of finite state machines
    Hadjicostis, CN
    [J]. PROCEEDINGS OF THE 2001 AMERICAN CONTROL CONFERENCE, VOLS 1-6, 2001, : 4568 - 4573
  • [9] Incremental testing of finite state machines
    Chaves Pedrosa, Lehilton Lelis
    Moura, Arnaldo Vieira
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2013, 23 (08): : 585 - 612
  • [10] Gray-Box Conformance Testing for Symbolic Reactive State Machines
    Taromirad, Masoumeh
    Mousavi, Mohammad Reza
    [J]. FUNDAMENTALS OF SOFTWARE ENGINEERING, FSEN 2017, 2017, 10522 : 228 - 243