Modeling the Intensity Function of Point Process Via Recurrent Neural Networks

Shuai Xiao, Junchi Yan, Xiaokang Yang, Hongyuan Zha, Stephen M. Chu

Abstract

Predicting the timing and nature of future events in irregular sequences is a critical challenge in fields ranging from maintenance to healthcare. Traditional point process models often rely on rigid parametric assumptions that fail to capture complex real-world dynamics. This paper proposes a flexible "black-box" approach using a dual Recurrent Neural Network (RNN) architecture. By modeling the intensity function directly from data, the framework captures both slow-moving background trends and sudden, history-dependent event spikes. Experimental results on a large-scale ATM maintenance dataset demonstrate that this approach significantly outperforms state-of-the-art parametric models in both event classification and timestamp prediction.

Introduction

Many real-world phenomena, such as machine failures, medical emergencies, or social media interactions, occur as sequences of events at irregular intervals. In statistics, these are typically modeled as Point Processes, where the core component is the intensity function—a mathematical representation of the likelihood of an event occurring at any given time.

Historically, researchers have relied on parametric models like the Poisson process (constant rate) or the Hawkes process (self-exciting triggers). However, these models often struggle with the complexity of real-world data. If the chosen mathematical formula does not match the underlying physical process, the model's predictive power is severely limited. This research addresses this gap by replacing rigid formulas with a deep-learning-based architecture capable of learning the intensity function directly from raw event data.

Methodology: The Dual-RNN Architecture

The proposed model utilizes two distinct types of RNNs to capture different temporal dynamics within the data:

  1. Time-series RNN (LSTMy): This network processes data at fixed intervals (e.g., weekly). It is designed to track "spontaneous background" features that evolve slowly, such as the aging of equipment or seasonal environmental changes.
  2. Event-sequence RNN (LSTMz): This network is triggered asynchronously, only when an event occurs. It captures "history effects," modeling how specific past events (e.g., a minor sensor error) might influence the probability of future major failures.
Comparison of Time-series RNN and Event-sequence RNN inputs.

Model Fusion and Prediction

The hidden states from both the time-series and event-sequence RNNs are merged in an Embedding Mapping Layer. This unified representation is then passed to three specialized prediction heads:

  • Event Main-type Prediction: Categorizes the general nature of the next event (e.g., "Maintenance Ticket" vs. "System Error").
  • Event Subtype Prediction: Provides fine-grained classification (e.g., "Printer Jam" or "Cash Dispenser Failure").
  • Event Timestamp Prediction: Estimates the exact time the next event will occur.
The complete Intensity RNN architecture showing the fusion of LSTMy and LSTMz.

The model is trained using a multi-task loss function that combines cross-entropy for classification with a Gaussian penalty function for regression, ensuring high accuracy in both "what" and "when."

Experimental Evaluation

The model was evaluated using a comprehensive real-world dataset of ATM Maintenance Logs from a major North American bank. The dataset included over 1,500 ATMs and covered a six-month period. Events were categorized into "Tickets" and "Errors," with errors further divided into six functional subtypes.

Key Results

The "Intensity RNN" consistently outperformed baseline methods, including the Hawkes process and the Recurrent Marked Temporal Point Process (RMTPP):

  • Classification Accuracy: The model achieved a recall of approximately 0.90 for main event types, effectively flagging the vast majority of impending maintenance needs.
  • Timing Precision: For timestamp prediction, the model achieved a Mean Absolute Error (MAE) of 4.13 days, a significant improvement over the Hawkes process (5.26 days) and standard Logistic regression (4.52 days).
  • Joint Performance: Using the $F1\ Score+$ metric—which requires both the event type and the timing (within a 3-day window) to be correct—the Intensity RNN demonstrated a clear performance lead.

Discussion and Insights

The research highlights several critical insights for event modeling:

  • Temporal Synergy: Combining background trends (time-series) with event history (asynchronous sequences) is more effective than using either signal in isolation.
  • Hierarchical Prediction: While "flat" models work well for general categories, a hierarchical structure (predicting main types before subtypes) improves performance for granular details.
  • Flexibility over Rigidity: By avoiding parametric assumptions, the RNN-based approach mitigates the risk of "model mis-choice," allowing the network to adapt to the specific nuances of the dataset.

Conclusion

The Intensity RNN framework provides a robust, end-to-end solution for modeling complex event sequences. While it requires more data than simpler parametric models and offers less direct interpretability, its superior predictive accuracy makes it a powerful tool for industrial applications like predictive maintenance. Future work may explore extending this architecture to social network analysis or clinical health records.

Summary updated

BibTeX
@inproceedings{xiao2017modeling,
  author = {Shuai Xiao and Junchi Yan and Xiaokang Yang and Hongyuan Zha and Stephen M. Chu},
  title = {{Modeling the Intensity Function of Point Process Via Recurrent Neural Networks}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10724},
}
Figure