betaFeedback

WorksComputer Science

Placing the Control Plane: Cloud-Native Federated Learning Across Batch-Scheduled HPC

Abstract

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.

Introduction

The United Kingdom’s AI Research Resource (AIRR) opens national supercomputing to a broader community than these systems traditionally served. Delivered through Isambard-AI [1] at the Bristol Centre for Supercomputing (BriCS) and Dawn and Zenith at the University of Cambridge, AIRR is open to academia, the public sector, and industry, including Small and Medium Enterprises (SMEs) and startups, some supported by the government’s Sovereign AI program. These users arrive at high-performance computing (HPC) systems, where a batch scheduler (e.g., Slurm [2]) queues jobs and allocates bounded blocks of node-hours. A user requests a time-bounded resource allocation; the job waits its turn, runs, and then its resources are reclaimed.

While this model enables national supercomputers to function as shared resources, it differs from the typical cloud allocation model with which many users are familiar, where services remain reachable until released and environment lifetimes are not bounded by a scheduler. This tension is structural and recurs wherever a persistent service must operate within a bounded allocation.

Supporting such workloads requires the coexistence of both models, a practice that is increasingly adopted at BriCS. In addition to batch-scheduled HPC systems, we operate various cloud-hosted services [3] and are developing a Kubernetes-as-a-service platform secured with multi-tenant RDMA (Remote Direct Memory Access) to the Slingshot interconnect [4, 5], providing a foundation for governed services, e.g., Trusted Research Environments (TREs) [6, 7].

Federated Learning (FL) [8, 9], the workload examined in this paper, is a particularly revealing example because it combines long-lived coordination services with scheduler-managed computation within a single application. Conventional machine learning assumes data can be collected in a single location and attached to the compute resource before training begins. Clinical records and many other sensitive research datasets, however, are often tied to a governance boundary an institution establishes around them—what we call, throughout, a site—by regulations, contracts, or sovereignty requirements that prevent such centralization [10, 11].

FL is often studied at the device edge, across many low-powered devices [12, 13]. Its defining constraint, however, is data locality rather than device count or scale [14], a constraint that persists when the paradigm is inverted, with a few powerful HPC nodes instead.

Rather than bringing data to the model, FL trains a model using decentralized data. The coordination server starts a typical star-shaped FL round by broadcasting the current global model weights to a set of clients. Each client trains the model for several local epochs on only the data it can access. The coordination server collects these updates in the form of weights or gradients, and updates the global model (e.g., using the Federated Averaging algorithm [12]), finishing a round. The updated global model is then distributed, and the process repeats for multiple rounds.

This execution model separates naturally into a long-lived control plane and short-lived, compute-intensive training, and the two interact with batch scheduling in fundamentally different ways. The control plane has two kinds of member: one coordination server for the federation, and, for each client (the participant at a site), a control process (the client control process) that holds credentials and drives training. The coordination server must remain reachable throughout the federation’s lifetime, from the first to the last round, a condition that no single bounded allocation can guarantee. The client control process, by contrast, admits two deployment regimes, either holding a training allocation for the federation’s lifetime, or handing compute back to the scheduler between rounds. In both regimes, the core issue is the need for a persistent process that the batch environment cannot host. The two control-plane members differ in degree of exposure. The coordination server sees only model updates and control metadata (it is not information-free, but far less exposing than raw data) and can sit on neutral infrastructure that every site agrees to trust with that residual exposure. In contrast, the client control process, bound to the data, admits no such exit and must remain within the site’s trust boundary. Privacy-preserving mechanisms reduce what the coordination server can infer, and so widen the range of conditions under which off-site placement is acceptable. This placement asymmetry defines the architectural constraint explored throughout this paper.

We examine these challenges across three independently administered systems: Isambard-AI and Isambard 3, operated by BriCS, each with its own network, scheduler, and administrative boundary, and Zenith at the University of Cambridge, with the federation crossing both system and organizational boundaries. In our case, each hosts a single participating site, so in this deployment, site and system coincide. We present two primary contributions, focusing on deployment:

  1. We characterize where persistent FL control processes can live under the constraints of batch scheduling, network posture, and trust boundaries. The coordination and client tiers face this placement problem differently, and we frame the difference as a placement asymmetry: the coordination tier can leave the site boundary; the data-adjacent client tier cannot. The characterization is grounded in a running deployment across three independently administered systems.

  1. We propose a placement design that resolves the mismatch on the infrastructure side and is independent of how training jobs are launched: scheduler integrations and scheduling-aware algorithms change how the batch tier is driven, not where the persistent tiers must live. We deploy production frameworks with no HPC-specific modifications, demonstrate the coordination tier on neutral, always-on infrastructure, and propose a path to a fully in-boundary client via Kubernetes-as-a-service.

Background

FL is a workload in the edge–cloud–HPC continuum. It began with cross-device training at the edge [13], and has since expanded to cross-silo deployments across cloud and national HPC resources. A single federation may include all of these.

Several FL frameworks target this continuum. Production runtimes such as FLARE [15], [16], and Flower [17] are designed for cloud and enterprise settings, while at the HPC end of the continuum, APPFL [18], [19] offers a privacy-preserving framework that scales across heterogeneous research computing environments, and OmniFed [20] targets configurable deployment from the edge to HPC.

Earlier work on bringing FL to HPC has followed two routes. The first adapts the algorithm to tolerate scheduling variability, while the second pairs an HPC-focused framework with orchestration middleware. This includes StreamFlow through Cross-Facility Federated Learning (xFFL [21]) and APPFL with Globus Compute across four Department of Energy supercomputers [22], whose authors note that existing cross-silo frameworks, including FLARE, are “primarily designed for cloud and enterprise settings and do not address HPC-specific constraints.” Common to both is the premise that the batch environment is fixed, and that it is the federation—its algorithm or its deployment machinery—that must adapt.

