Content area

Abstract

Artificial intelligence 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 artificial intelligence generally lack native support for physical units, significantly impeding the integration of artificial intelligence methodologies into scientific research. To fill this gap, we introduce SAIUnit, a system designed to seamlessly integrate physical units into scientific artificial intelligence libraries, with a focus on compatibility with JAX. SAIUnit offers a comprehensive library of over 2000 physical units and 500 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 SAIUnit’s applicability and effectiveness across diverse artificial intelligence-driven scientific computing domains, including numerical integration, brain modeling, and physics-informed neural networks. Our results show that by confining unit checking to the compilation phase, SAIUnit enhances the accuracy, reliability, interpretability, and collaborative potential of scientific computations without compromising runtime performance. By bridging the gap between abstract computing frameworks and physical units, SAIUnit represents a crucial step towards more robust and physically grounded artificial intelligence-driven scientific computing.

Existing numerical computing libraries lack native support for physical units, limiting their application in rigorous scientific computing. Here, the authors developed SAIUnit, which integrates physical units, and unit-aware mathematical functions and transformations into numerical computing libraries for artificial intelligence-driven scientific computing.

Details

1009240
Business indexing term
Title
Integrating physical units into high-performance AI-driven scientific computing
Publication title
Volume
16
Issue
1
Pages
3609
Publication year
2025
Publication date
2025
Publisher
Nature Publishing Group
Place of publication
London
Country of publication
United States
Publication subject
e-ISSN
20411723
Source type
Scholarly Journal
Language of publication
English
Document type
Journal Article
Publication history
 
 
Online publication date
2025-04-16
Milestone dates
2025-03-31 (Registration); 2024-09-22 (Received); 2025-03-28 (Accepted)
Publication history
 
 
   First posting date
16 Apr 2025
ProQuest document ID
3190953795
Document URL
https://www.proquest.com/scholarly-journals/integrating-physical-units-into-high-performance/docview/3190953795/se-2?accountid=208611
Copyright
Copyright Nature Publishing Group 2025
Last updated
2025-07-27
Database
ProQuest One Academic