mlsanityData to 13 Oct 2026

CosPGD: an efficient white-box adversarial attack for pixel-wise prediction tasks

arXiv 2302.02213 ↗First posted 4 Feb 2023cs.CVcited by 27

Not on the map. Why?

Abstract (arXiv)

While neural networks allow highly accurate predictions in many tasks, their lack of robustness towards even slight input perturbations often hampers their deployment. Adversarial attacks such as the seminal projected gradient descent (PGD) offer an effective means to evaluate a model's robustness and dedicated solutions have been proposed for attacks on semantic segmentation or optical flow estimation. While they attempt to increase the attack's efficiency, a further objective is to balance its effect, so that it acts on the entire image domain instead of isolated point-wise predictions. This often comes at the cost of optimization stability and thus efficiency. Here, we propose CosPGD, an attack that encourages more balanced errors over the entire image domain while increasing the attack's overall efficiency. To this end, CosPGD leverages a simple alignment score computed from any pixel-wise prediction and its target to scale the loss in a smooth and fully differentiable way. It leads to efficient evaluations of a model's robustness for semantic segmentation as well as regression models (such as optical flow, disparity estimation, or image restoration), and it allows it to outperform the previous SotA attack on semantic segmentation. We provide code for the CosPGD algorithm and example usage at https://github.com/shashankskagnihotri/cospgd.

Key facts. Cited by 27 papers in the map (data through 13 Oct 2026). Builds on 53 of its 90 references that are in the map. First posted on arXiv 4 Feb 2023.

Builds on

53 of 90 references.

References · 53

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,950
  2. 2014Explaining and Harnessing Adversarial Examplescited by 7,336
  3. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,379
  4. 2013Intriguing properties of neural networkscited by 5,137
  5. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,435
  6. 2022A ConvNet for the 2020scited by 3,563
  7. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,992
  8. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,930
  9. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,862
  10. 2016Pyramid Scene Parsing Networkcited by 2,474
  11. 2020RAFT: Recurrent All-Pairs Field Transforms for Optical Flowcited by 2,395
  12. 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,159
38 more
  1. 2016Adversarial examples in the physical worldcited by 1,767
  2. 2021Restormer: Efficient Transformer for High-Resolution Image Restorationcited by 1,622
  3. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,445
  4. 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,430
  5. 2019Natural Adversarial Examplescited by 1,405
  6. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,268
  7. 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,068
  8. 2015FlowNet: Learning Optical Flow with Convolutional Networkscited by 1,057
  9. 2017PWC-Net: CNNs for Optical Flow Using Pyramid, Warping, and Cost Volumecited by 967
  10. 2016Adversarial Machine Learning at Scalecited by 935
  11. 2015A Large Dataset to Train Convolutional Networks for Disparity, Optical Flow, and Scene Flow Estimationcited by 879
  12. 2016FlowNet 2.0: Evolution of Optical Flow Estimation with Deep Networkscited by 782
  13. 2020Fast is better than free: Revisiting adversarial trainingcited by 725
  14. 2016Deep Multi-scale Convolutional Neural Network for Dynamic Scene Deblurringcited by 724
  15. 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 684
  16. 2020RobustBench: a standardized adversarial robustness benchmarkcited by 658
  17. 2018Black-box Adversarial Attacks with Limited Queries and Informationcited by 499
  18. 2016Optical Flow Estimation using a Spatial Pyramid Networkcited by 423
  19. 2018Feature Denoising for Improving Adversarial Robustnesscited by 313
  20. 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 285
  21. 2021Learning to Estimate Hidden Motions with Global Motion Aggregationcited by 223
  22. 2020Revisiting Stereo Depth Estimation From a Sequence-to-Sequence Perspective with Transformerscited by 190
  23. 2014Hypercolumns for Object Segmentation and Fine-grained Localizationcited by 128
  24. 2017On the Robustness of Semantic Segmentation Models to Adversarial Attackscited by 126
  25. 2018Decoupling Direction and Norm for Efficient Gradient-Based L2 Adversarial Attacks and Defensescited by 109
  26. 2019Analysis of Explainers of Black Box Deep Neural Networks for Computer Vision: A Surveycited by 93
  27. 2022SegPGD: An Effective and Efficient Adversarial Attack for Evaluating and Boosting Segmentation Robustnesscited by 74
  28. 2020Targeted Adversarial Perturbations for Monocular Depth Predictioncited by 40
  29. 2020Dynamic Divide-and-Conquer Adversarial Training for Robust Semantic Segmentationcited by 38
  30. 2020Spectral Distribution Aware Image Generationcited by 29
  31. 2022FrequencyLowCut Pooling -- Plug & Play against Catastrophic Overfittingcited by 28
  32. 20213D Adversarial Attacks Beyond Point Cloudcited by 26
  33. 2022Proximal Splitting Adversarial Attacks for Semantic Segmentationcited by 23
  34. 2022A Perturbation-Constrained Adversarial Attack for Evaluating the Robustness of Optical Flowcited by 16
  35. 2021Towards Understanding Adversarial Robustness of Optical Flow Networkscited by 15
  36. 2022Learning Where To Look -- Generative NAS is Surprisingly Efficientcited by 15
  37. 2022MultiGuard: Provably Robust Multi-label Classification against Adversarial Examplescited by 9
  38. 2022Attacking Motion Estimation with Adversarial Snowcited by 9

