Adaptive stimulation & response modeling of latent neural dynamics

Jonathan Gould, Anne DraelosOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

Researchers have developed a real-time, closed-loop framework for "steering" neural activity by targeting its underlying low-dimensional structure. By combining streaming manifold construction with adaptive stimulus-response modeling, the system can determine precisely which high-dimensional stimulation patterns will drive a brain's latent state toward a desired goal in under 10 milliseconds.

What Problem Does This Paper Address?

Neuroscience has increasingly embraced the "neural manifold" hypothesis: the idea that while the brain contains billions of neurons, their collective activity actually lives in a much lower-dimensional space (latent dynamics). These dynamics are highly predictive of behavior, such as limb movement or decision-making.

However, we mostly observe these dynamics passively. To truly understand or treat the brain, we need to causally manipulate these latent states. This is incredibly difficult for three reasons:

  1. The Search Space: If you have 400 neurons and want to stimulate just 30, there are over $10^{45}$ possible combinations.
  2. Non-Stationarity: The brain is a moving target. A stimulation that works at the start of an experiment might fail later due to plasticity or changes in the animal's internal state.
  3. Real-Time Constraints: To be useful for brain-machine interfaces (BMIs) or in vivo experiments, the system must track, model, and respond to neural activity in milliseconds.

Methods

The authors propose a three-part streaming framework that operates entirely in real-time:

  1. Streaming Latent Space Construction: The system uses a new method called sjPCA (streaming jPCA) alongside existing methods like proSVD. This allows the researchers to identify the "neural manifold" on the fly as data arrives, rather than waiting for a post-hoc analysis.
  2. Adaptive Stimulus-Response Modeling: Instead of assuming a fixed effect for every "zap," the system uses nonparametric kernel regression. It learns a mapping between the stimulation applied ($u$), the current state of the brain ($x$), and the resulting change in dynamics ($s$). Crucially, it includes a "sample age" feature to discount old data, allowing the model to adapt if the brain's response characteristics drift over time.
  3. Constrained Optimization: To find the best stimulation pattern, the authors solve an optimization problem using L-BFGS-B. They seek a stimulation vector that maximizes the projection of the response onto a target direction while respecting biological constraints: stimulations must be non-negative (you can't "optogenetically suck" activity out easily) and sparse (limiting the number of neurons targeted).

Datasets

The framework was validated across a diverse range of data modalities:

  • Toy Model: A simulated circular linear dynamical system used to test the algorithm's ability to handle sudden "flips" or continuous "drifts" in response mappings.
  • Calcium Imaging: Real data from mouse visual cortex (592 neurons) recorded at 15 Hz.
  • Electrophysiology: Real intracortical recordings from a non-human primate motor cortex (130 units) recorded at 30 Hz.
  • Real Stimulation Benchmarks: The authors also tested their response model on existing datasets from zebrafish and mice that included actual photostimulation events to verify predictive accuracy.

Key Insights and Ideas

  • Parallel Manifold Hypotheses: The system can run multiple latent space models (e.g., one focused on variance, one on rotation) in parallel. A novel streaming estimator determines which representation is currently the most predictive, allowing the system to adaptively switch between different "views" of the brain.
  • Differentiable Mapping: By using a differentiable kernel regression for the stimulus-response map, the authors can use gradient-based optimization to find stimulation patterns. This is much faster than brute-force searching or purely heuristic methods.
  • Handling Infeasibility: The model recognizes that some directions on the manifold are "easier" to push the brain toward than others. It can quantify when a desired manipulation is physically impossible given the current constraints of the stimulation hardware.

Key Results

  • Speed: The end-to-end pipeline (from observation to stimulation design) averaged less than 10ms, well below the 100ms threshold required for most in vivo applications.
  • Rapid Learning: The stimulus-response mapping converged within just 10–20 total stimulations, making it practical for short experimental sessions.
  • Adaptability: In "toy" experiments where the stimulus-response map was suddenly rotated 180 degrees, the adaptive model recovered its predictive power within 15 seconds, whereas a static model failed completely.
  • Superior Targeting: Optimized stimulations were significantly more aligned with target latent directions compared to random neuron activation or simple "blanket" excitation.

Limitations and Future Work

  • Linear Latent Spaces: While the framework is modular, the authors primarily tested linear dimensionality reduction. Future work could integrate non-linear methods like VAEs or kernel PCA.
  • Simulated Interventions on Real Data: For the real neural datasets, the effects of the stimulations were simulated using autoregressive models. The next logical step is a fully "closed-loop" experiment where the algorithm controls the laser in a live animal.
  • Behavioral Links: The current paper focuses on moving neural activity. Future iterations could explicitly include behavioral goals (e.g., "move the arm to the left") as the target vectors in the latent space.

Summary updated

BibTeX
@misc{gould2026adaptive,
  author = {Jonathan Gould and Anne Draelos},
  title = {{Adaptive stimulation \& response modeling of latent neural dynamics}},
  year = {2026},
  url = {https://openreview.net/forum?id=GiaF5cFIpI},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure