Skip to content

Natural Backdoor Datasets: Identifying Physical Backdoor Triggers in Existing DatasetsNatural Backdoor Datasets

arXiv· arXiv:2206.10673· Emily Wenger, Roma Bhattacharjee, Arjun Nitin Bhagoji, Josephine Passananti, Emilio Andere, Haitao Zheng, Ben Y. ZhaoUniversity of Chicago; Princeton UniversityIndexed by this site · 27 days ago· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors propose mining naturally co-occurring objects from ImageNet and Open Images as physical backdoor triggers to construct natural backdoor datasets; the authors claim the trained models behave equivalently to manually collected datasets, and that all four existing defenses fail.

Threat modelThe attacker poisons the training data (data poisoning), mislabeling images containing the trigger object δp as the target class yp; apart from poisoning, the attacker cannot access or modify model parameters. The trigger is a real object present when the image was taken (physical trigger), not digitally added. The victim system is an image classification model.

Questions
Physical backdoor attacks use real objects as triggers and can bypass existing defenses, but constructing training datasets requires manually photographing a large number of photos, which is time-consuming and laborious, hindering research in this direction.
Methods
Convert multi-label datasets (ImageNet, Open Images) into object co-occurrence graphs, use 4 graph centrality measures to find high-frequency co-occurring trigger objects, then use an approximate maximum independent subset (MIS) to select poisonable classes; after relabeling, natural backdoor datasets are obtained.
Experiments and results
Multiple usable triggers were found on both ImageNet and Open Images; on Open Images, the Centrality+MIS method achieved clean accuracy 72±1% and trigger accuracy 68±3% (Table 1); none of the four defenses NeuralCleanse, AC, Spectral, and STRIP mitigated the attack (Table 3).
Limitations and future work
The authors point out two limitations: the method's effectiveness depends on the accuracy of multi-labels, and labels in large public datasets may be wrong; the definition of trigger "usability" is subjective and scenario-dependent. Experiments were validated only on ImageNet and Open Images with 4 architectures and subsets of around 10 classes.
Experimental setupResNet50、Inception et al. · ImageNet、Open Images · clean accuracy、trigger accuracy
Evaluated models
ResNet50InceptionVGG16DenseNet
Benchmarks
ImageNetOpen Images
Metrics
clean accuracytrigger accuracy
AI summaryThe researchers propose a natural backdoor dataset method that identifies physical objects naturally co-occurring with classification targets in existing datasets such as ImageNet and relabels them, turning them into training samples for physical backdoor attacks. The paper notes that physical backdoors use physical objects as triggers and are sufficient to resist all defenses against digital-trigger backdoors, but related research is limited by the lack of large datasets containing real co-occurring objects. The method can scalably identify subsets of potential trigger objects in a dataset and the classes that can be poisoned, and it successfully identifies natural backdoors in public datasets; models trained this way behave equivalently to models obtained from manually curated datasets. The authors have released code for the research community to build their own physical backdoor research datasets.

