toc icon indicating copy to clipboard operation
toc copied to clipboard

[Initiative]: AI for Science (AI4S) Cloud-Native Foundation whitepaper

Open Jiamu1 opened this issue 10 months ago • 27 comments

Name

AI4S Cloud-Native Foundation whitepaper

Short description

Formalize principles, reference architectures, and ecosystem strategies for building scalable, reproducible AI-for-Science (AI4S) platforms on Kubernetes and cloud-native substrates, unifying scientific computing, AI workloads, and large-scale data management.

Responsible group

TOC

Does the initiative belong to a subproject?

Yes

Subproject name

TOC Artificial Intelligence Initiatives

Primary contact

Yanjun Chen(@chenyanjunyjy), Jiamu Liu(@Jiamu1)

Additional contacts

No response

Initiative description

The purpose of this initiative is to establish a dedicated sub-stream within relevant cloud-native working groups to define foundational principles, reference patterns, and ecosystem gaps for AI4S platforms. These platforms will accelerate scientific discovery across domains (e.g., material science, drug discovery, climate modeling) by leveraging cloud-native’s strengths in elasticity, portability, and orchestration to unify heterogeneous workloads—including AI model training/inference, high-performance computing (HPC) tasks, large-scale scientific data processing and AI4S AI Agents.

Scope Definition The group will focus on architectural guidance, interoperability standards, and ecosystem alignment for cloud-native AI4S platforms, rather than building proprietary runtime systems or deep-diving into domain-specific scientific algorithms. Key focus areas include:

  1. Workload Orchestration & Resource Management: How to model heterogeneous AI4S workloads (e.g., GPU-intensive model training, CPU-bound scientific simulations, batch data preprocessing) in cloud-native terms (Pods, CRDs, Jobs)? How to integrate Kubernetes with HPC schedulers (e.g., Slurm) or optimize scheduling for mixed workloads using Dynamic Resource Allocation (DRA) and GPU partitioning? What lifecycle hooks are needed for long-running scientific simulations paired with AI inference pipelines?
  2. Unified Data Layer for scientific AI: Scientific data is often large-scale, heterogeneous (e.g., protein sequence, sensor data, simulations, imaging), and stored in siloed systems (e.g., HPC storage, object stores, databases). How to design a cloud-native data access layer that unifies these sources with AI-friendly abstractions (e.g., vector databases for molecular structures, cached datasets for model fine-tuning)? What protocols (e.g., S3, CSI, Data Transfer Node APIs) and caching strategies (e.g., Redis, Memcached) ensure low-latency access for AI4S workloads?
  3. AI Toolchain Integration & Model Management: How to standardize the integration of AI toolchains (e.g., model registries, fine-tuning frameworks, inference optimizers) into cloud-native AI4S platforms? What CRDs or APIs are needed for managing scientific AI models (e.g., versioning, lineage, reproducibility of model training with specific scientific datasets)? How to optimize inference for domain-specific models (e.g., 3D molecular models, climate simulation predictors) using techniques like model parallelism and tensor parallelism on cloud-native clusters?
  4. AI4S agent engineering stack: AI4S requires intelligent agents to automate scientific AI workflow lifecycle coordination. How to build cloud-native AI4S agents via CNCF primitives (e.g., Kubernetes CRDs, Argo Workflows, OpenTelemetry)? How to design agents’ decision logic (e.g., adjusting training sharding by GPU utilization) to address general CNCF workflow tools’ (Argo/Tekton) lack of native intelligent coordination for scientific computing?
  5. Reproducibility & Traceability: Scientific discovery requires strict reproducibility of experiments. How to leverage cloud-native technologies (e.g., containerization, environment snapshots, GitOps) to capture full experiment contexts (code, data, models, infrastructure)? What observability primitives (e.g., OpenTelemetry spans for simulation-AI pipelines, metadata logging for scientific parameters) are needed to trace the lineage of scientific insights from data collection to AI-driven conclusions?

Why it matters to CNCF

  1. Emerging scientific workloads: AI4S is a high-impact emerging workload driving breakthroughs in healthcare, energy, and climate science. These workloads need cloud-native tech’s strengths in scalability, resilience and interoperability—giving cloud-native a key chance to be the de facto infrastructure for scientific discovery.
  2. Avoid fragmentation: Today’s AI4S platforms are often siloed (e.g., HPC-centric solutions, proprietary AI toolchains, cloud-specific offerings) leading to vendor lock-in and limited collaboration. A neutral and open cloud-native framework can unify these diverse approaches and CNCF could take a foundational role in this effort..
  3. Fill the HPC-AI-cloud gap: Traditional HPC systems lack the elasticity and AI toolchain integration needed for modern scientific AI. This initiative bridges this gap, expanding cloud-native’s reach beyond enterprise IT to research and scientific computing.
  4. Ecosystem expansion: AI4S will involve academic researchers, industrial R&D teams, HPC experts, and AI engineers. By defining clear cloud-native patterns for AI4S, the community can attract new contributors and projects (e.g., scientific data operators, AI4S-specific schedulers) while integrating existing cloud-native tools into a high-impact use case.

