NeuronCtrl: Geometry-Aware Safe Closed-Loop Generative Control for Neuronal Microenvironment Dynamics

Haowei Xu, Yixin Chen, Wanyi Fu, Hongbin Han, Zhaoheng XieICML 2026

The Challenge of Neuromodulation

Neuromodulation techniques, such as Deep Brain Stimulation (DBS), operate as high-stakes closed-loop control systems. The goal is to steer biological fields—like voltage or chemical concentrations—toward healthy targets. However, the brain's microenvironment presents unique challenges that traditional control methods struggle to handle:

  1. Irregular Geometry: Neurons are not neat grids; they are complex, branching 3D structures.
  2. Unknown Physics: The exact equations governing how ions move in these micro-spaces are often unknown or highly complex.
  3. Sparse Sensing: Sensors can only be placed in a few locations, yet safety must be ensured across the entire biological field.
  4. Latency: High-fidelity biophysical simulators are far too slow for real-time feedback, which requires millisecond-scale decision-making.

Because traditional methods assume regular spatial domains or require full system visibility, a new approach is needed to safely control these irregular, partially observed environments.

Introducing NeuronCtrl

To overcome these hurdles, researchers introduce NeuronCtrl, a modular, operator-level framework designed for the safe, closed-loop generative control of neuronal dynamics. It breaks the control loop into four distinct components:

  • The Observer: A history-conditioned GRU and graph decoder that reconstructs the full 3D latent field from sparse sensor measurements and past actions.
  • The Simulator (Surrogate): A morphology-aware neural operator (using a heterogeneous Message Passing Neural Network) that acts as a "world model" to predict one-step future dynamics.
  • The Generator: A flow-matching conditional policy that proposes control actions based on user preferences, such as balancing energy efficiency with aggressive target tracking.
  • The Safety Filter: A dual-layer mechanism that first restricts actions to hardware limits, and then uses a learned "barrier functional" to minimally correct any action predicted by the surrogate to violate field-level safety constraints (e.g., dangerous voltage spikes).

To meet strict latency requirements, the multi-step generative process is compressed into a single-step policy via Consistency Distillation. This preserves the system's safety guarantees while drastically speeding up inference.

Experimental Benchmarks

The team developed three high-fidelity 3D benchmarks using the NEURON biophysical simulation engine to standardize testing on irregular domains:

  • DBS3D: Focused on suppressing pathological beta oscillations in Parkinson’s disease models.
  • ECS3D: Controlling extracellular calcium and signaling molecules via reaction-diffusion dynamics.
  • KDyn3D: Regulating potassium levels in astrocytes across large-scale morphology graphs (approximately 20,000 nodes).

Key Insights and Results

NeuronCtrl achieved the best trade-offs across all three benchmarks, consistently reaching lower costs (better tracking) with higher safety scores than baselines like Model Predictive Control (MPC) or standard Diffusion Policies.

  • Geometry-Aware Superiority: Treating the brain as a graph with physically "typed" edges (representing cables or spatial neighborhoods) significantly outperforms methods that treat the environment as unordered points.
  • Amortized Safety & Low Latency: By using a closed-form projection based on the gradient of a learned barrier function, NeuronCtrl avoids heavy optimization at every time step. Inference times are kept in the few-millisecond range (e.g., ~3.9ms for DBS3D), making it viable for high-rate feedback.
  • Enhanced Safety: The field-level filter effectively reduced "unsafe rates" from 6–9% down to less than 1% across all benchmarks.
  • Zero-Shot Super-Resolution: The operator-level formulation allows a controller trained on high-resolution data to function effectively even when sensors are downsampled (e.g., by 4x) during testing.

Limitations and Future Directions

While highly effective in simulation, NeuronCtrl's safety guarantees are "model-relative"—they rely entirely on the accuracy of the surrogate world model. If the surrogate misrepresents the physics, the safety filter may fail to block dangerous actions. Additionally, the safety filters can exhibit a conservative bias, occasionally sacrificing control performance to stay far away from perceived boundaries.

Moving toward clinical translation will require addressing unmodeled real-world complexities, such as electrode artifacts and non-stationary noise. Future iterations of NeuronCtrl aim to incorporate calibrated uncertainty (allowing the model to recognize when it is "unsure") and explore richer biochemical couplings in larger neuronal networks.

Summary updated

BibTeX
@inproceedings{xu2026neuronctrl,
  author = {Haowei Xu and Yixin Chen and Wanyi Fu and Hongbin Han and Zhaoheng Xie},
  title = {{NeuronCtrl: Geometry-Aware Safe Closed-Loop Generative Control for Neuronal Microenvironment Dynamics}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=ZK3h2ENA67},
}
Figure