Skip to main content
QUICK REVIEW

[Paper Review] Self-Ensemble Protection: Training Checkpoints Are Good Data Protectors

Sizhe Chen, Geng Yuan|arXiv (Cornell University)|Nov 22, 2022
Adversarial Robustness in Machine LearningComputer Science5 citations
TL;DR

This paper proposes Self-Ensemble Protection (SEP), a novel data poisoning method that leverages gradients from training checkpoints of a single deep neural network to generate imperceptible perturbations that consistently evade classification during training. By exploiting the high gradient diversity among checkpoints—akin to models with different architectures—SEP achieves state-of-the-art performance, reducing ResNet18 accuracy on CIFAR-10 from 94.56% to 14.68% with ℓ∞=2/255, outperforming prior methods by a large margin.

ABSTRACT

As data becomes increasingly vital, a company would be very cautious about releasing data, because the competitors could use it to train high-performance models, thereby posing a tremendous threat to the company's commercial competence. To prevent training good models on the data, we could add imperceptible perturbations to it. Since such perturbations aim at hurting the entire training process, they should reflect the vulnerability of DNN training, rather than that of a single model. Based on this new idea, we seek perturbed examples that are always unrecognized (never correctly classified) in training. In this paper, we uncover them by model checkpoints' gradients, forming the proposed self-ensemble protection (SEP), which is very effective because (1) learning on examples ignored during normal training tends to yield DNNs ignoring normal examples; (2) checkpoints' cross-model gradients are close to orthogonal, meaning that they are as diverse as DNNs with different architectures. That is, our amazing performance of ensemble only requires the computation of training one model. By extensive experiments with 9 baselines on 3 datasets and 5 architectures, SEP is verified to be a new state-of-the-art, e.g., our small $\ell_\infty=2/255$ perturbations reduce the accuracy of a CIFAR-10 ResNet18 from 94.56% to 14.68%, compared to 41.35% by the best-known method. Code is available at https://github.com/Sizhe-Chen/SEP.

Motivation & Objective

  • To address the vulnerability of deep learning training processes to data poisoning, rather than focusing solely on individual model robustness.
  • To develop a practical, low-cost data protection method that avoids training multiple models by leveraging intermediate training checkpoints.
  • To explore whether model checkpoints can serve as a diverse ensemble for effective data poisoning, challenging the assumption that checkpoints are too similar for effective ensemble use.
  • To improve poisoning effectiveness by introducing a feature alignment loss and variance reduction technique that align incorrect features across checkpoints.

Proposed method

  • The method generates protective perturbations by computing gradients from multiple intermediate training checkpoints of a single DNN, forming a self-ensemble without requiring multiple models.
  • It exploits the surprising orthogonality of gradients across checkpoints, which indicates high diversity comparable to models with different architectures.
  • A novel feature alignment (FA) loss is introduced to collapse the last-layer features of protected examples into the mean of incorrect-class features, deepening model confusion.
  • Variance reduction (VR) is applied to stabilize the optimization process by averaging gradients from multiple checkpoints, improving robustness and consistency.
  • The approach combines ℓ∞ and ℓ0 perturbations to resist adversarial training defenses, which otherwise recover accuracy for other perturbation types.
  • The method is implemented as a targeted ensemble attack, effective even in non-classification tasks where neural collapse and feature extractors exist.

Experimental results

Research questions

  • RQ1Can training checkpoints from a single model serve as a diverse ensemble for data poisoning, despite being from the same architecture?
  • RQ2Does the gradient diversity among checkpoints rival that of models with different architectures, enabling effective self-ensemble protection?
  • RQ3Can a feature alignment loss that aligns protected examples to incorrect-class means significantly degrade model generalization?
  • RQ4Is the combination of feature alignment and variance reduction necessary to achieve state-of-the-art poisoning performance?
  • RQ5Can mixed ℓ∞ and ℓ0 perturbations effectively bypass ℓ∞ adversarial training, which typically restores model accuracy?

Key findings

  • SEP reduces the testing accuracy of a ResNet18 on CIFAR-10 from 94.56% to 14.68% using ℓ∞=2/255 perturbations, significantly outperforming the best prior method (41.35%).
  • The method achieves superior performance with only the computation cost of training one model, avoiding the need for multiple DNNs.
  • Feature alignment (FA) and variance reduction (VR) consistently improve performance, with SEP-FA-VR reducing average accuracy to 17.47% across five architectures on CIFAR-10.
  • The performance saturates around 30 checkpoints, indicating diminishing returns beyond this point, making the method computationally efficient.
  • Mixing ℓ∞ and ℓ0 perturbations is the only effective strategy to resist ℓ∞ adversarial training, which otherwise recovers accuracy for other perturbation types.
  • Clean samples remain close to each other in feature space, while protected samples are pushed into a separate distribution, indicating effective data poisoning.

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.