BrainUnit: Integrating Physical Units into High-Performance AI-Driven Scientific Computing
Chaoming WangiD, Sichao HeiD, Shouwei LuoiD, Yuxiang HuaniD, Si WuiD
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.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 4
- FWCI
- 1.21
- Field percentile
- top 21%
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- AI becomes a masterbrain scientist
Zijie Yang, Yukai Wang, Lijing Zhang·bioRxiv·Apr 19, 2023
- Brain Organoid Computing for Artificial Intelligence
- Can AI Conduct Autonomous Scientific Research? Case Studies on Two Real-World Tasks
Shreyansh Agrawal, Harsh Anadkat, … Anton V. Sinitskiy·bioRxiv·Jan 6, 2026
- Ataraxis: Bridging AI Coding Assistants and Scientific Hardware
Ivan Kondratyev, Weinan Sun·bioRxiv·Feb 16, 2026
- BrainScale: Enabling Scalable Online Learning in Spiking Neural Networks
Chaoming Wang, Xingsi Dong, … Si Wu·Nature CommunicationsPeer-reviewed·Jan 19, 2026
- A GPU-based computational framework that bridges Neuron simulation and Artificial Intelligence
Yichen Zhang, Gan He, … Tiejun Huang·Nature CommunicationsPeer-reviewed·Sep 18, 2023