Saved in:
Bibliographic Details
Main Authors: Staylor, Mills, Fathkouhi, Amirreza Dolatpour, Islam, Md Khairul, O'Hara, Kaleigh, Goudjil, Ryan Ghiles, Fox, Geoffrey, Fox, Judy
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2501.06249
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912636934815744
author Staylor, Mills
Fathkouhi, Amirreza Dolatpour
Islam, Md Khairul
O'Hara, Kaleigh
Goudjil, Ryan Ghiles
Fox, Geoffrey
Fox, Judy
author_facet Staylor, Mills
Fathkouhi, Amirreza Dolatpour
Islam, Md Khairul
O'Hara, Kaleigh
Goudjil, Ryan Ghiles
Fox, Geoffrey
Fox, Judy
contents Large-scale astronomical image data processing and prediction are 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). 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. Using redshift prediction with the AstroMAE model demonstrated CAI's scalability and efficiency, achieving inference on a 12.6 GB dataset in only 28 seconds compared to 140.8 seconds on HPC GPUs and 1793 seconds on HPC CPUs. CAI also achieved significantly higher throughput, reaching 18.04 billion bits per second (bps), and maintained near-constant inference times as data sizes increased, all at minimal computational cost (under $5 per experiment). We also process large-scale data up to 1 TB to show CAI's effectiveness at scale. CAI thus provides a highly scalable, accessible, and cost-effective inference solution for the astronomy community. The code is accessible at https://github.com/UVA-MLSys/AI-for-Astronomy.
format Preprint
id arxiv_https___arxiv_org_abs_2501_06249
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Scalable Cosmic AI Inference using Cloud Serverless Computing
Staylor, Mills
Fathkouhi, Amirreza Dolatpour
Islam, Md Khairul
O'Hara, Kaleigh
Goudjil, Ryan Ghiles
Fox, Geoffrey
Fox, Judy
Computer Vision and Pattern Recognition
Instrumentation and Methods for Astrophysics
Large-scale astronomical image data processing and prediction are 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). 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. Using redshift prediction with the AstroMAE model demonstrated CAI's scalability and efficiency, achieving inference on a 12.6 GB dataset in only 28 seconds compared to 140.8 seconds on HPC GPUs and 1793 seconds on HPC CPUs. CAI also achieved significantly higher throughput, reaching 18.04 billion bits per second (bps), and maintained near-constant inference times as data sizes increased, all at minimal computational cost (under $5 per experiment). We also process large-scale data up to 1 TB to show CAI's effectiveness at scale. CAI thus provides a highly scalable, accessible, and cost-effective inference solution for the astronomy community. The code is accessible at https://github.com/UVA-MLSys/AI-for-Astronomy.
title Scalable Cosmic AI Inference using Cloud Serverless Computing
topic Computer Vision and Pattern Recognition
Instrumentation and Methods for Astrophysics
url https://arxiv.org/abs/2501.06249