PAFL: Probabilistic Automaton-based Fault Localization for Recurrent Neural Networks

被引:8
|
作者
Ishimoto, Yuta [1 ]
Kondo, Masanari [1 ]
Ubayashi, Naoyasu [1 ]
Kamei, Yasutaka [1 ]
机构
[1] Kyushu Univ, Fukuoka, Japan
关键词
Fault localization; Faults; Recurrent neural networks; Probabilistic finite automata;
D O I
10.1016/j.infsof.2022.107117
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context: If deep learning models in safety-critical systems misbehave, serious accidents may occur. Previous studies have proposed approaches to overcome such misbehavior by detecting and modifying the responsible faulty parts in deep learning models. For example, fault localization has been applied to deep neural networks to detect neurons that cause misbehavior.Objective: However, such approaches are not applicable to deep learning models that have internal states, which change dynamically based on the input data samples (e.g., recurrent neural networks (RNNs)). Hence, we propose a new fault localization approach to be applied to RNNs.Methods: We propose probabilistic automaton-based fault localization (PAFL). PAFL enables developers to detect faulty parts even in RNNs by computing suspiciousness scores with fault localization using n-grams. We convert RNNs into probabilistic finite automata (PFAs) and localize faulty sequences of state transitions on PFAs. To consider various sequences and to detect faulty ones more precisely, we use n-grams inspired by natural language processing. Additionally, we distinguish data samples related to the misbehavior to evaluate PAFL. We also propose a novel suspiciousness score, average n-gram suspiciousness (ANS) score, based on n-grams to distinguish data samples. We evaluate PAFL and ANS scores on eight publicly available datasets on three RNN variants: simple recurrent neural network, gated recurrent units, and long short-term memory.Results: The experiment demonstrates that ANS scores identify faulty parts of RNNs when n is greater than one. Moreover, PAFL is statistically significantly better and has large effect sizes compared to state-of-the-art fault localization in terms of distinguishing data samples related to the misbehavior. Specifically, PAFL is better in 66.74% of the experimental settings.Conclusion: The results demonstrate that PAFL can be used to detect faulty parts in RNNs. Hence, in future studies, PAFL can be used as a baseline for fault localization in RNNs.
引用
收藏
页数:16
相关论文
共 50 条
  • [1] Automaton-based fault detection and isolation
    Philips, P
    Ramkumar, KB
    Lim, KW
    Preisig, HA
    Weiss, M
    [J]. COMPUTERS & CHEMICAL ENGINEERING, 1999, 23 : S215 - S218
  • [2] Business-oriented Fault Localization Based on Probabilistic Neural Networks
    Liu, Lianzhong
    Li, Chunfang
    [J]. 2009 IEEE INTERNATIONAL CONFERENCE ON CONTROL AND AUTOMATION, VOLS 1-3, 2009, : 1324 - +
  • [3] Probabilistic automaton-based fuzzy english-text retrieval
    Ohta, M
    Takasu, A
    Adachi, J
    [J]. IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2003, E86D (09) : 1835 - 1844
  • [4] An Asynchronous Recurrent Network of Cellular Automaton-Based Neurons and Its Reproduction of Spiking Neural Network Activities
    Matsubara, Takashi
    Torikai, Hiroyuki
    [J]. IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2016, 27 (04) : 836 - 852
  • [5] A Learning Automaton-Based Algorithm for Influence Maximization in Social Networks
    Huang, Jinchao
    Ge, Hao
    Guo, Ying
    Zhang, Yan
    Li, Shenghong
    [J]. COMMUNICATIONS, SIGNAL PROCESSING, AND SYSTEMS, 2018, 423 : 715 - 722
  • [6] Intermittent fault diagnosability of discrete event systems: an overview of automaton-based approaches
    Abderraouf Boussif
    Mohamed Ghazel
    João Carlos Basilio
    [J]. Discrete Event Dynamic Systems, 2021, 31 : 59 - 102
  • [7] Intermittent fault diagnosability of discrete event systems: an overview of automaton-based approaches
    Boussif, Abderraouf
    Ghazel, Mohamed
    Basilio, Joao Carlos
    [J]. DISCRETE EVENT DYNAMIC SYSTEMS-THEORY AND APPLICATIONS, 2021, 31 (01): : 59 - 102
  • [8] Cellular automaton-based algorithms for the dispersion of mobile wireless sensor networks
    Choudhury, Salimur
    Salomaa, Kai
    Akl, Selim G.
    [J]. INTERNATIONAL JOURNAL OF PARALLEL EMERGENT AND DISTRIBUTED SYSTEMS, 2014, 29 (02) : 147 - 177
  • [9] A Fault-Tolerant Indoor Localization System with Recurrent Neural Networks
    Carvalho, Eduardo
    Ferreira, Bruno
    Filho, Geraldo P. R.
    Ueyama, Jo
    Pessin, Gustavo
    [J]. ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING, PT II, 2017, 10614 : 761 - 762
  • [10] Probabilistic Codebook-Based Fault Localization in Data Networks
    Reali, Gianluca
    Femminella, Mauro
    Monacelli, Luca
    [J]. IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, 2018, 15 (02): : 567 - 581