Abstract
Machines of all kinds from vehicles to industrial equipment are increasingly instrumented with hundreds of sensors. Using such data to detect anomalous behaviour is critical for safety and efficient maintenance. However, anomalies occur rarely and with great variety in such systems, so there is often insufficient anomalous data to build reliable detectors. A standard approach to mitigate this problem is to use one class methods relying only on data from normal behaviour. Unfortunately, even these approaches are more likely to fail in the scenario of a dynamical system with manual control input(s). Normal behaviour in response to novel control input(s) might look very different to the learned detector which may be incorrectly detected as anomalous. In this paper, we address this issue by modelling time-series via Ordinary Differential Equations (ODE) and utilising such an ODE model to simulate the behaviour of dynamical systems under varying control inputs. The available data is then augmented with data generated from the ODE, and the anomaly detector is retrained on this augmented dataset. Experiments demonstrate that ODE-augmented training data allows better coverage of possible control input(s) and results in learning more accurate distinctions between normal and anomalous behaviour in time-series.
Introduction
Modern industrial systems, such as aircraft engines or heavy machinery, are equipped with numerous sensors to monitor health and performance. Detecting anomalies in these systems is vital for preventing catastrophic failures. However, the scarcity of anomalous data makes training supervised models difficult. One-class classification methods, which learn a representation of "normal" behavior, are commonly used.
A significant challenge arises when these systems are subject to manual control. If an operator provides a control input sequence that was not present in the training data, the system's legitimate response might be flagged as an anomaly. These false positives undermine the reliability of the monitoring system. This research proposes using Ordinary Differential Equations (ODEs) to simulate a wider range of normal behaviors, thereby augmenting the training set and improving the detector's robustness to novel control inputs.
Methodology
The proposed framework combines physics-based modeling with deep learning through a four-step process:
- ODE Modeling: The relationship between control variables (e.g., Accelerator Pedal Position) and dependent sensor outputs (e.g., Coolant Temperature) is modeled using ODEs to capture the system's underlying physical dynamics.
- Parameter Estimation: To align the ODE with real-world observations, parameters are estimated using numerical gradient approximation (via Taylor series expansion) and Stochastic Gradient Descent (SGD), further optimized by Particle Swarm Optimization (PSO).
- Data Augmentation: Synthetic control sequences are generated based on the statistical distribution of real-world manual inputs. The calibrated ODE then simulates the expected sensor responses to these new inputs.
- Anomaly Detection (LSTM-AD): A Long Short-Term Memory (LSTM) network is trained on a combined dataset of real and synthetic data. The LSTM learns to predict future sensor values; significant deviations from these predictions are flagged as anomalies.
Experimental Setup
The approach was evaluated using sensor data from a real-world vehicle engine. The Accelerator Pedal Position (APP) served as the control input, while Coolant Temperature (CT) was the primary dependent output. To test the effectiveness of augmentation under data scarcity, the researchers created "Large" ($L(r)$) and "Small" ($S(r)$) versions of the real dataset. Since real-world anomalies are infrequent, five types of synthetic faults were injected into the test sets, ranging from simple sensor failures to complex "semantic" anomalies where the sensor output is physically inconsistent with the control input.
Results and Discussion
The integration of ODE-generated data significantly enhances the performance of the anomaly detector. By exposing the model to simulated "normal" responses for a variety of control scenarios, the system learns to distinguish between healthy responses to aggressive inputs and actual mechanical faults.
As shown in the likelihood score comparisons, the augmented model ($S(r)+ODE(s)$) exhibits fewer false detections compared to the model trained only on real data ($S(r)$). The red regions in the $S(r)$ plot indicate detected anomalies; many of these are suppressed in the augmented version, indicating a reduction in false positives.
Quantitatively, the benefits are most pronounced when the initial training data is limited. For the small dataset ($S(r)$), the F-score improved from 0.49 to 0.64, driven largely by a jump in precision from 0.34 to 0.52. Even with the large dataset ($L(r)$), augmentation provided a notable boost, raising the F-score from 0.55 to 0.67.
Conclusion
This work demonstrates that ODEs can serve as effective generative engines to "fill in the gaps" of sensor training data. By combining the temporal modeling strengths of LSTMs with the physical domain knowledge embedded in ODEs, anomaly detectors can better generalize to unseen operating conditions. Future research will explore purely data-driven methods for discovering ODE structures, reducing the reliance on pre-existing domain expertise.
Summary updated