Behavioral Model Inference of Black-box Software using Deep Neural Networks

01/13/2021
by   Mohammad Jafar Mashhadi, et al.
13

Many software engineering tasks, such as testing, and anomaly detection can benefit from the ability to infer a behavioral model of the software.Most existing inference approaches assume access to code to collect execution sequences. In this paper, we investigate a black-box scenario, where the system under analysis cannot be instrumented, in this granular fashion.This scenario is particularly prevalent with control systems' log analysis in the form of continuous signals. In this situation, an execution trace amounts to a multivariate time-series of input and output signals, where different states of the system correspond to different `phases` in the time-series. The main challenge is to detect when these phase changes take place. Unfortunately, most existing solutions are either univariate, make assumptions on the data distribution, or have limited learning power.Therefore, we propose a hybrid deep neural network that accepts as input a multivariate time series and applies a set of convolutional and recurrent layers to learn the non-linear correlations between signals and the patterns over time.We show how this approach can be used to accurately detect state changes, and how the inferred models can be successfully applied to transfer-learning scenarios, to accurately process traces from different products with similar execution characteristics. Our experimental results on two UAV autopilot case studies indicate that our approach is highly accurate (over 90 classification) and significantly improves baselines (by up to 102 point detection).Using transfer learning we also show that up to 90 maximum achievable F1 scores in the open-source case study can be achieved by reusing the trained models from the industrial case and only fine tuning them using as low as 5 labeled samples, which reduces the manual labeling effort by 98

READ FULL TEXT

page 12

page 13

research
08/26/2020

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

Inferring behavior model of a running software system is quite useful fo...
research
06/09/2021

Towards Deep Industrial Transfer Learning for Anomaly Detection on Time Series Data

Deep learning promises performant anomaly detection on time-variant data...
research
07/04/2023

Prototypes as Explanation for Time Series Anomaly Detection

Detecting abnormal patterns that deviate from a certain regular repeatin...
research
01/10/2023

Learning nonlinear hybrid automata from input–output time-series data

Learning an automaton that approximates the behavior of a black-box syst...
research
07/18/2019

An Adaptive Approach for Anomaly Detector Selection and Fine-Tuning in Time Series

The anomaly detection of time series is a hotspot of time series data mi...
research
01/08/2018

HeNet: A Deep Learning Approach on Intel^ Processor Trace for Effective Exploit Detection

This paper presents HeNet, a hierarchical ensemble neural network, appli...
research
12/16/2020

Trex: Learning Execution Semantics from Micro-Traces for Binary Similarity

Detecting semantically similar functions – a crucial analysis capability...

Please sign up or login with your details

Forgot password? Click here to reset