NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

HelioX: A GPU-Native Framework for Simulation and Training of Biophysically Detailed Networks

Junfeng Lu, Zijie Yu, Shaoyang Cui, Gan He, Ruiqin Xiong, Kai Du, Tiejun HuangICML 2026

TL;DR

This paper introduces HelioX, a novel GPU-native framework that unifies high-performance simulation and scalable training for biophysically detailed neural networks (BDNs). By adopting a "GPU-to-Biophysics" approach and tailoring GPU parallelism to biological structures, HelioX significantly accelerates the training of complex neural models, making previously intractable simulations and training tasks feasible on consumer-grade hardware.

What Problem Does This Paper Address?

Modern AI has largely relied on simplified "point-neuron" abstractions, which, while enabling massive parallelization, discard the rich spatio-temporal dynamics and intricate spatial structures of biological brains. Biophysically detailed neural networks (BDNs), which incorporate these complexities, offer greater expressivity and computational density. However, training these BDNs is a major bottleneck. Existing deep learning frameworks struggle with the irregular, tree-like structure of biological neurons, leading to inefficient computation and prohibitive memory usage. Conversely, specialized simulators often lack differentiable capabilities, hindering end-to-end training. This paper addresses the fundamental mismatch between the dense parallel optimizations of general-purpose deep learning frameworks and the sparse, irregular, and dynamic nature of BDNs, aiming to bridge the gap between high-fidelity simulation and scalable, gradient-based training.

Methods

HelioX employs a "GPU-to-Biophysics" paradigm, meaning it's designed from the ground up for GPUs, rather than adapting existing CPU-centric simulators. Key methodological contributions include:

  • GPU-Native Simulation Engine:
    • Dendritic Hierarchical Scheduling (DHS): A theoretically optimal algorithm for parallelizing the solving of the cable equation on tree-structured dendritic morphologies, implemented with custom CUDA kernels for maximum hardware utilization.
  • Sparse Spike Processing: An efficient pipeline to handle the temporal sparsity of neural spikes, minimizing host-device synchronization overhead by using a lightweight gating mechanism.
  • Concurrent ODE Construction: Utilizes multi-stream concurrency to run independent mechanism kernels in parallel, reducing CPU synchronization and improving GPU utilization. Lightweight kernel fusion is also applied to cut launch overhead.
  • Effective Training Module:
    • Analytical Gradients: Instead of generic automatic differentiation (AD), HelioX uses structure-aware analytical gradients derived for biophysical models. This avoids the massive computational and memory overhead associated with backpropagating through long ODE integration sequences.
  • Reflective Variable Registry: Exposes simulator states (membrane potentials, conductances, etc.) with stable identifiers, allowing external learning code (e.g., Python) to directly access and manipulate device-resident states.
  • Handle-Based Caching: Caches variable resolutions as stable handles (device pointers) for O(1) access during training, minimizing runtime overhead.
  • Temporal Buffers: Supports efficient handling of time-series data for trajectory-level objectives, reducing fragmented gathering.

Datasets

  • MNIST: Used for training and evaluating deep biophysical MLPs.
  • BAAIWorm C. elegans: A whole-brain-scale, recurrent, biophysically detailed circuit model used for a complex fitting task, optimizing synaptic parameters to match experimental calcium imaging data.

Key Insights and Ideas

  • "GPU-to-Biophysics" is Key: Adapting existing deep learning tools to biology is less effective than designing a GPU-native framework that understands and exploits biological structures.
  • Analytical Gradients are Crucial for Scalability: Generic AD is a major bottleneck for training complex BDNs. Deriving analytical gradients tailored to the biophysical model structure dramatically reduces compute and memory requirements.
  • DHS is a Game-Changer for Dendritic Solves: The Dendritic Hierarchical Scheduling algorithm is essential for efficiently parallelizing the complex tree-structured solves required for cable equations on GPUs.
  • Bridging Simulation and Learning: HelioX's reflective variable registry and handle-based caching create a seamless interface between the simulation engine and the learning backend, enabling efficient data exchange and parameter updates.
  • Biophysical Complexity is a Feature, Not a Bug: Detailed neurons, with their intrinsic spatio-temporal dynamics and morphology, offer a powerful substrate for high-expressivity AI and more realistic computational neuroscience models.

Key Results

  • Performance Speedup: HelioX outperforms standard simulators like NEURON by orders of magnitude. It achieves speedups of 1.61–2.25× over CoreNEURON and 1.69–2.60× over DeepDendrite on various benchmarks.
  • Large-Scale Training: Successfully trained deep biophysical MLPs on MNIST and a whole-brain-scale biophysical circuit of C. elegans (BAAIWorm) on a single consumer-grade GPU.
  • Memory Efficiency: For the BAAIWorm task, HelioX reduced peak GPU memory from 47GB to ~5.2GB (with downsampling), enabling training on hardware that was previously inaccessible.
  • Numerical Fidelity: HelioX matches NEURON's numerical accuracy, with maximum absolute errors in membrane potentials below 10⁻⁸ mV, reproducing identical spike times.
  • MNIST MLP Performance: Achieved test accuracy of 96.47% on a 3-layer biophysical MLP, comparable to previous state-of-the-art. It also demonstrated significant speedups (up to 43.67× on training) compared to baselines.
  • Portability: Preliminary evidence shows HelioX can be migrated to other hardware backends (e.g., ROCm on AMD GPUs) while retaining efficiency and numerical alignment.

Limitations and Future Work

  • ROCm Backend Under Development: While preliminary results on ROCm are promising, it's not yet a fully supported feature.
  • Adversarial Robustness: The paper includes an experiment reproducing DeepDendrite's adversarial robustness results as a validation of the framework's capabilities, but it's noted that adversarial robustness is primarily task-, architecture-, and training-dependent, not a core framework claim itself.
  • Future Work: The authors envision HelioX making detailed neurons usable as expressive computational units for brain-inspired AI and as scalable, high-fidelity models for computational neuroscience, enabling faster iteration and exploration in both fields. They hope this capability will lower the barrier for researchers to experiment with realistic neural morphologies and large-scale biophysical circuits.

Summary updated

BibTeX
@inproceedings{lu2026heliox,
  author = {JUNFENG LU and Zijie Yu and Shaoyang Cui and Gan He and Ruiqin Xiong and Kai Du and Tiejun Huang},
  title = {{HelioX: A GPU-Native Framework for Simulation and Training of Biophysically Detailed Networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=XjTRtfxK9g},
}
Figure