Foundation models & learning architectures
We develop self-supervised models and neural architectures that learn transferable representations from large-scale brain recordings.
BaRISTA uses spatiotemporal transformers and masking to learn how activity is organized across recording channels and brain regions. WiCAT learns representations shared across subjects, tasks, and imaging datasets.
Selected projects
BaRISTA
BaRISTA: Brain Scale Informed Spatiotemporal Representation of Human Intracranial Neural Activity
BaRISTA learns representations of human intracranial recordings through self-supervised pretraining. Its transformer architecture separates the spatial scales used for encoding and masking, showing that brain-region information can improve downstream decoding while preserving the reconstruction of individual recording channels.

BaRISTA: Brain Scale Informed Spatiotemporal Representation of Human Intracranial Neural Activity
BaRISTA cuts each electrode’s recording into temporal patches and encodes each patch as a token. Spatial embeddings tell the transformer where the signal came from, using electrode coordinates, atlas parcels, or lobes. In the paper’s reconstruction task, each predicted token is mapped back to a signal patch . This lets the authors test how much channel-specific information the embeddings retain.
WiCAT
Cross-Subject Modeling for Widefield Calcium Imaging via Atlas-Aligned Spatiotemporal Tokenization
WiCAT learns shared representations from widefield calcium imaging across subjects. Atlas-aligned tokenization and self-supervised pretraining support transfer across tasks and datasets, including continuous behavior decoding and reconstruction of unseen brain regions in animals excluded from training.

Cross-Subject Modeling for Widefield Calcium Imaging via Atlas-Aligned Spatiotemporal Tokenization
WiCAT aligns each calcium-imaging frame to the same atlas grid, so a patch refers to the same cortical location across animals. The illustration shows a coarse grid for clarity. With patches, the model instead encodes 16 spatial tokens per frame. Attention combines information across locations and time; averaging the resulting spatial embeddings gives the decoder a representation for each time point.
Neural dynamics & decoding
We build dynamical models that reveal how neural populations encode behavior and support real-time decoding.
Our models separate behavior-related activity from other neural dynamics, identify how external inputs change those dynamics, and infer missing observations.
Selected projects
DPAD
Dissociative and prioritized modeling of behaviorally relevant neural dynamics using recurrent neural networks
DPAD uses recurrent neural networks to separate and prioritize behaviorally relevant neural dynamics. It improves neural and behavioral prediction, preserves behavior information in low-dimensional representations, and tests where nonlinearities arise in neural-to-behavior transformations.

Dissociative and prioritized modeling of behaviorally relevant neural dynamics using recurrent neural networks
Panels a–b follow neural activity into a recurrent model. One part of the latent state, , captures dynamics that help predict the measured behavior ; the other, , captures additional neural dynamics. Panels c–d show how the model learns these parts in order and tests which mappings benefit from a nonlinearity. Once trained, it decodes behavior from neural activity alone.
DFINE
Dynamical flexible inference of nonlinear latent factors and structures in neural population activity
DFINE combines nonlinear neural manifolds with tractable latent dynamics to enable real-time filtering, offline smoothing and inference with missing observations, while improving neural and behavioral prediction across diverse datasets.

Dynamical flexible inference of nonlinear latent factors and structures in neural population activity
Panel a separates two roles: the manifold factor describes a neural observation in a low-dimensional space, while the dynamic factor tracks how that representation evolves. Panel b shows how evidence accumulates over time. In , the first index is the time being estimated and the second is the last observation used: gives real-time filtering, while also uses later observations for smoothing.
BRAID
BRAID: Input-driven Nonlinear Dynamical Modeling of Neural-Behavioral Data
BRAID incorporates measured external inputs into nonlinear neural-behavioral models, separating intrinsic dynamics from input effects. Prioritized training and a forecasting objective improve learning of behavior-related dynamics and prediction of future activity and behavior.

