NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Let's Simply Count: Quantifying Distributional Similarity Between Activities in Event Data

Henrik Kirchmann, Stephan A. Fahrenkrog-Petersen, Xixi Lu, Matthias Weidlich

Abstract

Recent trends in process mining have favored complex deep learning architectures for learning activity embeddings. This paper challenges that paradigm by demonstrating that simple "count-based" embeddings—matrices tracking activity co-occurrences—are more interpretable, significantly faster, and often more accurate. By evaluating 12 model variations across 28 real-world datasets, we show that sequential context and Pointwise Mutual Information (PMI) are key to capturing the structural logic of business processes.

Introduction

Understanding the relationships between activities (e.g., "Approve Invoice" vs. "Release Payment") is fundamental to process mining tasks like trace clustering and predictive monitoring. Borrowing from Natural Language Processing (NLP), researchers often use dense vector embeddings like word2vec. However, business processes differ from natural language: they have much smaller "vocabularies" (tens to hundreds of activities vs. millions of words). This research investigates whether the complexity of neural networks is necessary or if simpler counting methods suffice.

Methods: The Power of Counting

The authors propose count-based embeddings defined by three design dimensions: context interpretation (Multiset vs. Sequence), matrix type (Activity-Activity vs. Activity-Context), and post-processing (PMI/PPMI).

Example of a count-based matrix showing co-occurrences of activities within specific contexts.

Pointwise Mutual Information is applied to normalize for high-frequency but uninformative activities, highlighting pairs that occur together more often than expected by random chance. The resulting matrices allow for similarity calculations using standard cosine distance, offering a transparent "white-box" alternative to neural embeddings.

Zipf’s Law in Business Processes

A key insight of the paper is that activity frequencies in event logs follow a power law (Zipf’s Law), similar to human language. This distribution makes PMI essential for filtering noise. Because the activity space is relatively small and dense, simple counting captures the underlying process structure more effectively than neural models that require massive data to generalize.

Relative frequency of activities vs. their rank across various event logs, demonstrating adherence to Zipf's Law.

Evaluation and Results

The study utilized 28 real-world event logs and introduced a novel benchmarking framework for "Intrinsic Evaluation." By creating synthetic logs where specific activities were replaced with "pools" of functionally identical events, the authors could objectively measure how well methods rediscovered these relationships.

Key Findings: - Superior Accuracy: Sequential PMI methods outperformed state-of-the-art neural methods (like act2vec) in "Nearest Neighbor" accuracy and "Compactness." - Predictive Performance: Using count-based Activity-Context (AC) matrices as input for LSTMs led to higher "Next Activity Prediction" accuracy than models using neural embeddings. - Efficiency: On the BPIC19 log, count-based methods finished in under 3 seconds, while a neural autoencoder took over 3 hours to produce a lower-quality result.

Conclusion

This work demonstrates that for the scale of data typical in process mining, "simply counting" is not just a baseline but a superior approach. Count-based embeddings provide a rare combination of high performance, extreme computational efficiency, and direct interpretability. While distributional similarity has limits—such as distinguishing between different outcomes of the same activity—future work incorporating event attributes promises to bridge these gaps.

Summary updated

BibTeX
@inproceedings{kirchmann2025let,
  author = {Henrik Kirchmann and Stephan A. Fahrenkrog-Petersen and Xixi Lu and Matthias Weidlich},
  title = {{Let's Simply Count: Quantifying Distributional Similarity Between Activities in Event Data}},
  booktitle = {ICPM},
  year = {2025},
  doi = {10.1109/icpm66919.2025.11220676},
}
Figure