Request-and-Reverify: Hierarchical Hypothesis Testing for Concept Drift Detection with Expensive Labels

Shujian Yu, Xiaoyang Wang, José C. Príncipe

Abstract

Concept drift detection typically assumes immediate access to ground-truth labels, which is often impractical due to high annotation costs. This paper proposes a Hierarchical Hypothesis Testing (HHT) framework that uses an unsupervised first layer to flag potential drifts and a supervised second layer to verify them. This "Request-and-Reverify" strategy achieves state-of-the-art detection accuracy while significantly reducing label requests compared to traditional supervised methods.

Introduction

In real-world machine learning applications, data is rarely stationary. The underlying distribution of incoming data often changes over time—a phenomenon known as concept drift—which can severely degrade a model's predictive performance if the model isn't updated.

To detect these drifts, most existing methods rely on a highly unrealistic assumption: that true labels for all incoming data are immediately and freely available. In reality, acquiring labels requires expensive human annotation or laboratory testing. Conversely, fully unsupervised drift detectors (which only look at shifts in feature distributions) suffer from high false-positive rates, often mistaking harmless data fluctuations for actual drift. This paper bridges the gap by proposing a system that minimizes false alarms while only requesting expensive labels when absolutely necessary.

Methodology: The HHT Framework

The authors propose a novel Hierarchical Hypothesis Testing (HHT) framework featuring a two-tiered "Request-and-Reverify" strategy. This architecture is designed to balance the low cost of unsupervised monitoring with the high precision of supervised verification.

The Hierarchical Hypothesis Testing (HHT) architecture featuring a two-tiered 'Request-and-Reverify' strategy.

The framework operates in two distinct stages:

  1. Layer-I (Unsupervised): Continuously monitors the incoming unlabeled data stream using statistical tests. If it detects a significant change in the feature distribution or model behavior, it flags a potential drift.
  2. Layer-II (Supervised): Once Layer-I triggers an alarm, the system requests a small, specific window of true labels. It then runs a second statistical test to confirm or deny the drift. If confirmed, the model is updated; if denied, the alarm is dismissed as a false positive, saving retraining costs.

The authors implement this framework using two distinct algorithmic approaches: HHT-CU (Classification Uncertainty), which tracks model confidence using Hoeffding’s inequality, and HHT-AG (Attribute-wise Goodness-of-fit), which monitors feature distributions via Kolmogorov-Smirnov tests.

Experimental Evaluation

The methods were evaluated on a mix of synthetic and real-world benchmarks. Synthetic datasets (e.g., 2CDT, 2CHT, 4CR) allowed for precise quantitative evaluation by injecting controlled drift points. Real-world datasets included USENET1 (text classification), Keystroke (typing dynamics), and Posture (sensor data).

Key Results and Label Efficiency

The primary advantage of the HHT framework is its ability to maintain high detection performance while drastically reducing the need for ground-truth labels.

Comparison of label usage percentages across various synthetic datasets for HHT-CU, HHT-AG, and baseline methods.

Key findings include:

  • Superiority to Unsupervised Baselines: On synthetic data, both HHT-CU and HHT-AG overwhelmingly outperformed state-of-the-art unsupervised methods (like MD3 and CDBD) in Precision and Recall metrics.
  • Massive Reduction in Label Usage: As shown in the table above, HHT-CU achieved comparable or better detection accuracy than the popular supervised Drift Detection Method (DDM), but used only 12% to 35% of the labels required by DDM.
  • Real-world Efficacy: On the USENET1 dataset, HHT-CU achieved an 85% cumulative classification accuracy using only 30.77% of the labels. In contrast, DDM achieved a lower accuracy (83%) while requiring 100% of the labels.

Discussion and Limitations

The "Request-and-Reverify" approach demonstrates that label efficiency is possible without sacrificing accuracy. By using uncertainty or feature shifts as a proxy, the system acts as a filter, ensuring labeling costs are only incurred when there is strong statistical suspicion of a shift.

However, the framework relies entirely on the unsupervised Layer-I to trigger the verification process. If a concept drift occurs purely in the relationship between features and labels (i.e., $\mathbb{P}(y|X)$ changes) without any noticeable change in the raw feature distribution ($\mathbb{P}(X)$) or model uncertainty, Layer-I will miss it. This was observed on the synthetic "4CR" dataset, where the proposed methods failed to detect the drift. Future work will explore more sensitive unsupervised proxies to catch these edge-case "real" drifts without inflating the false positive rate.

Summary updated

BibTeX
@inproceedings{yu2018request,
  author = {Shujian Yu and Xiaoyang Wang and José C. Príncipe},
  title = {{Request-and-Reverify: Hierarchical Hypothesis Testing for Concept Drift Detection with Expensive Labels}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/421},
}
Figure