Manuscript Offprint

arXiv:2611.03586

FedReady: Bounded Agents for Federation Formation

Ziyue Xu, Holger R. Roth, Chester Chen, Peter Cnudde

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Federated learning (FL) runtimes standardize aggregation and deployment, but each new study still requires federation formation: selecting task-eligible sites and preparing their local data and task code for federated training or analysis. This preparation recurs when the target changes, while raw records and site-private mappings are excluded from cross-site FL messages. We present FedReady, a system that performs federation formation with bounded LLM agents. Agents propose shared contracts, local adapters, and task code; the runtime owns workflow state and accepts artifacts only after checks tied to their digests. Candidate site discovery prioritizes recall; local eligibility verification checks task support before site admission. Once participating sites and artifacts are fixed, conventional federated training or analysis proceeds without readiness agents. Across 39 simulated retinal sites and four tasks, discovery reaches recall 1.00 at precision 0.65; local eligibility verification removes all 17 false positives without losing an eligible site–task pair. The participating sites supply 45,575 task-record instances and complete four 100-round jobs, including one with a runtime-generated contract. Across ten patient cohorts, preparation supports seven patient populations and holds endpoints at three sources as unsupported. Comparison with manually prepared reference populations and analysis (the manual reference) gives a maximum survival-curve difference of 0.001133. We also analyze 19 development failures, targeted classification ablations, and standalone and heterogeneous agent configurations. These results establish the feasibility of task-specific data preparation before ordinary FL training or analysis.

1 Introduction

Federated learning (FL) lets institutions train a shared model without centralizing their records (McMahan et al., 2017). Production runtimes handle aggregation, deployment, and fault tolerance (Bonawitz et al., 2019; Roth et al., 2022), but they start from a federation that already exists: sites that can each emit records under one shared interface and task code that consumes them. We define federation formation as selecting task-eligible sites and preparing their local data and task code for federated training or analysis. Even within an established FL alliance holding structured data, preparing data for a particular FL task remains separate work: defining a shared data contract, writing conversion code against each site's native annotations or clinical fields, and producing task code that runs on the result. This stage recurs per task, not per deployment: disc segmentation and disc detection over the same images need different contracts, adapters, and trainers. Even across a 52-database network that already shares a standardized schema, operators still report the need for feasibility feedback and coordinated code deployment (Burkard et al., 2025).

Automating this stage requires more than code generation. The evidence that decides whether a site qualifies sits behind that site's disclosure boundary: a local codebook that says whether a numeric code means glaucoma, an annotation format that may or may not contain the requested structure, a duration field whose endpoint is defined only in a source publication. Under the configured disclosure policy, the FL server receives approved summaries rather than raw records and site-private mappings; public documentation can still inform interpretation. A common schema does not supply the missing meaning.

LLM agents can now carry out much of this work (Li et al., 2026; Saha et al., 2025), but handing it to them raises a placement question that model quality alone does not answer. A server agent cannot verify a predicate over evidence it cannot see. A site agent that emits plausible adapter code has not shown that the code produces correct records. A reporting agent that finds an error in a log has not shown that the job failed. Each is an ownership failure: a component decides something whose evidence or authority belongs elsewhere.

FedReady performs federation formation with agents bounded by view (evidence they may observe), output (artifacts they may propose), and authority (they cannot accept artifacts or admit sites). Server agents draft the contract and task code; site agents write adapters. The runtime owns transport, per-site state, and artifact acceptance, requiring checks tied to each artifact's digest. With participating sites and artifacts fixed, readiness agents stop and ordinary FL

Figure

Figure 1. Federation formation, illustrated for imaging. A new task encounters incompatible private representations (a). Bounded agents propose a shared data contract, local adapters, and task code; local verifiers check prepared data before site admission (b). Ordinary FL then runs on fixed inputs, without readiness agents (c). The hosted coding-provider channel is not shown (Section 4.2).

training or analysis begins (Figure 1).

The central design rule is to place each decision at the boundary that owns its evidence. Within a fixed formation episode, terminal exclusion loses eligible sites; retained ineligible sites remain removable by later checks. FedReady assigns high-recall candidate site discovery to the server and local eligibility verification to site verifiers that execute generated adapters against locally supported semantics. On 39 simulated retinal sites and four tasks, this pipeline screens out 17 ineligible candidates against the evaluator's ledger, without sending raw evidence to the FL server. The hosted coding provider is a separate trust boundary (Section 4.2).

Our contributions are:

  • Abstraction. We identify federation formation as a recurring, per-task stage between private data and an FL runtime, with an audit graph and four separately checkable validity criteria (Section 3).

  • System. We build FedReady on a production FL runtime, NVIDIA FLARE (Roth et al., 2022), around runtime-owned artifact acceptance and evidence-based decision placement, with request-bound messages, per-site states that cannot skip required checks, task-code execution tests, and training from fixed verified inputs. An extension shares verified procedures among heterogeneous site agents (Section 4).

  • Evaluation. Across 156 imaging site-task decisions, local eligibility verification removes all 17 discovery false positives without recall loss; four 100-round jobs complete, one with a generated contract. Seven of ten patient cohorts support analysis, with maximum survival-curve difference 0.001133 from the manual reference (Section 5).

  • Lessons. An audit of 19 development failures classifies 15 primarily as ownership or state-integrity faults, yielding design lessons for agentic ML pipelines (Sections 5.6 and 6).

Our sites are diverse public datasets simulated as private sites on one host. The evaluation therefore tests logical boundaries, site-selection correctness, and executability; it does not measure labor savings, formal privacy, or clinical validity (Section 6). Field mappings, provenance policies, and the incident index are in the appendix.

References (27)