A Deep Neural Network Guided Testing Approach for Finite State Machines

被引:0
|
作者
Rahaman, Habibur [1 ]
Chattopadhyay, Santanu [2 ]
Sengupta, Indranil [1 ]
机构
[1] IIT, Comp Sci & Engn, Kharagpur, W Bengal, India
[2] IIT, Elect & Elec Comm Engn, Kharagpur, W Bengal, India
来源
2021 4TH INTERNATIONAL SYMPOSIUM ON DEVICES, CIRCUITS AND SYSTEMS (ISDCS 2021) | 2021年
关键词
FSM; fault detection; conformance testing; DNN; TEST-GENERATION;
D O I
10.1109/ISDCS52006.2021.9397900
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Finite-State Machines (FSMs) lie at the heart of every digital system and verifying whether a given circuit implementation (B) of an FSM (A) conforms to its specification is an important task in the design cycle. In this work, a deep neural network (DNN) based technique for testing FSMs is developed. Given a set of transition functions that specify an FSM, a DNN is trained with the input-output sequences using the back-propagation algorithm. First, the input sequences and the corresponding output sequences (I/O-pairs) for A are constructed, and some of them are utilized to train the DNN. After training, the proposed DNN is validated with the rest of the I/O-pairs. Once the training and validation of the DNN is completed, it can be used for checking the correctness of its implementation (B) very quickly. Some inputs are applied to B and the observed output sequences are compared with those predicted by the proposed DNN. Based on the similarities between them, B is either declared as correct implementation of A, else it is declared as faulty implementation. The experiments are performed on the MCNC FSM benchmarks and certain faults are injected to form mutant FSMs. Experimental results reveal the efficacy of the proposed technique. Only a few tests are required to detect the presence of anomaly, if any. Hence, the test time is very less resulting in an average test time reduction of 85.66% compared to existing method. It is observed from the earlier works that this type of DNN based FSM testing method is presented first time.
引用
收藏
页数:6
相关论文
共 50 条
  • [1] Conformance Testing for Finite State Machines Guided by Deep Neural Network
    Rahaman, Habibur
    Chattopadhyay, Santanu
    Sengupta, Indranil
    JOURNAL OF CIRCUITS SYSTEMS AND COMPUTERS, 2022, 31 (09)
  • [2] Incremental testing of finite state machines
    Chaves Pedrosa, Lehilton Lelis
    Moura, Arnaldo Vieira
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2013, 23 (08) : 585 - 612
  • [3] A practical approach for testing timed deterministic finite state machines with single clock
    El-Fakih, Khaled
    Yevtushenko, Nina
    Simao, Adenilso
    SCIENCE OF COMPUTER PROGRAMMING, 2014, 80 : 343 - 355
  • [4] An optimal Testing Technique for Finite State Machines
    Fouchal, Hacene
    2011 IEEE SYMPOSIUM ON COMPUTERS AND COMMUNICATIONS (ISCC), 2011,
  • [5] Mutation Analysis for Testing Finite State Machines
    Li, Jin-hua
    Dai, Geng-xin
    Li, Huan-huan
    PROCEEDINGS OF THE SECOND INTERNATIONAL SYMPOSIUM ON ELECTRONIC COMMERCE AND SECURITY, VOL I, 2009, : 620 - +
  • [6] Testing from Partial Finite State Machines without Harmonised Traces
    Hierons, Robert Mark
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2017, 43 (11) : 1033 - 1043
  • [7] Formal testing from timed finite state machines
    Merayo, Mercedes G.
    Nunez, Manuel
    Rodriguez, Ismael
    COMPUTER NETWORKS, 2008, 52 (02) : 432 - 460
  • [8] Modeling and Testing of Network Protocols with Parallel State Machines
    Yin, Xia
    Yao, Jiangyuan
    Wang, Zhiliang
    Shi, Xingang
    Bi, Jun
    Wu, Jianping
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2015, E98D (12): : 2091 - 2104
  • [9] Heuristics for fault diagnosis when testing from finite state machines
    Guo, Qiang
    Hierons, Robert A.
    Harman, Mark
    Derderian, Karnig
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2007, 17 (01) : 41 - 57
  • [10] Toward testing from finite state machines with symbolic inputs and outputs
    Petrenko, Alexandre
    SOFTWARE AND SYSTEMS MODELING, 2019, 18 (02) : 825 - 835