Skip to main content
QUICK REVIEW

[Paper Review] Real-time Drift Detection on Time-series Data

Nandini Ramanan, Rasool Tahmasbi|arXiv (Cornell University)|Oct 12, 2021
Data Stream Mining TechniquesComputer Science9 references5 citations
TL;DR

This paper proposes UTDD, an unsupervised temporal drift detection method for time-series data that removes seasonal and cyclical patterns using Boosted Embeddings before detecting concept drift via z-scores on residuals. It enables real-time, label-free model adaptation in streaming environments with seasonal variation, achieving effective drift detection without ground truth, as validated on synthetic data with 0.53 and 0.65 z-scores indicating drift between August–September and September–October.

ABSTRACT

Practical machine learning applications involving time series data, such as firewall log analysis to proactively detect anomalous behavior, are concerned with real time analysis of streaming data. Consequently, we need to update the ML models as the statistical characteristics of such data may shift frequently with time. One alternative explored in the literature is to retrain models with updated data whenever the models accuracy is observed to degrade. However, these methods rely on near real time availability of ground truth, which is rarely fulfilled. Further, in applications with seasonal data, temporal concept drift is confounded by seasonal variation. In this work, we propose an approach called Unsupervised Temporal Drift Detector or UTDD to flexibly account for seasonal variation, efficiently detect temporal concept drift in time series data in the absence of ground truth, and subsequently adapt our ML models to concept drift for better generalization.

Motivation & Objective

  • To address the challenge of detecting concept drift in time-series data when ground truth labels are unavailable in real-time applications.
  • To develop a method that effectively handles complex, non-linear seasonal and cyclical patterns in time-series data without prior knowledge of their structure.
  • To enable automated, cost-efficient model retraining by detecting statistical drift in the residual behavior after seasonality removal.
  • To provide a generic, black-box solution for unsupervised temporal drift detection applicable across diverse domains such as network security and system monitoring.

Proposed method

  • The method uses Boosted Embeddings (BE) to model and remove seasonal and cyclical patterns from raw time-series data in a black-box manner.
  • It computes residuals by subtracting the fitted seasonal component (from BE) from the original data, resulting in a stationary series.
  • The z-score of the residual series is computed and compared to a baseline z-score distribution from training data to detect drift.
  • The algorithm operates in real time using a sliding window, enabling continuous monitoring of data distribution shifts.
  • It incorporates additional categorical variables (e.g., weekday, holiday effects) as exogenous inputs to enhance seasonal modeling accuracy.
  • The approach is designed to be robust to unknown, non-linear, and multi-periodic seasonalities common in real-world data.

Experimental results

Research questions

  • RQ1Can concept drift in time-series data be reliably detected in the absence of ground truth labels?
  • RQ2How can seasonal and cyclical patterns be effectively modeled and removed to isolate underlying drift in the residual signal?
  • RQ3Can an unsupervised method detect temporal drift with high sensitivity and low false positive rates in multi-seasonal environments?
  • RQ4How does the z-score of the residual series compare to baseline values to indicate statistical drift?

Key findings

  • The method successfully detected drift between August and September, with a residual z-score of 0.53, indicating a significant deviation from baseline.
  • A higher z-score of 0.65 was observed between September and October, confirming further drift in the data distribution.
  • The use of Boosted Embeddings enabled accurate modeling of complex, non-linear seasonal patterns without prior knowledge of their periodicity or shape.
  • The residual z-score analysis provided a reliable, label-free indicator of concept drift, enabling automated retraining triggers.
  • The approach demonstrated effectiveness in isolating drift from seasonal variation, even when seasonal patterns differed between weekdays and weekends.

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.