Abstract
Temporal Point Processes (TPPs) are critical for modeling event sequences in high-stakes domains such as healthcare and finance. However, current methodologies present a trade-off between the interpretability of traditional Hawkes processes and the predictive performance of deep neural models. We introduce Neuro-Symbolic Temporal Point Processes (NS-TPP), a framework that bridges this gap by automatically discovering human-readable temporal logic rules from irregular event data. By representing logic rules as learnable vector embeddings and utilizing a sequential covering algorithm, NS-TPP achieves a 112x speedup over previous state-of-the-art methods while significantly improving both rule discovery accuracy and event time prediction.
Introduction
In critical applications, understanding the causal drivers behind an event is as vital as predicting its occurrence time. Traditional TPPs are interpretable but often fail to capture complex, non-linear dynamics. Conversely, deep learning TPPs, such as Transformer Hawkes models, offer high predictive accuracy but function as "black boxes." Existing rule-mining techniques attempt to reconcile these approaches but are frequently hampered by noisy data, the need for balanced datasets, and the computational explosion inherent in searching discrete logic spaces. NS-TPP addresses these challenges by treating rule induction as a continuous neural optimization problem, enabling efficient and accurate discovery of logical patterns in unsupervised event streams.
Methodology
NS-TPP employs a differentiable, end-to-end framework to transform discrete logic induction into a gradient-based optimization task. The architecture consists of several key components:
- Neural-Symbolic Feature Construction: Predicates (e.g., specific clinical indicators) are mapped to fixed vector embeddings. Logic rules are represented as learnable "rule embeddings" containing multiple slots.
- Differentiable Rule Induction: Rather than performing a combinatorial search, the model utilizes a softmax-based similarity mechanism to populate rule slots with the most relevant predicates. This allows the framework to leverage gradient descent to identify optimal logical formulas.
- Temporal Logic Integration: The system incorporates temporal relations (Before, After, Equal, None) by embedding these relations and evaluating them against event timestamps using a "soft-min" function. This maintains differentiability while approximating the logical "AND" operation.
- Sequential Covering Algorithm: To manage complexity, NS-TPP learns rules iteratively. Once a rule is discovered, the event sequences it explains are removed from the dataset, allowing the model to focus on remaining patterns. This "divide and conquer" strategy is the primary driver of the model's computational efficiency.
Experimental Evaluation
The framework was evaluated across synthetic benchmarks and real-world datasets, including driving behavior (Car-Following) and clinical ICU data (MIMIC-IV).
- Synthetic Benchmarks: Evaluated across three groups of varying rule complexity and sample sizes ranging from 5,000 to 20,000 sequences.
- Clinical Validity: In the MIMIC-IV dataset, NS-TPP was tasked with discovering rules for sudden drops in urine output in septic patients. The model successfully identified rules linking venous $O_2$ pressure and lactic acid levels to renal hypoperfusion, aligning with established medical literature.
Results and Discussion
NS-TPP demonstrates substantial improvements over existing logic-based models like TELLER and CLUSTER. On synthetic benchmarks, rule discovery accuracy improved from approximately 49% to 93%. Furthermore, the model achieved an average 112-fold speedup in training time.
Beyond interpretability, NS-TPP also excels in predictive performance. When compared to "black-box" neural models such as RMTPP and THP, NS-TPP provided more accurate event time predictions, achieving a Mean Absolute Error (MAE) of 24.86 compared to 26.15 for the best-performing baseline. This suggests that the discovered logical structures effectively capture the underlying generative process of the data.
Conclusion
NS-TPP represents a significant advancement in interpretable temporal modeling. By transforming rule discovery into a differentiable optimization problem and employing sequential covering, the framework provides a scalable and accurate solution for mining logic from event streams. Future work will focus on expanding the vocabulary of temporal relations and scaling the system to handle more heterogeneous datasets with larger event vocabularies.
Summary updated