SAGE: Similarity-based cleaning of poisoned training data from a small number of verified samplesSAGE: Similarity-Based Cleaning of Poisoned Training Data from Verified Examples
SAGE uses a small number of verified clean and poisoned samples to reduce the ASR of triggerless clean-label attacks to at most 5% on CIFAR-10.
The attacker injects clean-label poisoning into the training set (additive perturbations or local patches, labels unchanged), causing the test target to be classified as yb, while overall accuracy is largely unaffected. The defender only sees D′, and does not know m, which samples are poisoned, xt, yb, ϵ, or the attack type; there is also a small verified set G = Gclean ∪ Gpoison ⊂ D′, with |G| ≪ n.
- Clean-label poisoning mixes malicious samples into training data. Existing cleaning either does not rely on ground truth and has low precision, or requires a large number of verified clean samples, with high verification cost and contamination that can break defenses.
- SAGE trains a feature extractor on a separate dataset, and at detection time uses verified clean and poisoned samples for non-parametric, similarity-weighted prediction, removing samples with ĝi ≥ 0.5, without fitting parameters on the verified set.
- On CIFAR-10, SAGE reduces the ASR of three triggerless attacks to at most 5%, recovers on average at least 480/500 poisoned samples, and deletes less than 2% of the training data. It also lowers ASR for four backdoor attacks, while achieving higher clean accuracy than baselines that lower ASR by deleting large amounts of data. The authors state that the class distribution of verified clean samples matters more than their quantity.
- The authors note that degradation when Gclean is poisoned was not evaluated, nor were adaptive attacks; the feature extractor trained on CIFAR-100 is reused directly, and the authors believe performance may decline when the target domain deviates from natural images. Experiments cover seven clean-label attacks on CIFAR-10 and Tiny ImageNet.
- Evaluated models
- ResNet-18VGG-16
- Benchmarks
- CIFAR-10Tiny ImageNetCIFAR-100
- Metrics
- ASRclean test accuracyTPremoved samplesfalse-positive rate
To address the reliance of data poisoning defenses on large amounts of trusted clean samples, the researchers propose SAGE—training a general feature extractor on a separate dataset, then using non-parametric similarity-weighted prediction based on a small set of verified samples to label poisoned training samples. This method requires only a very small number of samples that have been checked by forensic experts (whether judged clean or poisoned) to work, and achieves advantages over existing defenses on a benchmark of seven clean-label attack methods. Experiments also found that the distribution of verified clean samples across classes matters more than their total number.
Related events and news
1 events · 0 news mentions
- This event's paper
SAGE:用少量已验证样本清洗投毒训练数据
Paper analysis
What problem does this paper attempt to solve?
Can clean-label poisoning be detected with a small number of verified clean and poisoned samples?
How to detect clean-label poisoning in training data when only a few verified samples (containing both clean and poisoned) are available.
- Scenario: The authors state that machine learning increasingly relies on public, untrusted data, and poisoning can cause specific test samples to be misclassified. Carlini et al. showed that controlling 0.01% of web-scale data like LAION-400M can achieve misclassification goals. Clean-label attacks only perturb features without changing labels, making them visually indistinguishable from clean data; in the inspection the authors cite, professional inspectors missed over 86% of feature-perturbation poisoning.
- Limitations of existing methods: The authors categorize cleaning methods into three types. Methods relying on all labels have no advantage when labels are tampered with. Statistical outlier methods that do not rely on ground truth have low precision and often over-filter. Methods relying on a verified clean base set require sizes from 100 to 1,000, or De-Pois's default of 20% of training data (10,000 images on CIFAR-10); when this proportion drops to 0.5%, accuracy and F1 drop from approximately 0.9 to 0.7. The authors also state that when less than 1% of the base set is contaminated, the performance of five representative base-set defenses collapses.
- Core observation: The authors argue that careful verification confirms both clean samples and poisoned samples; the latter highlight the feature regions targeted by the attack, providing more information than knowing only the clean distribution. Training a classifier directly on a few dozen verified samples overfits, and fitting a classifier on fixed features suffers from the curse of dimensionality. Therefore, detection should not fit any parameters on this small set.
- Proposed method: SAGE (Similarity-based Approach for Ground-truth-driven Exclusion). A feature extractor is trained on another dataset, then non-parametric, similarity-weighted predictions are made using the verified set to flag poisoning in the remaining training samples.
- Threat model:
- Victim system: The defender trains a classifier fθ on dataset D = {(xi, yi)} (yi ∈ {1, …, K}). The attacker replaces m ≪ n base samples xbj with poisoned samples xpj. Poisoned samples are additive perturbations satisfying ∥δj∥∞ ≤ ϵ, or local patches covering a small region; labels remain unchanged, ypj = ybj.
- Attacker goal: To make the model trained on the contaminated data D′ classify a selected test input set T into the attacker-chosen label yb, while behavior on other inputs and overall test accuracy remain largely unaffected. In targeted attacks, T = {xt} and yt ≠ yb, with no further input modification at test time. In backdoor attacks, T consists of inputs with trigger patches, and the attacker controls a region of the input space.
- Attacker knowledge: Varies by attack (see attack settings in Question 4). On the defense side, the attacker does not know which samples will enter G when constructing poisoned samples.
- Defender knowledge and goals: The defender only observes D′, and does not know m, which samples are poisoned, xt, yb, ϵ, or which attack was used; the same procedure is used for all attacks. There is also a small ground-truth set G = Gclean ∪ Gpoison ⊂ D′, with |G| ≪ n; gj ∈ {0, 1} is the verification label, gj = 1 indicates poisoning, and q = |Gpoison|. The authors assume Gclean is class-balanced, with c verified clean samples for each of the K classes. After cleaning, D̂ ⊆ D′ and θ(D̂) are obtained, satisfying: fθ(D̂)(xt) ≠ yb; accuracy on the cleaned data is close to training on the original clean D; and the discarded amount |D′ \ D̂| is small. xt, yb, and the poisoned sample set P are all invisible.
What related research exists?
Related work is organized by untargeted/targeted, label-flipping/clean-label, and three categories of defenses.
In Section II, the authors group poisoning attacks and defenses by assumptions and explain the differences between SAGE and three categories of defenses.
Data Poisoning Attacks
- Survey and taxonomy: Tian et al. (2022), Goldblum et al. (2022), and Biggio et al. discuss that poisoning, relative to evasion attacks, occurs during the training phase and has a more lasting impact. The authors classify along two axes: untargeted attacks degrade overall performance, while targeted attacks cause specific test samples to be misclassified; label-flipping attacks change labels, while clean-label attacks only perturb features and retain the original labels, making them more stealthy.
- Large-scale feasibility: Carlini et al. show that an adversary can control 0.01% of LAION-400M or COYO-700M by purchasing expired domains indexed by the dataset, thereby enabling poisoning.
- Three representative clean-label targeted attacks used in this paper: feature collision makes poisoned samples collide with the target in feature space; bullseye polytope surrounds the target with the convex hull of poisoned samples; gradient matching aligns the gradients of poisoned samples with those of the adversarial target.
Poisoning Defenses
- Label-dependent defenses: Trust the class labels of the entire training set. Deep k-NN flags a point as poisoned when its label disagrees with the majority label of its k nearest neighbors in feature space. The authors state that this assumption suits clean-label attacks, where labels are correct by construction, and Deep k-NN is a strong baseline in that case; it offers no advantage when labels themselves are tampered with.
- Defenses that do not rely on ground truth: Use statistical, outlier, or clustering criteria to find poisoned samples, including spectral signatures, activation clustering, and gradient-based core-set selection. The authors state that Meta-Sift, evaluated on CIFAR-10 with five criteria, cannot separate clean data with sufficient precision under any of them, and several are worse than random selection under at least one attack; in practice these methods tend to over-filter.
- Base-set defenses: Assume a batch of verified clean samples as a reference. Frequency detectors and MW-Net use 100 samples; MNTD, Neural Cleanse, and I-BAU use 1,000; De-Pois by default verifies 20% of the training data (10,000 images on CIFAR-10) and reports that as this ratio shrinks to 0.5%, accuracy and F1 drop from approximately 0.9 to 0.7; DUTI similarly relies on a large number of verified clean samples. Zeng et al. show that five representative base-set defenses collapse in performance when less than 1% of the base set is contaminated; for frequency detectors, mixing 1 poisoned sample into 100 causes performance to fall below a random baseline. The authors also cite the same work: 48 professional annotators examining 16 attacks missed more than 86% of poisonings that only perturb features without changing labels, close to random.
Baseline Methods and Benchmarks
- Baselines: Deep k-NN, EPIC, Meta-Sift, and Confusion Training are used for triggerless experiments; Activation Clustering, SPECTRE, Confusion Training, and FLARE are used for backdoor experiments. Benchmarks are CIFAR-10 and Tiny ImageNet; feature extractors are trained on CIFAR-100. Triggerless attacks follow the benchmark protocol of Schwarzschild et al.
The authors distinguish SAGE from all three categories: it does not trust the labels of untrusted data, it is not entirely without ground truth, and it does not assume the base set is clean; it assumes a very small verified set in which samples are labeled as clean or poisoned, and it uses both. Relative to label-dependent defenses, it trades a large number of assumed-correct class labels for far fewer integrity judgments; relative to defenses that do not rely on ground truth, it provides the anchor those methods lack; relative to base-set defenses, it removes the purity requirement, because verified poisoned samples are explicitly labeled rather than assumed absent.
How does the paper address this problem?
First train a similarity feature extractor on CIFAR-100, then use the verified set for weighted interpolation.
SAGE works in two stages: first, it trains a feature extractor ϕ on CIFAR-100 so that same-label images are close in feature space; at detection time, ϕ is frozen and predictions are interpolated based on similarity to verified clean/poisoned samples. Because parameters are not fitted on the verified set, the set size only affects resolution granularity, not overfitting risk.
Problem setting
- Cleaning goal: Given an unknown poisoned sample set P ⊂ D′, simultaneously reduce attack success rate, keep clean accuracy close to training on the original clean data, and discard few data points. The authors state these three objectives trade off, so the paper reports both attack success and discard amount throughout.
- Default verified set: On CIFAR-10, c = 2 (2 clean samples per class for 10 classes), q = 2 (confirmed poisoned samples drawn from base classes), |G| = 22. Both poisoned and clean samples are drawn from the contaminated training set itself, G ⊂ D′, without assuming external data. Samples in Gclean are kept regardless of prediction.
Feature extractor
- Architecture: It does not use a pretrained vision model but trains from scratch on a separate dataset. The authors' rationale: the verified set is too small to train representations directly; pretrained models are optimized for linear classification, while SAGE compares samples by cosine similarity; self-training also allows setting the output dimension directly. Backbone is ResNet-18, pooled features r(x) ∈ R^512, plus a two-layer head:
z = φ(x) = W2 σ(BN(W1 r(x) + b1)) + b2 where σ is sigmoid, BN is batch normalization, hidden width h = 512, output dimension d = 256. A scale τ > 0 is learned, initialized to 1, controlling how concentrated predictions are on the most similar references.
- Training data: Trained on CIFAR-100 for 200 epochs, disjoint from attacked CIFAR-10 and Tiny ImageNet. Optimization is SGD (learning rate 0.1, momentum 0.9, weight decay 5×10^−4, cosine annealing), with random cropping and horizontal flipping. The authors expect the space to transfer because the three benchmarks are standard image benchmarks with broadly similar visual statistics, and training on 100 classes avoids ϕ specializing to only a few classes. The extractor is trained once and then reused across attacks, datasets, and verified set configurations.
Training objective consistent with detection
- Partition and similarity: Each batch is split into a reference set R (labels known) and a query set Q (labels predicted only from R via similarity). Cosine similarity between query i and reference j is sim(zi, zj) = zi⊤zj / (∥zi∥∥zj∥). Prediction is a similarity-weighted average of reference labels:
ŷi = ∑j ∈ R exp(τ · sim(zi, zj)) yj / ∑j ∈ R exp(τ · sim(zi, zj)) During training, yj are one-hot labels from CIFAR-100. Loss L is cross-entropy between ŷi and the query's own class over Q. Gradients flow through features of both R and Q, and ϕ and τ are updated jointly. The authors state that a query is classified correctly only when same-label references receive high similarity weights, so minimizing loss pulls same-label samples together.
- Class-stratified sampling: The authors state that with uniform partitioning, most queries in a step have no same-class reference, so Eq. (3) cannot assign weight to unseen classes, the loss is capped, and training does not progress. Therefore, each step samples k = 4 class-stratified subsets, each with s = 2 images per class, i.e., 200 images per subset and 800 per step, about 62 steps per epoch. Subsets alternate as R and Q so each sample appears in both roles. During training, |R| = 200. The authors state that τ calibrated at training-time |R| is reused as-is at detection; if |R| and |G| differ too much, τ may mismatch, so |R| is treated as a hyperparameter and a range of values is reported in Appendix B.
As a poisoning detector
- Reusing the same rule: At detection, ϕ and τ are frozen, with no training or fine-tuning on the target dataset. The reference set becomes R = G, and labels change from one-hot classes to scalars gj ∈ {0, 1}. Each reference image retains its own class label and poisoning status. For each remaining candidate xi, Eq. (5) gives ĝi ∈ [0, 1], the similarity-weighted proportion of verified poisoned samples in the reference set, as an estimated poisoning probability. Samples with ĝi ≥ 0.5 are removed from the training set. No loss is computed and no parameters are updated in this stage.
- Selection of d and |R|: The appendix selects d and |R| on the clean CIFAR-100 test set using the same similarity-weighted rule as detection, and these are fixed before seeing any poisoned data. In Table IV, d = 256 has the lowest cross-entropy (2.0417) and highest accuracy (0.7328), with τ ranging 13.03–13.56 across dimensions and largest at d = 256; hence all experiments use d = 256. In Table V, |R| = 200 has the highest accuracy (0.7350, τ = 3.5260); at |R| = 22, accuracy is 0.5166 and τ = 0, which the authors state covers only about one-fifth of the 100 classes, so most queries lack same-class references and predictions are near uniform averaging.
What experiments did the paper conduct?
On CIFAR-10, the post-defense ASR for triggerless attacks is at most 5%, and at least about 480/500 poisoned samples are recovered.
Experimental setup
- Data and hardware: CIFAR-10 has 50,000 training images and 10 classes; Tiny ImageNet has 100,000 images and 200 classes. The feature extractor is trained only on CIFAR-100. Hardware is a 64-core 2.4 GHz AMD EPYC and one 24 GB NVIDIA RTX A5000. The authors state extractor training takes about 30 minutes, and one SAGE detection pass on a 50,000-image training set takes about 4 minutes.
- Victim models: Retrained after filtering. On CIFAR-10, Feature Collision and Bullseye Polytope use ResNet-18 with white-box transfer learning (40 epochs, SGD, learning rate 0.1, batch size 128); Gradient Matching trains ResNet-18 from scratch (200 epochs, same optimizer settings). On Tiny ImageNet, VGG-16 is trained from scratch (200 epochs, learning rate 0.1, batch size 64). The four backdoor attacks uniformly train ResNet-18 from scratch (SGD, learning rate 0.1, momentum 0.9, weight decay 5×10^−4, cosine annealing, batch size 128, 100 epochs, random cropping and flipping).
- Triggerless attacks: Follow the hyperparameters, optimizer, and evaluation protocol of Schwarzschild et al., reporting 20 different base–target pairs. ϵ ∈ {8, 16, 22}. Each setting generates 500 poisoned samples on CIFAR-10 and 250 on Tiny ImageNet. For Feature Collision and Bullseye Polytope, the attacker knows the pretrained feature extractor the victim will fine-tune; Gradient Matching only knows the architecture and training procedure, not the resulting weights, and targets training from scratch.
- Backdoor attacks: Use each author's released implementation and default hyperparameters. Narcissus optimizes a global trigger without knowing the victim's training set: it trains a surrogate model on a public out-of-distribution dataset, appends the target class, and searches for perturbations that strongly push inputs toward that class. Wicked Oddities fixes the trigger and selects which images in the target class to poison; experiments use three instances: Wicked-BadNets, Wicked-Blended, Wicked-SIG. Each attack poisons 10% of the attacker-chosen target class, i.e., 1% of the full training set. ASR is measured on 9,000 trigger-added test images outside the target class. Results are mean ± standard deviation over 10 runs.
- Baselines: Triggerless: Deep k-NN (k taken as number of samples per class), EPIC, Meta-Sift (selects 1,000 by default, discards the lowest-ranked 1,000), Confusion Training. Backdoor: Activation Clustering, SPECTRE, Confusion Training, FLARE. These baselines do not use SAGE's verified set.
- Metrics: ASR and clean test accuracy. For the three targeted attacks, ASR is the proportion of the single target image xt classified as the attacker-chosen base class label across 20 poisoned datasets; accuracy is measured on the standard test split on models trained after cleaning, reported as mean ± standard deviation. Also reported are the proportion of the training set removed and the false positive rate among removed samples (removed samples that are actually benign).
Main results
Table I shows post-defense ASR and clean accuracy for triggerless attacks, averaged over 20 poisoned datasets. The table below lists only CIFAR-10 ASR for each defense; accuracy and Tiny ImageNet are described after the table.
Swipe horizontally to read the table
Attack ϵ No defense SAGE Deep k-NN Meta-Sift EPIC Confusion Training FC 8 / 16 / 22 15% / 25% / 35% 0% / 0% / 0% 0% / 10% / 10% 15% / 25% / 35% 0% / 0% / 0% 5% / 5% / 20% BP 8 / 16 / 22 100% / 100% / 95% 0% / 0% / 0% 20% / 0% / 10% 25% / 35% / 40% 10% / 15% / 0% 45% / 70% / 25% GM 8 / 16 / 22 75% / 95% / 100% 0% / 5% / 5% 10% / 10% / 5% 20% / 40% / 60% 10% / 5% / 5% 10% / 15% / 15% - ASR: The authors state that on CIFAR-10, SAGE achieves the lowest ASR in every setting (including ties): 0% for all three ϵ for Feature Collision and Bullseye Polytope; 0–5% for Gradient Matching. EPIC also achieves 0% on Feature Collision across all three budgets. Without defense, Bullseye Polytope is 95–100%, Gradient Matching 75–100%, and Feature Collision only 15–35%, which the authors state should be interpreted relative to its lower undefended ASR.
- Accuracy: Under transfer learning, EPIC's clean accuracy is 0.9455–0.9466, Deep k-NN 0.9389–0.9481, SAGE 0.9258–0.9428. Under from-scratch Gradient Matching, the order reverses: SAGE 0.8980–0.9033, EPIC 0.8787–0.8806, and Confusion Training highest at 0.9040–0.9122. Relative to undefended models, SAGE loses 0.3–5.1 percentage points, with the largest drop under from-scratch training.
- Tiny ImageNet: Only Bullseye Polytope, ϵ = 8, VGG-16 is evaluated. Undefended ASR is 30%, accuracy 0.6153±0.0047. SAGE reduces ASR to 10% and raises accuracy to 0.6169±0.006. Deep k-NN has ASR 20% and accuracy 0.5584; EPIC still has ASR 30% and accuracy 0.5569; Meta-Sift has ASR 50% and accuracy 0.5869; Confusion Training has ASR 25% and accuracy 0.6025. The authors state this is the only defense in this setting that does not incur an accuracy loss.
Backdoor attacks
Table II reports four clean-label backdoors on CIFAR-10 over 10 runs. SAGE results: Narcissus ASR drops from 0.9120±0.0010 to 0.1310±0.0017, accuracy from 0.9521±0.0004 to 0.9281±0.0030 (the authors state a 2.40 percentage point drop); Wicked-BadNets ASR drops from 0.8970±0.0035 to 0.2720±0.0048, accuracy 0.9494±0.0022; Wicked-Blended ASR drops from 0.9383±0.0007 to 0.4620±0.0030, accuracy 0.9467±0.0007; Wicked-SIG ASR drops from 0.9372±0.0018 to 0.3400±0.0157, accuracy 0.9401±0.0022. The authors state that on Wicked variants, clean accuracy drops at most 0.50 percentage points, and SAGE's accuracy is above 0.94 on all three.
- Cost of lower ASR: On Narcissus, Activation Clustering (0.0431), SPECTRE (0.1235), and Confusion Training (0.0987) have lower ASR than SAGE, but also lower clean accuracy (0.9023, 0.9045, 0.9149). FLARE has the lowest ASR on the three Wicked variants (0.0699, 0.1023, 0.0717), with clean accuracy 0.4586–0.5507 across the four attacks, while SAGE has 0.9281–0.9494. The authors state SAGE is not the overall lowest ASR, but it reduces ASR on all four attacks while maintaining higher clean accuracy than FLARE.
- Activation Clustering and SPECTRE on Wicked: On Wicked-BadNets, their ASR is 0.8915 and 0.8959, close to undefended 0.8970; on Wicked-SIG, Activation Clustering is 0.9382, also close to undefended 0.9372.
Removal precision and verified set composition
Table III reports the number of samples flagged as poisoned (mean ± standard deviation over 20 runs). CIFAR-10 has 500 poisoned samples per setting, Tiny ImageNet has 250.
- CIFAR-10: SAGE true positives are 480.4±13.5 to 500.0±0.0, total removals 769.2±13.8 to 995.1±34.1, i.e., 1.5–2.0% of the training set, with false positives comprising 35.4–50.8% of removed samples. Meta-Sift removes 1,000 each time, with true positives up to 105.1±59.8 (Bullseye Polytope, ϵ = 22), which the authors state is at most 21% recall. EPIC removes 9,189.5–9,290.0 under transfer learning; under from-scratch training it removes about 19,405.1–20,174.2, roughly 38.8–40.3% of the dataset, and recovers fewer than 100 poisoned samples. Deep k-NN removes the fewest, 205.3–406.4, of which 46.1–90.7% are false positives. For Gradient Matching at ϵ = 16, SAGE and EPIC both have ASR 5%, but average removals are 896.9 and 20,174.2 respectively.
- Tiny ImageNet: SAGE removes 187.0±50.4, of which true positives are 126.0±38.5 (out of 250), which the authors state is 50.4% recall and 32.6% of removed samples are benign, the best removal precision among evaluated defenses. Despite removing only about half the poisoned samples, ASR still drops from 30% to 10%. The authors believe this indicates the attack depends on retaining a sufficiently large proportion of poisoned samples. Deep k-NN true positives are 77.7±11.8, total removals 220.4±18.4; Meta-Sift true positives 3.3±3.4; EPIC true positives 87.4±5.3, total removals 40,036.0±945.1.
- Verified set composition: Figure 1 compares two sampling methods as the number of verified poisoned samples increases. The authors state that with class-balanced clean samples, BP-8, FC-8, and GM-8 need only two verified poisoned samples to recover most poisoned samples; non-stratified sampling needs about five to achieve similar recall. For false positives, class-balanced sampling removes about 180–220 clean images, while non-stratified removes about 1,500–2,200, even with lower recall. The authors therefore state that balanced coverage of clean classes is important for controlling false positives, and the distribution of verified clean samples matters more than their number. In the figure, solid lines are class-balanced, dashed lines are non-stratified; legend includes BP-8, FC-8, GM-8. Specific endpoint values are not listed point-by-point in the main text.
Other ablations and analyses
- Output dimension d (Appendix A, Table IV, clean CIFAR-100 test set): d = 64 / 128 / 256 / 512 have losses 2.3252 / 2.2413 / 2.0417 / 2.1955, accuracies 0.7020 / 0.7146 / 0.7328 / 0.7242; τ values are 13.5630 / 13.0431 / 13.0456 / 13.0370.
- Training reference set size |R| (Appendix B, Table V, same prediction rule): |R| = 22 / 100 / 200 / 500 have accuracies 0.5166 / 0.6386 / 0.7350 / 0.6867, τ values 0.0000 / 1.2895 / 3.5260 / 2.0171.
- Adaptive attacks: Section VII-A only discusses possible attack avenues, without experimental results. The authors consider reducing poisoned samples' similarity to Gpoison or increasing similarity to Gclean, but state that without ϕ's weights, an attacker cannot directly compute or differentiate this similarity; even with white-box knowledge of ϕ, they do not know which samples will enter G, so they can only target the distribution of clean and poisoned embeddings. The authors explicitly make no robustness claims against attackers who know G when constructing poisoned samples. A more fundamental attack is increasing diversity among poisoned samples so that verified poisoned samples no longer represent unverified ones; the authors state this route is not blocked by uncertainty about ϕ or G.
What are some points that can be further explored?
The authors leave adaptive attacks and Gclean poisoning for future work, and cross-domain reuse of the extractor is not guaranteed.
Limitations and future directions noted by the authors
- Adaptive attacks not yet evaluated (Section VII-A): The authors state that evaluating these adaptive strategies is an important direction for future work. One approach is to add an evasion term to the objective of Bullseye Polytope or Gradient Matching that penalizes proximity to the verified set; another is to construct attack variants with diversity regularization and measure the trade-off between attack effectiveness and detectability. The authors also explicitly state that they make no robustness claims against attackers who construct poisoned samples after knowing G.
- Assumption that the verified set is correct (Section VII-B): SAGE does not require a large pure base set, but assumes that samples labeled clean are indeed clean. Poisoned samples that enter Gclean provide incorrect references for similarity-weighted predictions. The authors state that this assumption is easier to satisfy at their scale because certifying a few dozen samples is more feasible than certifying hundreds or thousands, but the experiments do not evaluate contamination of Gclean at any scale. Measuring how performance degrades under such contamination is left as future robustness experiments.
- Feature extractor reuse across datasets (Section VII-B): ϕ is trained on CIFAR-100 and used without fine-tuning on CIFAR-10 and Tiny ImageNet. The authors state that this avoids retraining for each dataset, but the embeddings reflect the class structure of CIFAR-100 rather than the target dataset. In the evaluated settings, this embedding separates clean and poisoned samples, but the method does not guarantee separation elsewhere. The authors believe performance may degrade when the target domain deviates from natural images (e.g., medical imaging), and extending to non-visual modalities requires separate evaluation.
Experimental coverage
- Victim models tested are ResNet-18 on CIFAR-10 (transfer learning or from scratch, depending on the attack) and VGG-16 trained from scratch on Tiny ImageNet; backdoors uniformly use ResNet-18 trained from scratch. The feature extractor is a ResNet-18 trained from scratch on CIFAR-100 plus a two-layer head.
- Trigger-free attacks are Feature Collision, Bullseye Polytope, and Gradient Matching, with ϵ ∈ {8, 16, 22}, 500 poisoned samples each on CIFAR-10, and 20 base–target pairs; Tiny ImageNet reports only Bullseye Polytope with ϵ = 8 and 250 poisoned samples.
- Backdoors are Narcissus and three instances of Wicked Oddities (Wicked-BadNets, Wicked-Blended, Wicked-SIG), each poisoning 10% of the target class, with Table II showing 10 runs.
- The default verified set on CIFAR-10 is c = 2 clean samples per class, q = 2 confirmed poisoned samples, |G| = 22, and G ⊂ D′. Section VI-D and Figure 1 vary the number of verified poisoned samples and compare class-balanced versus stratified sampling.
- Defense baselines in the trigger-free setting are Deep k-NN, EPIC, Meta-Sift, and Confusion Training; in the backdoor setting they are Activation Clustering, SPECTRE, Confusion Training, and FLARE. The paper does not report experimental results for adaptive attacks, nor numbers when Gclean is contaminated. Appendices A and B only compare d and training-time |R| on the clean CIFAR-100 test set.
Summarize the main content of the paper
SAGE uses 22 verified samples for similarity detection, reducing triggerless ASR to at most 5% on CIFAR-10.
SAGE is a training data cleaning method for clean-label poisoning: it does not assume a large clean base set, but instead uses a very small set containing both verified clean and verified poisoned samples as a reference.
- Problem: Clean-label poisoning on public data does not change labels and is hard to distinguish by eye. Cleaning methods that rely on all labels, that do not rely on ground truth at all, or that rely on hundreds of verified clean samples are limited by label tampering, over-filtering, or verification cost and base set contamination, respectively. The authors frame detection as binary classification on very few verified samples, and argue that parameters should no longer be fitted in this setting.
- Method: On CIFAR-100 disjoint from the attacked data, a feature extractor is trained with ResNet-18 plus a two-layer head. During training, batches are split into reference and query by class, and the query is predicted by a weighted average of reference labels using cosine similarity, with cross-entropy backpropagated to the extractor and temperature τ. At detection time, the extractor is frozen, the same rule is applied with verified clean/poisoned labels, and samples with ĝi ≥ 0.5 are removed. On CIFAR-10, the default is 2 clean samples plus 2 confirmed poisoned samples per class for 10 classes, totaling 22 samples, all from the poisoned training set itself.
- Trigger-free results: On CIFAR-10, across 20 trials, SAGE reduces the ASR of Feature Collision and Bullseye Polytope to 0% at ϵ = 8, 16, 22, and Gradient Matching to 0–5% (Table I), and recovers on average at least 480/500 poisoned samples, with total removal about 1.5–2.0% of the training set (Table III). For Gradient Matching at ϵ = 16, SAGE and EPIC have the same ASR of 5%, but remove on average about 897 and 20,174 samples, respectively. On Tiny ImageNet, with VGG-16, Bullseye Polytope, ϵ = 8, SAGE reduces ASR from 30% to 10%, accuracy from 0.6153 to 0.6169, and recovers 126/250 poisoned samples.
- Backdoor results: On CIFAR-10, across 10 runs, SAGE reduces Narcissus's ASR to 0.1310, the three Wicked variants to 0.2720, 0.4620, 0.3400, and keeps clean accuracy at 0.9281–0.9494. FLARE has lower ASR, but clean accuracy falls to 0.4586–0.5507 (Table II).
- Authors' conclusion: The value of knowing a few poisoned samples is disproportionately high, and verification effort is better spent identifying both types of samples simultaneously rather than assembling a larger set assumed to be clean. The distribution of verified clean samples across classes matters more than their quantity. The authors also leave adaptive attacks, degradation when Gclean is contaminated, and performance on off-natural-image or non-visual modalities as unassessed issues.
Related papers
- CSC: Turning the Adversary's Poison against ItselfDefensesarXiv
Show 3 more papers
- Backdoor Directions in Vision TransformersAnalysis / interpretabilityarXiv