OIL-AD: An Anomaly Detection Framework for Sequential Decision Sequences
Preprint
Abstract
Anomaly detection in decision-making sequences is a challenging problem due to the complexity of normality representation learning and the sequential nature of the task. Most existing methods based on Reinforcement Learning (RL) are difficult to implement in the real world due to unrealistic assumptions, such as having access to environment dynamics, reward signals, and online interactions with the environment. To address these limitations, we propose an unsupervised method named Offline Imitation Learning based Anomaly Detection (OIL-AD), which detects anomalies in decision-making sequences using two extracted behaviour features: action optimality and sequential association. Our offline learning model is an adaptation of behavioural cloning with a transformer policy network, where we modify the training process to learn a Q function and a state value function from normal trajectories. We propose that the Q function and the state value function can provide sufficient information about agents' behavioural data, from which we derive two features for anomaly detection. The intuition behind our method is that the action optimality feature derived from the Q function can differentiate the optimal action from others at each local state, and the sequential association feature derived from the state value function has the potential to maintain the temporal correlations between decisions (state-action pairs). Our experiments show that OIL-AD can achieve outstanding online anomaly detection performance with up to 34.8% improvement in F1 score over comparable baselines.Keywords
All Related Versions
This publication has 6 references indexed in Scilit:
- Sequential Adversarial Anomaly Detection for One-Class Event DataINFORMS Journal on Data Science, 2023
- ECOD: Unsupervised Outlier Detection Using Empirical Cumulative Distribution FunctionsIEEE Transactions on Knowledge and Data Engineering, 2022
- Solving flow-shop scheduling problem with a reinforcement learning algorithm that generalizes the value function with neural networkAlexandria Engineering Journal, 2021
- Learning for a Robot: Deep Reinforcement Learning, Imitation Learning, Transfer LearningSensors, 2021
- BP neural network modeling with sensitivity analysis on monotonicity based Spearman coefficientChemometrics and Intelligent Laboratory Systems, 2020
- Similarity measures for identifying material parameters from hysteresis loops using inverse analysisInternational Journal of Material Forming, 2018