Object Based Attention Through Internal Gating

Jordan Lei, Ari S. Benjamin, Konrad P. KordingarXiv 2021

Abstract

Current computer vision models often lack the recurrent, top-down gating mechanisms that characterize biological attention. This paper presents a recurrent neural network (RNN) architecture that incorporates internal gating to bridge the divide between biologically plausible models and high-performance computer vision. By utilizing a feedback pathway to generate attention masks that multiplicatively scale feedforward activity, the model replicates key neurobiological phenomena while maintaining the ability to process complex natural scenes.

Introduction: The Attention Gap

A significant "grand canyon" exists between how neuroscience and computer vision (CV) conceptualize attention. Computational neuroscience models are often biologically realistic, incorporating top-down feedback and lateral connections, yet they frequently struggle with visual complexity beyond simple geometric primitives. Conversely, state-of-the-art CV models, such as Transformers, utilize "self-attention" to achieve remarkable results on complex datasets but fail to emulate the brain's recurrent, selective filtering mechanisms.

The authors address this by developing a model that is both biologically grounded and capable of handling real-world visual data.

Model Architecture and Methods

The proposed model is a recurrent neural network inspired by the U-Net architecture, designed to process images over multiple iterations (typically $T=5$). It consists of three primary components:

  1. Feedforward Pathway (Bottom-Up): Standard convolutional layers extract hierarchical features to generate initial class predictions.
  2. Feedback Pathway (Top-Down): A decoding pathway projects high-level information back to earlier layers, synthesizing spatial "attention masks."
  3. Internal Gating: Unlike additive models, this system uses multiplicative gating. Attention masks inhibit or excite feedforward feature maps, effectively filtering out background noise or non-target objects.
The recurrent model architecture featuring feedforward and feedback pathways with internal gating.

To enable sequential attention, the model incorporates Inhibition of Return (IOR). Once an object is identified, its corresponding region in the internal representation is suppressed, forcing the model to shift its focus to subsequent objects in the scene.

Experimental Evaluation

The model was tested on two datasets representing different levels of complexity:

  • Augmented MNIST: Side-by-side handwritten digits against noisy backgrounds, testing basic object separation.
  • COCO (Common Objects in Context): Natural images filtered for non-overlapping objects and simplified into 12 supercategories (e.g., animal, vehicle, person).

Results and Biological Alignment

The model demonstrated high efficiency in gating, achieving near-perfect inhibition on MNIST (98% accuracy). On the more challenging COCO dataset, it achieved 33% accuracy—significantly above the 8.3% random baseline. While this trails non-biological state-of-the-art models, the focus remains on the fidelity of the attentional process.

Example of sequential attention and masking on a natural image from the COCO dataset.

Key insights include:

  • Multiplicative Scaling: The gating mechanism successfully replicated "attention-invariant tuning," where attention scales neural response magnitude without altering underlying tuning curves.
  • Recurrent Refinement: Iterative processing allowed the model to progressively clean its internal representations, sharpening the distinction between object and background.
  • Emergent Properties: Deeper layers exhibited stronger attentional modulation, mirroring observations in the primate visual cortex.

Discussion and Future Work

While the internal gating mechanism is sound, several limitations remain. The model currently relies on supervised learning with ground-truth masks, whereas biological systems likely learn through self-supervised cues like motion. Furthermore, the static nature of the current model does not account for the dynamic, temporal aspects of real-world vision. Future work will focus on increasing the "horsepower" of the feature extractor and exploring self-supervised learning paradigms to further bridge the gap between artificial and biological intelligence.

Summary updated

BibTeX
@misc{lei2021object,
  author = {Jordan Lei and Ari S. Benjamin and Konrad P. Kording},
  title = {{Object Based Attention Through Internal Gating}},
  year = {2021},
  eprint = {2106.04540},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.04540},
}
Figure