NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

Contextual Outlier Detection in Continuous-Time Event Sequences

Siqi Liu, Milos HauskrechtarXiv 2019

TL;DR

This paper introduces novel methods for detecting "omission" (unexpected absence) and "commission" (unexpected occurrence) outliers in continuous-time event sequences, crucial for identifying abnormal situations in real-world data. By leveraging point process models that incorporate contextual information, their approach achieves state-of-the-art performance on both synthetic and clinical datasets, demonstrating the importance of context in outlier detection.

What Problem Does This Paper Address?

Many real-world processes generate sequences of events over time, like patient medication schedules or network packet arrivals. We typically expect these events to follow a regular pattern. However, deviations from this pattern can signal critical issues. For instance, a patient missing a scheduled medication (an "omission outlier") or taking it too early (a "commission outlier") could indicate a problem. Existing outlier detection methods often struggle with the temporal nature of these event sequences and the influence of external factors (context). This paper addresses the challenge of identifying both unexpected absences and unexpected occurrences of events in continuous-time sequences, specifically by incorporating contextual information into the detection process.

Methods

The authors propose a framework for contextual outlier detection in continuous-time event sequences based on probabilistic models, specifically temporal point processes. They define two types of outliers:

  • Commission Outliers: An event occurs unexpectedly, either too early or when it shouldn't have occurred at all, given the history and context.
  • Omission Outliers: An expected event is unexpectedly absent within a certain time frame.

Their approach uses Bayesian decision theory and hypothesis testing. A key innovation is the use of point process models that can incorporate contextual information. They adapt a continuous-time LSTM (Long Short-Term Memory) network to model the conditional intensity function (CIF) of the target events, allowing it to depend on both the history of target events and the history of context events. This allows them to calculate outlier scores for both commission and omission events. Theoretical guarantees on the false discovery rate (FDR) and false positive rate (FPR) are also provided.

Datasets

  • Synthetic Data: Generated using inhomogeneous Poisson processes and Gamma processes, with context states that change over time. Outliers were simulated by adding events from a separate point process (commission) or by randomly removing existing events (omission).
  • Real-World Clinical Data: Extracted from the MIMIC-III dataset, focusing on de-identified electronic health records of ICU patients. Four datasets were created using specific medications and lab tests as target events, with related medical information serving as context.

Key Insights and Ideas

  • Context is Crucial: The performance of their contextual point process model (CPPOD) significantly outperforms a similar model that only considers the history of target events (PPOD), highlighting the importance of external context for accurate outlier detection.
  • Unified Framework: The paper provides a unified framework for detecting both commission and omission outliers, which are often related to critical real-world problems.
  • Theoretical Guarantees: The proposed methods come with theoretical guarantees on FDR and FPR, offering a level of confidence in their performance.
  • Robustness to Assumptions: Experimental results suggest that the methods perform well even when the strict assumptions made during theoretical derivation (e.g., constant outlier rates) are not perfectly met in practice.

Key Results

  • State-of-the-Art Performance: CPPOD consistently achieved the best Area Under the Receiver Operating Characteristic (AUROC) scores on both synthetic and real-world clinical datasets for both commission and omission outlier detection.
  • Significant Improvement over Baselines: CPPOD significantly outperformed baseline methods like RND (random sampling) and LEN (inter-event time distribution), demonstrating the effectiveness of their point-process and context-aware approach.
  • Clinical Relevance: Manual evaluation of detected outliers on MIMIC-III data showed that many of the identified outliers were clinically relevant, indicating the practical utility of the proposed methods. For example, in some cases, the model correctly identified deviations from normal medication schedules.

Limitations and Future Work

  • Model Learning Robustness: The authors acknowledge that their methods assume clean training data (no outliers). Future work could focus on developing algorithms that can learn the models robustly in the presence of outliers.
  • Non-Stationary Environments: While their outlier detection methods can handle non-stationary outlier generation rates, the underlying point process model itself might benefit from better adaptation to non-stationary environments.
  • Theoretical vs. Practical Assumptions: While experiments show robustness, the theoretical guarantees are tied to specific assumptions. Further work could explore relaxing these assumptions or developing methods with stronger guarantees under more general conditions.

Summary updated

Abstract

Continuous-time event sequences represent discrete events occurring in continuous time. Such sequences arise frequently in real-life. Usually we expect the sequences to follow some regular pattern over time. However, sometimes these patterns may be interrupted by unexpected absence or occurrences of events. Identification of these unexpected cases can be very important as they may point to abnormal situations that need human attention. In this work, we study and develop methods for detecting outliers in continuous-time event sequences, including unexpected absence and unexpected occurrences of events. Since the patterns that event sequences tend to follow may change in different contexts, we develop outlier detection methods based on point processes that can take context information into account. Our methods are based on Bayesian decision theory and hypothesis testing with theoretical guarantees. To test the performance of the methods, we conduct experiments on both synthetic data and real-world clinical data and show the effectiveness of the proposed methods.
BibTeX
@misc{liu2019contextual,
  author = {Siqi Liu and Milos Hauskrecht},
  title = {{Contextual Outlier Detection in Continuous-Time Event Sequences}},
  year = {2019},
  eprint = {1912.09522},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.09522},
}
Figure