Robust Neural Stimulation Response Modeling Through Meta-Learning and Pretraining
Organizations: Neural Systems Laboratory, Paul G. Allen School of Computer Science & Engineering, University of Washington, Seattle, WA, USA · Center for Neurotechnology, University of Washington, Seattle, WA, USA · Computational Neuroscience Center, University of Washington, Seattle, WA, USA · Department of Electrical and Computer Engineering, University of Washington, Seattle, WA, USA ·
Abstract
Objective: Model-based closed-loop neural stimulation holds promise for therapeutic applications ranging from Parkinson's disease to sensory restoration, but deployment has been limited by two obstacles: 1) forecasting models for predicting the consequences of stimulation fail catastrophically on a meaningful fraction of sessions, and 2) per-session calibration requirements are often incompatible with clinical constraints. We address both by demonstrating, for the first time, that meta-learning and pretraining can be applied to neural stimulation response modeling. Methods: Temporal basis function models (TBFMs) forecast state-dependent neural responses to stimulation. We extend TBFMs with cross-session pretraining using a novel architecture and algorithm based on model-agnostic meta-learning (MAML), evaluating them on 40 sessions of optogenetic stimulation in primary sensorimotor cortex of two non-human primates. Results: Meta-learning substantially reduces catastrophic forecast failure: for a 1k calibration set size, sessions with test R-squared < 0.05 drop from 16 of 40 (single-session training) to 1 (MAML-pretrained), and prediction intervals become significantly narrower (p < 0.05). Calibration requirements are reduced by 50-90% at matched accuracy, enabling experiments otherwise infeasible within clinical session-time constraints. Conclusion: Our results demonstrate that cross-session structure in stimulation responses is consistent enough to support pretraining, providing the first empirical evidence that meta-learning approaches are viable for neural stimulation. Significance: The robustness and sample efficiency gains directly address known obstacles to deploying model-based stimulation controllers. Our results motivate community efforts to assemble standardized multi-site stimulation datasets and to further explore meta-learning for robust closed-loop stimulation.
Figures & tables
| Held out subject | ||
|---|---|---|
| Held in subject | G | J |
| G | 0.405 ± 0.052 | 0.354 ± 0.094 |
| J | 0.407 ± 0.047 | 0.373 ± 0.102 |
| CPU | GPU | |
|---|---|---|
| Pretrained TBFM | 2.798 | 0.790 |
| Pretrained TBFM compiled | 2.095 | 0.223 |
| Vanilla TBFM | 0.174 | 0.226 |
| Vanilla TBFM compiled | 0.115 | 0.121 |
| AE-LSTM | 41.628 | 34.156 |
| LSSM | 10.111 | 16.939 |
Neural Surrogate Modeling
Neural surrogate modeling uses learned models to approximate costly simulations, enabling faster prediction, design, control, and inference.
See all 418 papers