Anomaly Correction of Business Processes Using Transformer Autoencoder

Read original: arXiv:2404.10211 - Published 4/17/2024 by Ziyou Gong, Xianwen Fang, Ping Wu
Total Score

0

Anomaly Correction of Business Processes Using Transformer Autoencoder

Sign in to get full access

or

If you already have an account, we'll log you in

Overview

  • This paper proposes a Transformer-based autoencoder model for detecting and correcting anomalies in business process event logs.
  • The model learns to reconstruct normal event sequences and can identify anomalies by the reconstruction error.
  • The authors demonstrate the model's effectiveness on real-world datasets and compare it to other anomaly detection methods.

Plain English Explanation

Businesses often have complex processes, like order fulfillment or customer service, that involve a series of steps or "events." These event sequences can be recorded in logs, which can be analyzed to identify any unusual or problematic patterns. This research proposes a new machine learning model to help with this task.

The key idea is to train the model on normal event sequences, so it learns what a typical process looks like. Then, when the model sees a new sequence, it can compare it to what it has learned and flag any unusual events or patterns as "anomalies." This allows businesses to identify and correct problems in their processes.

The model uses a type of neural network called a Transformer autoencoder, which is well-suited for analyzing sequence data like event logs. The Transformer part helps the model understand the relationships between different events, while the autoencoder component learns to reconstruct normal sequences. Any sequences that the model can't reconstruct well are likely to contain anomalies.

The researchers tested this model on real-world business process data and showed that it outperformed other anomaly detection methods. This suggests it could be a useful tool for businesses to improve their operations and customer experience. Other research has also explored using autoencoders for anomaly detection in different domains, like cybersecurity and renewable energy.

Technical Explanation

The core of this paper is a Transformer-based autoencoder model for detecting and correcting anomalies in business process event logs. The Transformer architecture, originally developed for natural language processing tasks, is well-suited for modeling the complex relationships between events in a business process.

The authors first preprocess the event log data, encoding each event as a vector representation. They then train the Transformer autoencoder model to reconstruct these event sequences, learning a compact representation of normal process behavior. During inference, the model computes a reconstruction error for each input sequence, with high errors indicating potential anomalies.

To correct these anomalies, the authors fine-tune the trained autoencoder to generate corrected event sequences. This is achieved by introducing special "correction tokens" that guide the model to output modified sequences that better match the learned normal behavior.

The researchers evaluate their approach on several real-world business process datasets, comparing the anomaly detection and correction performance to baselines like isolation forests and one-class SVMs. Their results demonstrate the advantages of the Transformer autoencoder, particularly in its ability to capture complex temporal dependencies in the event logs.

Critical Analysis

The authors provide a thorough evaluation of their Transformer autoencoder approach, including experiments on multiple business process datasets. They also discuss several practical considerations, such as the impact of event log noise and the tradeoffs between anomaly detection and correction.

However, one potential limitation is the reliance on event log data, which may not always be available or reliable in real-world business settings. Further research could explore incorporating additional data sources, such as process context information or user feedback, to improve the robustness of the anomaly detection and correction.

Additionally, the paper does not delve deeply into the interpretability of the model's anomaly detection and correction. Explainable AI techniques could be leveraged to provide more insights into the model's decision-making process, which would be valuable for business users.

Overall, this research presents a promising approach to addressing an important problem in business process management. Continued work in this area could lead to more advanced tools for improving operational efficiency and customer satisfaction.

Conclusion

This paper introduces a Transformer-based autoencoder model for detecting and correcting anomalies in business process event logs. By learning a compact representation of normal process behavior, the model can identify unusual sequences and generate corrected versions to help businesses identify and address issues in their operations.

The authors demonstrate the effectiveness of their approach on real-world datasets, highlighting the advantages of the Transformer architecture for modeling complex event dependencies. While the reliance on event log data and the need for improved interpretability are potential limitations, this research represents an important step forward in applying advanced machine learning techniques to business process management.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Follow @aimodelsfyi on 𝕏 →

Related Papers

Anomaly Correction of Business Processes Using Transformer Autoencoder
Total Score

0

Anomaly Correction of Business Processes Using Transformer Autoencoder

