Beyond Yes or No: Predictive Compliance Monitoring Approaches for Quantifying the Magnitude of Compliance Violations

Qian Chen, Stefanie Rinderle-Ma, Lijie WenarXiv 2025 · DOI · arXiv

In business process management, compliance is traditionally viewed through a binary lens: a process either adheres to established rules or it does not. However, this "yes or no" approach fails to capture the operational reality where the severity of a violation matters. A delay of five minutes in a shipping process is fundamentally different from a delay of five days. Recent research by Qian Chen, Stefanie Rinderle-Ma, and Lijie Wen proposes a shift toward quantifying the actual magnitude of these deviations to enable more nuanced decision-making.

The Limitation of Binary Compliance

Most existing Predictive Compliance Monitoring (PCM) tools focus on predicate prediction—a binary classification task. While these tools can alert a manager that an insurance claim is likely to violate a 24-hour processing rule, they offer no insight into the scale of the failure.

Quantifying the magnitude of violation allows organizations to transition to risk-informed decision-making. By knowing the predicted severity, managers can prioritize interventions for cases with the highest potential impact, better balancing the "cost of intervention" against the "cost of non-compliance."

Proposed Methodologies

To move from simple classification to quantification, the researchers developed two primary strategies focusing on temporal (time-based) constraints:

  1. The Hybrid Approach: This method reformulates compliance monitoring as a regression task. Compliant cases are assigned a value of 0, while deviant cases are assigned a positive value representing the duration of the violation. The model is then trained to minimize Mean Squared Error (MSE).
  2. Multi-task Learning (MTL): This more sophisticated architecture utilizes "shared layers" to learn general process features. These features feed into two distinct output heads: one for binary classification (is it a violation?) and one for regression (how large is the violation?).
The Multi-task Learning (MTL) architecture, featuring shared layers and dual output heads for compliance and magnitude prediction.

In the MTL model, the regression head specifically leverages the output of the classification head, acknowledging that magnitude is only a relevant metric if a violation is predicted to occur.

Data Labeling and Experimental Setup

The researchers evaluated these approaches using both traditional machine learning (XGBoost) and deep learning (Attention-based Bidirectional LSTM) across three datasets: a synthetic Order-to-Cash process (o2c_1), hospital logs (Sepsis), and loan application data (BPIC2012w).

An example of an event log where cases are labeled with both a binary 'deviant/normal' status and a numerical 'magnitude' value.

Key Insights and Results

  • Superiority of MTL: The MTL approach consistently outperformed the Hybrid approach. By learning classification and magnitude tasks simultaneously, the model developed a richer, more accurate representation of the process dynamics.
  • The Zero-Inflation Challenge: Pure regression (the Hybrid approach) struggled with datasets where violations were rare. In these "zero-inflated" scenarios, the models became biased toward the majority (compliant) cases, failing to accurately predict rare, high-magnitude outliers.
  • Performance Stability: Crucially, adding magnitude quantification did not degrade the accuracy of the binary prediction. The Area Under the Curve (AUC) for predicting if a violation would occur remained comparable to state-of-the-art binary-only classifiers.
  • Quantification Accuracy: MTL significantly reduced the Mean Absolute Error (MAE) in violation magnitude. For instance, in the Sepsis dataset, MTL achieved an MAE of 3.64 hours, a marked improvement over the 6.06 hours seen in baseline models.

Future Directions

While this research successfully addresses temporal constraints, the authors note that future work must expand into other dimensions. This includes quantifying violations in data constraints (e.g., unauthorized financial discounts) and control-flow constraints (e.g., skipping mandatory safety steps). Additionally, exploring dynamic loss weighting could further optimize how MTL models balance classification and regression tasks during the training phase.

Summary updated

BibTeX
@misc{chen2025beyond,
  author = {Qian Chen and Stefanie Rinderle-Ma and Lijie Wen},
  title = {{Beyond Yes or No: Predictive Compliance Monitoring Approaches for Quantifying the Magnitude of Compliance Violations}},
  year = {2025},
  eprint = {2502.01141},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.01141},
}
Figure