[Paper Review] LSTM-based Anomaly Detection for Non-linear Dynamical System
This paper proposes an LSTM-based anomaly detection framework for non-linear dynamical systems, leveraging multi-step prediction and a novel Local Average with Adaptive Parameters (LAAP) algorithm to detect anomalies in wall shear stress time series. The method achieves higher prediction accuracy and superior anomaly detection performance compared to ARIMA and absolute value-based methods, particularly in early warning of system instability.
Anomaly detection for non-linear dynamical system plays an important role in ensuring the system stability. However, it is usually complex and has to be solved by large-scale simulation which requires extensive computing resources. In this paper, we propose a novel anomaly detection scheme in non-linear dynamical system based on Long Short-Term Memory (LSTM) to capture complex temporal changes of the time sequence and make multi-step predictions. Specifically, we first present the framework of LSTM-based anomaly detection in non-linear dynamical system, including data preprocessing, multi-step prediction and anomaly detection. According to the prediction requirement, two types of training modes are explored in multi-step prediction, where samples in a wall shear stress dataset are collected by an adaptive sliding window. On the basis of the multi-step prediction result, a Local Average with Adaptive Parameters (LAAP) algorithm is proposed to extract local numerical features of the time sequence and estimate the upcoming anomaly. The experimental results show that our proposed multi-step prediction method can achieve a higher prediction accuracy than traditional method in wall shear stress dataset, and the LAAP algorithm performs better than the absolute value-based method in anomaly detection task.
Motivation & Objective
- To address the challenge of detecting anomalies in complex, non-linear dynamical systems where traditional simulation methods are computationally expensive.
- To develop an automated, deep learning-based approach for early anomaly detection in time series data from such systems.
- To improve prediction accuracy of wall shear stress over multiple timesteps using LSTM networks.
- To design an effective anomaly detection algorithm that identifies latent system failures before they occur.
Proposed method
- Employ a sliding window technique to extract sequential samples from wall shear stress time series for training LSTM models.
- Train a multi-layer LSTM network to perform multi-step prediction of future wall shear stress values across different timesteps (1 to 10).
- Implement a Local Average with Adaptive Parameters (LAAP) algorithm to detect anomalies by analyzing local numerical features in predicted sequences.
- Use the LAAP algorithm to estimate upcoming anomalies based on deviations in predicted values, with adaptive thresholds tuned to local dynamics.
- Compare prediction and anomaly detection performance against ARIMA and absolute value-based anomaly detection methods.
- Evaluate model performance using RMSE and error distribution metrics for both prediction accuracy and anomaly timing precision.
Experimental results
Research questions
- RQ1Can LSTM-based multi-step prediction achieve higher accuracy than traditional ARIMA models in predicting wall shear stress in non-linear dynamical systems?
- RQ2How effective is the proposed LAAP algorithm in detecting anomalies compared to a baseline absolute value-based method?
- RQ3To what extent does the prediction accuracy of LSTM degrade as the prediction horizon increases?
- RQ4Can the LAAP algorithm improve the timing precision of anomaly alerts by reducing the error between predicted and actual anomaly occurrences?
Key findings
- The LSTM-based multi-step prediction achieved a prediction accuracy of 0.9991 in zone 4 and 0.9909 in zone 1 for a single-step prediction, with accuracy decreasing gradually as the prediction horizon increased.
- For a 10-step prediction, the LSTM model maintained a prediction accuracy of 0.9346 in zone 1 and 0.9713 in zone 4, demonstrating robustness over longer horizons.
- The RMSE of the LSTM model remained consistently lower than ARIMA for prediction timesteps beyond 2, indicating superior predictive performance.
- The LAAP algorithm achieved zero error in anomaly detection more than 20 times, compared to 14 times for the absolute value-based method, indicating improved detection precision.
- The error range for LAAP was narrower (approximately -130 to 5) than that of the absolute value-based method (approximately -175 to 75), showing better timing accuracy in anomaly detection.
- The LAAP algorithm outperformed the absolute value-based method in both frequency of exact anomaly timing and overall error distribution, confirming its effectiveness in early anomaly detection.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.