Lune

USENIX Security2020Top-tier venue

Adversarial Preprocessing: Understanding and Preventing Image-Scaling Attacks in Machine Learning

Erwin Quiring, David Klein, Daniel Arp, Martin Johns, Konrad Rieck

Abstract

Machine learning has made remarkable progress in the last years, yet its success has been overshadowed by different attacks that can thwart its correct operation. While a large body of research has studied attacks against learning algorithms, vulnerabilities in the preprocessing for machine learning have received little attention so far. An exception is the recent work of Xiao et al. that proposes attacks against image scaling. In contrast to prior work, these attacks are agnostic to the learning algorithm and thus impact the majority of learning-based approaches in computer vision. The mechanisms underlying the attacks, however, are not understood yet, and hence their root cause remains unknown.

In this paper, we provide the first in-depth analysis of image-scaling attacks. We theoretically analyze the attacks from the perspective of signal processing and identify their root cause as the interplay of downsampling and convolution. Based on this finding, we investigate three popular imaging libraries for machine learning (OpenCV, TensorFlow, and Pillow) and confirm the presence of this interplay in different scaling algorithms. As a remedy, we develop a novel defense against image-scaling attacks that prevents all possible attack variants. We empirically demonstrate the efficacy of this defense against non-adaptive and adaptive adversaries.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

16 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Membership Inference Attacks Against Machine Learning Models cites Stealing Machine Learning Models via Prediction APIs
  • Privacy Side Channels in Machine Learning Systems cites Membership Inference Attacks Against Machine Learning Models
  • Privacy Side Channels in Machine Learning Systems cites Stealing Machine Learning Models via Prediction APIs
  • Trojaning Attack on Neural Networks cites Membership Inference Attacks Against Machine Learning Models
  • Trojaning Attack on Neural Networks cites Stealing Machine Learning Models via Prediction APIs
  • It's Not What It Looks Like: Manipulating Perceptual Hashing based Applications cites Towards Evaluating the Robustness of Neural Networks
  • Hidden Backdoors in Human-Centric Language Models cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • Hidden Backdoors in Human-Centric Language Models cites Trojaning Attack on Neural Networks
  • Physical Backdoor Attacks to Lane Detection Systems in Autonomous Driving cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers16

  1. On Aliased Resizing and Surprising Subtleties in GAN EvaluationGaurav Parmar, Richard Zhang, Jun-Yan ZhuCVPR 2022 · 250 citations
  2. Hidden Backdoors in Human-Centric Language ModelsShaofeng Li, Hui Liu, Tian Dong, Benjamin Zi Hao Zhao et al.CCS 2021 · 108 citations
  3. Privacy Side Channels in Machine Learning SystemsEdoardo Debenedetti, Giorgio Severi, Milad Nasr, Christopher A. Choquette-Choo et al.USENIX Security 2024 · 52 citations
  4. Physical Backdoor Attacks to Lane Detection Systems in Autonomous DrivingXingshuo Han, Guowen Xu, Yuan Zhou, Xuehuan Yang et al.ACM MM 2022 · 48 citations
  5. It's Not What It Looks Like: Manipulating Perceptual Hashing based ApplicationsQingying Hao, Licheng Luo, Steve T. K. Jan, Gang WangCCS 2021 · 36 citations

Builds on10

  1. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
  2. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations
  3. Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter et al.USENIX Security 2016 · 2,088 citations
  4. Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural NetworksBolun Wang, Yuanshun Yao, Shawn Shan, Huiying Li et al.S&P 2019 · 1,801 citations
  5. Trojaning Attack on Neural NetworksYingqi Liu, Shiqing Ma, Yousra Aafer, Wen-Chuan Lee et al.NDSS 2018 · 1,377 citations

Related papers

  1. Rethinking Image-Scaling Attacks: The Interplay Between Vulnerabilities in Machine Learning SystemsYue Gao, Ilia Shumailov, Kassem FawazICML 2022 · 12 citations
  2. Seeing is Not Believing: Camouflage Attacks on Image Scaling AlgorithmsQixue Xiao, Yufei Chen, Chao Shen, Yu Chen et al.USENIX Security 2019 · 103 citations
  3. Certified Defenses for Adversarial PatchesPing-yeh Chiang, Renkun Ni, Ahmed Abdelkader, Chen Zhu et al.ICLR 2020 · 194 citations
  4. SCALE-UP: An Efficient Black-box Input-level Backdoor Detection via Analyzing Scaled Prediction ConsistencyJunfeng Guo, Yiming Li, Xun Chen, Hanqing Guo et al.ICLR 2023 · 19 citations
  5. Defending Against Physically Realizable Attacks on Image ClassificationTong Wu, Liang Tong, Yevgeniy VorobeychikICLR 2020 · 143 citations
Dusk over the sea between two cliffs drawn in fine vertical lines