Ziyou Gong, Xianwen Fang, Ping Wu

Event log records all events that occur during the execution of business processes, so detecting and correcting anomalies in event log can provide reliable guarantee for subsequent process analysis. The previous works mainly include next event prediction based methods and autoencoder-based methods. These methods cannot accurately and efficiently detect anomalies and correct anomalies at the same time, and they all rely on the set threshold to detect anomalies. To solve these problems, we propose a business process anomaly correction method based on Transformer autoencoder. By using self-attention mechanism and autoencoder structure, it can efficiently process event sequences of arbitrary length, and can directly output corrected business process instances, so that it can adapt to various scenarios. At the same time, the anomaly detection is transformed into a classification problem by means of selfsupervised learning, so that there is no need to set a specific threshold in anomaly detection. The experimental results on several real-life event logs show that the proposed method is superior to the previous methods in terms of anomaly detection accuracy and anomaly correction results while ensuring high running efficiency.

Read more

4/17/2024

🤿

Total Score

0

Deep Convolutional Autoencoder for Assessment of Anomalies in Multi-stream Sensor Data

Anthony Geglio, Eisa Hedayati, Mark Tascillo, Dyche Anderson, Jonathan Barker, Timothy C. Havens

This work investigates a practical and novel method for automated unsupervised fault detection in vehicles using a fully convolutional autoencoder. The results demonstrate the algorithm we developed can detect anomalies which correspond to powertrain faults by learning patterns in the multivariate time-series data of hybrid-electric vehicle powertrain sensors. Data was collected by engineers at Ford Motor Company from numerous sensors over several drive cycle variations. This study provides evidence of the anomaly detecting capability of our trained autoencoder and investigates the suitability of our autoencoder relative to other unsupervised methods for automatic fault detection in this data set. Preliminary results of testing the autoencoder on the powertrain sensor data indicate the data reconstruction approach availed by the autoencoder is a robust technique for identifying the abnormal sequences in the multivariate series. These results support that irregularities in hybrid-electric vehicles' powertrains are conveyed via sensor signals in the embedded electronic communication system, and therefore can be identified mechanistically with a trained algorithm. Additional unsupervised methods are tested and show the autoencoder performs better at fault detection than outlier detectors and other novel deep learning techniques.

Read more

9/10/2024

📊

Total Score

0

Exploiting Autoencoder's Weakness to Generate Pseudo Anomalies

Marcella Astrid, Muhammad Zaigham Zaheer, Djamila Aouada, Seung-Ik Lee

Due to the rare occurrence of anomalous events, a typical approach to anomaly detection is to train an autoencoder (AE) with normal data only so that it learns the patterns or representations of the normal training data. At test time, the trained AE is expected to well reconstruct normal but to poorly reconstruct anomalous data. However, contrary to the expectation, anomalous data is often well reconstructed as well. In order to further separate the reconstruction quality between normal and anomalous data, we propose creating pseudo anomalies from learned adaptive noise by exploiting the aforementioned weakness of AE, i.e., reconstructing anomalies too well. The generated noise is added to the normal data to create pseudo anomalies. Extensive experiments on Ped2, Avenue, ShanghaiTech, CIFAR-10, and KDDCUP datasets demonstrate the effectiveness and generic applicability of our approach in improving the discriminative capability of AEs for anomaly detection.

Read more

5/20/2024

Total Score

0

A Real-time Anomaly Detection Using Convolutional Autoencoder with Dynamic Threshold

Sarit Maitra, Sukanya Kundu, Aishwarya Shankar

The majority of modern consumer-level energy is generated by real-time smart metering systems. These frequently contain anomalies, which prevent reliable estimates of the series' evolution. This work introduces a hybrid modeling approach combining statistics and a Convolutional Autoencoder with a dynamic threshold. The threshold is determined based on Mahalanobis distance and moving averages. It has been tested using real-life energy consumption data collected from smart metering systems. The solution includes a real-time, meter-level anomaly detection system that connects to an advanced monitoring system. This makes a substantial contribution by detecting unusual data movements and delivering an early warning. Early detection and subsequent troubleshooting can financially benefit organizations and consumers and prevent disasters from occurring.

Read more

4/9/2024