We take a different route, in a direction also explored by Oak Ridge National Laboratory at NVIDIA FLARE Day 20241. Rather than adapting production FL to the scheduler via HPC-specific middleware, we investigate running production FL on HPC with no HPC-specific modifications, resolving the mismatch on the infrastructure side rather than in the framework or its scheduling logic.

This “zero re-engineering” approach shifts the burden of HPC integration from the researcher to the facility. Rather than stripping out native networking logic and introducing scheduler-aware middleware to move a workflow onto a cluster, practitioners deploy unmodified codebases, and the cloud-native infrastructure tier absorbs the mismatch, preserving each framework’s native behaviors, tooling, and out-of-the-box security posture.

We therefore concentrate on FLARE and Flower, two open-source production frameworks that both support research and production use but approach it from opposite directions:

  1. Flower (flwr) is a lightweight, widely adopted framework with a broad research community. Its architecture uses SuperNode clients that connect to a long-running server, the SuperLink, and it focuses on ease of prototyping;

  1. FLARE (nvflare) has a similar client–server foundation but was designed from the outset for production and high-security settings, including air-gapped environments.

The frameworks differ primarily in their default security posture rather than in their ultimate capabilities. FLARE is secure-by-default; its provisioning step issues a startup kit of mutual TLS (mTLS) certificates to every participant, so connections are encrypted, each site is mutually authenticated, and only credentialed nodes may join a run. Flower supports TLS and node authentication, but these are user-configured. For deployments over sensitive data, this distinction is significant.

That said, the two are complementary, and a recent integration [23] enables a Flower application to run inside the FLARE runtime (see Figure 1). We adopt the FLARE-wrapped Flower configuration (and the term site, as used in that integration’s own diagrams, to denote this governance boundary) throughout because it provides a single deployment path for applications from either framework, without re-engineering the surrounding infrastructure. Our deployment uses the FLARE-provisioned mTLS identities, carries Flower traffic inside FLARE’s authenticated channels, and restricts inbound connections to the coordination server by source-IP allow-list (Section IV-A).

FLARE-wrapped Flower configuration for three sites and a coordination server

Figure 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.

The Scheduler Mismatch

General-purpose FL frameworks assume that the server and clients are reachable throughout the lifetime of a federation. On shared systems, such as those delivered by AIRR, this assumption breaks: jobs enter a queue, receive a bounded wall-clock allocation, and then have their resources reclaimed. This mismatch means neither side of the federation can be hosted as an ordinary batch job, and the two cannot be resolved in the same way. In this section we first establish the deployment configurations in which it arises, then treat the coordination server and clients in turn.

Deployment configurations

FL on a shared HPC system appears in three general configurations of increasing isolation, each exercising more of the production federation machinery. In each case, a project is the unit of allocation and access control on its system, granting a fixed set of users a shared filesystem area (what we refer to as a site). In general, a system may host more than one site as separately administered projects, however, in our deployment each system hosts exactly one site with exactly one client.

  1. Single-node simulation. The coordination server and every client run as separate processes on a single compute node, submitted as one job, within a single site. This is a development configuration that ensures correctness, enables debugging of the FL application, and can simulate a large cross-device federation. The federation never leaves that site, and no network or trust boundary is crossed.

  1. Multi-node, single site. The coordination server and clients occupy separate compute nodes within a single site. Real network connections are now used, and the clients are genuinely distributed, but all nodes share a single administrative boundary and a single data-governance domain.

  1. Cross-silo applications. Clients run on separate, independently governed HPC systems (e.g., Isambard-AI and Zenith) coordinated by a server that belongs to no site. This is the configuration that motivates FL in the first place, with each site’s data behind its own administrative and trust boundary, used jointly for training without being exposed to the other sites.

Each stage introduces requirements the previous did not. A single-node simulation does not have to authenticate a remote participant or maintain an open connection across a network. A single-site deployment is distributed but still relies on a single scheduler and a single set of user credentials, with all data in a single project space. While multiple sites could sit on the same system as individually administered projects, it is only once clients sit on independently administered sites (and, as in our cross-silo deployment, independently administered systems) that authentication across a trust boundary, and the placement of a coordination server that no site owns, become unavoidable. These are precisely the requirements a production federation must satisfy.

Server persistence

In each case, the federation requires a server–client relationship with a persistent coordination server that remains reachable by each client for the federation’s lifetime. In the first two cases, the server can safely run on a compute node within the same allocation as the clients. Because the federation is scheduled together, the server and clients coexist for their lifetime, and when the resources are reclaimed, both are lost together.

In a cross-silo deployment this breaks in three ways. First, each system schedules independently, so a server submitted as a job on one system starts its bounded clock while the clients may still be queuing on theirs, resulting in uncoordinated start times. Second, hosting a server on a compute node would require that node to accept inbound connections, contrary to the systems’ network posture, and would commit a whole node to a process that only aggregates and never trains. Third, HPC systems often have bounded wall-clock limits (24 hours on Isambard-AI, for example), so a server hosted this way may not outlive the client allocations on other systems, and the federation may lose its server mid-run.

The persistently reachable hosts are the login nodes, which serve as shared entry points primarily for job submission. Running a long-lived service or compute-intensive workload degrades them for everyone, and is considered a form of Unacceptable Use under the Acceptable Use Policy2.

