Mining Insights from Weakly-Structured Event Data

Niek TaxarXiv 2019

Introduction

Traditional process mining techniques have historically excelled in "normative" environments—business sectors where IT systems enforce strict operational rules. In these contexts, such as invoice processing or loan approvals, event logs are well-structured, leading to clear, end-to-end process models. However, as process mining expands into "weakly-structured" domains—including smart home monitoring, medical patient trajectories, and educational clickstreams—traditional algorithms often fail.

In these flexible environments, human behavior is highly variable. Applying standard discovery algorithms typically results in one of two extremes: "spaghetti models," which are overly complex and unreadable, or "flower models," which are so permissive they offer no predictive or descriptive value. This research addresses these challenges by shifting the focus from global, end-to-end models to Local Process Models (LPMs)—frequent, meaningful behavioral fragments that capture the essence of a process without requiring a single, all-encompassing map.

Methodological Framework

The proposed approach involves a two-stage pipeline: advanced data pre-processing followed by the mining of local patterns.

1. Advanced Pre-processing and Event Abstraction

To handle the inherent noise and ambiguity of weakly-structured data, several refinement techniques are introduced:

  • Time-based Label Refinement: Using circular statistics (specifically von Mises mixture models), vague activity labels are refined based on temporal patterns. For example, a generic "eating" event can be automatically disambiguated into "breakfast," "lunch," or "dinner," revealing more distinct behavioral sequences.
  • Chaotic Activity Filtering: Not all logged events contribute to a structured process. By applying information entropy metrics, "chaotic" activities—those that occur randomly relative to others—are identified and filtered, allowing the underlying structure of more stable activities to emerge.
  • Supervised Event Abstraction: Low-level sensor data (e.g., binary signals from a refrigerator door) is mapped to high-level human activities ("preparing a meal") using Conditional Random Fields (CRFs), bridging the gap between raw data and semantic meaning.

2. Mining Local Process Models (LPMs)

The core contribution is a framework for discovering small, frequent process fragments. Unlike global models, LPMs focus on subsets of activities that exhibit strong correlations.

  • Search and Heuristics: The framework utilizes process trees to explore combinations of sequence, choice, concurrency, and loops. To maintain computational feasibility on massive datasets like the MIMIC-II medical database, Markov clustering is used to project logs onto related activity subsets.
  • Utility-based Mining: Beyond simple frequency, the framework allows for "utility-based" discovery, prioritizing patterns associated with specific outcomes, such as high financial costs or significant delays.

Experimental Validation and Results

The methods were validated across a diverse range of real-world datasets, including smart home logs (Van Kasteren, MIT), business logs (BPI Challenge), and medical trajectories (SEPSIS, MIMIC-II).

  • Improved Precision: On smart home data, supervised event abstraction significantly improved the F-score (balancing fitness and precision) from 0.48 to 0.78.
  • Scalability: The use of SUBDUE-based projections for heuristic mining achieved massive performance gains, with speedups of over 500x on business logs and over 6,000x on the SEPSIS medical log compared to exhaustive search methods.
  • Actionable Insights: In a case study involving IT service desk incidents, utility-based LPMs identified specific software anomalies involving over 1,100 interactions—patterns that were entirely obscured in global process models.

Discussion and Future Work

While LPMs provide a powerful alternative to global discovery, several challenges remain. The current reliance on process trees introduces a representational bias that may struggle with long-term dependencies (e.g., an event on Monday influencing an action on Friday). Furthermore, calculating "alignments" remains computationally intensive for long event traces.

Future research should focus on developing a "litmus test" to help practitioners decide when to transition from global to local mining. Additionally, moving toward probabilistic process models could provide more nuanced insights by quantifying the likelihood of specific behavioral transitions rather than just their possibility.

Summary updated

BibTeX
@misc{tax2019mining,
  author = {Niek Tax},
  title = {{Mining Insights from Weakly-Structured Event Data}},
  year = {2019},
  eprint = {1909.01421},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.01421},
}
Figure