Skip to main content
QUICK REVIEW

[Paper Review] Joint Modeling of Event Sequence and Time Series with Attentional Twin Recurrent Neural Networks

Shuai Xiao, Junchi Yan|arXiv (Cornell University)|Mar 24, 2017
Functional Brain Connectivity StudiesNeuroscience43 references27 citations
TL;DR

This paper proposes an interpretable attentional twin RNN model, ATRPP, that jointly models event sequences and time series by synergistically using two recurrent networks—one for asynchronous events and one for time series—to predict future event types and timestamps. The model achieves state-of-the-art performance in synthetic and real-world datasets, including healthcare and system monitoring, with enhanced interpretability via attention mechanisms.

ABSTRACT

A variety of real-world processes (over networks) produce sequences of data whose complex temporal dynamics need to be studied. More especially, the event timestamps can carry important information about the underlying network dynamics, which otherwise are not available from the time-series evenly sampled from continuous signals. Moreover, in most complex processes, event sequences and evenly-sampled times series data can interact with each other, which renders joint modeling of those two sources of data necessary. To tackle the above problems, in this paper, we utilize the rich framework of (temporal) point processes to model event data and timely update its intensity function by the synergic twin Recurrent Neural Networks (RNNs). In the proposed architecture, the intensity function is synergistically modulated by one RNN with asynchronous events as input and another RNN with time series as input. Furthermore, to enhance the interpretability of the model, the attention mechanism for the neural point process is introduced. The whole model with event type and timestamp prediction output layers can be trained end-to-end and allows a black-box treatment for modeling the intensity. We substantiate the superiority of our model in synthetic data and three real-world benchmark datasets.

Motivation & Objective

  • To address the gap in joint modeling of asynchronous event sequences and evenly-sampled time series data, which often co-occur in real-world systems but are typically modeled separately.
  • To overcome limitations of parametric point process models that rely on strong assumptions (e.g., self-excitation in Hawkes processes) and lack flexibility in capturing complex dynamics.
  • To develop an end-to-end trainable, nonparametric model that learns dynamic intensity functions without prior structural assumptions.
  • To enhance model interpretability by integrating an attention mechanism that highlights salient past events and time series features.

Proposed method

  • The model uses two parallel long short-term memory (LSTM) networks: one processes event sequences (event types and timestamps), and the other processes time series data.
  • The intensity function of the temporal point process is modeled as a nonlinear, learned function of the joint hidden states from both RNNs, enabling dynamic, context-aware intensity prediction.
  • An attention mechanism is applied to the event sequence RNN to identify and weigh the most relevant past events for predicting the next event, improving interpretability.
  • The model is trained end-to-end with two output heads: one for predicting the next event type and one for predicting the next event timestamp.
  • The intensity function is implicitly learned via backpropagation through time, avoiding explicit parametric form assumptions.
  • The model is evaluated on synthetic data and three real-world datasets: MIMIC-III (electronic health records), IBM ATR (system failure logs), and MemeTracker (social media events).

Experimental results

Research questions

  • RQ1Can a deep learning model jointly model asynchronous event sequences and time series data to improve prediction accuracy compared to separate modeling approaches?
  • RQ2How effectively can a twin-RNN architecture with attention capture the complex, dynamic interactions between event sequences and background time series?
  • RQ3To what extent does the attention mechanism improve interpretability by highlighting salient events and time series features in the prediction process?
  • RQ4Does the proposed model outperform existing parametric and semi-parametric point process models in both event type and timestamp prediction tasks?
  • RQ5Can the model uncover meaningful underlying network structures (e.g., disease progression patterns) from real-world clinical and system monitoring data?

Key findings

  • ATRPP outperforms all baseline models in both event type and timestamp prediction on the MIMIC-III, IBM ATR, and MemeTracker datasets.
  • On the MIMIC-III dataset, ATRPP achieved the highest F1-score for event type prediction and lowest mean absolute error (MAE) for timestamp prediction, significantly outperforming RMTPP and Hawkes process baselines.
  • The attention mechanism successfully identified clinically meaningful patterns: for example, alcohol-related diseases were linked to higher risks of urinary catheter reactions and gastrointestinal hemorrhage.
  • The model revealed disease progression pathways, such as from tracheobronchial diseases to paroxysmal ventricular tachycardia and acute intestinal ischemia, suggesting plausible clinical sequences.
  • Community detection on the attention-induced directed network showed cohesive clusters, indicating the model captures latent relational structures in the data.
  • Even with sparse patient visit data, ATRPP outperformed higher-order Markov chains, suggesting its robustness to data sparsity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.