BrainUnit: Integrating Physical Units into High-Performance AI-Driven Scientific Computing
Wang, C.; He, S.; Luo, S.; Huan, Y.; Wu, S.
Show abstract
Artificial intelligence (AI) is revolutionizing scientific research across various disciplines. The foundation of scientific research lies in rigorous scientific computing based on standardized physical units. However, current mainstream high-performance numerical computing libraries for AI generally lack native support for physical units, significantly impeding the integration of AI methodologies into scientific research. To fill this gap, we introduce BrainUnit, a unit system designed to seamlessly integrate physical units into AI libraries, with a focus on compatibility with JAX. BrainUnit offers a comprehensive library of over 2000 physical units and more than 300 unit-aware mathematical functions. It is fully compatible with JAX transformations, allowing for automatic differentiation, just-in-time compilation, vectorization, and parallelization while maintaining unit consistency. We demonstrate BrainUnits efficacy through several use cases in brain dynamics modeling, including detailed biophysical neuron simulations, multiscale brain network modeling, neuronal activity fitting, and cognitive task training. Our results show that BrainUnit enhances the accuracy, reliability, and interpretability of scientific computations across scales, from ion channels to whole-brain networks, without impacting performance. By bridging the gap between abstract computational frameworks and physical units, BrainUnit represents a crucial step towards more robust and physically grounded AI-driven scientific computing.
Matching journals
The top 3 journals account for 50% of the predicted probability mass.
Similar papers in this journal
Similar papers in this journal
Similar papers in this journal
Similar papers in this journal
- Training a spiking neuronal network model of visual-motor cortex to play a virtual racket-ball game using reinforcement learning 96%
- Multiscale effective connectivity analysis of brain activity using neural ordinary differential equations 96%
- Non-synaptic plasticity enables memory-dependent local learning 95%
Similar papers in this journal
- A GPU-based computational framework that bridges Neuron simulation and Artificial Intelligence 96%
- Stable recurrent dynamics in heterogeneous neuromorphic computing systems using excitatory and inhibitory plasticity 96%
- Introducing the Dendrify framework for incorporating dendrites to spiking neural networks 95%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.