The Adversarial Implications of Variable-Time Inference
Not on the map. Why?
Abstract (arXiv)
Machine learning (ML) models are known to be vulnerable to a number of attacks that target the integrity of their predictions or the privacy of their training data. To carry out these attacks, a black-box adversary must typically possess the ability to query the model and observe its outputs (e.g., labels). In this work, we demonstrate, for the first time, the ability to enhance such decision-based attacks. To accomplish this, we present an approach that exploits a novel side channel in which the adversary simply measures the execution time of the algorithm used to post-process the predictions of the ML model under attack. The leakage of inference-state elements into algorithmic timing side channels has never been studied before, and we have found that it can contain rich information that facilitates superior timing attacks that significantly outperform attacks based solely on label outputs. In a case study, we investigate leakage from the non-maximum suppression (NMS) algorithm, which plays a crucial role in the operation of object detectors. In our examination of the timing side-channel vulnerabilities associated with this algorithm, we identified the potential to enhance decision-based attacks. We demonstrate attacks against the YOLOv3 detector, leveraging the timing leakage to successfully evade object detection using adversarial examples, and perform dataset inference. Our experiments show that our adversarial examples exhibit superior perturbation quality compared to a decision-based attack. In addition, we present a new threat model in which dataset inference based solely on timing leakage is performed. To address the timing leakage vulnerability inherent in the NMS algorithm, we explore the potential and limitations of implementing constant-time inference passes as a mitigation strategy.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 31 of its 56 references that are in the map. First posted on arXiv 5 Sep 2023.
Builds on
31 of 56 references.
References · 31
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Mask R-CNNcited by 7,259
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
- 2015SSD: Single Shot MultiBox Detectorcited by 3,125
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2015Fast R-CNNcited by 2,930
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 2016Adversarial examples in the physical worldcited by 1,762
- 2016YOLO9000: Better, Faster, Strongercited by 1,429
19 more
- 2019Objects as Pointscited by 1,172
- 2017Ensemble Adversarial Training: Attacks and Defensescited by 833
- 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 656
- 2016Stealing Machine Learning Models via Prediction APIscited by 602
- 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 591
- 2018Black-box Adversarial Attacks with Limited Queries and Informationcited by 499
- 2020Sparse R-CNN: End-to-End Object Detection with Learnable Proposalscited by 494
- 2017Decision-Based Adversarial Attacks: Reliable Attacks Against Black-Box Machine Learning Modelscited by 459
- 2017Wild Patterns: Ten Years After the Rise of Adversarial Machine Learningcited by 411
- 2020Label-Only Membership Inference Attackscited by 371
- 2019HopSkipJumpAttack: A Query-Efficient Decision-Based Attackcited by 328
- 2018Physical Adversarial Examples for Object Detectorscited by 163
- 2018DPatch: An Adversarial Patch Attack on Object Detectorscited by 146
- 2018Prior Convictions: Black-Box Adversarial Attacks with Bandits and Priorscited by 145
- 2017Learning non-maximum suppressioncited by 112
- 2018Stealing Neural Networks via Timing Side Channelscited by 42
- 2021Membership Inference Attacks are Easier on Difficult Problemscited by 16
- 2020De-Anonymizing Text by Fingerprinting Language Generationcited by 3
- 2021Practical Timing Side Channel Attacks on Memory Compressioncited by 1
Built on by
Citing papers per year: 2025: 1.
1 paper.