← All Projects
Project Deployed

FedDiagnose: Cross-Hospital Federated Diagnostic Modeling

A simulated multi-hospital federated learning platform for chest X-ray classification, keeping patient imaging data local to each institution.

Overview

FedDiagnose simulates five hospital sites training a shared chest X-ray classifier via FedAvg, each holding a distinct, non-IID slice of the ChestX-ray14 dataset. A FastAPI orchestration layer coordinates rounds, and each "hospital" runs in its own Docker container to emulate network isolation.

Architecture

A central Flower server aggregates client updates from five containerized clients; a lightweight monitoring dashboard tracks per-round validation AUROC per site and aggregate model performance, with optional differential-privacy noise injection at the client update step.

Client / Edge
Model Pipeline
Output / API

Tech Stack

Flower PyTorch Docker FastAPI ChestX-ray14

Screenshots

Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4

Lessons Learned

Non-IID label distribution across simulated hospitals was the single biggest driver of slower convergence — far more than communication frequency. Adding differential privacy noise required re-tuning the learning rate schedule, since naive settings destabilized early rounds.

ls -la ./related-projects/