POCO: Scalable Neural Forecasting through Population Conditioning

Yu Duan, Hamza Tahir Chaudhry, Misha B. Ahrens, Christopher D Harvey, Matthew G Perich, Karl Deisseroth, Kanaka Rajan

Introduction

Predicting the future state of complex biological systems like the brain—neural forecasting—is a cornerstone of modern neuroscience. While deep learning has excelled at decoding static representations or fitting historical data, forecasting the activity of thousands of neurons seconds into the future remains a significant challenge. This difficulty stems from the high dimensionality of neural recordings, the inherent variability across individuals and sessions, and the lack of external task anchors during spontaneous behavior.

The POCO Architecture

To address these challenges, we introduce POCO (POpulation-COnditioned forecaster), a unified framework that combines local univariate modeling with global population context.

The POCO architecture combines a local univariate forecaster with a global population encoder (POYO) using FiLM conditioning.

The architecture relies on four key components:

  1. Univariate Forecaster: A simple Multi-Layer Perceptron (MLP) predicts a single neuron's future activity based on its own history.
  2. Population Encoder: Based on the Perceiver-IO architecture (adapted from POYO), this component tokenizes activity across the entire population to summarize the global brain state.
  3. FiLM Conditioning: Feature-wise Linear Modulation (FiLM) allows the global state to dynamically adjust the weights of the local forecaster, enabling context-aware predictions.
  4. Unit Embeddings: Learnable identity vectors allow the model to generalize across varying neuron counts and recording sessions without a fixed input dimension.

Experimental Results

POCO was benchmarked across five diverse calcium imaging datasets, including whole-brain recordings from larval zebrafish, mesoscopic cortical imaging in mice, and whole-nervous-system recordings in C. elegans.

POCO outperforms baselines in MSE and prediction score across species, demonstrating robust forecasting capabilities.

As shown in Figure 2, POCO consistently outperforms standard baselines such as NLinear and AR-Transformers. The model demonstrates strong scaling properties, with performance improving as it is trained on more sessions and longer recording lengths. Notably, POCO functions as a "foundation model"; once pre-trained, it can adapt to novel recordings in under 15 seconds by fine-tuning only its unit embeddings. This speed makes it highly suitable for real-time, closed-loop neurotechnology applications.

Discussion

Beyond performance, POCO reveals emergent biological structures. The learned unit embeddings naturally cluster according to anatomical regions (e.g., the retrosplenial cortex in mice), despite receiving no prior spatial information.

While POCO excels within species, cross-species generalization remains a hurdle due to differences in calcium indicators and preprocessing pipelines. Future work will focus on extending this architecture to high-density electrophysiology and developing alignment strategies to bridge the gap between different recording modalities and species.

Summary updated

BibTeX
@inproceedings{duan2025poco,
  author = {Yu Duan and Hamza Tahir Chaudhry and Misha B. Ahrens and Christopher D Harvey and Matthew G Perich and Karl Deisseroth and Kanaka Rajan},
  title = {{POCO: Scalable Neural Forecasting through Population Conditioning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=Xma2G1ak3H},
}
Figure