Client placement and idle-hold

The client is affected differently. While the server raises problems for reachability, the client raises problems of placement and cost. The client control process holds the site credentials and maintains a connection to the coordination server. It drives training on the system it runs on and can admit two deployment regimes: co-located or gateway (per-job or per-round), both requiring a persistent process but differing in where it can be placed and, in the gateway case, in its driving of the systems’s scheduler to acquire and release compute per-round or per-job. Table 1 summarizes all three.

RegimeControl processInter-job holdIdle-holdRealization
Co-locatedin the training allocationretainedretainedthis proof-of-concept
Gateway, per-jobdecoupled; one allocation per federated jobreleasedretainedFLARE v2.9 · Slurm launcher
Gateway, per-rounddecoupled; one allocation per training roundreleasedreleasedunder investigation by the FLARE team

Table 1. 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.

In the co-located regime, the client control process is packaged with the training process in a single allocation. The client computes only during local training, sitting idle at the synchronization barrier between rounds while node-hours continue to accrue. Our proof-of-concept deploys clients in the co-located regime with the SuperNode runtime and the training process packaged in a single Slurm job, holding an allocation for the whole federation that is busy only during training. The idle-hold we measure in Section IV-C is therefore a cost of this deployment choice, made because the gateway regime is not yet deployable with production frameworks. Even then, in the best case, that regime would trade the idle-hold for per-round queue wait, and would still require a persistent client control process next to the compute.

This straggler-induced idling is a recognized challenge, and algorithmic solutions have addressed it by adapting local workloads to client throughput (FedCompass [24]). Reducing how long a fast client waits at the barrier is the algorithmic half of the problem; returning the remaining idle to the scheduler rather than holding it in the federation is the engineering half, and removing the idle-hold needs both. Even where a technique reduces the idle fraction, a well-architected deployment should still return compute to the scheduler when it is not training. The hold is, in any case, bounded by the wall-clock limit, so a federation running longer than a single allocation must reacquire through the queue regardless.

