TL;DR
This paper introduces IMTPP, a novel unsupervised framework for modeling continuous-time event sequences that are incomplete (i.e., have missing events). By treating missing events as latent variables and employing a coupled Marked Temporal Point Process (MTPP) approach with variational inference, IMTPP effectively imputes missing data and enhances prediction accuracy, outperforming existing methods on real-world datasets.
What Problem Does This Paper Address?
Many real-world phenomena, from user interactions on online platforms to health records and mobility patterns, generate data as sequences of events occurring over continuous time. Learning from these sequences is crucial for understanding underlying dynamics and making predictions. However, a significant challenge arises because these event sequences are often incomplete – events can be missing due to various practical reasons like data collection limitations, privacy concerns, or system failures. Traditional Marked Temporal Point Process (MTPP) models, which are powerful for modeling such event data, typically assume complete observations. While some recent work has attempted to address missing events, they often rely on supervised learning requiring prior knowledge of which events are missing or employ computationally expensive methods. This paper tackles the problem of learning MTPPs in an unsupervised manner from sequences with missing events, aiming to improve both prediction and imputation capabilities.
Methods
The core contribution of this paper is the IMTPP (Intermittently-observed Marked Temporal Point Process) model. IMTPP addresses missing data by:
- Coupled MTPP Framework: It models observed and missing events using two distinct but coupled MTPPs. Missing events are treated as latent random variables.
- Unsupervised Learning with Variational Inference: IMTPP is trained using a variational inference approach to maximize the evidence lower bound (ELBO) of the observed data's likelihood. This allows it to learn from incomplete sequences without explicit labels for missing events.
- Generative Models: The model comprises three key components:
- An MTPP for observed events ($p_\theta$).
- A prior MTPP for missing events ($p_{prior}$).
- A posterior MTPP for missing events ($q_\phi$), which uses information from future observed events to better model missing events within an interval.
- Recurrent Neural Networks (RNNs): RNNs are used to embed the history of observed and missing events into hidden states, capturing temporal dependencies.
- Log-Normal Distribution for Inter-arrival Times: Unlike intensity-based models, IMTPP uses a log-normal distribution for inter-arrival times, which offers advantages in sampling efficiency and re-parameterization for training.
- Forward Computations: The model primarily uses forward computations, making it efficient for streaming data and avoiding the quadratic complexity associated with re-generating all missing events when a new observation arrives.
The paper also introduces IMTPP++, a variant designed for improved practicability. IMTPP++ offers a trade-off between the number of missing events and scalability by imputing a fixed number of events and optimizing for prediction quality. It also includes a two-step training procedure that allows for identifying optimal positions for missing events.
Datasets
The authors evaluated IMTPP on eight real-world datasets from diverse domains:
- Amazon Movies [39]: User reviews with ratings as marks.
- Amazon Toys [39]: Similar to Movies, but for toys.
- NYC Taxi: Taxi pick-up and drop-off events with location IDs as marks.
- Twitter [64]: Retweets grouped by user connectivity (ordinary, popular, influencer).
- Stack Overflow [12]: User badge awards.
- Foursquare [61]: User check-ins with location types as marks.
- Celebrity [38]: Frames from celebrity videos.
- Health [3]: ECG records.
Additionally, they used a Synthetic Dataset generated using the open-source library tick¹, which simulates a two-dimensional Hawkes process.
Key Insights and Ideas
- Unsupervised Handling of Missing Data is Crucial: The paper strongly demonstrates that ignoring missing data or relying on supervised methods significantly hinders performance. An unsupervised approach that learns to model missing events is essential for real-world applicability.
- Missing Events as Latent Variables: Treating missing events as latent variables within a coupled MTPP framework is a powerful way to jointly learn observed and unobserved dynamics. This allows the model to infer the underlying complete process.
- Posterior MTPP for Contextual Imputation: The introduction of a posterior MTPP ($q_\phi$) that considers future observed events is a key innovation. This allows for more accurate imputation of missing events within a specific time interval, as it leverages more context.
- Efficiency Gains from Forward-Only Computation: By avoiding backward RNN passes for imputation, IMTPP achieves linear complexity with respect to the number of observed events, making it significantly more scalable and suitable for streaming data compared to methods like PFPP [36].
- Log-Normal Distribution Benefits: The use of a log-normal distribution for inter-arrival times, rather than traditional intensity functions, simplifies sampling and training, leading to better performance and efficiency.
- IMTPP++: A Practical Trade-off: The IMTPP++ variant offers a valuable trade-off by fixing the number of imputed events, making it more practical for scenarios where computational resources are limited, while still achieving competitive results.
Key Results
- Superior Prediction Performance: IMTPP consistently outperforms state-of-the-art baselines (HP, SMHP, RMTPP, SAHP, THP, PFPP, HPMD) in terms of Mean Absolute Error (MAE) for time prediction and Mark Prediction Accuracy (MPA) across most datasets. For example, on the Movies dataset, IMTPP achieves an MAE of 0.049, outperforming the next best (PFPP) by a notable margin.
- Effective Missing Data Imputation: IMTPP demonstrates strong performance in imputing synthetically deleted missing events, outperforming PFPP in time prediction and performing competitively in mark prediction.
- Efficiency: IMTPP exhibits significantly better runtime performance compared to PFPP, especially in streaming settings, due to its linear complexity versus PFPP's quadratic complexity.
- Long-Term Forecasting: IMTPP shows improved performance in long-term forecasting, achieving up to 5.5% improvement in MPA and 10.12% improvement in MAE over RMTPP on Movies and Toys datasets.
- Stable Optimization: The model exhibits stable optimization procedures, with mark prediction performance showing good convergence even in early training iterations.
Limitations and Future Work
- Partially Missing Events: The paper acknowledges that an unaddressed aspect is "partially missing events," where either the time or the mark of an event is missing, but not both.
- Constrained Optimization Improvement: The authors suggest that the constrained optimization procedure in IMTPP++ could be further improved using Lagrangian multipliers to facilitate faster convergence.
- Modeling or Sampling Missing Data: The observation that including missing data improves performance opens avenues for further research into more sophisticated methods for modeling or sampling missing data.
- Extending IMTPP++: The authors plan to extend their model for modeling partially missing events and to use the enhanced learning procedure for IMTPP++ for future work.
Summary updated