TL;DR
This paper introduces DETOUR, a practical backdoor attack against object detection models that addresses the limitations of previous attacks by focusing on real-world deployment scenarios. DETOUR achieves high attack effectiveness across various trigger sizes, locations, and viewing angles, while maintaining benign accuracy, making it a significant advancement in the study of backdoor vulnerabilities in object detection.
What Problem Does This Paper Address?
Object detection (OD) is a crucial technology for many real-world applications, from autonomous driving to robotics. However, OD models are susceptible to backdoor attacks, where malicious behavior is embedded during training and activated by specific triggers during inference. Existing backdoor attacks on OD models, particularly those based on transformer architectures like DETR, often rely on patch-like triggers that are optimized for stealthiness and fixed locations. This approach is impractical for real-world scenarios where triggers can appear at different sizes, orientations, and locations due to variations in camera perspectives, lighting, and physical deployment. The paper highlights that overly stealthy triggers are difficult for cameras to capture, and their effectiveness diminishes when they deviate from their trained configurations. Therefore, there's a need for backdoor attacks that are practical, robust, and effective in realistic, unconstrained environments.
Methods
DETOUR proposes a novel attack strategy that addresses the practical challenges of real-world OD backdoor attacks. Key aspects of their method include:
- Semantic Trigger Design: Instead of abstract patterns, DETOUR uses a real-world object (a mug) as a semantic trigger. This makes the trigger physically realizable and more likely to be encountered naturally.
- Multi-field-of-view (MFoV) Trigger Design: To handle variations in viewing angles, the trigger patterns are captured from multiple perspectives of the mug. This allows the model to learn viewpoint-invariant features associated with the trigger.
- Scale-Invariant Trigger Injection: The attack accounts for variations in trigger size by randomly rescaling the trigger during training. This ensures the backdoor can be activated across a range of distances and viewing conditions.
- Location-Agnostic Trigger Placement: To overcome the limitation of fixed trigger locations, DETOUR trains the model with triggers inserted at diverse positions. This encourages the model to associate the backdoor behavior with the trigger's presence, not its specific coordinates.
- Trigger Radiating Effect (TRE) Maximization: The authors observe that patch-based triggers in DETR exhibit a "trigger radiating effect" (TRE), where the attack effectiveness extends to neighboring locations. DETOUR leverages and maximizes this effect by using multiple trigger insertion locations during training.
- Backdoor Training Objective: The model is trained to jointly optimize for benign detection performance and the backdoor task. This involves a unified loss function that combines classification and bounding box regression losses for both clean and poisoned data.
Datasets
The experiments were conducted on MS COCO 2017, a large-scale object detection benchmark. This dataset contains complex real-world scenes with numerous annotated objects across 80 categories, making it suitable for evaluating both detection performance and backdoor attack effectiveness.
Key Insights and Ideas
- Real-world triggers are semantic, not just abstract patterns: The effectiveness of backdoor attacks is significantly enhanced when using recognizable objects as triggers, as they are more likely to appear in real-world scenarios.
- DETR's architecture is vulnerable to location-agnostic attacks: The transformer architecture of DETR, with its global self-attention mechanism, allows for backdoor activation across a wide range of trigger locations, even those not seen during training.
- Trigger Radiating Effect (TRE) is crucial for practical attacks: Maximizing TRE allows the attack to be effective even when the trigger's exact location is not precisely controlled during inference, which is common in real-world deployments.
- Overly stealthy triggers are impractical: Triggers that are too subtle or have minimal perturbations are difficult for cameras to capture and can lead to reduced attack effectiveness in real-world settings.
- Balancing attack effectiveness and benign accuracy is achievable: DETOUR demonstrates that it's possible to achieve high attack success rates without significantly degrading the model's performance on clean data.
Key Results
- High Attack Effectiveness: DETOUR achieves significant attack effectiveness, with an average attack success rate (ASR) of 94.16% and 94.08% for trigger sizes 50x50 and 70x70, respectively.
- Enhanced TRE: The proposed payload significantly improves TRE, achieving 70.81% higher TRE compared to default attack strategies.
- Robustness: DETOUR demonstrates robustness across various trigger sizes, locations (location-agnostic activation), and viewing angles (MFoV).
- Benign Accuracy Preservation: The attack incurs minimal degradation in benign accuracy, with drops of only 2.0%, 3.0%, and 1.7% in mAP@50, mAP@75, and mAP@50:95, respectively, across six attack goals.
- Comparison to Baselines: DETOUR outperforms baseline attacks like BadNets, Blended, and SIG in terms of TRE and robustness, while also showing better preservation of benign functionality.
Limitations and Future Work
- Trigger Perturbation Magnitude: The paper notes that while SUP-based trigger insertion with small perturbation magnitudes can achieve high attack effectiveness, it can also lead to substantial degradation in benign performance. Future work could explore finding an optimal balance for perturbation magnitudes.
- Computational Overhead: While DETOUR is computationally efficient, the paper mentions that further analysis of resource usage is provided in an appendix. Future work could focus on optimizing the training process for even greater efficiency.
- Generalization to Other Architectures: The current work focuses on DETR. Future research could investigate the effectiveness of DETOUR and its principles on other object detection architectures.
- Ethical Considerations: The authors acknowledge the potential misuse of their findings and emphasize the importance of AI safety research. They plan to release their code to promote transparency and responsible usage.
Summary updated