The gateway regime decouples the control process from the training allocation, and comes in two variants that differ in how often compute is released. In the per-job variant, the control process is lifted out of the compute allocation and a single training job is submitted per federated job; the allocation returns to the scheduler when the job completes, relieving the inter-job hold, but it is held across the job’s training rounds, so the idle-hold persists. This is the variant that will be realized by the first-class Slurm launcher planned for v2.9 (see issue #4908 on GitHub3), operating at one submission per job. In the per-round variant, a job is submitted and released each round, returning the compute nodes to the scheduler at every barrier and removing the idle-hold; the cost is per-round queue wait, which is variable and, on a busy system, potentially long, with resources requested anew each round, rather than once at the start of the job. Full per-round support is targeted for a future FLARE release.

The gateway regime can be realized today by persistent middleware. For example, FedQueue [25], a queue-aware FL protocol, submits each round’s training job from a service that outlives every allocation. Unlike the coordination server, this service cannot rely on neutral infrastructure. It holds site credentials, drives training on the system it runs on, and maintains federation state, so it must remain within the trust boundary. Within that boundary, a compute node satisfies the placement requirement but not the persistence requirement; its allocation is as bounded as any other job’s, and the login nodes are excluded for the reasons given in § 3-B. The client control process needs a host that is in-boundary, persistent, outbound-reachable, and sanctioned, a set of conditions the batch environment cannot provide at once.

Summary

FL and HPC have mismatched persistence expectations. FL assumes the server and the client control process persist for the federation’s lifetime, while HPC provides only bounded allocations.

The server sees only model updates and control metadata, so it can sit on neutral infrastructure if the federation judges that exposure acceptable; Section IV demonstrates this with a coordination server on an external EC2 instance.

The client control process has no such exit. It drives training (and in the gateway regime, submits jobs to the system’s scheduler), and is bound to the site’s data, so it acts with the site’s authority and must stay inside the trust boundary. What it can choose is the deployment regime: either co-located, holding the allocation for the whole federation and paying the idle cost (idle-hold and aggregation time); or gateway, releasing it between rounds (or jobs, depending on the variant) and paying queue wait on each reacquisition (Section IV-C). Either way, a persistent client control process is required (§ 5).

Cross-Silo Proof-of-Concept

We assess the feasibility of running unmodified production FL frameworks on batch-scheduled HPC with a proof-of-concept (PoC) implementation. It is not intended as a performance benchmark, but (1) demonstrates cross-silo federation across three independently administered systems at two institutions through a single unmodified deployment path; (2) resolves the coordination server’s persistence requirement by placing it outside every participating site; and (3) exposes the facility-level question in running form, holding the client control process in a batch allocation and measuring what that placement costs.

Deployment

We deploy our PoC across Isambard-AI and Zenith (as part of the national AIRR) and Isambard 3, a Tier-2 HPC facility. This is the cross-silo configuration in § 3-A, where each system is independently administered with its own network, scheduler, and administrative boundary.

The selection is deliberately heterogeneous, with an Isambard-AI compute node comprising four NVIDIA GH200 Grace-Hopper Superchips, each pairing a Grace CPU with an H100 GPU; a Zenith node comprising eight AMD Instinct MI355X GPUs; and a CPU-only node on Isambard 3 (built on the NVIDIA Grace CPU Superchip, which combines two Grace CPUs for 144 Arm Neoverse V2 cores, no GPU) [1]. This is in line with expectations in FL, which assumes no common hardware across participants.

The coordination server, a SuperLink, is hosted outside the compute and login nodes of all three systems, on a low-cost virtual machine (an AWS EC2 t2.small instance in the London [eu-west-2] region). Although administered by BriCS, it sits on infrastructure outside the trust boundary of all three sites, including the two that BriCS itself operates.4 The coordination server is a natural fit for such placement, as it can persist as long as the federation requires and performs only aggregation.

Figure 2 shows the topology, with the three sites, each hosting a SuperNode (a GH200 node on Isambard-AI, a Grace-Grace node on Isambard 3, and an MI355X node on Zenith) opening an outbound connection to the SuperLink on the AWS EC2 instance. No inbound port is opened on the HPC side, consistent with each participating system’s network posture.

Cross-silo deployment of the FLARE-wrapped configuration across three systems

Figure 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.

The VM’s security group restricts inbound traffic to the known egress addresses of the three participating systems, limiting access to the coordination server to the federation’s own participants rather than the open internet. This network-layer restriction complements the application-layer mTLS (see Section II) so that a connection must both originate from an allow-listed address and present a valid provisioned certificate to join the run, whereas administrative access to the VM is credentialed separately.

While the security group and provisioned certificates govern admission to the federation, access to the sites themselves is governed on a separate identity plane. Users and the operator authenticate to each facility through its own institutional identity provider (IdP), federated under the single sign-on and zero-trust design of [3], so each participating institution retains its own IdP.

This resolves the server-side half of the mismatch for this PoC. The server is always-on, requires neither a login node nor a compute node, and no bounded allocation is pressed into hosting it. As established in § 3, the model updates it receives are not information-free; whether their exposure off-site is acceptable is a decision for the federation’s threat model. Where governance requires it, the same server could instead run inside a participating institution’s own controlled environment, at the cost of provisioning an inbound path to it.

Federated Learning

Before the cross-silo deployment, we verified that the federation trains correctly in the multi-node, single-site configuration of § 3-A, with the server and clients on separate Isambard-AI compute nodes. Equivalence between the FLARE-wrapped and native Flower configurations is established in [23], which licenses the single deployment path adopted throughout.

For the cross-silo deployment, a Moderate CNN [26] was trained on CIFAR-10 [27] using stochastic gradient descent (learning rate 0.01, momentum 0.9), a batch size of 32, four local epochs per round, and eight federation rounds. The partitions are independent and identically distributed (IID) by construction, and software versions were pinned at nvflare=v2.8 and flwr=v1.30.

Figure 3(a) reports the training loss for each participant as a function of epoch, split by round. Indexed this way, the three participants track each other closely and train as expected, with the loss decreasing each round.

Figure 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.

The client-side cost

The deployment resolves the server half of the mismatch, but the client half persists. A client faces a choice between the two regimes of § 3-C, each bearing its own cost.

Co-located regime

  1. Co-located regime: In the first regime, which our deployment uses, a site’s SuperNode runs its ClientApp and training together as a single Slurm job, holding one allocation for the whole federation. Resources are requested once at job submission and remain held for every round; the client never waits to be rescheduled between rounds and need not know in advance how each round will differ. The cost of this deployment is idle-hold. Because the three systems are differently equipped, the training finishes at different times within each round, with the GPU nodes finishing well before the CPU-only node of Isambard 3. The nodes remain connected, but idle.

Figure 3(b) reports the same training loss against wall-clock time. The GPU nodes complete each round’s local epochs well ahead of the CPU-only node and then hold at the aggregation barrier. Each round takes over 10 minutes, of which roughly one minute is the aggregation step. Within that round, the participants do the same amount of computation, at very different rates. The GPU nodes (Isambard-AI and Zenith) complete their four local epochs in a few seconds (appearing as a vertical cluster of points), while the CPU-only Isambard 3 needs about nine minutes. Because aggregation cannot begin until the slowest participant finishes, the GPU nodes then sit idle for roughly nine minutes of every round, about 75 idle node-minutes each over the eight rounds of Figure 3(b). The straggler leaves the GPU nodes idle for nearly 90% of the run. This cost falls on the GPU-equipped participants but lies outside their control, dictated by the slowest participant, not by anything they do, and the co-located regime offers no way to hand a node back before the barrier.

This idle fraction is a property of the testbed, not a general cost of the approach. It is set by the compute mismatch between the slowest and fastest participants. Our deliberate pairing of GPU systems against a CPU-only system drives that mismatch to a near-extreme, placing the fraction near the top of its range. Better-matched participants would see far less; we report it as an existence proof, not a general figure.

  1. Gateway regime: We did not deploy this regime because, at the time of writing, it requires custom middleware [25]. As set out in § 3-C, the per-job variant (which the first-class Slurm launcher planned for FLARE v2.9 will provide) decouples the control process and relieves the inter-job hold, but holds the allocation across rounds and so would not remove the idle-hold measured above. Only the per-round variant would remove it. The persistent client control process would acquire the GPU allocation for each round’s local training and release it once the local update has been computed, before the straggler-wait and aggregation step. The node would then be charged only for the few seconds it computes, at the cost of a per-round queue wait on reacquisition. Either way, as § 3-C established, the regime relocates rather than removes the persistence requirement.

Summary

The server half is resolved for this deployment. The coordination server runs outside every participating site with no bounded allocation pressed into hosting it, sufficient for a single federation under a threat model that accepts that placement. As § 5 discusses, an external VM neither scales to many federations nor suits institutions that provision infrastructure differently; the general resolution, for the server and the client control process alike, is the platform developed there. This leaves the client half open, but neither is fully at home until that platform exists. Both regimes reduce to the placement asymmetry of § 3-C. Whichever cost the client pays, a persistent control process remains inside the trust boundary, and a facility must house it.

A home for the client control process

This section is proposed, not evaluated. The measurements of Section IV cover the external SuperLink and co-located SuperNodes only; neither the gateway regime nor the Kubernetes client placement described here has been deployed. Section IV scoped the external-VM placement to this PoC. The general resolution is to define the host by capability rather than by platform. The client control process requires a host that persists independently of any batch allocation, can reach the coordination server outbound, can access the site storage that training requires, and, where training remains a batch job, is authorized to submit and monitor Slurm jobs.

These are the capabilities any gateway-regime service requires, whether implemented as middleware [25] or as a framework-native launcher; a launcher supplies the software, but the facility must still supply its host. Several realizations satisfy this: a workflow or service node, an adjacent VM within the site perimeter, or, where facility policy permits, an outbound-enabled long-running allocation. The capabilities say what the host must do, and the conditions of § 3-C say what it must be to the site:

  1. In-boundary: operated by the facility, inside the facility’s administrative and network perimeter, beside the site’s data;

  1. Persistent: it outlives any single training allocation, so federation state survives the release and reacquisition of compute;

  1. Outbound-reachable: it can open and hold connections outward to the coordination server, the only network path the federation requires, with no inbound route into the site;

  1. Sanctioned: unlike a daemon on a login node, the host is a supported use of infrastructure the facility provides for exactly this class of workload.

The Kubernetes-as-a-service platform (§ 1), which will live alongside the scheduler, is our intended solution and is currently under development at BriCS. The coordination server and any gateway-regime client control process would then run as Kubernetes services, with the compute-heavy training remaining either as a Slurm-scheduled job, as in the PoC (or as a pod; § 5-A). The platform absorbs the long-lived control processes, while the scheduler can keep the contended compute it was built to allocate.

A fully in-boundary client

The client control process would run as a long-lived pod, with training in an adjacent, compute pod, scheduled by Kubernetes rather than Slurm. Under this architecture, the client would dial outward to the coordination server, leaving the connection model unchanged, but no batch allocation would ever be held or reacquired. The persistence requirement would remain satisfied, but the mismatch would be dissolved, with the process now running where persistence is the platform’s purpose.

On the framework side, the Kubernetes job launcher introduced in FLARE v2.8 can run each training job as a separate pod, and the Slurm launcher planned for v2.9 will submit it to the batch scheduler. Either way, the launcher submits the training job and the facility must still supply the control process’s host. Job submission therefore stays scheduler-specific; what the placement design removes is re-engineering the federation’s networking, authentication, and control logic around the scheduler.

Alignment within the UK TRE community

In a TRE deployment, the client control process needs a home that is both data-adjacent and inside a governance boundary, exactly the in-boundary, persistent conditions of The TRE community is building infrastructure of this shape. SATRE [7] sets a baseline of best-practice capabilities for TREs holding personal data, and K8TRE [28], a SATRE-compliant, Kubernetes-native TRE, shows that those capabilities are realizable on the cloud-native stack our placement design assumes. In the DARE UK lineage, FRIDGE [29] is a mechanism for extending an existing TRE’s governance boundary onto AIRR (a physically separate system, operated with controls sufficient for work carried out within it to be treated as remaining inside the parent TRE’s boundary). AIRR-BRIDGE [30] is productionizing that model, connecting operational TREs at the Alan Turing Institute and King’s College London to AIRR at Dawn and Isambard-AI.

FRIDGE is the natural future placement for the client control process. FL’s requirements are modest, with only outbound reachability to the coordination server (the outbound-only pattern of Section IV) and no inbound route required. Because FRIDGE already runs on Kubernetes, the client control process would be a new tenant on infrastructure that has already supported a SATRE-aligned secure data environment, rather than a new deployment model.

A parallel effort within DARE UK reaches the same outbound-only coordination pattern for Flower by hosting all components on a NetBird zero-trust mesh VPN, with each site’s firewall permitting only specific addresses. One site hosts the SuperLink as the only component accepting inbound connections, restricted to the VPN, while the others connect outbound only. That the same off-scheduler, cloud-native placement and single-inbound-component model also arise under a different transport (a mesh VPN rather than the mTLS-and-security-group approach of Section IV) suggests the pattern is structural to FL-on-HPC rather than specific to a particular framework or network mechanism.

Generality beyond federated learning

This placement problem is not specific to FL. Any workload that pairs a persistent service with batch-scheduled compute faces the same constraint, and model serving is a clear parallel, as with a high-availability Large Language Model (LLM) inference endpoint.

Existing approaches resolve this within the batch model, either through a Slurm-native service architecture [31] or by brokering inference requests to the scheduler via middleware [32]. However, the same infrastructure-side resolution applies. With a model-serving layer such as KServe running on Kubernetes, both the endpoint and its inference pods would sit entirely off the scheduler, while the scheduler retains the training workload it was built for.

The architecture holds even in the absence of data-governance constraints, making this a generic multi-tenant deployment strategy for persistent services on batch-scheduled systems rather than one specific to FL.

Discussion & Next Steps

We have demonstrated cross-silo FL, using unmodified production FL frameworks, across three independently administered supercomputers: Isambard-AI and Isambard 3 at BriCS, and Zenith at the University of Cambridge. Three SuperNodes established authenticated connections through FLARE-provisioned certificates to a SuperLink (the coordination server) running outside every participating site, and FL completed as expected. The federation crossed an organizational boundary as well as three system boundaries, and the placement resolved the server half of the mismatch.

The client half remains in the state Section IV-C measured. Holding the allocation pays idle-hold, releasing it pays queue wait. Either way, a persistent client control process survives. Its placement, however, is no longer unspecified. § 5 states the host as a set of capabilities and four conditions—in-boundary, persistent, outbound-reachable, and sanctioned—and one realization is under construction at BriCS. What remains open is the interaction between long-lived client processes and scheduler-managed compute, which we intend to investigate using both the first-class (per-job) Slurm launcher planned for FLARE v2.9 and the Kubernetes launcher (introduced in the v2.8 release) as part of a TRE deployment.

While this work investigates the infrastructure side of running production FL frameworks on batch-scheduled systems, it treats data access and governance as given. In real-world deployments, particularly those over clinical or other highly sensitive research data, that access is rarely so readily available. Data governance in practice introduces a layer of regulatory constraint over who may initiate a federation and how participating sites are verified. It also raises the question of how privacy-preserving mechanisms (e.g., differential privacy [33] or cryptographic secure aggregation [34]) are integrated with a federation and attested to data custodians. By reducing what the coordination server can infer from the updates it receives, these mechanisms make off-site placement acceptable under a wider range of governance regimes.

The deployment of Section IV was intentionally modest, neither a production-scale demonstration nor a final architecture. Extending the federation across the edge–cloud–HPC continuum and evaluating production-scale models and datasets are the next steps, beginning with the fully in-boundary Kubernetes client. The first milestone is a single federated round with the client control process in a persistent pod and training submitted to Slurm on Isambard-AI, compared on deployment effort against a middleware-based gateway. At the edge, the outbound-only posture HPC requires is the one such clients already operate under, though source-IP allow-listing would give way to the provisioned mTLS identities as the sole admission control for dynamically addressed clients. AIRRCloud, the emerging cloud arm of AIRR, could provision cloud-based clients that join the federation as the HPC SuperNodes do, but without the batch-scheduler mismatch this paper addresses. The longer-term direction is not to adapt each application individually to the constraints of batch scheduling, but to build infrastructure on which persistent services and scheduler-managed computation coexist—the placement asymmetry we characterize is a first step toward it.

Acknowledgments

The authors acknowledge the use of resources provided by the Isambard-AI National AI Research Resource (AIRR) and the use of resources provided by the Isambard 3 Tier-2 HPC Facility. Isambard-AI is operated by the University of Bristol and is funded by the UK Government’s Department for Science, Innovation and Technology (DSIT) via UK Research and Innovation; and the Science and Technology Facilities Council [ST/AIRR/I-A-I/1023]. Isambard 3 is hosted by the University of Bristol and operated by the GW4 Alliance (https://gw4.ac.uk), and is funded by UK Research and Innovation; and the Engineering and Physical Sciences Research Council [EP/X039137/1]. The authors also acknowledge the use of resources provided by the Zenith supercomputer. Zenith is operated by the University of Cambridge and is funded by the UK Government’s Department for Science, Innovation and Technology (DSIT) and UK Research and Innovation (UKRI) as part of the UK Artificial Intelligence Research Resource (AIRR) [ST/Z000890/1], and the National Compute Resource (NCR), and delivered in partnership with Dell Technologies and AMD.

PJW thanks H. Roth and colleagues at NVIDIA for discussions on FLARE that informed this work. HD thanks the EPSRC funded VIVO Hub for Enhanced Independent Living (UKRI142) for their support.

References

References

  1. [1]S. McIntosh-Smith, S. R. Alam, and C. Woods, “Isambard-AI: a leadership class supercomputer optimised specifically for artificial intelligence,” 2024. [Online]. Available: https://arxiv.org/abs/2410.11199
  2. [2]A. B. Yoo, M. A. Jette, and M. Grondona, “Slurm: Simple linux utility for resource management,” in Job Scheduling Strategies for Parallel Processing, D. Feitelson, L. Rudolph, and U. Schwiegelshohn, Eds. Berlin, Heidelberg: Springer Berlin Heidelberg, 2003, pp. 44–60.DOI
  3. [3]S. R. Alam, C. Woods, M. Williams, D. Moore, I. Prior, E. Williams, A. Price, J. Womack, S. McIntosh-Smith, F. Yang-Turner, M. Pryor, and I. Livenson, “Federated single sign-on and zero trust co-design for AI and HPC digital research infrastructures,” in SC24-W: Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis, 2024, pp. 1756–1764. [Online]. Available: https://arxiv.org/abs/2410.18411
  4. [4]P. A. Friese, A. Eleliemy, U.-U. Haus, and M. Schulz, “Closing the hpc-cloud convergence gap: Multi-tenant slingshot rdma for kubernetes,” in 2025 IEEE International Conference on Cluster Computing (CLUSTER), 2025, pp. 1–10.
  5. [5]J. Watson, S. R. Alam, C. Woods, A. Kawafi, T. Green, I. Johnson, E. Pires, J. R. Jones, and U.-U. Haus, “Multi-tenant Kubernetes use cases for AI, secure computing and data services, and more,” in Proceedings of Cray User Group (CUG ’26). Nice, France: ACM, 2026. [Online]. Available: https://arxiv.org/abs/2608.00742
  6. [6]S. Varma, T. Hubbard, D. Seymour, N. Brassington, and S. Madden, “Building trusted research environments - principles and best practices: towards TRE ecosystems,” UK Health Data Research Alliance and NHSX, Tech. Rep., 2021. [Online]. Available: https://doi.org/10.5281/zenodo.5767586
  7. [7]T. Machin, E. Chalstrey, C. Cole, M. Craddock, J. Hetherington, S. Li, J. Madge, M. O’Reilly, J. Robinson, N. Swanepoel, H. Sood, and G. Milligan, “A standard architecture for trusted research environments,” DARE UK, Tech. Rep., 2026, version 2.0.0. [Online]. Available: https://doi.org/10.5281/zenodo.20667487
  8. [8]C. Zhang, Y. Xie, H. Bai, B. Yu, W. Li, and Y. Gao, “A survey on federated learning,” Knowledge-Based Systems, vol. 216, p. 106775, 2021. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0950705121000381DOI
  9. [9]P. Kairouz, H. B. McMahan, B. Avent, A. Bellet, M. Bennis, A. N. Bhagoji, K. Bonawitz, Z. Charles, G. Cormode, R. Cummings, R. G. L. D’Oliveira, H. Eichner, S. El Rouayheb, D. Evans, J. Gardner, Z. Garrett, A. Gasćon, B. Ghazi, P. B. Gibbons, M. Gruteser, Z. Harchaoui, C. He, L. He, Z. Huo, B. Hutchinson, J. Hsu, M. Jaggi, T. Javidi, G. Joshi, M. Khodak, J. Konečný, A. Korolova, F. Koushanfar, S. Koyejo, T. Lepoint, Y. Liu, P. Mittal, M. Mohri, R. Nock, A. Özǧür, R. Pagh, M. Raykova, H. Qi, D. Ramage, R. Raskar, D. Song, W. Song, S. U. Stich, Z. Sun, A. T. Suresh, F. Tramèr, P. Vepakomma, J. Wang, L. Xiong, Z. Xu, Q. Yang, F. X. Yu, H. Yu, and S. Zhao, “Advances and open problems in federated learning,” 2021. [Online]. Available: https://arxiv.org/abs/1912.04977
  10. [10]N. Rieke, J. Hancox, W. Li, F. Milletari, H. R. Roth, S. Albarqouni, S. Bakas, M. N. Galtier, B. A. Landman, K. Maier-Hein, S. Ourselin, M. Sheller, R. M. Summers, A. Trask, D. Xu, M. Baust, and M. J. Cardoso, “The future of digital health with federated learning,” npj Digital Medicine, vol. 3, no. 1, 2020. [Online]. Available: http://dx.doi.org/10.1038/s41746-020-00323-1
  11. [11]M. J. Sheller, B. Edwards, G. A. Reina, J. Martin, S. Pati, A. Kotrotsou, M. Milchenko, W. Xu, D. Marcus, R. R. Colen, and S. Bakas, “Federated learning in medicine: facilitating multi-institutional collaborations without sharing patient data,” Scientific Reports, vol. 10, no. 1, 2020. [Online]. Available: http://dx.doi.org/10.1038/s41598-020-693250-1
  12. [12]B. McMahan, E. Moore, D. Ramage, S. Hampson, and B. A. y. Arcas, “Communication-Efficient Learning of Deep Networks from Decentralized Data,” in Proceedings of the 20th International Conference on Artificial Intelligence and Statistics, ser. Proceedings of Machine Learning Research, A. Singh and J. Zhu, Eds., vol. 54. PMLR, 20–22 Apr 2017, pp. 1273–1282. [Online]. Available: https://proceedings.mlr.press/v54/mcmahan17a.html
  13. [13]A. A. Hard, K. Rao, R. Mathews, S. Ramaswamy, F. Beaufays, S. Augenstein, H. Eichner, C. Kiddon, and D. Ramage, “Federated learning for mobile keyboard prediction,” 2019. [Online]. Available: https://arxiv.org/abs/1811.03604
  14. [14]T. Li, A. K. Sahu, A. Talwalkar, and V. Smith, “Federated learning: Challenges, methods, and future directions,” IEEE Signal Processing Magazine, vol. 37, no. 3, p. 50–60, May 2020. [Online]. Available: http://dx.doi.org/10.1109/MSP.2020.2975749
  15. [15]H. R. Roth, Y. Cheng, Y. Wen, I. Yang, Z. Xu, Y.-T. Hsieh, K. Kersten, A. Harouni, C. Zhao, K. Lu, Z. Zhang, W. Li, A. Myronenko, D. Yang, S. Yang, N. Rieke, A. Quraini, C. Chen, D. Xu, N. Ma, P. Dogra, M. Flores, and A. Feng, “Nvidia flare: Federated learning from simulation to real-world,” 2022. [Online]. Available: https://arxiv.org/abs/2210.13291
  16. [16]H. R. Roth, Z. Xu, Y.-T. Hsieh, A. Renduchintala, I. Yang, Z. Zhang, Y. Wen, S. Yang, K. Lu, K. Kersten, C. Ruckets, D. Xu, C. Chen, Y. Cheng, and A. Feng, “Empowering federated learning for massive models with nvidia flare,” 2024. [Online]. Available: https://arxiv.org/abs/2402.07792
  17. [17]D. J. Beutel, T. Topal, A. Mathur, X. Qiu, J. Fernandez-Marques, Y. Gao, L. Sani, K. H. Li, T. Parcollet, P. B. de Gusmão, and N. D. Lane, “Flower: A friendly federated learning research framework,” 2022. [Online]. Available: https://arxiv.org/abs/2007.14390
  18. [18]M. Ryu, Y. Kim, K. Kim, and R. K. Madduri, “Appfl: open-source software framework for privacy-preserving federated learning,” in 2022 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW). IEEE, 2022, pp. 1074–1083.arxiv.org/abs/2202.03672
  19. [19]Z. Li, S. He, Z. Yang, M. Ryu, K. Kim, and R. K. Madduri, “Advances in appfl: A comprehensive and extensible federated learning framework,” arXiv preprint arXiv:2409.11585, 2024.arxiv.org/abs/2409.11585
  20. [20]S. Tyagi, A. Cozma, O. Kotevska, and F. Wang, “Omnifed: A modular framework for configurable federated learning from edge to hpc,” in Proceedings of the SC ’25 Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis, ser. SC Workshops ’25. New York, NY, USA: Association for Computing Machinery, 2025, p. 516–523. [Online]. Available: https://doi.org/10.1145/3731599.3767397
  21. [21]I. Colonnelli, R. Birke, G. Malenza, G. Mittone, A. Mulone, J. Galliard, L. Y. Chen, S. Bassini, G. Scipione, J. Martinović, V. Vondrák, and M. Aldinucci, “Cross-facility federated learning,” Procedia Computer Science, vol. 240, pp. 3–12, 2024, proceedings of the First EuroHPC user day. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S1877050924016909DOI
  22. [22]Y. Li, Z. Li, K. Chard, I. Foster, T. Munson, R. Madduri, and K. Kim, “Scalable cross-facility federated learning for scientific foundation models on multiple supercomputers,” 2026. [Online]. Available: https://arxiv.org/abs/2603.19544
  23. [23]H. R. Roth, D. J. Beutel, Y. Cheng, J. F. Marques, H. Pan, C. Chen, Z. Zhang, Y. Wen, S. Yang, I. Yang, Y.-T. Hsieh, Z. Xu, D. Xu, N. D. Lane, and A. Feng, “Supercharging federated learning with flower and nvidia flare,” 2024. [Online]. Available: https://arxiv.org/abs/2407.00031
  24. [24]Z. Li, P. Chaturvedi, S. He, H. Chen, G. Singh, V. Kidratenko, E. A. Huerta, K. Kim, and R. Madduri, “Fedcompass: Efficient cross-silo federated learning on heterogeneous client devices using a computing power aware scheduler,” 2024. [Online]. Available: https://arxiv.org/abs/2309.14675
  25. [25]Y. Li, E. Dey, Z. Li, K. Raghavan, R. Madduri, and K. Kim, “Fedqueue: Queue-aware federated learning for cross-facility hpc training,” 2026. [Online]. Available: https://arxiv.org/abs/2605.02125
  26. [26]H. Wang, M. Yurochkin, Y. Sun, D. Papailiopoulos, and Y. Khazaeni, “Federated learning with matched averaging,” in International Conference on Learning Representations, 2020. [Online]. Available: https://openreview.net/forum?id=BkluqFSDSarxiv.org/abs/2002.06440
  27. [27]A. Krizhevsky and G. Hinton, “Learning multiple layers of features from tiny images,” University of Toronto, Toronto, Ontario, Tech. Rep., 2009.
  28. [28]M. Harding, S. Li, M. Craddock, F. Bacon, L. d. Silva, J. Madge, G. Milligan, S. N. Sudhar, G. Svarovsky, and A. Thomas, “K8tre and fridge: Bridging kubernetes-native trusted research environments with high-performance computing for sensitive data,” International Journal of Population Data Science, vol. 11, no. 5, July 2026. [Online]. Available: https://ijpds.org/index.php/ijpds/article/view/3710DOI
  29. [29]M. T. O’Reilly, A. Chuter, J. Madge, M. Craddock, and L. Santos, “Fridge: Federated research infrastructure by data governance extension,” Apr. 2026. [Online]. Available: https://doi.org/10.5281/zenodo.20052251
  30. [30]DARE UK, “AIRR-BRIDGE: Bridging research infrastructure for data governance extension on AIRR,” https://dareuk.org.uk/how-we-work/ongoing-activities/dare-uk-research-exemplars/airr-bridge/, 2026, accessed: 2026-06-09.
  31. [31]A. Dooshtosseini, J. Decker, H. Nolte, and J. Kunkel, “SAIA: a seamless Slurm-native solution for HPC-based services,” The Journal of Supercomputing, vol. 82, no. 7, p. 403, May 2026. [Online]. Available: https://doi.org/10.1007/s11227-026-08508-3
  32. [32]A. Tanikanti, B. Côté, Y. Guo, L. Chen, N. Saint, R. Chard, K. Raffenetti, R. Thakur, T. Uram, I. Foster, M. E. Papka, and V. Vishwanath, “First: Federated inference resource scheduling toolkit for scientific ai model access,” in Proceedings of the SC ’25 Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis, ser. SC Worksops ’25. New York, NY, USA: Association for Computing Machinery, 2025, p. 52–60. [Online]. Available: https://doi.org/10.1145/3731599.3767346
  33. [33]K. Wei, J. Li, M. Ding, C. Ma, H. H. Yang, F. Farokhi, S. Jin, T. Q. S. Quek, and H. V. Poor, “Federated learning with differential privacy: Algorithms and performance analysis,” IEEE Transactions on Information Forensics and Security, vol. 15, p. 3454–3469, Jan. 2020. [Online]. Available: https://doi.org/10.1109/TIFS.2020.2988575
  34. [34]K. Bonawitz, V. Ivanov, B. Kreuter, A. Macedone, H. B. McMahan, S. Patel, D. Ramage, A. Segal, and K. Seth, “Practical secure aggregation for privacy-preserving machine learning,” in Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, ser. CCS ’17. New York, NY, USA: Association for Computing Machinery, 2017, p. 1175–1191. [Online]. Available: https://doi.org/10.1145/3133956.3133982

Paper details

vlnc:W_44snts5h
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents