Skip to main content
QUICK REVIEW

[Paper Review] Deep Partition Aggregation: Provable Defense against General Poisoning Attacks

Alexander Levine, Soheil Feizi|arXiv (Cornell University)|Jun 25, 2020
Adversarial Robustness in Machine LearningComputer Science16 citations
TL;DR

This paper proposes Deep Partition Aggregation (DPA) and Semi-Supervised DPA (SS-DPA), novel certified defenses against general poisoning attacks and label-flipping attacks, respectively. By training ensemble models on hashed partitions of the training data, DPA provides provable robustness guarantees: it certifies that at least 50% of MNIST test images are robust against over 500 poison insertions, and 9 CIFAR-10 images against 9 insertions, while SS-DPA outperforms prior work by tolerating over 600 label flips on MNIST and 300 on CIFAR-10.

ABSTRACT

Adversarial poisoning attacks distort training data in order to corrupt the test-time behavior of a classifier. A provable defense provides a certificate for each test sample, which is a lower bound on the magnitude of any adversarial distortion of the training set that can corrupt the test sample's classification. We propose two novel provable defenses against poisoning attacks: (i) Deep Partition Aggregation (DPA), a certified defense against a general poisoning threat model, defined as the insertion or deletion of a bounded number of samples to the training set -- by implication, this threat model also includes arbitrary distortions to a bounded number of images and/or labels; and (ii) Semi-Supervised DPA (SS-DPA), a certified defense against label-flipping poisoning attacks. DPA is an ensemble method where base models are trained on partitions of the training set determined by a hash function. DPA is related to both subset aggregation, a well-studied ensemble method in classical machine learning, as well as to randomized smoothing, a popular provable defense against evasion attacks. Our defense against label-flipping attacks, SS-DPA, uses a semi-supervised learning algorithm as its base classifier model: each base classifier is trained using the entire unlabeled training set in addition to the labels for a partition. SS-DPA significantly outperforms the existing certified defense for label-flipping attacks on both MNIST and CIFAR-10: provably tolerating, for at least half of test images, over 600 label flips (vs. < 200 label flips) on MNIST and over 300 label flips (vs. 175 label flips) on CIFAR-10. Against general poisoning attacks, where no prior certified defenses exists, DPA can certify >= 50% of test images against over 500 poison image insertions on MNIST, and nine insertions on CIFAR-10. These results establish new state-of-the-art provable defenses against poisoning attacks.

Motivation & Objective

  • To develop a certified defense against general poisoning attacks, where an adversary can insert or delete a bounded number of training samples.
  • To improve upon existing certified defenses for label-flipping attacks by enabling higher robustness thresholds.
  • To design a provable defense that remains robust under arbitrary distortions to training samples or labels, including label flips and sample insertions.
  • To leverage ensemble learning and semi-supervised training to achieve strong certification guarantees with minimal assumptions on data distribution.
  • To provide a practical, scalable defense that maintains high clean accuracy while offering verifiable robustness certificates for individual test samples.

Proposed method

  • DPA constructs an ensemble of base classifiers, each trained on a disjoint partition of the training set, where partitions are determined by a hash function applied to the input samples.
  • The final prediction is made by majority vote across all base classifiers, and the certification is derived from the minimum number of partitions in which a sample's prediction remains consistent under perturbations.
  • For SS-DPA, each base classifier is trained using the full unlabeled training set and only the labeled samples in its assigned partition, enabling better feature learning and robustness.
  • The certification mechanism computes a lower bound on the number of label flips or sample insertions required to change the final prediction, using the structure of the ensemble and label consistency across partitions.
  • The method ensures that label flips affecting the same sample are treated as a single perturbation in the certification, due to consistent partitioning based on sample values.
  • The framework is designed to be compatible with both supervised and self-supervised representation learning (e.g., SimCLR), enhancing feature quality and robustness.

Experimental results

Research questions

  • RQ1Can a certified defense be constructed for general poisoning attacks that include sample insertions, deletions, and label or feature manipulations?
  • RQ2How can ensemble methods be adapted to provide provable robustness against poisoning attacks with minimal assumptions on data distribution?
  • RQ3Can semi-supervised learning improve the robustness of certified defenses against label-flipping attacks compared to purely supervised baselines?
  • RQ4What is the maximum number of label flips that can be tolerated while still certifying correct predictions for a majority of test images?
  • RQ5How does the choice of base model architecture and representation learning method affect the certification performance of DPA and SS-DPA?

Key findings

  • DPA certifies that at least 50% of MNIST test images are robust against over 500 poison sample insertions, significantly outperforming prior certified defenses for general poisoning.
  • On CIFAR-10, DPA certifies robustness against nine insertions for at least 9% of test images, demonstrating strong provable robustness in a high-dimensional setting.
  • SS-DPA achieves certified robustness against over 600 label flips on MNIST and over 300 on CIFAR-10, surpassing the previous state-of-the-art of 200 and 175 flips, respectively.
  • The use of histogram equalization as preprocessing improves DPA performance on GTSRB, especially when using a larger number of base classifiers (k=100), due to better handling of lighting variation.
  • For DPA, increasing the number of base classifiers (k) improves both clean accuracy and certified robustness, with k=100 yielding 77.81% clean accuracy and 21 median certified robustness on GTSRB.
  • SS-DPA maintains high clean accuracy (89.20%) and median certified robustness (20) on MNIST, while achieving substantially higher certified accuracy than Rosenfeld et al. (2020) across all attack sizes.

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.