On the use of Cortical Magnification and Saccades as Biological Proxies for Data Augmentation

Binxu Wang, David Mayo, Arturo Deza, Andrei Barbu, Colin Conwell

TL;DR

Current self-supervised visual learning depends heavily on artificial data augmentations like random resized cropping. This paper demonstrates that random cropping can be directly replaced with biologically grounded cortical magnification (warping inputs according to primate V1 retinotopy) and saliency-guided saccadic eye movements without losing downstream classification performance.

What Problem Does This Paper Address?

In contrastive self-supervised learning (SSL) frameworks like SimCLR, deep neural networks learn rich visual features by pulling together different augmented views of the same image while pushing apart views of different images. However, the transformations that make this work—particularly aggressive random resized cropping—are hand-engineered heuristics with little resemblance to biological vision.

Humans and other primates acquire robust, invariant representations without semantic labels, but their eyes do not randomly crop rectangular bounding boxes. Instead, primate vision relies on:

  1. Foveation: A non-uniform retina and cortical retinotopic map where central vision has high spatial resolution and cortical magnification, while the periphery is compressed or blurred.
  2. Saccades: Rapid, active eye movements (~3 per second) that direct the high-acuity fovea across a scene.

The authors ask: Can we replace artificial image cropping with biologically plausible models of foveation and saccadic sampling while maintaining high representation quality?

Methods

The authors adapted the SimCLRv2 contrastive learning framework (using a ResNet-18 backbone) and introduced two biological transformations:

  • Saccades (Fixation Point Selection): Rather than sampling crops uniformly across an image, the model selects fixation centers from either a uniform distribution or a 2D gaze probability distribution. Gaze probabilities were derived from saliency maps generated by FastSal (pre-trained on SALICON), adjusted via a sampling temperature $T$: $$P[x, y] \propto \exp\left(\frac{S[x, y] - \max(S)}{T}\right)$$ Lower temperatures focus fixation heavily on salient regions; higher temperatures approach uniform random sampling.

  • Foveation Transforms: The authors evaluated two competing computational formulations:

  • Foveation as Spatially Varying Blur: A perceptual model where concentric rings of increasing eccentricity are blurred with Gaussian filters of proportionally increasing standard deviation $\sigma_i = K e_i$ and blended via smooth masks.
  • Foveation as Cortical Magnification: An anatomical model based on primary visual cortex (V1) retinotopic organization. By integrating the reciprocal of the cortical magnification factor (CMF), retinal eccentricity is mapped to cortical radial distance using a fitted piecewise linear-quadratic function: $$e(r) = \frac{1}{C} \begin{cases} r & r < r_{fov} \\ \frac{(r+K)^2}{2(r_{fov}+K)} + \frac{r_{fov}-K}{2} & r \ge r_{fov} \end{cases}$$ The input image is resampled via an isotropic coordinate warp around the fixation point, magnifying the foveal region while distorting the periphery.

Representation quality was evaluated by freezing the trained backbone every 5 epochs and training a linear probe on downstream classification labels.

Datasets

  • STL-10: Primary benchmark (96×96 resolution). The 100,000 unlabeled images were used for self-supervised pre-training, and the labeled split (5,000 training images, 8,000 test images across 10 classes) was used for linear probe evaluations.
  • SALICON: Used to pre-train the FastSal saliency model to guide fixation distributions.
  • Human V1 fMRI Retinotopy Data (Qiu et al., 2006): Used to empirically fit the parameters of the linear-quadratic cortical magnification function.
  • No new datasets or benchmarks were introduced.

Key Insights and Ideas

  • Blur alone cannot substitute for cropping: Applying eccentricity-dependent blur without shifting image coordinates caused representation learning to completely collapse. The contrastive task became trivially easy (SimCLR objective accuracy hit ~100%), leaving the network with no pressure to learn spatial invariance across views. Spatially displacing the field of view is mandatory.
  • Cortical magnification matches random cropping: Warping the image according to human V1 magnification fully restored representation learning, matching standard random crops without any statistical deficit.
  • Saliency sampling exhibits a "Goldilocks" effect:
  • Over-concentrating on salient regions (low $T \le 0.1$) caused representation quality to drop because different views overlapped excessively and became trivial for the network to match.
  • Uniform sampling (high $T$) ignored scene structure.
  • A moderate temperature ($T \in [0.3, 1.5]$) produced a modest gain in downstream accuracy, demonstrating that informative, structured saccadic exploration aids visual learning.
  • Patch scale matters: Moderate field-of-view cover ratios ($[0.05, 0.35]$) consistently outperformed both overly large views (which overlap too much) and tiny patches (which lack semantic class information, e.g., a tiny patch of white fur that cannot be recognized as a dog).

Key Results

  • Cortical Magnification vs. Random Crop: Cortical magnification achieved $79.65 \pm 0.37\%$ test accuracy, on par with the standard random crop baseline at $79.72 \pm 0.23\%$ ($N=12$ runs; 95% CI of difference $[-0.33, 0.17]\%$, non-significant).
  • Failure of Foveated Blur: Foveation via spatial blur alone yielded only $36.8\% - 39.0\%$ test accuracy—no better than an untrained, randomly initialized ResNet-18 (~$39.0\%$).
  • Saliency Guidance: Saliency-guided saccades at optimal temperatures improved linear probe test accuracy by $0.3\% - 0.7\%$ over uniform spatial sampling baselines.

Limitations and Future Work

  • No Temporal Dynamics: Human saccades are sequential, dynamic trajectories exhibiting temporal continuity and inhibition-of-return; the paper samples fixations independently (i.i.d.).
  • Synthetic / Pre-computed Saliency: Saccades were generated using a pre-trained computer vision saliency model rather than real human gaze recordings or egocentric infant head-camera datasets (e.g., SAYCam).
  • Scale of Evaluation: Experiments were restricted to STL-10 and ResNet-18; verification on ImageNet-scale benchmarks and Vision Transformers remains open.
  • Unexplored Robustness Dimensions: The authors hypothesize that cortical magnification will improve out-of-distribution generalization and adversarial robustness, but these were not directly tested in this workshop paper.

Summary updated

BibTeX
@inproceedings{wang2021use,
  author = {Binxu Wang and David Mayo and Arturo Deza and Andrei Barbu and Colin Conwell},
  title = {{On the use of Cortical Magnification and Saccades as Biological Proxies for Data Augmentation}},
  booktitle = {SVRHM @ NeurIPS},
  year = {2021},
  url = {https://openreview.net/forum?id=Rpazl253IHb},
}
Figure