Abstract
In high-stakes domains such as healthcare and finance, the ability to predict abnormal events must be matched by the ability to explain them. Traditional deep learning models, while effective at forecasting event timing, often operate as "black boxes," lacking the transparency required for critical decision-making. This paper introduces a novel framework that integrates the statistical rigor of Temporal Point Processes (TPPs) with the interpretability of formal logic. By treating the underlying causes of events as latent variables within a rule-informed mixture model, the proposed method automatically discovers "if-then" causal rules from unlabeled event sequences. Experimental results on synthetic datasets and the MIMIC-IV clinical database demonstrate that this approach not only outperforms state-of-the-art black-box models in predictive accuracy but also extracts human-readable rules that align with expert domain knowledge.
Introduction
Detecting and predicting abnormal events—such as sudden patient deterioration in an Intensive Care Unit (ICU) or anomalous market shifts—is a fundamental challenge in time-series analysis. While Recurrent Neural Networks (RNNs) and Transformers have advanced the state of the art in temporal prediction, they fail to provide the "why" behind the "when." In clinical settings, a notification of impending septic shock is far more actionable if accompanied by a logical explanation, such as: "Urine output is declining because blood pressure dropped following a heart rate spike."
Existing methods for anomaly explanation often suffer from two primary limitations: a lack of inherent interpretability and a heavy reliance on expensive, expert-labeled data. To address these gaps, this research proposes a differentiable framework for unsupervised rule discovery, bridging the gap between continuous-time statistical modeling and discrete symbolic logic.
Methodology
Rule-Informed Mixture Model
The core of the framework is a mixture model embedded within a Temporal Point Process. The occurrence of events is modeled via an intensity function $\lambda(t)$, which represents the instantaneous rate of events. In this model, any given event is assumed to be generated by one of two sources:
- Spontaneous Background Noise: Random occurrences not governed by specific logic.
- Latent Causal Rules: Events triggered by specific preceding patterns defined by temporal logic.
By formulating the intensity function as a mixture, the model treats the specific rule responsible for an event as a latent variable. This allows the system to cluster events by their underlying causes without requiring manual labels.
Temporal Logic and Differentiable Learning
Unlike simple association rules, the framework utilizes temporal logic predicates that account for both the presence of variables and their relative ordering (e.g., "If $X_1$ occurs before $X_2$, then $Y$ follows").
A significant technical challenge in rule discovery is the discrete nature of logic, which typically requires exhaustive combinatorial searches. To overcome this, the authors introduced Differentiable Rule Learning. By applying continuous relaxation and reparameterized Top-K subset sampling (utilizing Gumbel noise), the search for optimal logic rules is transformed into a gradient-based optimization problem. This allows the model to learn both the logic structure and the event dynamics simultaneously through an Expectation-Maximization (EM) algorithm.
To handle varying rule lengths, the authors employed a "dummy predicate" mechanism. This allows the model to select fewer than the maximum allowed predicates if a simpler rule provides a better fit for the data, effectively implementing a form of Occam's Razor during the learning process.
Experimental Evaluation
Synthetic Benchmarks
The model was first tested on four synthetic datasets where the "ground truth" causal rules were known. The framework demonstrated high fidelity in rule recovery, achieving Jaccard similarity scores between 0.8 and 1.0. This confirms the model's ability to correctly identify both the relevant predicates and their temporal relationships from raw sequence data.
Real-World Application: MIMIC-IV Sepsis Study
The framework was applied to the MIMIC-IV dataset, focusing on 4,000 sepsis patients. The objective was to predict and explain "Low Urine Output," a critical indicator of septic shock, using 29 physiological variables.
- Predictive Performance: The proposed model achieved a Mean Absolute Error (MAE) of 2.3675 for event time prediction. This outperformed established black-box architectures, including the Transformer Hawkes Process (2.4234) and RMTPP (2.4643).
- Interpretability: The rules discovered by the model—such as those linking arterial blood pressure and ionized calcium levels to urine output—were reviewed by medical experts. These rules were found to be clinically valid and consistent with existing literature on sepsis progression.
Conclusion
This research presents a significant step toward transparent AI in temporal event modeling. By converting discrete logical structures into a differentiable optimization task, the framework enables the unsupervised discovery of causal rules that are both predictive and interpretable. While future work will look to scale this approach to larger predicate sets and more complex logical structures (such as disjunctions and negations), the current model provides a robust foundation for explainable AI in high-stakes, time-sensitive environments.
Summary updated