TL;DR
De-Pois is a novel, "attack-agnostic" defense system that protects machine learning models from data poisoning by training a "mimic model" to recognize what clean data should look like. By using Generative Adversarial Networks (GANs) to expand a small set of trusted data, it can accurately flag malicious samples across various attack types—including classification and regression tasks—without needing prior knowledge of the specific attack strategy.
What Problem Does This Paper Address?
Machine learning models are increasingly used in security-critical domains like autonomous driving and biometric ID. However, they are highly susceptible to data poisoning attacks, where an adversary injects a small fraction of malicious samples into the training set to manipulate the model's eventual behavior (e.g., making a self-driving car misinterpret a "Stop" sign as a "Speed Limit" sign).
The current defensive landscape is a game of "whack-a-mole." Most existing defenses are attack-specific: they might stop "label-flipping" but fail against "clean-label" attacks where the labels look correct but the underlying features are subtly corrupted. There is a critical lack of general-purpose, attack-agnostic defenses that can protect models regardless of how the attacker crafts their poison.
Methods
The authors propose De-Pois, which operates on a fundamental intuition: poisoned samples are designed to shift a model's decision boundary away from where it would be if trained only on clean data.
The system works in three main stages:
- Synthetic Data Generation: Since defenders usually only have access to a tiny "trusted" clean dataset ($S_t$), De-Pois uses a conditional GAN (cGAN) paired with a novel "authenticator" to augment this small set into a large, diverse synthetic dataset. The authenticator acts as a supervisor, ensuring the generated data maintains high fidelity and variety.
- Mimic Model Construction: Using the augmented data, De-Pois trains a "mimic model" using a conditional Wasserstein GAN with Gradient Penalty (WGAN-GP). The goal of this mimic model is to simulate the behavior of a target model that has never seen poisoned data.
- Poisoned Data Recognition: The potentially poisoned training set is fed into the mimic model. De-Pois calculates the "prediction difference" for each sample. By analyzing the distribution of these differences (using z-scores and confidence intervals), it flags samples that deviate significantly from the expected "clean" behavior as poisoned.
Datasets
The authors evaluated De-Pois across four diverse datasets representing different ML tasks:
- MNIST: Hand-written digit recognition (Image Classification).
- CIFAR-10: General object classification (Image Classification).
- Fourclass: A non-linearly separable binary classification benchmark.
- House Pricing: Predicting sale prices (Regression).
- CIFAR-100: Used for testing the system's limits on more complex data.
Key Insights and Ideas
- The Power of Mimicry: Instead of trying to find "bugs" in the data, De-Pois creates a "gold standard" behavior model. If a sample makes the target model behave differently than the mimic model, that sample is likely poison.
- Authenticator-Enhanced GANs: Standard GANs often suffer from "mode collapse" (producing limited varieties of data). By adding an authenticator (a CNN for images or a LASSO module for regression), the authors forced the GAN to produce data that is not just realistic, but also functionally useful for training.
- Attack-Agnosticism: Because the defense relies on the difference between clean and poisoned behavior rather than specific statistical signatures of an attack, it remains effective against four very different attack types (TCL, pGAN, LF, and R-attacks).
Key Results
- High Detection Accuracy: De-Pois achieved an average Accuracy and F1-score of over 0.9 across all tested attack types.
- Outperforming Specialists: In many cases, De-Pois outperformed attack-specific defenses. For example, against pGAN-attacks on CIFAR-10, De-Pois showed a 15% improvement in accuracy over the "Certified Defense" (CD) method.
- Robustness to Small Data: The system remains effective even when the trusted clean dataset is as small as 5% of the total training set.
- Versatility: Unlike many defenses that only work for classification, De-Pois proved highly effective for regression tasks (tested on the House Pricing dataset), maintaining high recall even as the poisoning rate increased.
Limitations and Future Work
- Trusted Data Dependency: While De-Pois works with small trusted sets, its performance drops significantly if the trusted set is smaller than 5% or if the trusted set itself is "polluted" with poisoned samples.
- Computational Overhead: Training GANs and mimic models is computationally expensive. While the detection phase is fast (0.108s for 1,000 CIFAR-10 images), the training phase for the defense components can take several minutes.
- Complexity Scaling: Performance slightly degraded on more complex datasets like CIFAR-100. Future work could involve optimizing the mimic model architecture for high-dimensional, multi-class data.
- Adaptive Attackers: The authors suggest future research should investigate "aware" attackers who might try to poison the data in a way that specifically mimics the mimic model's behavior.
Summary updated