Skip to main content
QUICK REVIEW

[Paper Review] CIFS: Improving Adversarial Robustness of CNNs via Channel-wise Importance-based Feature Selection

Hanshu Yan, Jingfeng Zhang|arXiv (Cornell University)|Feb 10, 2021
Adversarial Robustness in Machine LearningComputer Science52 references11 citations
TL;DR

CIFS proposes a channel-wise importance-based feature selection mechanism that enhances adversarial robustness in CNNs by suppressing negatively-relevant (NR) channels and aligning activations with positively-relevant (PR) channels during adversarial training. By generating dynamic importance masks from top-k prediction gradients, CIFS improves robust accuracy by up to 6 percentage points on CIFAR10 under PGD-20 attacks, outperforming standard adversarial training.

ABSTRACT

We investigate the adversarial robustness of CNNs from the perspective of channel-wise activations. By comparing extit{non-robust} (normally trained) and extit{robustified} (adversarially trained) models, we observe that adversarial training (AT) robustifies CNNs by aligning the channel-wise activations of adversarial data with those of their natural counterparts. However, the channels that are extit{negatively-relevant} (NR) to predictions are still over-activated when processing adversarial data. Besides, we also observe that AT does not result in similar robustness for all classes. For the robust classes, channels with larger activation magnitudes are usually more extit{positively-relevant} (PR) to predictions, but this alignment does not hold for the non-robust classes. Given these observations, we hypothesize that suppressing NR channels and aligning PR ones with their relevances further enhances the robustness of CNNs under AT. To examine this hypothesis, we introduce a novel mechanism, i.e., \underline{C}hannel-wise \underline{I}mportance-based \underline{F}eature \underline{S}election (CIFS). The CIFS manipulates channels' activations of certain layers by generating non-negative multipliers to these channels based on their relevances to predictions. Extensive experiments on benchmark datasets including CIFAR10 and SVHN clearly verify the hypothesis and CIFS's effectiveness of robustifying CNNs. \url{https://github.com/HanshuYAN/CIFS}

Motivation & Objective

  • To investigate why adversarially trained models still fail on certain classes despite robustification.
  • To identify the role of channel-wise activations—particularly NR and PR channels—in adversarial vulnerability.
  • To develop a mechanism that enhances robustness by selectively suppressing NR channels and aligning PR channel activations with their prediction relevance.
  • To improve adversarial robustness without sacrificing natural accuracy, especially in cases where standard adversarial training underperforms.

Proposed method

  • CIFS introduces a learnable importance mask that modulates channel-wise activations based on their relevance to top-k prediction logits.
  • A probe network is used to generate raw predictions at a specific layer, serving as a surrogate for the final classifier.
  • Importance scores are computed via gradients of the top-k logits w.r.t. channel activations, capturing channel relevance to prediction confidence.
  • The importance mask is applied as a multiplicative factor to suppress NR channels and promote PR channels during forward passes.
  • The method is integrated into adversarial training, with the mask trained jointly with the backbone network using standard cross-entropy loss.
  • Feedback from top-k predictions (especially top-2 or top-3) is used to improve the reliability of importance estimation, reducing misclassification of critical channels.

Experimental results

Research questions

  • RQ1Does suppressing negatively-relevant (NR) channels during adversarial training improve robustness?
  • RQ2Can aligning channel activations with their prediction relevance enhance robustness, especially for non-robust classes?
  • RQ3How does using top-k prediction feedback instead of top-1 improve the reliability of channel importance estimation?
  • RQ4Does CIFS reduce overfitting to adversarial data while maintaining or improving natural accuracy?

Key findings

  • CIFS improves robust accuracy by 6 percentage points on CIFAR10 under PGD-20 attack when using top-2 feedback, compared to standard adversarial training.
  • The defense rate of CIFS/Final exceeds CIFS/CIFS by 6 percentage points under top-2 feedback, indicating that CIFS effectively purifies adversarial inputs before final classification.
  • Using top-1 logits for importance assessment leads to a 50%+ chance of misidentifying critical channels, whereas top-2 or top-3 feedback significantly improves accuracy in identifying relevant channels.
  • CIFS maintains high natural accuracy (83.49% top-1 on CIFAR10) while improving robustness, demonstrating a favorable trade-off between natural and robust accuracy.
  • Ablation studies confirm that feedback from top-k predictions is crucial for effective channel selection, with top-2 and top-3 yielding superior results over top-1.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.