All You Need is RAW: Defending Against Adversarial Attacks with Camera Image Pipelines
Not on the map. Why?
Abstract (arXiv)
Existing neural networks for computer vision tasks are vulnerable to adversarial attacks: adding imperceptible perturbations to the input images can fool these methods to make a false prediction on an image that was correctly predicted without the perturbation. Various defense methods have proposed image-to-image mapping methods, either including these perturbations in the training process or removing them in a preprocessing denoising step. In doing so, existing methods often ignore that the natural RGB images in today's datasets are not captured but, in fact, recovered from RAW color filter array captures that are subject to various degradations in the capture. In this work, we exploit this RAW data distribution as an empirical prior for adversarial defense. Specifically, we proposed a model-agnostic adversarial defensive method, which maps the input RGB images to Bayer RAW space and back to output RGB using a learned camera image signal processing (ISP) pipeline to eliminate potential adversarial patterns. The proposed method acts as an off-the-shelf preprocessing module and, unlike model-specific adversarial training methods, does not require adversarial images to train. As a result, the method generalizes to unseen tasks without additional retraining. Experiments on large-scale datasets (e.g., ImageNet, COCO) for different vision tasks (e.g., classification, semantic segmentation, object detection) validate that the method significantly outperforms existing methods across task domains.
Key facts. Cited by 5 papers in the map (data through 13 Oct 2026). Builds on 63 of its 90 references that are in the map. First posted on arXiv 16 Dec 2021.
Builds on
63 of 90 references.
References · 63
- 2015Deep Residual Learning for Image Recognitioncited by 51,950
- 2014Microsoft COCO: Common Objects in Contextcited by 17,550
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,625
- 2014Explaining and Harnessing Adversarial Examplescited by 7,336
- 2017Mask R-CNNcited by 7,266
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,379
- 2013Intriguing properties of neural networkscited by 5,137
- 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,516
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,240
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,992
- 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,159
- 2016Adversarial examples in the physical worldcited by 1,767
38 more
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,316
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,265
- 2016Colorful Image Colorizationcited by 1,114
- 2016Practical Black-Box Attacks against Machine Learningcited by 902
- 2018Robustness May Be at Odds with Accuracycited by 878
- 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
- 2020Fast is better than free: Revisiting adversarial trainingcited by 725
- 2015Distillation as a Defense to Adversarial Perturbations against Deep Neural Networkscited by 676
- 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 663
- 2019Adversarial Training for Free!cited by 641
- 2017Countering Adversarial Images using Input Transformationscited by 519
- 2017Decision-Based Adversarial Attacks: Reliable Attacks Against Black-Box Machine Learning Modelscited by 460
- 2018Learning to See in the Darkcited by 459
- 2016Transferability in Machine Learning: from Phenomena to Black-Box Attacks using Adversarial Samplescited by 444
- 2017Mitigating Adversarial Effects Through Randomizationcited by 382
- 2018Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Modelscited by 362
- 2017Defense against Adversarial Attacks Using High-Level Representation Guided Denoisercited by 329
- 2018Feature Denoising for Improving Adversarial Robustnesscited by 313
- 2017Adversarial Examples for Semantic Segmentation and Object Detectioncited by 275
- 2016A study of the effect of JPG compression on adversarial imagescited by 197
- 2020Torchattacks: A PyTorch Repository for Adversarial Attackscited by 157
- 2017Generative Adversarial Perturbationscited by 153
- 2018AutoZOOM: Autoencoder-based Zeroth Order Optimization Method for Attacking Black-box Neural Networkscited by 137
- 2018Query-Efficient Hard-label Black-box Attack:An Optimization-based Approachcited by 130
- 2021Advances in adversarial attacks and defenses in computer vision: A surveycited by 127
- 2020Adversarial Camouflage: Hiding Physical-World Attacks with Natural Stylescited by 126
- 2019Zoom To Learn, Learn To Zoomcited by 115
- 2020Replacing Mobile Camera ISP with a Single Deep Learning Modelcited by 108
- 2018ComDefend: An Efficient Image Compression Model to Defend Adversarial Examplescited by 105
- 2018Feature Distillation: DNN-Oriented JPEG Compression Against Adversarial Examplescited by 99
- 2019NATTACK: Learning the Distributions of Adversarial Examples for an Improved Black-Box Attack on Deep Neural Networkscited by 94
- 2018DeepISP: Towards Learning an End-to-End Image Processing Pipelinecited by 88
- 2019When NAS Meets Robustness: In Search of Robust Architectures against Adversarial Attackscited by 87
- 2017Keeping the Bad Guys Out: Protecting and Vaccinating Deep Learning with JPEG Compressioncited by 86
- 2017SafetyNet: Detecting and Rejecting Adversarial Examples Robustlycited by 76
- 2017Generating Adversarial Malware Examples for Black-Box Attacks Based on GANcited by 75
- 2018Deflecting Adversarial Attacks with Pixel Deflectioncited by 71
- 2019Efficient Adversarial Training with Transferable Adversarial Examplescited by 54
50 most cited of 63 All 63 (JSON)
Built on by
Citing papers per year: 2023: 2; 2024: 1; 2025: 1; 2026: 1.
5 papers.
- 2023DRAW: Defending Camera-shooted RAW against Image Manipulationcited by 10
- 2026RAWild: Sensor-Agnostic RAW Object Detection via Physics-Guided Curve and Grid Modelingcited by 3
- 2024TaCOS: Task-Specific Camera Optimization with Simulationcited by 2
- 2023Advancing Adversarial Robustness Through Adversarial Logit Updatecited by 0
- 2025JOCA: Task-Driven Joint Optimisation of Camera Hardware and Adaptive Camera Control Algorithmscited by 0
- 2026RAWild: Sensor-Agnostic RAW Object Detection via Physics-Guided Curve and Grid Modeling7 May 2026
- 2025JOCA: Task-Driven Joint Optimisation of Camera Hardware and Adaptive Camera Control Algorithms7 Dec 2025
- 2024TaCOS: Task-Specific Camera Optimization with Simulation17 Apr 2024
- 2023Advancing Adversarial Robustness Through Adversarial Logit Update29 Aug 2023
- 2023DRAW: Defending Camera-shooted RAW against Image Manipulation31 Jul 2023