[Paper Review] An Interdisciplinary Comparison of Sequence Modeling Methods for Next-Element Prediction
This paper presents a cross-disciplinary benchmark comparing sequence modeling techniques from machine learning, grammar inference, and process mining for next-element prediction. It evaluates probabilistic models on four real-world datasets, finding that black-box machine learning methods (e.g., RNNs, LSTMs) outperform interpretable models from process mining and grammar inference in predictive accuracy, despite the latter's focus on human interpretability.
Data of sequential nature arise in many application domains in forms of, e.g. textual data, DNA sequences, and software execution traces. Different research disciplines have developed methods to learn sequence models from such datasets: (i) in the machine learning field methods such as (hidden) Markov models and recurrent neural networks have been developed and successfully applied to a wide-range of tasks, (ii) in process mining process discovery techniques aim to generate human-interpretable descriptive models, and (iii) in the grammar inference field the focus is on finding descriptive models in the form of formal grammars. Despite their different focuses, these fields share a common goal - learning a model that accurately describes the behavior in the underlying data. Those sequence models are generative, i.e, they can predict what elements are likely to occur after a given unfinished sequence. So far, these fields have developed mainly in isolation from each other and no comparison exists. This paper presents an interdisciplinary experimental evaluation that compares sequence modeling techniques on the task of next-element prediction on four real-life sequence datasets. The results indicate that machine learning techniques that generally have no aim at interpretability in terms of accuracy outperform techniques from the process mining and grammar inference fields that aim to yield interpretable models.
Motivation & Objective
- To bridge the gap between isolated research communities in machine learning, grammar inference, and process mining by enabling cross-field comparison of sequence modeling techniques.
- To evaluate the predictive performance of sequence models from different disciplines on a common task: next-element prediction with full probability distribution output.
- To assess whether interpretable models from process mining and grammar inference can match the accuracy of black-box machine learning models in sequence prediction.
- To investigate the feasibility of using discovered Petri nets from process mining as generative probabilistic models for sequence prediction.
Proposed method
- Adapted process mining techniques to generate probabilistic sequence models by using two approaches: uniform distribution (based on visual structure) and empirical distribution (optimized from training logs).
- Mapped sequence modeling methods from three fields—machine learning (e.g., RNNs, LSTMs, HMMs), grammar inference (probabilistic context-free grammars), and process mining (Petri nets)—into a common next-element prediction framework.
- Used four real-life datasets spanning text, DNA, software traces, and business processes to evaluate model performance.
- Evaluated models using log-likelihood and accuracy metrics, focusing on the full probability distribution over next elements, not just the most likely one.
- Implemented probabilistic prefix-alignment to infer categorical probability distributions over next elements per marking in process models.
- Standardized evaluation across fields by using the same task, metrics, and datasets to ensure fair comparison.
Experimental results
Research questions
- RQ1How do machine learning-based sequence models compare in predictive accuracy to interpretable models from process mining and grammar inference for next-element prediction?
- RQ2Can process mining techniques, traditionally used for process discovery, be effectively repurposed as generative probabilistic sequence models?
- RQ3To what extent do interpretable models from grammar inference and process mining achieve comparable predictive performance to black-box machine learning models?
- RQ4What is the impact of model interpretability on predictive accuracy in sequence modeling tasks?
Key findings
- Machine learning models, particularly RNNs and LSTMs, achieved significantly higher predictive accuracy than models from grammar inference and process mining on all four datasets.
- The empirical distribution approach in process mining outperformed the uniform distribution approach, indicating that training data-driven probability estimation improves prediction quality.
- Despite their focus on interpretability, process mining and grammar inference models produced lower log-likelihood scores than machine learning models, indicating weaker generalization to unseen sequences.
- The performance gap was most pronounced in complex, long-tailed sequence distributions (e.g., software execution traces and DNA sequences), where machine learning models adapted better to rare transitions.
- Probabilistic prefix-alignment was shown to be essential for accurate probability estimation in process models, highlighting a key limitation of non-probabilistic alignment methods.
- The results suggest that when predictive accuracy is prioritized over interpretability, machine learning-based sequence models are superior for next-element prediction tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.