Skip to main content
QUICK REVIEW

[Paper Review] Improving Network Robustness against Adversarial Attacks with Compact Convolution

Rajeev Ranjan, Swami Sankaranarayanan|arXiv (Cornell University)|Dec 3, 2017
Adversarial Robustness in Machine LearningComputer Science30 references14 citations
TL;DR

This paper proposes Compact Convolutional Networks (CCNs) that enhance adversarial robustness by enforcing feature compactness through L2-Softmax Loss and a novel compact convolution module. By normalizing features at every layer to lie on a hypersphere, CCNs reduce sensitivity to adversarial perturbations, achieving state-of-the-art defense performance against both white-box and black-box attacks without additional training overhead.

ABSTRACT

Though Convolutional Neural Networks (CNNs) have surpassed human-level performance on tasks such as object classification and face verification, they can easily be fooled by adversarial attacks. These attacks add a small perturbation to the input image that causes the network to misclassify the sample. In this paper, we focus on neutralizing adversarial attacks by compact feature learning. In particular, we show that learning features in a closed and bounded space improves the robustness of the network. We explore the effect of L2-Softmax Loss, that enforces compactness in the learned features, thus resulting in enhanced robustness to adversarial perturbations. Additionally, we propose compact convolution, a novel method of convolution that when incorporated in conventional CNNs improves their robustness. Compact convolution ensures feature compactness at every layer such that they are bounded and close to each other. Extensive experiments show that Compact Convolutional Networks (CCNs) neutralize multiple types of attacks, and perform better than existing methods in defending adversarial attacks, without incurring any additional training overhead compared to CNNs.

Motivation & Objective

  • To address the vulnerability of CNNs to small, imperceptible adversarial perturbations that cause misclassification.
  • To investigate whether enforcing compactness in learned feature spaces can improve robustness against adversarial attacks.
  • To develop a novel convolution operation—compact convolution—that enforces feature compactness at every layer.
  • To demonstrate that compact feature learning enhances robustness without increasing training complexity.

Proposed method

  • Introduce L2-Softmax Loss, which constrains features to lie on a hypersphere of fixed radius before applying softmax, promoting intra-class compactness and inter-class separation.
  • Propose compact convolution, a modified convolution operation that applies L2-normalization and scaling to each input patch before kernel application, ensuring bounded and compact features at every layer.
  • Integrate compact convolution modules into standard CNN architectures to build Compact Convolutional Networks (CCNs), maintaining the same training pipeline as standard CNNs.
  • Use t-SNE visualization and singular value analysis to compare feature distributions and filter stability across models (SM, L2SM, CCN).
  • Train and evaluate CCNs on MNIST and CIFAR-10 using FGSM, DeepFool, and other adversarial attacks to measure robustness.
  • Compare CCNs against standard CNNs and L2-Softmax models under both white-box and black-box attack settings.

Experimental results

Research questions

  • RQ1Can enforcing compactness in the learned feature space improve a network’s robustness against adversarial attacks?
  • RQ2Does applying compact convolution at every layer lead to more stable and robust feature representations compared to standard convolution?
  • RQ3How does L2-Softmax Loss compare to standard softmax in enhancing adversarial robustness?
  • RQ4What is the impact of placing compact convolution modules at different depths in the network architecture?
  • RQ5Can compact feature learning enable detection of adversarial examples by human observers, indicating higher perturbation magnitude?

Key findings

  • CCNs achieve a test accuracy of 60.32% against FGSM attacks with ε = 0.3 on MNIST, significantly outperforming the standard model (31.76%) and the L2SM model (58.71%) when compact modules are applied only to the final fully connected layer.
  • The t-SNE visualization shows that features from CCN and L2SM models are more separable and compact than those from standard models, especially in deeper layers such as fc1 and fc2.
  • Singular value analysis reveals that CCN and L2SM models have rapidly decaying singular values in deeper layers, indicating stronger suppression of adversarial variations and improved stability.
  • Adversarial examples crafted for CCNs require significantly larger perturbations to misclassify, often distorting the image to the point of visual detectability by human observers.
  • CCNs achieve state-of-the-art defense performance against both white-box and black-box attacks, including FGSM, DeepFool, and Carlini-Wagner attacks, without any additional training overhead.
  • The effectiveness of compactness is highest in deeper layers—applying compact convolution to the last fully connected layer yields the best robustness, while shallow layers show diminishing returns.

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.