The Overfocusing Bias of Convolutional Neural Networks: A Saliency-Guided Regularization Approach

David Bertoin, Eduardo Hugo Sanchez, Mehdi Zouitine, Emmanuel RachelsonarXiv 2024 · DOI

Introduction: The Overfocusing Bias

While Vision Transformers (ViTs) are often favored for large-scale datasets, Convolutional Neural Networks (CNNs) remain critical in low-data regimes. However, CNNs exhibit a significant flaw known as Overfocusing Bias. As training progresses, a CNN's saliency—the region of an image it considers most important—tends to narrow. Initially, the model evaluates the entire object, but it eventually fixates on a tiny cluster of pixels that may be a fluke of the training set rather than a meaningful class feature. This "acute fixation" correlates directly with an increasing generalization gap, where the model overfits to specific training images and fails to generalize to unseen data.

The Overfocusing Bias: As the generalization gap grows over epochs, the attribution ratio decreases, and the model's focus (A through D) narrows to specific image patches.

Methodology: Saliency-Guided Dropout (SGDrop)

To address this, we propose Saliency-Guided Dropout (SGDrop), a surgical regularization technique. Unlike standard Dropout, which randomly deactivates neurons, SGDrop identifies and "blinds" the network to its most influential features during training, forcing it to discover more robust and diverse patterns.

The SGDrop pipeline consists of the following steps:

  1. Identify Hotspots: The model calculates an attribution map (similar to Grad-CAM) to determine which latent features are driving the current prediction.
  2. Quantile Masking: The top $\rho$ percent of the most salient features are identified.
  3. Forced Diversification: These highly influential features are set to zero. This prevents the network from relying on its "favorite" shortcuts and encourages the mobilization of "lazy" neurons.
  4. Stability via EMA: To maintain training stability, the saliency masks are calculated using an Exponential Moving Average (EMA) version of the model weights.
SGDrop Architecture: The framework utilizes an EMA-updated teacher branch to generate saliency-based masks M, which are applied to the student's latent features z to produce a regularized representation.

Crucially, SGDrop is highly efficient, requiring the suppression of only approximately 1% of neurons to be effective, whereas standard Dropout typically requires 20–50%.

Experimental Results

The researchers evaluated SGDrop across a wide variety of benchmarks, including ImageNet, CIFAR-10, and specialized datasets like Imagewoof and remote sensing imagery.

  • Accuracy Improvements: The gains are particularly dramatic on older architectures like VGG16, where accuracy on the Imagewoof dataset jumped from 43.65% to 59.56%. Modern architectures like ConvNeXt also saw double-digit improvements (+12% on Imagenette).
  • Increased Neuron Coverage: By forcing the model to ignore dominant features, SGDrop increases "neuron coverage." Final convolutional layers showed up to 4.5x more activated neurons compared to vanilla training.
  • Alignment with Human Perception: Models trained with SGDrop produce saliency maps that highlight the entire body of an object (e.g., a dog) rather than just specific texture patches, aligning more closely with human visual intuition.

Conclusion

SGDrop provides a powerful mechanism to counteract the overfocusing bias in CNNs, significantly enhancing performance in data-starved scenarios. While the method introduces a ~33% increase in training time due to attribution calculations, the resulting gains in generalization and transferability make it a compelling choice for robust model training. Future work will explore adapting these principles to Vision Transformers by leveraging attention matrices instead of gradient-based saliency.

Summary updated

BibTeX
@misc{bertoin2024overfocusing,
  author = {David Bertoin and Eduardo Hugo Sanchez and Mehdi Zouitine and Emmanuel Rachelson},
  title = {{The Overfocusing Bias of Convolutional Neural Networks: A Saliency-Guided Regularization Approach}},
  year = {2024},
  eprint = {2409.17370},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.17370},
}
Figure