Placing the Control Plane: Cloud-Native Federated Learning Across Batch-Scheduled HPC
Authors: Paul J. Wright, Huw Day, Ryan K. Daniels, Simon Li, Ruairidh MacLeod, Rob Baxter, Abdelwahab Kawafi, Richard Lane, Christopher Woods, Sadaf R. Alam
Organizations: Bristol Centre for Supercomputing, University of Bristol, Bristol, United Kingdom · School of Engineering Mathematics & Technology, University of Bristol, Bristol, United Kingdom · Research Computing Services, University of Cambridge, Cambridge, United Kingdom · DARE UK, Health Data Research UK, London, United Kingdom · EPCC, University of Edinburgh, Edinburgh, United Kingdom
The United Kingdom's AI Research Resource (AIRR) opens national supercomputers to a community familiar with always-reachable cloud services. With batch-scheduled HPC, a user requests a time-bounded allocation that is then reclaimed. Federated Learning (FL) exposes this tension, pairing a long-lived control plane with short-lived training. We characterize the resulting placement asymmetry: the coordination server sees only model updates and control metadata, so it can sit on neutral infrastructure, whereas the client control process is bound to the participating site's data and must remain within its trust boundary. The outbound-only connection this implies is also how edge clients connect, though the batch-scheduler mismatch is specific to HPC. We demonstrate a cross-silo federation spanning three independently administered systems (Isambard-AI, Isambard 3, and Zenith) using unmodified production FL frameworks (FLARE-wrapped Flower), measure the cost the client placement incurs, and propose Kubernetes-as-a-service as the in-boundary home for the persistent process.
Figures & tables
Fig. 1: FLARE-wrapped Flower configuration for three sites (cyan, green, lavender) and a coordination server (black): Adapted from Figures 2 and 4 of [ 23 ] . Each Flower SuperNode exchanges unmodified Flower gRPC messages with a local gRPC server inside its site’s FLARE client. FLARE relays them over mutual TLS to the default Federated Learning port ( :8002 ) of the FLARE server, and the local gRPC client delivers them to the SuperLink . The operator drives job submission through the default admin port ( :8003 ), also over mTLS. Double-headed arrows denote message flow, with the Client–Server connection initiated by the sites.
Regime
Control process
Inter-job hold
Idle-hold
Realization
Co-located
in the training allocation
retained
retained
this proof-of-concept
Gateway, per-job
decoupled; one allocation per federated job
released
retained
FLARE v2.9 Slurm launcher
Gateway, per-round
decoupled; one allocation per training round
released
released
under investigation by the FLARE team
TABLE I: Control-Process Placement Regimes and Resource-Hold Behavior. The inter-job hold is an allocation kept after a federated job completes; the idle-hold is an allocation kept across the aggregation barrier within a job.
Fig. 2: Cross-silo deployment of the FLARE-wrapped configuration across three systems (Isambard-AI, Isambard 3, and Zenith) : the setup models the real federation across trust boundaries and systems. Each site is a highlighted compute node within (cyan, green, lavender) hosting the site from Figure 1 . The jobs are launched by sbatch (dashed arrow) from the login node and held within a Slurm allocation for the lifetime of the federation. The EC2 instance (black) hosts the server assembly from Figure 1 , and the solid arrows denote connection initiation, with each connection to the server initiated outbound from a site (black) or by the operator (grey), over mutual TLS. No inbound connection crosses a site boundary.
Fig. 3: Federated training loss for a Moderate CNN [ 26 ] on CIFAR-10 [ 27 ] , indexed by epoch (a) and by wall-clock time (b). Indexed by epoch (a), the three participants track one another closely, converging at essentially the same rate, with solid segments joining successive local epochs within a round; indexed by wall-clock time (b), each participant trains at its own rate, reporting the time of each completed epoch as a point on the graph. Isambard-AI and Zenith complete each round’s four local epochs in a few seconds (appearing as a vertical cluster of points) and then hold idle while the CPU-only node (Isambard 3) works through the same four epochs over roughly nine minutes (green squares). The federation only aggregates and advances to the next round when its slowest participant (Isambard 3) finishes.
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.
Yijiang Li, Zilinghan Li, Kyle Chard +4
Mathematics and Computer Science Division, Argonne National Laboratory · Data Science and Learning Division, Argonne National Laboratory · Department of Computer Science, University of Chicago
Federated learning (FL) across multiple HPC facilities faces stochastic admission delays from batch schedulers that dominate wall-clock time. Synchronous FL suffers from severe stragglers, while asynchronous FL accumulates stale updates when queues spike. We propose FedQueue, a queue-aware FL protocol that incorporates scheduler delays directly into training and aggregation, which (i) predicts per-facility queue delays online to budget local work, (ii) applies cutoff-based admission that buffers late arrivals to bound staleness, and (iii) performs staleness-aware aggregation to stabilize heterogeneous local workloads. We prove the convergence for non-convex objectives at rate O(1/R) under bounded staleness, and show that the admission controls yield bounded staleness with high probability under queue-prediction error. Real-world cross-facility deployment of FedQueue shows 20.5% improvement over baseline algorithms. Controlled queue simulations demonstrate robust improvement over the baselines; in particular, up to 60% reduction in time to reach a target accuracy level under high queue variance and non-IID partitions.
Yijiang Li, Emon Dey, Zilinghan Li +3
Mathematics and Computer Science Division, Argonne National Laboratory, Lemont, IL, USA · Data Science and Learning Division, Argonne National Laboratory, Lemont, IL, USA
Hierarchical federated learning (HFL) leverages edge servers for partial aggregation in edge computing. Yet existing FL methods lack mechanisms for jointly optimizing cluster assignment and client selection under data heterogeneity. This paper proposes Fed-BAC, which integrates additive cluster personalization with a two-level bandit framework: contextual bandits at the cloud learn server-to-cluster assignments, while Thompson Sampling at each edge server identifies high-contributing clients. The additive decomposition enables the sharing of knowledge between groups through a globally aggregated network, while cluster-specific networks capture distribution variations. Across three classification benchmarks (CIFAR-10, SVHN, Fashion-MNIST) under moderate (α=0.5) and severe (α=0.1) Dirichlet non-IID partitioning, Fed-BAC achieves distributed accuracy gains of up to +35.5pp over HierFAVG and +8.4pp over IFCA, while requiring only 80% client participation, converging 1.5 to 4.8× faster depending on dataset and accuracy target, and improving cross-server fairness. These gains are further validated at 5× deployment scale on CIFAR-10. The advantage of Fed-BAC increases with heterogeneity severity, confirming that additive cluster personalization becomes increasingly valuable as data distributions diverge.
Satwat Bashir, Tasos Dagiuklas, Muddesar Iqbal
Computer Science and Informatics · London South Bank University · London, UK +1