Masked Image Modeling as a Framework for Self-Supervised Learning across Eye Movements

Robin Weiler, Matthias Brucklacher, Cyriel M. A. Pennartz, Sander M. Bohté · DOI

Abstract

Biological systems learn to recognize objects with remarkable efficiency without explicit supervision. This paper proposes that the mechanism of eye movements and foveal vision acts as a natural form of Masked Image Modeling (MIM). By simulating "masked periphery" vision in neural networks, we demonstrate that predicting hidden visual information leads to high-quality, decorrelated object representations similar to those in the primate brain. Our findings suggest that the generative task of filling in peripheral information during saccades may be a fundamental driver of visual representation learning.

Introduction

How do humans and animals learn to recognize objects so efficiently without explicit labels? In artificial intelligence, Self-Supervised Learning (SSL) has emerged as a powerful paradigm for training models on unlabeled data. A prominent approach is Masked Image Modeling (MIM), where a model learns by reconstructing hidden portions of an image. However, standard MIM typically employs random patch masking, which differs significantly from biological vision.

Primate vision is inherently "foveated" — the center of the gaze is captured in high resolution while the periphery is progressively blurred or ignored. This study investigates whether the act of moving our eyes to reveal previously hidden or blurry parts of a scene constitutes a generative learning task that shapes internal mental representations.

Conceptual framework comparing standard MIM (a) with biologically inspired foveated prediction (b, c).

Methods

The researchers constructed a proof-of-concept model using Convolutional Neural Networks (CNNs), specifically ResNet-18 and ConvNeXt-v2 architectures. They compared several pretraining "masking" strategies to evaluate their impact on feature learning:

  1. Random Patches: The standard AI approach using random square masks.
  2. Masked Periphery: A biologically inspired approach where only a central "fovea" is visible, and the rest is replaced by a flat average color.
  3. Blurry Periphery / Foveal Filter: Realistic simulations of how human vision degrades toward the edges of the visual field.
Comparison of input masking strategies and their resulting reconstructions against the target image.

The models were trained to reconstruct the original, full-resolution image from these partial inputs. Feature quality was evaluated using linear probing on the STL-10 dataset, which contains 100,000 unlabeled images for pretraining and a smaller labeled set for evaluation.

Key Insights and Results

The Opacity Requirement

A surprising finding was that realistic blurring (the Foveal Filter) performed poorly for representation learning compared to complete masking. When peripheral information was even slightly visible through blur, the network tended to find "local shortcuts" for reconstruction rather than learning deep, categorical features. Effective feature extraction required the periphery to be completely "opaque" or hidden.

Implicit Decorrelation

MIM naturally caused neurons in the latent space to decorrelate — a property where neurons develop independent tuning. While many AI models require explicit mathematical penalties to achieve this (e.g., VICReg), it emerged as a natural byproduct of the MIM framework, mirroring observations in neuroscience.

Performance Benchmarks

The "Masked Periphery" approach achieved a linear probing accuracy of 67.9% with ResNet and 71.6% with ConvNeXt-v2. While slightly lower than the random patches baseline (70.2% on ResNet), it demonstrates that a biologically plausible masking strategy is highly effective for training visual encoders. Notably, there was no correlation between reconstruction quality and classification accuracy; the foveal filter produced the most visually appealing reconstructions but the weakest features for recognition.

Discussion and Future Work

While this model provides a compelling link between MIM and biological vision, it has limitations. The current approach uses static images with "crop-and-resize" augmentations to simulate eye movements (saccades). Real biological vision is a temporal sequence of glimpses. Furthermore, the model relies on backpropagation, which lacks a direct biological equivalent.

Future research will focus on moving from static images to spatiotemporally masked videos. This would require the model to learn from a sequence of foveated glimpses over time, more accurately mimicking the "enactive" nature of primate vision and potentially uncovering even more robust learning rules.

Summary updated

BibTeX
@inproceedings{weiler2024masked,
  author = {Robin Weiler and Matthias Brucklacher and Cyriel M. A. Pennartz and Sander M. Bohté},
  title = {{Masked Image Modeling as a Framework for Self-Supervised Learning across Eye Movements}},
  booktitle = {ICANN},
  year = {2024},
  url = {https://openreview.net/forum?id=KjeZwyA0LV},
}
Figure