Skip to main content
QUICK REVIEW

[Paper Review] Certified Robustness to Label-Flipping Attacks via Randomized Smoothing

Elan Rosenfeld, Ezra Winston|arXiv (Cornell University)|Feb 7, 2020
Adversarial Robustness in Machine LearningComputer Science54 references19 citations
TL;DR

This paper proposes a novel pointwise-certified defense using randomized smoothing over the training process to achieve deterministic, analytical robustness guarantees against label-flipping data poisoning attacks. By randomizing over training labels, the method provides per-example certificates that predictions remain unchanged under adversarial label flips, achieving the first certified robustness for multi-class linear classifiers with no assumptions on data or feature quality.

ABSTRACT

Machine learning algorithms are known to be susceptible to data poisoning attacks, where an adversary manipulates the training data to degrade performance of the resulting classifier. In this work, we present a unifying view of randomized smoothing over arbitrary functions, and we leverage this novel characterization to propose a new strategy for building classifiers that are pointwise-certifiably robust to general data poisoning attacks. As a specific instantiation, we utilize our framework to build linear classifiers that are robust to a strong variant of label flipping, where each test example is targeted independently. In other words, for each test point, our classifier includes a certification that its prediction would be the same had some number of training labels been changed adversarially. Randomized smoothing has previously been used to guarantee---with high probability---test-time robustness to adversarial manipulation of the input to a classifier; we derive a variant which provides a deterministic, analytical bound, sidestepping the probabilistic certificates that traditionally result from the sampling subprocedure. Further, we obtain these certified bounds with minimal additional runtime complexity over standard classification and no assumptions on the train or test distributions. We generalize our results to the multi-class case, providing the first multi-class classification algorithm that is certifiably robust to label-flipping attacks.

Motivation & Objective

  • Address the lack of certified defenses against targeted data poisoning attacks, particularly label-flipping, where adversaries manipulate training labels to misclassify individual test points.
  • Develop a defense that provides per-example (pointwise) robustness guarantees, ensuring each prediction remains correct even if some training labels are adversarially flipped.
  • Overcome the limitations of prior probabilistic certificates by deriving an analytical, non-probabilistic bound on robustness, eliminating reliance on Monte Carlo sampling.
  • Enable robustness for arbitrary features and classifiers without requiring linear separability or specific model assumptions, supporting use with deep and unsupervised features.
  • Demonstrate feasibility and effectiveness on real-world datasets like IMDB and ImageNet using pre-trained and unsupervised features, showing strong certified accuracy with minimal computational overhead.

Proposed method

  • Leverage a unifying framework of randomized smoothing applied not to inputs but to the entire training procedure, specifically by randomizing over training labels during model learning.
  • Derive an analytical, deterministic bound on robustness by computing the probability that a label flip in the training set would change the model’s prediction, using concentration inequalities.
  • Construct a linear classifier trained via randomized smoothing over labels, where each prediction includes a certificate that it would remain unchanged under up to a certain number of label flips.
  • Ensure tractability by computing the certified radius analytically without Monte Carlo sampling, incurring only a linear cost in the number of training points.
  • Generalize the framework to multi-class classification by extending the smoothing and certification procedure to multiple classes using multinomial concentration bounds.
  • Apply the method to both pre-trained deep features (e.g., ImageNet) and unsupervised features (e.g., Word2Vec on IMDB), demonstrating broad applicability across data modalities.

Experimental results

Research questions

  • RQ1Can we provide deterministic, analytical robustness certificates for individual predictions against label-flipping data poisoning attacks, rather than probabilistic guarantees over the test distribution?
  • RQ2Is it possible to extend randomized smoothing from test-time input robustness to train-time data poisoning robustness, while maintaining computational tractability?
  • RQ3Can we achieve certified robustness for multi-class linear classifiers without assuming linear separability or high-quality features in the input space?
  • RQ4How does the level of label noise (smoothing parameter) affect the trade-off between non-robust accuracy and certified robustness in real-world datasets?
  • RQ5Can this framework be effectively applied to non-linear data, such as images and text, using modern unsupervised or transfer learning features?

Key findings

  • The proposed method achieves the first pointwise-certified defense against data poisoning attacks, providing a deterministic certificate for each test prediction that it would remain unchanged under adversarial label flips.
  • Certified robustness is achieved without Monte Carlo sampling, using an analytical bound derived from concentration inequalities, resulting in a tractable algorithm with only a linear increase in training cost.
  • On the IMDB sentiment dataset, the classifier achieved 78.96% non-robust accuracy and increasing certified accuracy with higher smoothing noise (q=0.1), demonstrating robustness even on noisy, bag-of-words features.
  • On the Dogfish dataset with unsupervised RICA features, the method achieved high certified accuracy despite limited data, showing feasibility in low-data, non-linear settings.
  • The method maintains robustness across diverse feature types, including ImageNet features and pre-trained Word2Vec embeddings, without requiring assumptions about data linearity or feature quality.
  • Reducing the smoothing parameter q had minimal impact on non-robust accuracy but significantly improved certified robustness, suggesting that more complex data benefits from lower noise in the smoothing process.

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.