Abstract
Modern object detection models rely on a post-processing step called Non-Maximum Suppression (NMS) to filter redundant predictions. While optimized for accuracy, this stage presents a significant computational vulnerability. This paper introduces "Overload," an adversarial attack designed to maximize inference latency on edge devices by flooding the NMS stage with high-confidence "ghost" objects. Experimental results on the Nvidia Jetson NX demonstrate that Overload can increase processing time by over 10x, effectively enabling Denial-of-Service attacks against real-time systems like autonomous vehicles.
Introduction: The Timing Vulnerability in Edge AI
Most adversarial research in computer vision focuses on "evasion" or "misclassification"—tricking a model into seeing something that isn't there or missing something that is. However, for real-time applications running on edge devices, such as drones or autonomous cars, the temporal dimension is just as critical as accuracy. If a system takes too long to process a frame, it may fail to react to a hazard in time, regardless of the eventual prediction's correctness.
The authors identify a specific vulnerability in the standard object detection pipeline: the Non-Maximum Suppression (NMS) stage.
While deep learning backbones are often highly optimized for GPU execution, the NMS step can become a massive computational bottleneck if it is forced to process an excessive number of candidate objects.
The Overload Framework
The researchers developed Overload, a framework to generate adversarial images that maximize inference latency. Unlike standard attacks that minimize classification loss, Overload uses a loss function designed to maximize "objectness" confidence scores across the entire image.
A key technical contribution is the use of Spatial Attention. To prevent "ghost" objects from clustering in a single area—which NMS could prune relatively quickly—the researchers developed a technique to distribute fake objects across low-density regions of the image. This maximizes the workload for the NMS algorithm by forcing it to compare many non-overlapping or partially overlapping boxes across the entire frame.
Key Insights: The Quadratic Trap
The computational complexity of NMS is typically quadratic ($O(n^2)$) relative to the number of predicted objects because it involves pairwise comparisons between boxes. By pushing a model to its limit (e.g., generating the maximum 25,200 objects for YOLOv5), an attacker can cause the NMS processing time to explode. This research shifts the perspective of adversarial machine learning from "deception" to "resource exhaustion," effectively demonstrating that AI models can be "DDoS-ed" by a single carefully crafted image.
Experimental Results
The study primarily used the MS COCO 2017 validation set for evaluation, testing models on the Nvidia Jetson NX, a popular edge computing platform.
- Massive Slowdowns: On the Nvidia Jetson NX, inference time for a single image increased by 13.0× for YOLOv5s and 11.0× for YOLOv5n compared to original images.
- Ghost Object Generation: The attack successfully generated over 20,000 ghost objects in over 90% of test images for YOLOv5s.
- Cross-Architecture Success: The attack proved effective across the entire YOLO family (v3, v5, v7, v8) and anchor-free models like FCOS.
- Ensemble Attacks: The researchers demonstrated that a single "ensemble" image could simultaneously slow down multiple different detection architectures.
Conclusion and Future Directions
While a high-end desktop GPU might handle the extra NMS load, the impact on resource-constrained edge devices is catastrophic. Future work will explore "black-box" versions of the attack and the creation of physical-world adversarial patches. Potential defenses include setting hard execution timeouts for NMS or strictly limiting the number of objects allowed into the post-processing stage, though these may impact the detection of legitimate objects in crowded scenes.
Summary updated