NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

Attentional dynamics of efficient codes

Wiktor Młynarski, Gašper TkačikbioRxiv 2021

TL;DR

This paper proposes a unified computational framework for understanding attention by combining principles of efficient coding and probabilistic inference. They developed a model of the visual cortex that dynamically adapts neural responses to optimize perceptual inference while minimizing neural activity, successfully reproducing key attentional phenomena and offering new predictions.

What Problem Does This Paper Address?

The paper tackles fundamental questions about attention in the visual system:

  1. Diversity of Attentional Processes: Are object, spatial, and feature-based attention distinct neural processes, or can they be explained by a common set of principles?
  2. Functional Effects of Attention: How does attention modulate neural activity at both the individual neuron and population levels, including tuning curves, receptive fields, firing rates, and correlations?
  3. Normative Account of Attention: Can we derive attentional mechanisms from a normative theory of optimal computation, rather than postulating them ad hoc, especially in dynamic and naturalistic environments?

Existing research often treats attention as a set of specific mechanisms or focuses on static scenarios, leaving a unified, principled explanation for its dynamic and adaptive nature elusive.

Methods

The core of the paper is a novel model that integrates two established normative theories:

  • Efficient Coding: This principle suggests that neural systems should encode information using minimal resources (e.g., neural activity).
  • Probabilistic Inference: This principle posits that systems should optimally estimate the state of the environment from noisy sensory data.

The authors extend a standard sparse coding model of the visual cortex by introducing adaptive nonlinearities for individual neurons. These nonlinearities are controlled by top-down feedback signals from a "perceptual observer." This observer infers the environment's latent state and uses its belief about future stimuli to dynamically adjust the nonlinearities (specifically, activation thresholds) of the sensory neurons. This adaptation aims to optimize a cost function that balances inference accuracy with neural activity cost. The model is trained and evaluated on simulated perceptual inference tasks (object detection, target localization, orientation estimation) in dynamic environments.

Datasets

Not explicitly discussed as datasets for training in the traditional machine learning sense. The model is trained on simulated natural image patches and sequences derived from natural movies of the African savannah. The evaluation is performed on simulated perceptual inference tasks.

Key Insights and Ideas

  • Unified Theory of Attention: The paper demonstrates that diverse attentional phenomena (spatial spotlight, object-based selection, feature enhancement) can emerge from a single normative principle: optimizing perceptual inference under efficient coding constraints in a dynamic environment.
  • Top-Down Feedback as Parameter Setting: Top-down feedback isn't directly conveying stimulus information but rather setting optimal "system parameters" (neuron thresholds/gain) for the sensory population based on the observer's current belief.
  • Dynamic Resource Allocation: Attention is framed as a flexible allocation of limited neural resources, sharpening representations of task-relevant information by dynamically adjusting neuron responses.
  • Task-Specific Noise Correlations: The model predicts that noise correlations are not fixed but can be dynamically shaped by task demands and feedback, offering a new normative hypothesis for their origin and function.
  • Uncertainty Drives Resource Use: Perceptual uncertainty about the environment leads to increased population activity and code dimensionality, as the system needs to deploy more resources to resolve ambiguity.

Key Results

  • Reduced Neural Activity: The adaptive coding model significantly reduces neural activity (by over an order of magnitude in some cases) compared to a standard, static sparse coding model, with minimal impact on inference accuracy.
  • Accurate Inference: Despite the drastic reduction in activity, the model achieves comparable inference accuracy across object detection, target localization, and orientation estimation tasks.
  • Reproduced Attentional Phenomena: The model successfully reproduces key experimental observations, including:
  • Tuning Curve Modulation: Mimics the "prior-centered" tuning observed in attended conditions.
  • Gain Dynamics: Captures temporal statistics of neural gain and its relationship with activity and tuning.
  • Spatial Spotlight: Generates a dynamic "spotlight" of high visual acuity in the target localization task.
  • Task-Specific Statistics: The adaptive code exhibits task-dependent response correlations and low-rank noise correlations, contrasting with the fixed correlations of the standard sparse code.
  • Impact of Uncertainty: Increased perceptual uncertainty leads to higher population activity and code dimensionality, improving stimulus reconstruction fidelity.

Limitations and Future Work

  • Idealized Observer: The model assumes the perceptual observer uses a correct statistical model of the environment. A "mismatched" observer would need to increase the attentional resource constraint and encode stimuli in higher detail.
  • Instantaneous Feedback: The model assumes instantaneous top-down feedback, which is an idealization; real neural circuits have transmission delays.
  • Real-valued Activity: The model uses real-valued neural activity, making direct quantitative comparison for response variability challenging. Extending to Poisson spike generation is suggested.
  • "Meta-Attention": The dynamics of controlling the attentional constraint itself (meta-attention) is a subject for future work.
  • Relationship to Other Objectives: Exploring the relationship between their objective function and other normative objectives for sensory coding (e.g., maximizing predictive information, information bottleneck) is a future direction.
  • Neural Implementation: While the model provides a normative account, the precise implementation in biological neural circuits remains an open question.

Summary updated

Abstract

Top-down attention is hypothesized to dynamically allocate limited neural resources to task-relevant computations. According to this view, sensory neurons are driven not only by stimuli but also by feedback signals from higher brain areas that adapt the sensory code to the goals of the organism and its belief about the state of the environment. Here we formalize this view by optimizing a model of population coding in the visual cortex for maximally accurate perceptual inference at minimal activity cost. The resulting optimality predictions reproduce measured properties of attentional modulation in the visual system and generate novel hypotheses about the functional role of top-down feedback, response variability, and noise correlations. Our results suggest that a range of seemingly disparate attentional phenomena can be derived from a general theory combining probabilistic inference with efficient coding in a dynamic environment.
BibTeX
@misc{mynarski2021attentional,
  author = {Wiktor Młynarski and Gašper Tkačik},
  title = {{Attentional dynamics of efficient codes}},
  year = {2021},
  doi = {10.1101/2021.03.29.437459},
  howpublished = {bioRxiv},
}

Loading related content...

Figure