Abstract
Machine learning techniques are potentially vulnerable to data poisoning attacks, where sophisticated attackers disrupt the learning procedure by injecting malicious samples into the training dataset. Existing defenses are largely attack-specific. We propose De-Pois, an attack-agnostic defense that trains a mimic model to imitate the behavior of a target model trained on clean samples. Using Generative Adversarial Networks (GANs) for data augmentation and mimic model construction, De-Pois distinguishes poisoned samples by comparing prediction differences. Evaluations across diverse datasets and four attack types demonstrate that De-Pois is effective and efficient, achieving an average accuracy and F1-score over 0.9.
Introduction
Machine learning models are increasingly deployed in security-critical domains such as autonomous driving and biometric identification. However, these models are susceptible to data poisoning attacks, where an adversary injects malicious samples into the training set to manipulate the model's eventual behavior. For example, a self-driving car might be tricked into misinterpreting a 'Stop' sign as a 'Speed Limit' sign due to poisoned training data.
The current defensive landscape is often a game of 'whack-a-mole,' as most existing defenses are attack-specific. They may stop 'label-flipping' but fail against 'clean-label' attacks where labels appear correct but features are subtly corrupted. There is a critical need for general-purpose, attack-agnostic defenses that can protect models regardless of the specific poisoning strategy employed.
Proposed Methodology: De-Pois
De-Pois is built on the fundamental intuition that poisoned samples are designed to shift a model's decision boundary away from where it would reside if trained only on clean data. The system operates in three main stages:
- Synthetic Data Generation: Defenders typically have access only to a small 'trusted' clean dataset ($S_t$). De-Pois utilizes a conditional GAN (cGAN) paired with a novel authenticator (e.g., a CNN for images or a LASSO module for regression) to augment this small set into a large, diverse synthetic dataset. The authenticator ensures the generated data maintains high fidelity and functional utility.
- Mimic Model Construction: Using the augmented data, De-Pois trains a 'mimic model' via a conditional Wasserstein GAN with Gradient Penalty (WGAN-GP). The goal is to simulate the behavior of a target model that has never encountered 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 expected 'clean' behavior as poisoned.
Experimental Evaluation
The authors evaluated De-Pois across four diverse datasets representing different ML tasks: MNIST and CIFAR-10 (image classification), Fourclass (binary classification), and House Pricing (regression).
Key Results
- High Detection Performance: De-Pois achieved an average Accuracy and F1-score exceeding 0.9 across all tested attack types, including TCL, pGAN, LF, and R-attacks.
- Superiority over Specialized Defenses: In many scenarios, De-Pois outperformed attack-specific defenses. For instance, 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 limited to classification, De-Pois proved highly effective for regression tasks, maintaining high recall on the House Pricing dataset even as poisoning rates increased.
Conclusion and Future Work
De-Pois provides a robust, attack-agnostic shield against data poisoning by creating a 'gold standard' behavior model. While highly effective, its performance depends on the integrity of the initial trusted dataset (minimum ~5%). Future research will focus on optimizing the computational overhead of training the GAN components and investigating adaptive attackers who might attempt to specifically mimic the mimic model's behavior to evade detection.
Summary updated