Adversarial concept drift detection under poisoning attacks for robust data stream mining

Lukasz Korycki, Bartosz KrawczykMachine Learning 2020

TL;DR

This paper introduces a novel framework for detecting concept drift in data streams, specifically addressing the challenge of adversarial poisoning attacks that aim to mislead learning systems. The authors propose a robust, trainable drift detector based on an augmented Restricted Boltzmann Machine and a new metric, Relative Loss of Robustness, to evaluate performance under these attacks. Their work is crucial for building more resilient machine learning systems in dynamic and potentially malicious environments.

What Problem Does This Paper Address?

Modern machine learning often deals with data streams – continuous, high-volume flows of information that evolve over time. A key challenge in this domain is "concept drift," where the underlying data distribution changes, requiring models to adapt. While many methods exist to detect and adapt to concept drift, they typically assume these changes are natural. This paper tackles a more sinister problem: adversarial concept drift. Here, malicious actors intentionally inject "poisoned" data to simulate concept drift, aiming to either force the learning system to adapt to false patterns or to slow down its adaptation to genuine changes. Existing drift detectors are ill-equipped to distinguish between natural and malicious drifts, making them vulnerable to these attacks. The authors aim to bridge this gap by developing a detector that is not only sensitive to real drifts but also robust against adversarial manipulation.

Methods

The core of the proposed solution is a Robust Restricted Boltzmann Machine Drift Detector (RRBM-DD). This is a trainable drift detector, meaning it learns from the data rather than relying on fixed thresholds. It's built upon a Restricted Boltzmann Machine (RBM), a generative neural network model, which is augmented in several key ways:

  • Augmented RBM Architecture: The RBM is extended with a "class layer" to handle classification tasks, using a softmax function for probability estimation.
  • Robust Gradient Descent: To prevent adversarial instances from corrupting the learning process, the authors employ a robust gradient descent method. This technique uses a "soft truncation" of potentially adversarial instances to limit their influence on weight updates.
  • Robust Energy Function: The RBM's energy function, crucial for calculating probabilities and training, is modified to include a "gating mechanism." This mechanism allows the model to effectively "switch off" neurons that are likely affected by noisy or adversarial data, further enhancing robustness.
  • Reconstruction Error for Drift Detection: The RRBM-DD monitors the "reconstruction error" – how well the RBM can reconstruct input data. Changes in this error over time, analyzed using linear regression trends and Granger causality tests, signal concept drift.
  • Relative Loss of Robustness (RLR): A novel metric is introduced to quantify a detector's performance degradation under increasing levels of adversarial attacks. It compares performance on clean data to performance under poisoned data.

Datasets

The authors evaluated their proposed RRBM-DD and compared it against existing methods using a benchmark suite of 12 data streams. This suite comprised:

  • Six Artificial Data Streams: Generated using the MOA (Massive Online Analysis) environment, allowing for controlled experimentation with different drift types (incremental, sudden, gradual) and properties.
  • Six Real-World Data Streams: Sourced from diverse domains like security, physics, and proteomics, providing a more challenging and realistic evaluation.

The experiments also specifically investigated performance under sparsely labeled data streams, simulating scenarios where ground truth is limited.

Key Insights and Ideas

  • Adversarial Drift is a Distinct Threat: The paper clearly delineates adversarial concept drift from natural drift and noise, highlighting its malicious intent and unique challenges.
  • Existing Detectors are Vulnerable: A critical insight is that current state-of-the-art drift detectors, which rely on statistical measures of data, are highly susceptible to adversarial attacks and fail to differentiate between real and fake drifts.
  • Trainable Detectors Offer a Path to Robustness: The success of RRBM-DD demonstrates that trainable models, capable of learning and adapting to data characteristics, are more promising for robust drift detection than fixed-threshold methods.
  • Component-wise Robustness Matters: The ablation study reveals that both the robust gradient descent and the robust energy function contribute significantly to RRBM-DD's overall resilience, with each component offering distinct advantages against different types of attacks.
  • RLR as a Crucial Evaluation Metric: The introduction of Relative Loss of Robustness provides a much-needed quantitative measure to assess how well detectors degrade under increasing adversarial pressure, going beyond simple accuracy.

Key Results

  • Superior Robustness: RRBM-DD consistently outperformed existing drift detectors across various datasets and attack scenarios, particularly in terms of the RLR metric.
  • Effective Against Both Attack Types: The proposed method showed high robustness against both instance-based (corrupted individual data points) and concept-based (maliciously crafted data distributions) poisoning attacks.
  • Performance Under Sparsity: RRBM-DD maintained its effectiveness even when faced with sparsely labeled data streams, a common real-world challenge.
  • Significant Performance Gains: For instance-based attacks, RRBM-DD achieved an average rank of 1.00 across all metrics, indicating it was the best performer. For concept-based attacks, it also achieved an average rank of 1.00 for RLR.
  • Minimal Degradation: Even with up to 25% of instances being adversarial in instance-based attacks, RRBM-DD showed minimal performance decline, unlike other methods that failed significantly.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that while RRBM-DD is robust, concept-based poisoning attacks have a stronger effect than instance-based ones, though still manageable.
  • The performance of RRBM-DD under sparse labels is good, but the estimators of used statistics become less reliable, making detectors more prone to errors.
  • Future Work:
    • The authors plan to modify the cost functions to handle simultaneous adversarial concept drift and dynamic class imbalance.
  • They also aim to develop deep architectures based on RRBM-DD.
  • Further research into tackling the issue of simultaneous adversarial concept drift and dynamic class imbalance is suggested.

Summary updated

BibTeX
@misc{korycki2020adversarial,
  author = {Lukasz Korycki and Bartosz Krawczyk},
  title = {{Adversarial concept drift detection under poisoning attacks for robust data stream mining}},
  year = {2020},
  eprint = {2009.09497},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.09497},
}
Figure