Experiment setup
The researcher dashboard coordinates the training rounds. The node operator screen checks the local dataset and connection. I completed 30 runs across five physical devices. The post-run audit found duplicate patient rows spanning training and test in every seed, which limits what the metrics say about new patients.
| Simulated frameworks | FedBioMed, OpenFL, MedFL, NVFlare, Flower |
|---|---|
| Physical deployment | FedBioMed on 5 heterogeneous physical devices |
| Model outputs | 38 targets (37 radiological findings + 1 meta-class) |
| Run matrix | 2 strategies (FedAvg, FedProx) × 3 resolutions (299, 512, 1024 px) × 5 seeds |
| Completed responses | 30 runs × 5 rounds per run × 5 clients = 750 client-round responses |
| Audited dataset table | 524 rows / 521 unique images & patients |
Why I built it
Hospital imaging data rarely leaves local networks. For my undergraduate thesis at Universitas Indonesia, I wanted to see what breaks when a federated chest X-ray classifier moves off a single simulation machine onto real, mismatched hardware.
I ran the entire project solo: literature review, label preparation, five-framework simulation benchmarks, five-node physical deployment, local dashboards for both researcher and hospital operators, and post-run artifact checks.
Multi-node setup
I adapted X-Raydar-CV for 38 multi-label targets—37 radiological findings plus one meta-class—freezing the visual backbone while fine-tuning classifier heads. MedGemma-assisted extraction over images and reports supported label generation (these labels were un-adjudicated by independent clinical reviewers).
In simulation, I compared FedBioMed, OpenFL, MedFL, NVFlare, and Flower. FedBioMed cleanly separated researcher coordination from node-side dataset registration, so I deployed FedBioMed across five heterogeneous physical devices.
The real-device matrix covered FedAvg and FedProx across three resolutions (299, 512, and 1024 px) and five seeds (10, 42, 60, 100, and 123). All 30 runs finished five rounds each, logging 750 client-round responses across the cluster. I also built local dashboards to validate node CSVs, discover online devices, monitor rounds, and inspect outputs.
What the post-run audit caught
Inspecting the retained May 2026 thesis outputs turned up three findings that mattered more than any single accuracy number:
- Duplicate rows across splits: The dataset table had 524 rows representing 521 unique images and patients, and duplicate patient rows crossed train and test splits in every seed. Patient-grouped splitting is mandatory before claiming patient-independent generalization.
- Limits of the score comparison: The archived simulation and deployment runs used evaluation settings whose equivalence could not be verified. The logs show the work involved in device setup and synchronization, while the score difference cannot isolate the effect of moving to physical hardware.
- Checkpoint retention: Retained outputs preserve completion logs, wall-clock training times, and classification metrics, whereas final model checkpoints were omitted from the archived run folders.
A controlled follow-up
Manuscript draft for supervisor review.
| Physical-device deployment | Single-host simulation |
|---|---|
| Five physical devices connected over a local network and ran training rounds with FedBioMed. | Five logical clients ran in sequence on one host using a fixed split with disjoint recorded patient IDs. |
The follow-up compared centralized training with federated strategies using shared starting weights for each matched comparison and the same number of training examples processed. The deployment dashboard and run records above document the physical-device experiments from the thesis.