Temporal coding carries more stable cortical visual representations than firing rate over time

Hanlin Zhu, Fei He, Pavlo Zolotavin, Saumil S. Patel, Andreas S. Tolias, Lan Luan, Chong Xie

Abstract

The brain's ability to stably represent recurring visual scenes is crucial for behavior. Previous studies have used slow dynamic (1-5 seconds) rate code measurements to study visual tuning, revealing varying degrees of gradual activity changes over time or "representational drifts." However, it remains unclear if there is an underlying neural code that maintains the encoding of information stable over time. In this study, we tracked the spiking activity of the same visual cortical populations in mice for 15 consecutive days using custom-developed, large-scale, ultraflexible electrode arrays. We found that while firing rates drift, the precise temporal dynamics of spikes—temporal coding—provide a significantly more stable and accurate representation of visual stimuli.

The Challenge of Representational Drift

A fundamental mystery in neuroscience is how we maintain a consistent perception of the world despite the inherent instability of neural activity. This phenomenon, known as representational drift, describes how the firing rates of neurons in response to the same stimulus can shift significantly over days or weeks. Most prior research into this drift has utilized calcium imaging, which, while powerful for tracking large populations, lacks the millisecond-level temporal resolution needed to observe fast spiking dynamics. This study investigates whether the "missing" information in the timing of individual spikes serves as a stable anchor for visual representations.

High-Resolution Longitudinal Tracking

To address this, researchers utilized Ultraflexible Nanoelectronic Threads (NETs). These electrodes, only 1 μm thick, integrate with brain tissue with minimal scarring, allowing for the stable tracking of the same individual neurons over 15 days. By recording from the primary visual cortex (V1) and lateral medial area (LM) in mice, the team captured high-fidelity spiking data across a variety of stimuli, including natural images from the ImageNet dataset and artificial gratings.

Experimental setup, longitudinal tracking, and decoding performance. Panel (a) shows the recording setup and stimulus types. Panels (d-e) demonstrate the longevity of tracked units. Panel (j) highlights the superior decoding accuracy of stable representations.

Temporal Gating: Stability Beyond the Firing Rate

The core discovery of this research is the "temporal gating" hypothesis. Even when a neuron's total firing rate (the "volume") fluctuates over time, the relative timing of its spikes within a stimulus window remains remarkably fixed. By extracting "Temporal Components" (CPs) using Regularized Linear Discriminant Analysis (LDA), the researchers found that these temporal features were far more resistant to drift than simple spike counts.

Interestingly, the benefit of temporal coding was most pronounced in neurons that appeared "unreliable" when judged solely by their firing rates. This suggests that the brain may utilize precise spike timing to extract consistent signals from otherwise noisy neural channels.

Enhanced Decoding and Population Stability

The stability of temporal codes translates directly into improved functional performance. Population-level analysis using UMAP (Uniform Manifold Approximation and Projection) revealed that temporal codes formed tighter, more distinct clusters for specific stimuli compared to rate codes. Over 15 days, rate-code representations tended to blur and overlap, whereas temporal-code representations remained isolated and identifiable.

Quantitatively, adding temporal information led to a significant reduction in representational drift (P < 2.7e-41) and a 10-fold improvement in decoding accuracy for natural images compared to chance. Furthermore, the stability of a neuron's temporal code was strongly correlated with its functional connectivity within the local network, suggesting that this "clockwork" stability is a property of the circuit's underlying architecture.

The relationship between tuning stability (correlation) and a combination of neural properties including reliability, tuning strength, and selectivity.

Conclusion and Future Directions

This study demonstrates that temporal coding is a critical component of stable sensory representation. While firing rates may drift, the millisecond-level timing of spikes provides a reliable substrate for consistent perception. Future work should explore whether these findings extend to higher-order cortical areas and how active learning or different behavioral states might further influence the stability of these temporal representations. By looking beyond the "volume" of neural activity and into its precise "rhythm," we gain a deeper understanding of how the brain maintains a steady view of a changing world.

Summary updated

BibTeX
@inproceedings{zhu2025temporal,
  author = {Hanlin Zhu and Fei He and Pavlo Zolotavin and Saumil S. Patel and Andreas S. Tolias and Lan Luan and Chong Xie},
  title = {{Temporal coding carries more stable cortical visual representations than firing rate over time}},
  booktitle = {Nature Communications},
  year = {2025},
  doi = {10.1038/s41467-025-62069-2},
}
Figure