Abstract
KDAT (Knowledge Distillation with Adversarial Tuning) is a novel fine-tuning strategy designed to protect object detection models against adversarial patch attacks. Unlike traditional defenses that often degrade performance on clean images or introduce significant inference latency, KDAT improves accuracy on both benign and adversarial data with zero additional overhead. By employing a teacher-student distillation framework, KDAT encourages models to ignore adversarial noise and focus on robust features.
Introduction
Object detection (OD) is a critical component of autonomous systems, yet it remains highly vulnerable to adversarial patches—small, localized perturbations designed to cause misclassification or detection failure. Existing defenses typically suffer from two major drawbacks: an "Accuracy Tax," where performance on clean (benign) data is reduced, and a "Latency Tax," where complex preprocessing steps significantly slow down inference. KDAT addresses these issues by baking robustness directly into the model weights during a targeted fine-tuning phase, requiring no extra steps during deployment.
Methodology
The KDAT framework utilizing a teacher-student distillation architecture with composite loss functions. KDAT: Inherent Adversarial Robustness via Knowledge Distillation with Adversarial Tuning for Object Detection Models, page 3
The KDAT framework utilizes a frozen "Teacher" model, which only processes clean images, to guide a trainable "Student" model that is exposed to adversarial versions of the same images. The student learns to replicate the teacher's internal representations, effectively learning to ignore adversarial patches. This process is governed by a composite loss function consisting of four parts:
- Object Detection (OD) Loss: Standard supervised learning to match ground-truth labels.
- Feature Map (FM) Loss: Aligns internal "heat maps" between models. By using masked images that black out the patch area, the student is taught to ignore the patch rather than attempt to process it.
- Classification (CLS) Loss: Matches the probability distributions (soft labels) of the predictions.
- Family Architecture Adjustable (FA) Loss: A flexible component tailored to specific model architectures, such as "objectness" scores for Faster R-CNN or embeddings for transformer-based DETR.
A "Self-Guiding" mechanism ensures that if the student's features become superior to the teacher's on clean images, it can trust its own representations, preventing the teacher from becoming a performance bottleneck.
Experimental Results
Performance comparison of KDAT against state-of-the-art defenses on DETR and Faster R-CNN architectures. KDAT: Inherent Adversarial Robustness via Knowledge Distillation with Adversarial Tuning for Object Detection Models, page 5
KDAT was evaluated across multiple datasets, including COCO, INRIA, and Superstore, against a variety of attacks such as DPatch and Google's adversarial patch. As shown in the comparative analysis, KDAT consistently outperforms existing state-of-the-art defenses.
Key findings include:
- Zero Latency Overhead: KDAT maintains the exact inference time and FPS of undefended models, whereas competing methods like OS or PAD can be 100 to 1,000 times slower.
- Performance Gains: KDAT achieves a "win-win" scenario, improving benign mAP by 2-4% while simultaneously boosting adversarial robustness by 10-15 mAP%.
- Physical Robustness: In real-world tests using the Superstore dataset, KDAT showed a 22 mAP% improvement over baseline models when facing printed adversarial patches.
- Generalization: Models trained with KDAT successfully defended against "unseen" attacks not encountered during the fine-tuning phase.
Discussion and Conclusion
KDAT demonstrates that adversarial tuning, when combined with knowledge distillation, acts as a powerful regularizer that improves a model's focus on robust features. By breaking the traditional trade-off between security and efficiency, KDAT provides a viable path for deploying robust object detection in real-time, safety-critical applications. Future research will focus on automating the design of the Family Architecture (FA) loss to allow for seamless adaptation to any new neural architecture without manual intervention.
Summary updated