FedQueue: Queue-Aware Federated Learning for Cross-Facility HPC Training
Abstract
Lay Summary
Modern scientific AI models are growing so large that training them often requires combining computational resources from multiple supercomputing centers, but supercomputers do not run jobs on demand — every job waits in a queue, and these wait times can vary wildly from minutes to hours depending on how busy the system is. When several centers try to train a model together, these unpredictable delays badly disrupt the process: faster centers sit idle waiting for slower ones, or rush too far ahead. We built a training method called FedQueue that anticipates each center's queue wait and adjusts its workload accordingly, so no one is left idle and no one races too far ahead. When updates arrive late, we have rules for incorporating them carefully so the training stays stable, with mathematical guarantees that the model still converges. We tested FedQueue on four supercomputers in the US and found it trains models roughly 20% better than existing approaches, making it more practical to build scientific AI across institutions that cannot share raw data.