Scalable Cross-Facility Federated Learning for Scientific Foundation Models on Multiple Supercomputers
Organizations: Mathematics and Computer Science Division, Argonne National Laboratory · Data Science and Learning Division, Argonne National Laboratory · Department of Computer Science, University of Chicago
Abstract
Artificial Intelligence for scientific applications increasingly requires training large models on data that cannot be centralized due to privacy constraints, data sovereignty, or the sheer volume of data generated. Federated learning (FL) addresses this by enabling collaborative training without centralizing raw data, but scientific applications demand model scales that requires extensive computing resources, typically offered at High Performance Computing (HPC) facilities. Deploying FL experiments across HPC facilities introduces challenges beyond cloud or enterprise settings. We present a comprehensive cross-facility FL framework for heterogeneous HPC environments, built on Advanced Privacy-Preserving Federated Learning (APPFL) framework with Globus Compute and Transfer orchestration, and evaluate it across four U.S. Department of Energy (DOE) leadership-class supercomputers. We demonstrate that FL experiments across HPC facilities are practically achievable, characterize key sources of heterogeneity impacting the training performance, and show that algorithmic choices matter significantly under realistic HPC scheduling conditions. We validate the scientific applicability by fine-tuning a large language model on a chemistry instruction dataset, and identify scheduler-aware algorithm design as a critical open challenge for future deployments.
Figures & tables
| Samples | ||||
| Task Group | HPC | Task | Per Task | Per Group |
| Name Conversion | Perlmutter | IUPAC to molecular formula | 304,490 | 1,217,627 |
| IUPAC to SMILES | 304,379 | |||
| SMILES to molecular formula | 304,379 | |||
| SMILES to IUPAC | 304,379 | |||
| Property Prediction | Polaris | ESOL(Water Solubility) | 1,111 | 78,319 |
| Supercomputer | GPU architecture | GPU memory | DeepSpeed stage | Micro batch size |
|---|---|---|---|---|
| Polaris | NVIDIA A100 | 40GB | ZeRO-3 | 6 |
| Perlmutter | NVIDIA A100 | 40GB | ZeRO-3 | 6 |
| Perlmutter | NVIDIA A100 | 80GB | ZeRO-1 | 16 |
| Aurora | Intel Max 1550 Series | 64GB | ZeRO-1 | 8 |
| Frontier | AMD MI250X | 64GB | ZeRO-1 | 12 |
| Facility | GPU architecture | Nodes | Total GPUs | Effective batch size |
|---|---|---|---|---|
| Polaris | NVIDIA A100 | 63 (1 node failure) | 252 | |
| Perlmutter | NVIDIA A100 40GB | 64 | 256 | |
| Aurora | Intel Max 1550 Series | 64 | 768 | |
| Frontier | AMD MI250X | 64 | 512 |
| Facility | GPU architecture | Nodes | Total GPUs | Effective batch size |
|---|---|---|---|---|
| Polaris | NVIDIA A100 | 2 | 8 | |
| Perlmutter | NVIDIA A100 40GB | 2 | 8 | |
| Aurora | Intel Max 1550 Series | 2 | 24 | |
| Frontier | AMD MI250X | 2 | 16 |
| Algorithm | Total | Polaris | Aurora | Frontier | Perlmutter |
|---|---|---|---|---|---|
| FedAvg | 40 | 10 | 10 | 10 | 10 |
| FedAsync | 40 | 11 | 6 | 14 | 9 |
| FedCompass | 40 | 11 | 9 | 11 | 9 |
| FedBuff | 40 | 8 | 5 | 17 | 10 |
| Destination | Min | Avg | Max | Mean Dev. |
|---|---|---|---|---|
| Aurora (ALCF) | 0.122 | 0.266 | 0.432 | 0.094 |
| Polaris (ALCF) | 0.112 | 0.210 | 0.342 | 0.074 |
| Frontier (OLCF) | 17.236 | 17.281 | 17.321 | 0.167 |
| Perlmutter (NERSC) | 45.178 | 45.205 | 45.264 | 0.286 |
Federated Learning
Federated learning trains shared models across data holders without requiring them to pool their raw data.
See all 943 papers