Simulating primary visual cortex to improve robustness of CNN neural network structures

Lijuan Zhang, Mengda Hu, Ziwei Zhang, Yutong Jiang, Dongming LiOptics 2023

Abstract

Traditional Convolutional Neural Networks (CNNs) often lack stability against noise and adversarial attacks. While adversarial training can help, it typically increases computational costs and architectural complexity. This paper introduces VVNet, a bio-inspired model that mimics the human primary visual cortex (V1). By integrating a specialized front-end block—the VVBlock—into standard CNNs, the researchers achieved a 10% improvement in adversarial accuracy and significantly enhanced resilience to image noise without sacrificing performance on clean data.

Introduction: The Vulnerability of Artificial Vision

Despite their success, CNNs are "brittle." Minor perturbations like Gaussian noise or adversarial pixels can lead to incorrect classifications. Standard defenses, such as adversarial training, are resource-intensive and often degrade performance on clean images. VVNet addresses this by borrowing the "hardware" design of the human visual system, which is inherently robust to environmental distortions.

Methods: The VVNet Architecture

The core of VVNet is the VVBlock, which replaces the initial layers of a standard CNN. This block is modeled after the Linear-Nonlinear-Poisson (LNP) structure of the biological V1 area.

The VVNet architecture incorporates bio-inspired layers including Gabor filters and a bottleneck layer for portability.

The VVBlock consists of several specialized layers:

  • Gabor Filter Bank (GFB): Simulates "simple cells" tuned to specific orientations and scales.
  • Non-linear Layers: Mimic the processing of simple and complex cells.
  • Stochastic Layer: Adds Gaussian noise to simulate biological neural "spiking," which helps the network ignore external noise.
  • Bottleneck Layer: A $1 \times 1$ convolution that compresses the high-dimensional V1 output, making the module a "plug-and-play" component for various backbones like DenseNet or VGG.

Experimental Setup and Datasets

The models were evaluated using the CIFAR-10 dataset, consisting of 60,000 images across 10 categories. To test robustness, the researchers applied four types of corruptions: speckle noise, Gaussian blur, spatter (occlusion), and saturation.

Key Results

VVNet demonstrated superior stability across all tested conditions. Key findings include:

  • Adversarial Robustness: A ~10% accuracy boost under adversarial attacks compared to standard models.
  • Noise Resilience: VVNet maintained higher accuracy as corruption severity increased, showing a much slower performance drop than baseline CNNs in tests involving blur and occlusion.
  • Clean Accuracy Preservation: Unlike many robust models, VVNet maintains baseline performance on uncorrupted data (e.g., ~78% on CIFAR-10 with DenseNet121).
Comparison of image classification precision across different network variants over training epochs on the CIFAR-10 dataset.

The results indicate that bio-mimicry acts as an effective regularizer, preventing the network from relying on high-frequency textures that are irrelevant to human-like recognition but common in standard CNN failures.

Conclusion

VVNet provides a portable, efficient method to enhance CNN robustness. By simulating the primary visual cortex, it achieves human-like resilience to noise and adversarial threats. Future work will explore deeper cortical simulations (V2/V4) to further improve semantic robustness.

Summary updated

BibTeX
@inproceedings{zhang2023simulating,
  author = {Lijuan ZHANG and Mengda HU and Ziwei Zhang and Yutong JIANG and Dongming Li},
  title = {{Simulating primary visual cortex to improve robustness of CNN neural network structures}},
  booktitle = {Optics},
  year = {2023},
  doi = {10.37188/ope.20233115.2287},
}
Figure