Global-Local Processing in Convolutional Neural Networks

Zahra Rezvani, Soroor Shekarizeh, Mohammad SabokrouarXiv 2023 · DOI

Introduction: The "Near-Sightedness" of CNNs

Standard Convolutional Neural Networks (CNNs) are often criticized for being "near-sighted." While they are inspired by the biological micro-structure of the brain, they frequently fail to replicate human macro-behavior in perception. Humans generally exhibit a Global Precedence Effect (GPE), meaning we perceive the "forest" (the overall shape) before the "trees" (individual textures).

In contrast, modern CNNs are heavily biased toward local features. For example, a CNN might classify a cat with elephant-skin texture as an "elephant" because it prioritizes local texture over global form. This texture bias makes models less reliable and more vulnerable to adversarial attacks, where subtle, local pixel changes can derail classification.

The Global/Local Processing (GLP) Model

To address this discrepancy, this research introduces a hybrid architecture called the Global/Local Processing (GLP) model. The architecture mimics the human visual system by processing information through two parallel streams:

  1. The Local Stream ($\mathcal{L}$): A standard, pre-trained CNN (such as ResNet or Inception) that performs traditional feature extraction.
  2. The Global Advantage Stream (GAS): A novel module designed to capture holistic features by acting as a "smart filter," inspired by how the human pupil regulates light to the retina.
The proposed Global/Local Processing (GLP) architecture, featuring the parallel Global Advantage Stream (GAS).

The "Smart Filter" Mechanism

The GAS module applies a low-pass filter in the frequency domain to attenuate high-frequency noise and fine details. To avoid manual tuning, the authors utilize an Entropy Criterion. They observed that as image blur increases, Shannon entropy (uncertainty) rises to a peak before falling. By automatically selecting the filter parameter ($\alpha$) that maximizes entropy, the model effectively "fades" local details just enough to reveal the underlying global structure. The features from both streams are then concatenated for final classification.

Experimental Evaluation

The researchers evaluated the GLP model using two distinct types of data: the Navon Dataset and Caltech101.

The Navon dataset consists of "hierarchical stimuli"—for example, a large letter 'S' composed of many tiny 'H's. This is the gold standard for testing whether a system prioritizes global shape or local components.

Examples of hierarchical stimuli from the Navon dataset, where global shapes are composed of local elements.

On this benchmark, the GAS module achieved 86.28% accuracy on global shapes, significantly outperforming a standard ResNet18, which struggled at just 53.65%.

General Performance and Robustness

On the standard Caltech101 dataset, adding the GAS module improved ResNet18's accuracy from 86.41% to 91.24%. Beyond raw accuracy, the GLP model demonstrated superior adversarial robustness. Under a standard FGSM attack ($\epsilon=0.01$), the GA-ResNet maintained 41.30% accuracy, while the standard ResNet plummeted to 17.56%. By forcing the network to consider the "whole" object silhouette, it becomes much harder for local adversarial noise to derail the classification.

Conclusion

The Global Advantage Stream provides a bio-inspired, plug-and-play solution to the texture bias inherent in modern CNNs. By incorporating a global perspective, models become more accurate, interpretable (as shown via Grad-CAM visualizations highlighting object boundaries), and robust against attacks. Future work may extend this holistic filtering approach to other domains, such as auditory processing or Natural Language Processing, to help models better understand context over individual components.

Summary updated

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Caltech101GA-InceptionTop1 Accuracy92.40%+1.9 vs baselinefeatures=GAS concatenated with pre-trained CNN local features
Source quote
L184: 86.41 │ 91.24 │ 90.50 │ 92.40
Navon datasetGlobal Advantage StreamGlobal shape detection accuracy (Top1)86.28%+24.13 vs baselinedataset-size=4,152 images
Source quote
L101: Global Advantage Stream │ 56.42 │ 86.28
Caltech101 · PGD attack evaluationGAS-InceptionV3Top1 Accuracy79.82%attack=L∞ PGD · subset=images not naturally misclassified · epsilon=0.005 · iterations=5
Source quote
L172: GAS-InceptionV3 │ 92.40 │ 91.76 │ 79.82 │ 62.42 │ 16.94 │ 10.20 │ 8.41 │ 5.3
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
Caltech101InceptionV3 baselineTop1 Accuracy90.50%backbone=InceptionV3
Source quote
L184: 86.41 │ 91.24 │ 90.50 │ 92.40
Navon datasetInceptionV3 baselineGlobal shape detection accuracy (Top1)62.15%backbone=InceptionV3
Source quote
L100: InceptionV3 │ 75.6 │ 62.15
Caltech101 · PGD attack evaluationInceptionV3 baselineTop1 Accuracy61.54%fine-tuned · attack=L∞ PGD · epsilon=0.005 · backbone=InceptionV3 · iterations=5
Source quote
L170: InceptionV3 │ 90.50 │ 88.13 │ 61.54
BibTeX
@misc{rezvani2023global,
  author = {Zahra Rezvani and Soroor Shekarizeh and Mohammad Sabokrou},
  title = {{Global-Local Processing in Convolutional Neural Networks}},
  year = {2023},
  eprint = {2306.08336},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.08336},
}
Figure