Skip to main content
QUICK REVIEW

[Paper Review] Intrinsic Certified Robustness of Bagging against Data Poisoning Attacks

Jinyuan Jia, Xiaoyu Cao|arXiv (Cornell University)|Aug 11, 2020
Adversarial Robustness in Machine LearningComputer Science15 citations
TL;DR

This paper proposes intrinsic certified robustness for bagging against data poisoning attacks by proving that bagging with any base learning algorithm maintains consistent predictions for a test example when the number of poisoned training examples (modified, deleted, or inserted) is below a derived threshold. The method achieves a certified accuracy of 91.1% on MNIST with up to 100 poisoned examples, outperforming existing certified defenses in both robustness and efficiency.

ABSTRACT

In a \emph{data poisoning attack}, an attacker modifies, deletes, and/or inserts some training examples to corrupt the learnt machine learning model. \emph{Bootstrap Aggregating (bagging)} is a well-known ensemble learning method, which trains multiple base models on random subsamples of a training dataset using a base learning algorithm and uses majority vote to predict labels of testing examples. We prove the intrinsic certified robustness of bagging against data poisoning attacks. Specifically, we show that bagging with an arbitrary base learning algorithm provably predicts the same label for a testing example when the number of modified, deleted, and/or inserted training examples is bounded by a threshold. Moreover, we show that our derived threshold is tight if no assumptions on the base learning algorithm are made. We evaluate our method on MNIST and CIFAR10. For instance, our method achieves a certified accuracy of $91.1\%$ on MNIST when arbitrarily modifying, deleting, and/or inserting 100 training examples. Code is available at: \url{https://github.com/jjy1994/BaggingCertifyDataPoisoning}.

Motivation & Objective

  • To address the limitations of existing certified defenses against data poisoning attacks, which are often limited in applicability or provide loose robustness guarantees.
  • To prove that bagging inherently provides certified robustness against data poisoning attacks without assumptions on the base learning algorithm.
  • To derive a tight upper bound on the number of poisoned training examples that preserves label consistency for a given test input.
  • To develop an efficient Monte Carlo-based algorithm to estimate label probabilities and compute certified poisoning size for practical deployment.
  • To empirically validate the method on MNIST and CIFAR10, demonstrating superior certified accuracy and efficiency compared to prior approaches.

Proposed method

  • The method leverages Bootstrap Aggregating (bagging), training multiple base classifiers on random subsamples of the training data with replacement.
  • For each test example, the ensemble classifier predicts the label with the highest estimated label probability across base models.
  • The certified poisoning size is derived as the solution to an optimization problem involving the largest and second-largest label probabilities predicted by the ensemble.
  • A Monte Carlo algorithm estimates a lower bound on the largest label probability and an upper bound on the second-largest label probability using N randomly sampled subsamples and N trained base classifiers.
  • An efficient algorithm solves the optimization problem using the estimated bounds to compute the certified poisoning size for each test example.
  • The method is evaluated on MNIST and CIFAR10, with code publicly released for reproducibility.

Experimental results

Research questions

  • RQ1Can bagging be formally proven to be certifiably robust against data poisoning attacks that modify, delete, or insert training examples?
  • RQ2Is the derived certified poisoning size tight when no assumptions are made about the base learning algorithm?
  • RQ3Can an efficient and scalable algorithm estimate the required label probabilities to compute the certified poisoning size in practice?
  • RQ4How does the certified robustness of bagging compare to existing certified defenses in terms of accuracy and efficiency?
  • RQ5Does the method maintain strong robustness across diverse datasets like MNIST and CIFAR10 under realistic poisoning scenarios?

Key findings

  • Bagging provides intrinsic certified robustness against data poisoning attacks, maintaining consistent predictions for a test example when the number of poisoned training examples is below a derived threshold.
  • The derived certified poisoning size is tight, meaning no larger bound can be guaranteed without assumptions on the base learning algorithm.
  • On the MNIST dataset, the method achieves a certified accuracy of 91.1% when up to 100 training examples are arbitrarily modified, deleted, or inserted.
  • The method outperforms existing certified defenses in both certified robustness and computational efficiency, particularly on data poisoning scenarios involving insertion and deletion.
  • The Monte Carlo-based estimation algorithm enables scalable computation of certified poisoning sizes across multiple test examples with high accuracy.
  • The approach is general and applicable to any base learning algorithm, making it broadly useful for real-world machine learning systems.

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.