Responses to pattern-violating visual stimuli evolve differently over days in somata and distal apical dendrites.

Jason E Pina, Colleen J Gillon, Jérôme A Lecoq, Ruweida Ahmed, Yazan N Billeh, Shiella Caldejon, Peter Groblewski, Timothy M Henley, India Kato, Eric Kenji Lee, Jennifer Luviano, Kyla Mace, Chelsea Nayan, Thuyanh V Nguyen, Kat North, Jed Perkins, Sam Seid, Matthew T Valley, Ali Williford, Yoshua Bengio, Timothy P Lillicrap, Blake Aaron Richards, Joel ZylberbergOpenReview 2023

Abstract

Scientists have long conjectured that the neocortex learns patterns in sensory data to generate top-down predictions of upcoming stimuli. In line with this conjecture, different responses to pattern-matching vs pattern-violating visual stimuli have been observed in both spiking and somatic calcium imaging data. However, it remains unknown whether these pattern-violation signals are different between the distal apical dendrites, which are heavily targeted by top-down signals, and the somata, where bottom-up information is primarily integrated. Furthermore, it is unknown how responses to pattern-violating stimuli evolve over time as an animal gains more experience with them. Here, we address these unanswered questions by analyzing responses of individual somata and dendritic branches of layer 2/3 and layer 5 pyramidal neurons tracked over multiple days in primary visual cortex of awake, behaving female and male mice. We use sequences of Gabor patches with patterns in their orientations to create pattern-matching and pattern-violating stimuli, and two-photon calcium imaging to record neuronal responses. Many neurons in both layers show large differences between their responses to pattern-matching and pattern-violating stimuli. Interestingly, these responses evolve in opposite directions in the somata and distal apical dendrites, with somata becoming less sensitive to pattern-violating stimuli and distal apical dendrites more sensitive. These differences between the somata and distal apical dendrites may be important for hierarchical computation of sensory predictions and learning, since these two compartments tend to receive bottom-up and top-down information, respectively.

Introduction

A central theory in neuroscience is predictive coding: the idea that our brains aren't just passive recorders of sensory input but are active "prediction engines." According to this theory, the neocortex constantly generates top-down predictions about what we are about to see, hear, or feel. When reality doesn't match the prediction, a "prediction error" signal is generated.

While we know neurons respond strongly to these "mismatches," two major questions remained:

  1. Spatial Partitioning: Do different parts of a neuron—specifically the soma (which integrates bottom-up sensory input) and the distal apical dendrites (which receive top-down signals from other brain areas)—process these surprises differently?
  2. Temporal Evolution: How do these signals change as an animal gains experience? Does a "surprise" stop being a surprise once it's been seen a dozen times?

Methods

The researchers used chronic two-photon calcium imaging in awake mice to record activity in the primary visual cortex (V1). Crucially, they tracked the same individual somata and dendritic branches over multiple days.

Experimental setup, neuronal compartments, and Gabor sequence stimuli.
  • The Stimulus: Mice were shown sequences of Gabor patches (striped filters). A standard sequence followed a predictable pattern (A-B-C-D-G). Occasionally, the researchers swapped the fourth frame for an "un-matching" frame (U), creating a pattern violation (A-B-C-U-G).
  • The Compartments: They looked at Layer 2/3 and Layer 5 pyramidal neurons, specifically comparing the cell bodies (somata) to the distal apical dendrites located near the brain's surface.
  • The Analysis: They calculated an "Un-matching event Selectivity Index" (USI) to quantify how much more (or less) a compartment responded to a violation versus a standard pattern. They also used machine learning (logistic regression) to see if they could decode the orientation of the stimuli from the neural activity.

The study utilized data from the Allen Institute’s OpenScope project. The full dataset, including calcium imaging traces from 11 mice across multiple sessions, is available via the DANDI Archive.

Results

The Great Divergence

The most striking finding was that somata and dendrites evolved in opposite directions. As the "surprising" U-frame was repeated over days, the somata became less sensitive to it (habituation), while the distal apical dendrites became more sensitive. This suggests that the soma might be encoding a "prediction error" that fades as the internal model of the world updates. Conversely, the dendrites might be encoding the "prediction" itself, which becomes sharper and more robust with experience.

Pattern vs. Simple Change

This effect wasn't just a reaction to any change. When the researchers used a simpler "visual flow" stimulus (where squares just reversed direction), they didn't see the same divergence. This implies the effect is specific to learning structured, temporal patterns.

Key Findings

  • Somatic Habituation: In both Layer 2/3 and Layer 5, the difference in response between matching and violating stimuli in the somata converged toward zero over three days.
  • Dendritic Sharpening: In contrast, the distal apical dendrites showed a significant increase in their selectivity for pattern violations over the same period.
  • Decodability: Logistic regression showed that orientation information for the "violating" stimuli could be decoded with increasing accuracy from the dendrites over time, paralleling the USI results.
  • Behavioral Controls: The neural divergence persisted regardless of the mice's running behavior or pupil dilation (arousal).

Discussion

This study provides compelling evidence for the complexity of the "neuron-as-a-computer," showing that a single cell can simultaneously habituate to and sharpen its representation of the world across its different physical parts.

However, several limitations remain. Because of the limitations of standard two-photon microscopy, researchers couldn't record the soma and the dendrites of the exact same neuron at the same time. Future work using multi-plane imaging could confirm if these opposite trends happen within a single cell. Additionally, the mice were passively viewing stimuli; exploring how sensorimotor feedback in a "closed-loop" environment influences these signals is a logical next step. Finally, it remains unclear if the dendritic signals are computed locally within V1 or sent as "pre-computed" predictions from higher-order brain regions.

Summary updated

BibTeX
@misc{pina2023responses,
  author = {Jason E Pina and Colleen J Gillon and Jérôme A Lecoq and Ruweida Ahmed and Yazan N Billeh and Shiella Caldejon and Peter Groblewski and Timothy M Henley and India Kato and Eric Kenji Lee and Jennifer Luviano and Kyla Mace and Chelsea Nayan and Thuyanh V Nguyen and Kat North and Jed Perkins and Sam Seid and Matthew T Valley and Ali Williford and Yoshua Bengio and Timothy P Lillicrap and Blake Aaron Richards and Joel Zylberberg},
  title = {{Responses to pattern-violating visual stimuli evolve differently over days in somata and distal apical dendrites.}},
  year = {2023},
  url = {https://openreview.net/forum?id=hbJ71fFzeI},
  howpublished = {OpenReview},
}

Loading related content...

Figure