Lune

AAAI2025Top-tier venue

First Line of Defense: A Robust First Layer Mitigates Adversarial Attacks

Janani Suresh, Nancy Nayak, Sheetal Kalyani

Abstract

Adversarial training (AT) incurs significant computational overhead, leading to growing interest in designing inherently robust architectures. We demonstrate that a carefully designed first layer of the neural network can serve as an implicit adversarial noise filter (ANF). This filter is created using a combination of large kernel size, increased convolution filters, and a maxpool operation. We show that integrating this filter as the first layer in architectures such as ResNet, VGG, and EfficientNet results in adversarially robust networks. Our approach achieves higher adversarial accuracies than existing natively robust architectures without AT and is competitive with adversarial-trained architectures across a wide range of datasets. Supporting our findings, we show that (a) the decision regions for our method have better margins, (b) the visualized loss surfaces are smoother, (c) the modified peak signal-to-noise ratio (mPSNR) values at the output of the ANF are higher, (d) high-frequency components are more attenuated, and (e) architectures incorporating ANF exhibit better denoising in Gaussian noise compared to baseline architectures. Code for all our experiments are available at https://github.com/janani-suresh-97/first-line-defence.git .

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.

2 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

  • DRIFT: Divergent Response in Filtered Transformations for Robust Adversarial Defense cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • DRIFT: Divergent Response in Filtered Transformations for Robust Adversarial Defense cites Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attack
  • Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks cites Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attack
  • Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attack cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • Exploring Architectural Ingredients of Adversarially Robust Deep Neural Networks cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • Towards Robust Vision Transformers: Path Dependency Analysis and a Simple Two-Stage Adversarial Training cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • Adversarial Robustness through Random Weight Sampling cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • Adversarial Robustness through Random Weight Sampling cites Exploring Architectural Ingredients of Adversarially Robust Deep Neural Networks
  • CIFS: Improving Adversarial Robustness of CNNs via Channel-wise Importance-based Feature Selection cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. DRIFT: Divergent Response in Filtered Transformations for Robust Adversarial DefenseAmira Guesmi, Muhammad ShafiqueICLR 2026 · 1 citation
  2. Towards Robust Vision Transformers: Path Dependency Analysis and a Simple Two-Stage Adversarial TrainingSeongmin Kim, Byung Cheol SongCVPR 2026

Builds on6

  1. Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacksFrancesco Croce, Matthias HeinICML 2020 · 2,337 citations
  2. Minimally distorted Adversarial Examples with a Fast Adaptive Boundary AttackFrancesco Croce, Matthias HeinICML 2020 · 597 citations
  3. Exploring Architectural Ingredients of Adversarially Robust Deep Neural NetworksHanxun Huang, Yisen Wang, Sarah M. Erfani, Quanquan Gu et al.NeurIPS 2021 · 124 citations
  4. CIFS: Improving Adversarial Robustness of CNNs via Channel-wise Importance-based Feature SelectionHanshu Yan, Jingfeng Zhang, Gang Niu, Jiashi Feng et al.ICML 2021 · 51 citations
  5. Adversarial Robustness through Random Weight SamplingYanxiang Ma, Minjing Dong, Chang XuNeurIPS 2023 · 22 citations

Related papers

  1. A Combination of Noise and Bilateral Filters Achieve Supralinear and Scalable Adversarial Robustness in CNNsNicolas Stalder, Benjamin F Grewe, Matteo Saponati, Pau Vilimelis AceitunoCVPR 2026
  2. AdvFilter: Predictive Perturbation-aware Filtering against Adversarial Attack via Multi-domain LearningYihao Huang, Qing Guo, Felix Juefei-Xu, Lei Ma et al.ACM MM 2021 · 13 citations
  3. Certify or Predict: Boosting Certified Robustness with Compositional ArchitecturesMark Niklas Müller, Mislav Balunovic, Martin T. VechevICLR 2021 · 14 citations
  4. Adversarial Training on Purification (AToP): Advancing Both Robustness and GeneralizationGuang Lin, Chao Li, Jianhai Zhang, Toshihisa Tanaka et al.ICLR 2024 · 25 citations
  5. Removing Adversarial Noise in Class Activation Feature SpaceDawei Zhou, Nannan Wang, Chunlei Peng, Xinbo Gao et al.ICCV 2021 · 37 citations
Dusk over the sea between two cliffs drawn in fine vertical lines