Key technologies & projects involved

  1. Orchestration & Scheduling: Kubernetes, KEDA, Kueue, Dynamic Resource Allocation (DRA), MPI Operator, Slurm-Kubernetes Bridge, Volcano Scheduler
  2. Data Management: MinIO, Ceph, Apache Iceberg (for data lakes), Vector Databases (Chroma, Milvus), Velero (data backup/restore), CSI Drivers for HPC Storage, KubeRay
  3. AI Toolchain: Kubeflow, MLflow (model registry), BentoML (model serving), vLLM/TensorRT (inference optimization), PyTorch Distributed/TensorFlow Distributed (distributed training)
  4. Scientific Computing Integration: MPI, OpenMP, NVIDIA CUDA/AMD ROCm (accelerators), HPC Container Orchestration (Singularity/Kubernetes integration)
  5. Observability & Traceability: OpenTelemetry, Prometheus/Grafana, Jaeger (distributed tracing), Weights & Biases (experiment tracking), GitLab/GitHub Actions (GitOps)
  6. Workflow Automation: Argo Workflows, Tekton, Apache Airflow (scientific pipeline orchestration), Prefect.

Deliverable(s) or exit criteria

Publish “AI for Science (AI4S) Cloud-Native Foundation” whitepaper (≤ 15 pp): Details architectural patterns, reference architecture, workload models, data layer design, key challenges, gap analysis and case studies (e.g., drug discovery, climate modeling).

Tracking document for meeting and progress

Meeting Notes: https://docs.google.com/document/d/1UdWHI_XXglH1w6azJHVRspqt6JAkJ98q9Q4NiNeA3yA/edit?usp=sharing Scope & Outline: https://docs.google.com/document/d/1tI-cVKILZvn6aTuJf0z-xZJFl8gT2g43qn1T5DxfhLI/edit?usp=sharing Please feel free to edit them.

Jiamu1 avatar Jan 06 '26 03:01 Jiamu1

How can I assist with item 4 and 5? Particularly, agent engineering with Argo?

KaylahBuilds avatar Jan 06 '26 04:01 KaylahBuilds

How can I assist with item 4 and 5? Particularly, agent engineering with Argo?

Great! Please feel free to add comments in the track. We could formalize a working group to have regular discussion if the Initiative is approved.

chenyanjunyjy avatar Jan 06 '26 04:01 chenyanjunyjy

/cc

we're building AI4S on kubernetes, interested with this!

kerthcet avatar Jan 21 '26 14:01 kerthcet

One key requirement for AI4S (AI for Science) users—scientists—is a transparent experience. Ideally, they want something as simple as running 1–2 Slurm commands from their desktop, and then having full access to a Linux-like sandbox environment, whether it's for GPU resources or storage. We’ve had experience transitioning AI4S users from Slurm to Kubernetes, and we’d be happy to share insights or help if needed.

panpan0000 avatar Jan 22 '26 06:01 panpan0000

One key requirement for AI4S (AI for Science) users—scientists—is a transparent experience. Ideally, they want something as simple as running 1–2 Slurm commands from their desktop, and then having full access to a Linux-like sandbox environment, whether it's for GPU resources or storage. We’ve had experience transitioning AI4S users from Slurm to Kubernetes, and we’d be happy to share insights or help if needed.

That's definitely one of the key topics that this initiative intending to discuss. It's great if we could have your help.

chenyanjunyjy avatar Jan 26 '26 06:01 chenyanjunyjy

We've published a reference architecture recently covering some of these topics - with details on runtime optimizations, seamless integration with previous environments (including ssh, krb5, etc) and many more. https://architecture.cncf.io/architectures/cern-scientific-computing/

If possible one of the outcomes of this effort could be a domain reference architecture for scientific workloads running on cloud native.

rochaporto avatar Mar 30 '26 11:03 rochaporto

We've published a reference architecture recently covering some of these topics - with details on runtime optimizations, seamless integration with previous environments (including ssh, krb5, etc) and many more. https://architecture.cncf.io/architectures/cern-scientific-computing/

If possible one of the outcomes of this effort could be a domain reference architecture for scientific workloads running on cloud native.

That's great! Thank you for sharing this. We would be glad to explore this direction and collaborate.

Jiamu1 avatar Apr 01 '26 07:04 Jiamu1

We've published a reference architecture recently covering some of these topics - with details on runtime optimizations, seamless integration with previous environments (including ssh, krb5, etc) and many more. https://architecture.cncf.io/architectures/cern-scientific-computing/ If possible one of the outcomes of this effort could be a domain reference architecture for scientific workloads running on cloud native.

That's great! Thank you for sharing this. We would be glad to explore this direction and collaborate.

Excellent. Ping me or the TAB for a follow up.

rochaporto avatar Apr 01 '26 08:04 rochaporto

We've published a reference architecture recently covering some of these topics - with details on runtime optimizations, seamless integration with previous environments (including ssh, krb5, etc) and many more. https://architecture.cncf.io/architectures/cern-scientific-computing/

