Lune

ASE2020Top-tier venue

Hybrid Deep Neural Networks to Infer State Models of Black-Box Systems

Mohammad Jafar Mashhadi, Hadi Hemmati

Abstract

Inferring behavior model of a running software system is quite useful for several automated software engineering tasks, such as program comprehension, anomaly detection, and testing. Most existing dynamic model inference techniques are white-box, i.e., they require source code to be instrumented to get run-time traces. However, in many systems, instrumenting the entire source code is not possible (e.g., when using black-box third-party libraries) or might be very costly. Unfortunately, most black-box techniques that detect states over time are either univariate, or make assumptions on the data distribution, or have limited power for learning over a long period of past behavior. To overcome the above issues, in this paper, we propose a hybrid deep neural network that accepts as input a set of time series, one per input/output signal of the system, and applies a set of convolutional and recurrent layers to learn the non-linear correlations between signals and the patterns, over time. We have applied our approach on a real UAV auto-pilot solution from our industry partner with half a million lines of C code. We ran 888 random recent system-level test cases and inferred states, over time. Our comparison with several traditional time series change point detection techniques showed that our approach improves their performance by up to 102%, in terms of finding state change points, measured by F1 score. We also showed that our state classification algorithm provides on average 90.45% F1 score, which improves traditional classification algorithms by up to 17%.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Semi-supervised Sequence Classification through Change Point DetectionNauman Ahad, Mark A. DavenportAAAI 2021 · 8 citations
  2. Fuzzing the Boundary between Models and Code in Hybrid AI-Enabled SystemsXinyu Gao, Yang Feng, Yuchen Lu, Zhenqian Liu et al.ISSTA 2026
  3. Misbehaviour prediction for autonomous driving systemsAndrea Stocco, Michael Weiss, Marco Calzana, Paolo TonellaICSE 2020 · 138 citations
  4. Learning Hybrid Dynamics Models with Simulator-Informed Latent StatesKatharina Ensinger, Sebastian Ziesche, Sebastian TrimpeAAAI 2024 · 1 citation
  5. DeepLocalize: Fault Localization for Deep Neural NetworksMohammad Wardat, Wei Le, Hridesh RajanICSE 2021 · 93 citations
Dusk over the sea between two cliffs drawn in fine vertical lines