A Contrastive Transformer-Enhanced Temporal Hybrid Deep Learning Framework for Robust Workflow Log Anomaly Detection
Keywords:
Workflow Anomaly Detection, Transformer, Temporal Convolutional Network (TCN), Contrastive Learning, Variational Autoencoder (VAE), Bayesian Optimization.Abstract
Detecting anomalies in workflow and event logs is an extremely important component in achieving process reliability, security and efficiency in insurance claim management systems. Conventional machine learning methods tend to fail to realize long-range correlations and complicated deviations in sequences of procedures. This paper introduces a hybrid deep learning system, consisting of Transformer, Convolutional Neural Network (CNN), Temporal Convolutional Network (TCN), Variational Autoencoder (VAE), and contrastive learning to achieve high-quality log-level anomaly detection. Transformers, CNN and TCN extract global, local and temporal features respectively. VAE learns normal process behaviour by probabilistically reconstituting, and contrastive learning learns more effectively in the presence of a class imbalance. Hybrid anomaly scoring algorithm is a scoring method that is used to improve the robustness of reconstruction errors and classification probabilities. The TPE-based Bayesian optimization is used to optimize hyperparameters in terms of F1-score. Empirical findings on an insurance workflow log show that it has a better performance, with an accuracy of 97.8 per cent and F1-score of 0.97 and is better than LSTM, GRU, and standalone Transformer baselines. The proposed framework offers a powerful and scalable algorithm of detecting workflow anomalies.
Downloads
Downloads
Published
Issue
Section
License
You are free to:
- Share — copy and redistribute the material in any medium or format for any purpose, even commercially.
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
- The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
- Attribution — You must give appropriate credit , provide a link to the license, and indicate if changes were made . You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation .
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.