If possible one of the outcomes of this effort could be a domain reference architecture for scientific workloads running on cloud native.

Thanks for sharing, Ricardo. Great proposal. The reference architecture is a very good point.

chenyanjunyjy avatar Apr 01 '26 12:04 chenyanjunyjy

This initiative would need to be sponsored by a TAG as TOC Artificial Intelligence Initiatives is not a Subproject. Please reach out to the TAG Workloads Foundation leadership!

This initiative looks fantastic and looking forward to see it move forward.

angellk avatar Apr 01 '26 14:04 angellk

This initiative would need to be sponsored by a TAG as TOC Artificial Intelligence Initiatives is not a Subproject. Please reach out to the TAG Workloads Foundation leadership!

This initiative looks fantastic and looking forward to see it move forward.

Thank you for your advice. We will contact TAG Workloads to proceed further.

chenyanjunyjy avatar Apr 08 '26 08:04 chenyanjunyjy

Hi! I joined today's TAG Workloads meeting and found this initiative really interesting. I'm working on GPU resource management with HAMi and OpenShell on Kubernetes, and I think there's a good overlap with the workload orchestration and DRA scheduling topics here. Happy to contribute if there's a working group or doc to collaborate on.

moezdil avatar May 06 '26 14:05 moezdil

Hi! I joined today's TAG Workloads meeting and found this initiative really interesting. I'm working on GPU resource management with HAMi and OpenShell on Kubernetes, and I think there's a good overlap with the workload orchestration and DRA scheduling topics here. Happy to contribute if there's a working group or doc to collaborate on.

Great to have your interest. We are aligning with the TAG on follow-up arrangements and considering setting up a regular working meeting. We will post the info here when it's confirmed.

chenyanjunyjy avatar May 07 '26 11:05 chenyanjunyjy

Interested as well. Please add me in. @chenyanjunyjy (and let me know if you need support)

catblade avatar Jun 16 '26 17:06 catblade

Hi everyone, we've created the #wg-ai4s slack channel with Paco Xu's help, so that we could move this whitepaper forward. We are also willing to allocate ideas and share more info/resources regarding this topic in the channel. Please join if you are interested! Here is the invitation link: https://cloud-native.slack.com/archives/C0BAC6BLFF1

Jiamu1 avatar Jun 17 '26 09:06 Jiamu1

/cc I might be interesting to review and/or contribute

kad avatar Jun 17 '26 13:06 kad

/cc I might be interesting to review and/or contribute

Great if we could have your help. Please go ahead to leave comments or join the slack channel!

Jiamu1 avatar Jun 20 '26 11:06 Jiamu1

Hi everyone, We're planning to hold our first meeting in the coming weeks. Please indicate your availability using the following When2meet link: https://www.when2meet.com/?37654329-NgYPr If none of the available time slots work for you, just let me know, and I'll add some additional options. In our first meeting, we'd like to discuss the scope of the whitepaper, including what topics it should cover, and agree on a roadmap for the writing process. We also aim to work together on a draft outline for the whitepaper.

Jiamu1 avatar Jul 29 '26 08:07 Jiamu1

Hi everyone! We’re planning to hold our first meeting next Thursday, August 13, at 5:00 PM GMT+8 (Beijing time), which corresponds to 11:00 AM CEST in Central Europe and 6:30 PM ACST in Central Australia. Please let me know if this time works for you. If not, I'll be happy to reschedule.

Image

Jiamu1 avatar Aug 05 '26 09:08 Jiamu1

Hi everyone! We’re planning to hold our first meeting next Thursday, August 13, at 5:00 PM GMT+8 (Beijing time), which corresponds to 11:00 AM CEST in Central Europe and 6:30 PM ACST in Central Australia. Please let me know if this time works for you. If not, I'll be happy to reschedule.

Image

  • Update: Here is our Zoom meeting link:

https://zoom-lfx.platform.linuxfoundation.org/meeting/96665243801?password=88ea958a-fce2-4187-8174-36f242eaeac9

  • One tap mobile:

US (iOS): +12532158782,,96665243801#,,,,*378732# US (Android): +12532158782;96665243801#;378732# US (iOS): +13462487799,,96665243801#,,,,*378732# US (Android): +13462487799;96665243801#;378732# Or dial: US: +1 253 215 8782 or +1 346 248 7799 or +1 669 900 6833 or +1 301 715 8592 or +1 312 626 6799 or +1 646 374 8656 or 877 369 0926 (Toll Free) or 855 880 1246 (Toll Free) Canada: +1 647 374 4685 or +1 647 558 0588 or +1 778 907 2071 or +1 204 272 7920 or +1 438 809 7799 or +1 587 328 1099 or 855 703 8985 (Toll Free) Meeting ID: 96665243801 Meeting Passcode: 378732 International numbers: https://zoom.us/u/alwnPIaVT

  • You can also check it on the LFX calendar and register through this link: https://zoom-lfx.platform.linuxfoundation.org/meetings/tag-workloads-foundation?view=week

Jiamu1 avatar Aug 10 '26 02:08 Jiamu1