Scalable Cosmic AI Inference using Cloud Serverless Computing with FMI

Large-scale astronomical image data processing and prediction is essential for astronomers, providing crucial insights into celestial objects, the universe's history, and its evolution. While modern deep learning models offer high predictive accuracy, they often demand substantial computational resources, making them resource-intensive and limiting accessibility. We introduce the Cloud-based Astronomy Inference (CAI) framework to address these challenges. This scalable solution integrates pre-trained foundation models with serverless cloud infrastructure through a Function-as-a-Service (FaaS) Message Interface (FMI). CAI enables efficient and scalable inference on astronomical images without extensive hardware. Using a foundation model for redshift prediction as a case study, our extensive experiments cover user devices, HPC (High-Performance Computing) servers, and Cloud. CAI's significant scalability improvement on large data sizes provides an accessible and effective tool for the astronomy community. The code is accessible atthis https URL.
View on arXiv@article{staylor2025_2501.06249, title={ Scalable Cosmic AI Inference using Cloud Serverless Computing with FMI }, author={ Mills Staylor and Amirreza Dolatpour Fathkouhi and Md Khairul Islam and Kaleigh O'Hara and Ryan Ghiles Goudjil and Geoffrey Fox and Judy Fox }, journal={arXiv preprint arXiv:2501.06249}, year={ 2025 } }