BRAID: Input-driven Nonlinear Dynamical Modeling of Neural-Behavioral Data
Panel a separates three sources of variation: is shared by neural activity and behavior, is specific to neural activity, and captures input-driven behavior not encoded in the neural recordings. Panel b follows the shared state across successive predictions: one network updates it using current observations, and a second advances it to forecast farther ahead.
IPSID
Modeling and dissociation of intrinsic and input-driven neural population dynamics underlying behavior
IPSID jointly models neural activity, behavior and measured inputs to distinguish intrinsic behavior-related dynamics from input-driven activity. It reveals low-dimensional intrinsic dynamics shared across subjects and tasks in the studied motor datasets.

Modeling and dissociation of intrinsic and input-driven neural population dynamics underlying behavior
In panel A, the measured input has a rhythm of its own. Panel B shows that rhythm appearing in the neural spectrum beside an intrinsic oscillation. In the simulated model, : the state evolves through , the measured input acts through , and represents unmeasured excitation. Panels C–D compare the true eigenvalues of with those recovered by each method.
PSID
Modeling behaviorally relevant neural dynamics enabled by preferential subspace identification
PSID learns neural dynamical models that prioritize activity related to measured behavior. It reveals lower-dimensional, more behavior-predictive dynamics than behavior-agnostic models, with demonstrations across reach-and-grasp and saccade tasks.

Modeling behaviorally relevant neural dynamics enabled by preferential subspace identification
Panel a distinguishes dynamics shared by neural activity and behavior from dynamics present in just one of them. Panel b shows why using both signals during training changes the subspace the method selects. Panel c follows a new recording: a filter estimates the shared state from neural activity alone, and a learned readout converts that estimate into predicted behavior .
Modeling the brain response to open-loop stimulation
Modelling and prediction of the dynamic responses of large-scale brain networks during direct electrical stimulation
Dynamic input-output models predict how temporally varying electrical stimulation changes activity.

Modelling and prediction of the dynamic responses of large-scale brain networks during direct electrical stimulation
Panel a shows how independently varying amplitude and frequency produces a stimulation pulse train. Panel b lays out the trials of duration between resting recordings. Panel c follows the measured response through signal processing and model fitting: predictions of local field potential power are compared with measurements on held-out trials to identify which responses the stimulation can explain.
Neural imaging & multimodal learning
We learn from neural images and complementary signals, capturing brain dynamics across subjects, modalities, and timescales.
SBIND identifies behavior-related dynamics in calcium and functional ultrasound images. MRINE combines spikes and field potentials for real-time decoding, even when observations are missing or signals have different sampling rates.
Selected projects
SBIND
Dynamical Modeling of Behaviorally Relevant Spatiotemporal Patterns in Neural Imaging Data
SBIND models behaviorally relevant dynamics directly from neural image sequences. By capturing local and long-range spatial relationships and separating behavior-related activity from other dynamics, it improves neural and behavioral prediction in widefield calcium and functional ultrasound imaging.

Dynamical Modeling of Behaviorally Relevant Spatiotemporal Patterns in Neural Imaging Data
Panel a shows two recurrent networks operating on neural images. The first tracks the spatial state used to predict behavior; the second tracks additional dynamics in . Both contribute to the next neural image. Panel b opens up one recurrent step: convolution captures nearby activity, and attention across patches connects more distant regions.
MRINE
Dynamical modeling of nonlinear latent factors in multiscale neural activity with real-time inference
MRINE combines neural modalities with different sampling rates and statistical distributions to decode behavior in real time. Its multiscale dynamical model fuses complementary information from signals such as spikes and field potentials while handling asynchronous observations and missing samples.

Dynamical modeling of nonlinear latent factors in multiscale neural activity with real-time inference
Panel a shows how MRINE combines spike counts and continuous recordings even when they arrive at different times. For example, if is missing, the estimate at that step uses the available spikes . Panel b follows the two modality-specific estimates into the fusion network. Their joint embedding is the observation for a dynamical model with latent state .
Collaborative research
Our MURI collaboration studies multisensory processing and closed-loop brain-computer interfaces for decision making.