The researchers propose a natural backdoor dataset method that identifies physical objects naturally co-occurring with classification targets in existing datasets such as ImageNet and relabels them, turning them into training samples for physical backdoor attacks. The paper notes that physical backdoors use physical objects as triggers and are sufficient to resist all defenses against digital-trigger backdoors, but related research is limited by the lack of large datasets containing real co-occurring objects. The method can scalably identify subsets of potential trigger objects in a dataset and the classes that can be poisoned, and it successfully identifies natural backdoors in public datasets; models trained this way behave equivalently to models obtained from manually curated datasets. The authors have released code for the research community to build their own physical backdoor research datasets.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Manually constructing physical backdoor datasets is costly, so the authors propose mining naturally co-occurring objects from existing multi-label datasets as triggers.

    Core problem: research on physical backdoor attacks is limited by the high cost of constructing training datasets; the authors attempt to automatically mine usable physical backdoor datasets from existing public datasets.

    • Problem scenario: Physical backdoors use real objects present when the image was taken as triggers; their nature differs from digital triggers, and the authors claim they can bypass all defenses targeting digital triggers. However, constructing their training set requires manually placing the trigger object and target object together and taking photos; the authors cite prior work stating that a face recognition physical backdoor dataset required taking 3000+ photos.
    • Shortcomings of existing methods: Manual construction is time-consuming and laborious, trigger selection is limited to the objects available to the dataset builder, and it may raise privacy issues; the authors argue this hinders physical backdoor research.
    • Core hypothesis: Public datasets such as ImageNet and Open Images naturally contain many co-occurring objects (e.g., a pencil and a table in the same image), which after relabeling can be equivalent to poisoned training data for physical backdoors.
    • Paper outputs: A graph analysis method for identifying natural backdoor datasets (trigger + poisonable class subset) from multi-label datasets, experimental validation on ImageNet and Open Images, and an open-source tool (the authors state the code has been released with the supplementary material).
    • Threat model:
      • Attacker goal: Make the model misclassify images containing the trigger object δp as the target label yp, while maintaining normal accuracy on clean inputs.
      • Attacker knowledge/capability: Can only poison the training data (data poisoning), cannot access or modify model parameters.
      • Trigger form: Real-world object (physical trigger), not digitally edited in.
      • Victim system: Image classification model (single-label setting).
  2. What related research exists?

    Related work is divided into three groups: digital/physical backdoor attacks, backdoor defenses, and multi-label relabeling; this paper uses manually collected physical backdoor datasets as the comparison.

    Digital trigger backdoor attacks and defenses

    • BadNets (Gu et al., 2017), Trojaning (Liu et al., 2018), etc. — poisoning training data and adding digital pixel patterns to images as triggers; classic work on backdoor attacks.
    • NeuralCleanse (Wang et al., 2019), Fine-pruning (Liu et al., 2018), Neural Attention Distillation (Li et al., 2021), etc. — defenses against digital triggers. The paper says physical triggers violate these defenses' assumptions about trigger behavior and can therefore bypass them.

    Physical backdoor attacks

    • Wenger et al. (2021) — demonstrated that real objects such as sunglasses and headscarves are effective backdoor triggers that can bypass existing defenses for object recognition and face recognition; this paper's defense evaluation follows their four defense settings.
    • Han et al. (2022), Ma et al. (2022) — extended physical backdoors to autonomous driving lane detection and object detection (store-bought T-shirts as triggers).
    • Sarkar et al. (2020), Liu et al. (2020), Li et al. (2020) — used facial features, light reflections, and light wavelengths invisible to the human eye as triggers; the paper notes that the reflection patterns of Liu et al. were manually generated by image editing, and whether they transfer to real scenarios remains to be studied.

    Physical backdoor defenses

    • Raj et al. (2021) — the paper says this is the only defense explicitly proposed against physical backdoors, aimed at face recognition systems, which searches for feasible physical triggers by analyzing the cross-entropy loss between the network output and the target class under a given trigger, with triggers drawn from a preset set of facial accessories.

    Multi-label and relabeling

    • Yun et al. (2021), Shankar et al. (2020), Stock and Cisse (2017) — relabeling work on ImageNet; the paper cites them to support the assumption that "a large number of co-occurring objects exist in public datasets"; this paper directly uses the ImageNet multi-labels generated by Yun et al.

    Baselines and benchmarks: the experimental comparisons are the "Centrality, No MIS" variant without MIS screening and a clean model without a backdoor; the defense baselines are NeuralCleanse, Activation Clustering, Spectral Signatures, and STRIP; the datasets are ImageNet and Open Images. The authors say this paper is the first work to identify the existence of natural backdoor datasets, positioned as shifting physical backdoor dataset construction from manual collection to automatic mining from existing datasets.

  3. How does the paper address this problem?

    Build the multi-label dataset into an object co-occurrence weighted graph, use graph centrality to find triggers and approximate MIS to screen poisonable classes; relabeling then yields the poisoned dataset.

    Overall approach: represent a multi-label object recognition dataset as a weighted co-occurrence graph G, use graph centrality measures to find high-coverage, high-frequency objects as natural triggers, then use an approximate maximum independent subset to select poisonable classes; after relabeling, this forms a natural backdoor dataset (Figure 2).

    Problem setting

    • The training objective of backdoor poisoning is a joint optimization: minθ ∑(x,y)∈ Dc l(y, Fθ(x)) + ∑(xp,yp)∈ Dp l(yp, Fθ(xp)), i.e., simultaneously fitting clean data Dc and poisoned data Dp mislabeled as the target class yp.
    • A successful backdoor model must satisfy two conditions: clean inputs are classified correctly; inputs containing the trigger δp are classified as the target label yp.
    • A natural trigger must satisfy two properties: coverage (co-occurring with as many other objects as possible) and frequency (co-occurring with each object as many times as possible).

    Graph construction (Phase 1)

    • Vertices are the M object classes of the dataset; the weight of edge eij is the number of images in which objects i and j co-occur.
    • A threshold min is set: edges with co-occurrence counts below min do not enter the graph, controlling the minimum co-occurrence required for a trigger.

    Trigger identification (Phase 2)

    • Four centrality measures (each with weighted/unweighted versions) are used to find the most central vertices as candidate triggers: degree, betweenness, eigenvector, closeness; the unweighted versions characterize coverage, while the weighted versions trade off between coverage and diversity.
    • The top m vertices by centrality are taken as the candidate trigger set T.

    Poisonable subset selection (Phase 3)

    • For each candidate trigger t, extract the induced subgraph whose co-occurrence edge weights with t exceed the threshold trig.
    • After pruning low-weight edges in the subgraph, run the maximal independent set algorithm multiple times to approximately solve for the maximum independent subset (MIS, exact solution is NP-hard); the resulting approximate MIS is the set of poisonable classes.
    • Design rationale: if poisonable classes co-occur with each other, the model will also associate other objects with the target label, reducing attack effectiveness and clean accuracy.

    Dataset and training

    • The natural backdoor dataset consists of images of the trigger class and the poisonable subset, with each image given a single label determined by the graph structure; poisoned images are those in which the trigger and target object co-occur and are mislabeled as yp.
    • The method also supports reverse queries: specify the class to backdoor and find the best trigger, or specify the trigger and find the best poisonable classes (Appendix F).
    • Training setup: ResNet50 (ImageNet pretrained) transfer learning, replacing the final classification layer, unfreezing the last 3 layers, Adam optimizer, learning rate 1e−5, 50 training epochs, a single NVIDIA TITAN GPU; the authors state this setup is the best balance between training time and performance found in the experiments.
  4. What experiments did the paper conduct?

    Existence, effectiveness, and defense resistance were validated on ImageNet and Open Images; Centrality+MIS achieved clean 72% and trigger 68% on Open Images.

    Experimental setup

    • Models tested: ResNet50 (main experiments), Inception, VGG16, DenseNet, all pretrained on ImageNet.
    • Datasets: ImageNet (1000 classes, 1.3M training images, an average of 2.9 objects per image, multi-labels generated by the method of Yun et al., confidence threshold 0.994) and Open Images (483 classes, 1.7M training images, an average of 9.8 objects per image, manually verified multi-labels) (Table 4).
    • Default configuration: 10-class natural backdoor datasets, at least 250 clean images per class, poisoning injection rate 0.2 (following the setting of Wenger et al. 2021); the existence screening criteria are at least 5 classes, 200 clean images and 50 poisoned images per class, and human-related triggers are excluded.
    • Metrics: clean accuracy (accuracy on clean inputs) and trigger accuracy (the proportion of inputs containing the trigger that are classified into the target class).
    • Number of repetitions: unless otherwise noted, all clean/trigger accuracies are the average of 3 training runs, each with a different target label.
    • Baselines: a clean model without a backdoor; the "Centrality, No MIS" variant (triggers selected by centrality but classes not screened by MIS).

    Main results

    According to Table 1 (Open Images) and Table 7 (ImageNet), ResNet50, injection rate 0.2, 10-class datasets:

    Swipe horizontally to read the table

    Dataset generation methodOpen Images cleanOpen Images triggerImageNet cleanImageNet trigger
    No backdoor79 ± 2%0 ± 0%81 ± 2%0 ± 0%
    Centrality, No MIS58 ± 5%63 ± 8%59 ± 4%71 ± 8%
    Centrality + MIS72 ± 1%68 ± 3%70 ± 3%58 ± 10%
    • The authors believe Centrality+MIS is overall better than the variant without MIS on both accuracies, validating the intuition in §4 that "not excluding highly overlapping classes would harm both accuracies"; on ImageNet the No MIS variant has higher trigger accuracy than the MIS variant, and the paper does not explain this exception.
    • The main results average the 3 "most central" triggers selected by betweenness centrality (Table 2, e.g., wheel, jeans, chair for Open Images).

    Existence vs. centrality comparison

    • What was measured: the trade-off between the number of candidate triggers identified and the size of the poisonable subset for 4 centralities (each weighted/unweighted) on the two datasets (Figure 4), and the performance of models trained on datasets generated by different centralities (Figure 5, Figure 13).
    • Results: closeness centrality consistently identifies fewer classes/subsets than the other metrics; the other metrics behave similarly when the subset is 10 classes. The sets of candidate triggers marked by different centralities are roughly the same, but the composition of poisonable classes differs.
    • Authors' interpretation: betweenness centrality gives the most stable results on the two datasets (high mean, small standard deviation); closeness appears to perform better in Figure 5, but it satisfies the conditions for few triggers and small subsets, and the authors consider this performance advantage limited.

    Resistance to defenses

    • What was measured: for models trained on the 6 natural backdoor datasets in Table 2, four defenses were evaluated: NeuralCleanse, Activation Clustering, Spectral Signatures, and STRIP (Table 3).
    • Results: NC correctly flags the target label in only 16% of models; AC detects 9.7 ± 10.8% poisoned data; Spectral detects 65.0 ± 4.3%; STRIP detects 4.0 ± 4.0%.
    • Authors' interpretation: none of the four defenses mitigates natural backdoor attacks; although Spectral detects about 65% of poisoned data, retraining after removal only reduces attack accuracy by 4% on average.

    Other ablations and analyses

    • Model architecture (Figure 7, Open Images "jeans" trigger): DenseNet clean 74 ± 2%/trigger 67 ± 3%, ResNet 77 ± 1%/75 ± 4%, VGG16 69 ± 1%/69 ± 5%, Inception 70 ± 1%/61 ± 1%; corresponding ImageNet results are in Table 8.
    • Injection rate (Figure 6, Figure 14): within the range 0.01–0.3, increasing the injection rate increases both trigger and clean accuracy.
    • Edge weight threshold (Figure 15, ImageNet "jeans"): as the threshold rises from 20 to 50, clean accuracy keeps decreasing, which the authors explain as a high threshold increasing co-occurrences not counted in the MIS and diluting the effect of the MIS.
    • Larger class sets (Table 9): after adding 5 or 10 randomly pruned classes to the 10-class "jeans" subset, Open Images clean 71 ± 3%/69 ± 1%, trigger 68 ± 2%/63 ± 2%, ImageNet clean 68 ± 2%/64 ± 2%, trigger 64 ± 2%/58 ± 2%; the authors say adding other classes slightly degrades performance, and better hyperparameter optimization might improve it.
    • ImageNet multi-label threshold: tested thresholds 0.900–1.000 on 20 manually annotated images, and chose 0.994 (14 false positives, 16 false negatives) (Figure 8).
  5. What are some points that can be further explored?

    The authors point out two limitations: label accuracy and the subjectivity of the trigger usability definition; the experiments are limited to two datasets, 4 architectures, and subsets of around 10 classes.

    Limitations noted by the authors and future directions

    • Dependence on label accuracy (§6 Limitations): The effectiveness of the graph analysis technique and the reliability of triggers depend on the accuracy of multi-labels; the authors say they have made every effort to ensure label accuracy, but messy labels in large public datasets are a known problem.
    • Trigger usability is subjective (§6 Limitations): From an attacker's perspective, whether a trigger is "usable" is a subjective, scenario-dependent definition; the authors suggest that researchers using this method to generate defense evaluation datasets carefully consider all possible settings.
    • Other uses of the method (§6 Future work): The authors propose that their co-occurrence analysis technique could in the future be used to identify spurious correlations, reveal dataset biases, or reconstruct datasets.
    • Need for defenses (§6 Ethics): The authors say natural backdoor datasets could potentially be used to attack object recognition models deployed in safety-critical scenarios (though they consider this unlikely), so defenses against physical backdoor attacks are urgently needed.

    Scope of experiments

    • The datasets are ImageNet and Open Images; natural backdoor subsets are mainly 10 classes in size, extended at most to 20 classes (Table 9).
    • The architectures tested are ResNet50, Inception, VGG16, and DenseNet, 4 in total, all based on ImageNet pretrained transfer learning.
    • Defense evaluation covers four: NeuralCleanse, Activation Clustering, Spectral Signatures, and STRIP, averaged over 6 natural backdoor datasets (Table 3).
    • Unless otherwise noted, accuracies are the average of 3 training runs; the main results use a default injection rate of 0.2 and at least 250 clean images per class.
    • The paper does not report a direct numerical comparison with manually collected physical backdoor datasets (such as the dataset of Wenger et al. 2021) under the same settings; the statement of "equivalent behavior" is not accompanied by controlled experimental numbers.
  6. Summarize the main content of the paper

    Automatically mining natural physical backdoor datasets from public datasets; model performance is close to the no-backdoor baseline, and all four existing defenses fail.

    An attack paper on constructing physical backdoor attack datasets; its core is shifting the construction of physical backdoor datasets from manual photography to automatic mining from existing multi-label datasets.

    • Problem to solve: Physical backdoors use real objects as triggers and can bypass existing defenses, but manually constructing training datasets is time-consuming and laborious, which the authors argue hinders related research.
    • Method highlights: Represent multi-label datasets such as ImageNet and Open Images as weighted object co-occurrence graphs, use four centrality measures—degree, betweenness, eigenvector, closeness—to find high-coverage, high-frequency trigger objects, then use an approximate maximum independent subset (MIS) to select poisonable classes with low mutual co-occurrence; relabeling the co-occurring images yields a natural backdoor dataset.
    • Existence: Multiple qualifying candidate triggers were found on both datasets (e.g., wheel, jeans, chair in Open Images, Table 2); the number of subsets identified by closeness centrality was consistently lower than for the other measures (Figure 4).
    • Effectiveness: On Open Images, the Centrality+MIS method achieved clean accuracy 72 ± 1% and trigger accuracy 68 ± 3%, versus 79 ± 2% for the no-backdoor baseline (Table 1); on ImageNet the corresponding values were 70 ± 3% and 58 ± 10% (Table 7).
    • Defense resistance: NeuralCleanse flagged the target label in only 16% of models; the poisoned-data detection rates of AC, Spectral, and STRIP were 9.7 ± 10.8%, 65.0 ± 4.3%, and 4.0 ± 4.0%, respectively; after Spectral removed detected data and retrained, attack accuracy dropped by only 4% on average (Table 3).
    • Authors' conclusion: The authors claim this is the first work to identify the existence of natural backdoor datasets, that the trained models behave equivalently to manually collected datasets, and they released an open-source tool; they also note two limitations—the method depends on multi-label accuracy, and the definition of trigger usability is subjective—and call for developing defenses against physical backdoors.

Related papers

Show 3 more papers
Read originalarxiv.org