50 most cited of 53 All 53 (JSON)

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2023: 8; 2024: 7; 2025: 6; 2026: 6.

27 papers.

Sort:

By area:

  1. 2024Adversarial Attacks of Vision Tasks in the Past 10 Years: A Surveycited by 23
  2. 2023Distracting Downpour: Adversarial Weather Attacks for Motion Estimationcited by 15
  3. 2023On the unreasonable vulnerability of transformers for image restoration -- and an easy fixcited by 11
  4. 2024As Firm As Their Foundations: Can open-sourced foundation models be used to create adversarial examples for downstream tasks?cited by 11
  5. 2023Uncertainty-weighted Loss Functions for Improved Adversarial Attacks on Semantic Segmentationcited by 9
  6. 2025SegTrans: Transferable Adversarial Examples for Segmentation Modelscited by 8
  7. 2025RobustSpring: Benchmarking Robustness to Image Corruptions for Optical Flow, Scene Flow and Stereocited by 7
  8. 2023Detection Defenses: An Empty Promise against Adversarial Patch Attacks on Optical Flowcited by 6
  9. 2024Beware of Aliases -- Signal Preservation is Crucial for Robust Image Restorationcited by 6
  10. 2023Uncertainty-based Detection of Adversarial Attacks in Semantic Segmentationcited by 5
  11. 2023Segment (Almost) Nothing: Prompt-Agnostic Adversarial Attacks on Segmentation Modelscited by 5
  12. 2025Are Synthetic Corruptions A Reliable Proxy For Real-World Corruptions?cited by 5
15 more
  1. 2023Transferable Attack for Semantic Segmentationcited by 4
  2. 2024Seeing is Deceiving: Exploitation of Visual Pathways in Multi-Modal Language Modelscited by 4
  3. 2023PEARL: Preprocessing Enhanced Adversarial Robust Learning of Image Deraining for Semantic Segmentationcited by 3
  4. 2024How Do Training Methods Influence the Utilization of Vision Models?cited by 3
  5. 2024Towards Dependable Optical Flow: Benchmarks for Real-World Spatiotemporal Corruptionscited by 3
  6. 2026Erosion Attack for Adversarial Training to Enhance Semantic Segmentation Robustnesscited by 3
  7. 2024Detecting Adversarial Attacks in Semantic Segmentation via Uncertainty Estimation: A Deep Analysiscited by 1
  8. 2025FSPGD: Rethinking Black-box Attacks on Semantic Segmentationcited by 0
  9. 2025DispBench: Benchmarking Disparity Estimation to Synthetic Corruptionscited by 0
  10. 2025Proxy-Embedding as an Adversarial Teacher: An Embedding-Guided Bidirectional Attack for Referring Expression Segmentation Modelscited by 0
  11. 2026A Unified Spatial Alignment Framework for Highly Transferable Transformation-Based Attacks on Spatially Structured Taskscited by 0
  12. 2026TsallisPGD: Adaptive Gradient Weighting for Adversarial Attacks on Semantic Segmentationcited by 0
  13. 2026Learning with Bilevel-Minimax Optimization for Efficient and Reliable Transfer Attackscited by 0
  14. 2026RL-FAT: Reinforcement Learning for Fair Adversarial Trainingcited by 0
  15. 2026Failure or Drift? Evaluating Monocular SLAM under Synthetic and Real-World Corruptionscited by 0