Skip to main content
QUICK REVIEW

[Paper Review] Kernel Based Sequential Data Anomaly Detection in Business Process Event Logs

Ashish Sureka|arXiv (Cornell University)|Jul 5, 2015
Business Process Modeling and AnalysisBusiness, Management and Accounting5 references10 citations
TL;DR

This paper proposes an unsupervised kernel-based anomaly detection method for business process event logs using kNN and normalized longest common subsequence (nLCS) similarity to identify outliers in sequential process traces. Evaluated on a real-world incident management dataset, the approach effectively detects anomalous cases with high precision, demonstrating that kernel-based sequential modeling improves anomaly detection in process mining beyond traditional methods.

ABSTRACT

Business Process Management Systems (BPMS) log events and traces of activities during the execution of a process. Anomalies are defined as deviation or departure from the normal or common order. Anomaly detection in business process logs has several applications such as fraud detection and understanding the causes of process errors. In this paper, we present a novel approach for anomaly detection in business process logs. We model the event logs as a sequential data and apply kernel based anomaly detection techniques to identify outliers and discordant observations. Our technique is unsupervised (does not require a pre-annotated training dataset), employs kNN (k-nearest neighbor) kernel based technique and normalized longest common subsequence (LCS) similarity measure. We conduct experiments on a recent, large and real-world incident management data of an enterprise and demonstrate that our approach is effective.

Motivation & Objective

  • To investigate kernel-based sequential data anomaly detection techniques for identifying outliers in business process event logs, a novel approach not previously applied in this domain.
  • To conduct in-depth empirical analysis on a large, real-world incident management dataset to validate the effectiveness of the proposed method.
  • To provide a reproducible, open-source solution for anomaly detection in process mining, supporting benchmarking and future research.
  • To demonstrate that similarity kernel choice (e.g., nLCS) and kNN parameter (K) significantly influence detection outcomes.

Proposed method

  • Model business process event logs as sequential data, representing each trace as a sequence of activities.
  • Apply a kNN-based kernel method using normalized longest common subsequence (nLCS) as the similarity measure to compute anomaly scores.
  • Compute anomaly scores by measuring the average distance to the k-nearest neighbors in the sequence space.
  • Use kernel density estimation and z-scores to identify extreme values as potential anomalies.
  • Validate detected anomalies by comparing with process models discovered via DISCO, focusing on infrequent case variants.
  • Use z-scores and histogram analysis to assess the distribution of anomaly scores and identify top outliers.

Experimental results

Research questions

  • RQ1Can kernel-based sequential anomaly detection techniques effectively identify outliers in business process event logs without requiring labeled training data?
  • RQ2How does the choice of similarity kernel (e.g., nLCS) impact the performance and reliability of anomaly detection in sequential process traces?
  • RQ3How do different kNN parameter values (K) affect the detection of anomalous cases in real-world process logs?
  • RQ4Do the anomalies detected by the proposed method align with infrequent or deviant case variants identified by process mining tools like DISCO?
  • RQ5Is the distribution of anomaly scores in real-world logs consistent with a Gaussian-like pattern, enabling statistical thresholding?

Key findings

  • The proposed kNN kernel-based method with nLCS similarity successfully detects anomalous cases in a large real-world incident management dataset, with top anomaly scores reaching up to 4.582.
  • With K=5000, the anomaly score distribution showed a Gaussian-like shape, with a mean of 1.7692 and standard deviation of 0.2823, enabling statistical thresholding via z-scores.
  • The top five anomaly scores (4.582, 4.127, 4.106, 3.464, 3.325) corresponded to z-scores as high as 9.966, indicating extreme deviation from the norm.
  • The method identified five key anomalous traces, including one with repeated activity sequences (e.g., 35;35;35;35;9;25;25;25;1;27;...), which were validated as infrequent case variants in the DISCO process model.
  • The distribution of events per case and case variants showed positive skew, indicating that most cases are short, while a few long, complex cases are more likely to be anomalous.
  • The study confirms that both the kernel similarity measure (nLCS) and the kNN parameter (K) significantly influence the detection outcome, highlighting the importance of hyperparameter tuning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.