Federated learning (FL) has become one of the most promising technologies for training artificial intelligence models while respecting data privacy, especially in sectors like healthcare where sensitive information cannot be centralized. However, its real-world adoption faces two major challenges: statistical heterogeneity (non-IID) and class imbalance, as occurs in hospital mortality prediction with prevalence rates below 2%. A recent study on the MIMIC-IV dataset, analyzing over 460,000 admissions distributed across five care units, reveals that no federated strategy dominates all metrics, although FedProx stands out in AUC-ROC (0.897) compared to FedAvg, FedAdagrad, FedAdam, and FedCluster. Yet the classic centralized model still offers superior performance (AUC-ROC 0.929), forcing companies to ask: how to balance privacy, accuracy, and scalability in real environments?
The answer is not unique. In this article we analyze the benchmark findings, extract practical lessons for deploying AI solutions in federated environments, and show how a company like Q2BSTUDIO can help organizations overcome these limitations by combining regularization strategies, cloud AWS/Azure, cybersecurity, and custom software development.
The benchmark context: heterogeneity and imbalance as the norm
The original study distributes 466,351 admissions from MIMIC-IV across five intensive care units (ICUs) to emulate a realistic non-IID scenario, enriching features with an 11-item first-24-hour laboratory panel. In-hospital mortality prevalence is only 1.98%, making metrics like F1 less representative than area under the ROC curve (AUC-ROC) and area under the precision-recall curve (AUC-PR). Over 50 rounds and five random seeds, researchers compared five strategies: FedAvg (the standard), FedProx (which adds a proximal regularization term), FedAdagrad, FedAdam, and FedCluster (which groups similar clients). Results show FedProx achieves the best AUC-ROC (0.897) and AUC-PR (0.230), with statistical significance against all other strategies. However, on F1, FedCluster (0.280) slightly outperforms FedProx (0.273), highlighting that no single solution dominates every metric. The centralized model, trained on all data, achieves AUC-ROC of 0.929 and AUC-PR of 0.312, clearly surpassing any federated approach.
What does this mean for companies wanting to implement FL?
First, client heterogeneity is critical. The per-unit breakdown reveals the global model does not serve all equally: AUC-ROC ranges from 0.809 to 0.902, with the smallest, most clinically distinct units faring worst. This implies companies must evaluate model quality not only with aggregate averages but with per-client or per-group metrics. Second, regularization-based methods like FedProx offer a robust foundation but are not a panacea. The choice of strategy must align with business goals: if global accuracy (AUC-ROC) is the priority, FedProx is the option; if maximizing recall of positive cases (F1) is key, FedCluster might make sense, albeit with less stability.
The opportunity for custom software development and the cloud
Implementing a federated learning system is not trivial. It requires orchestrating multiple clients, managing secure communication, handling data heterogeneity, and scaling training. This is where custom software from Q2BSTUDIO comes in. Our experience in multiplatform software development allows us to build FL infrastructures that integrate with existing data systems, whether on AWS or Azure cloud. Moreover, cybersecurity is a fundamental pillar: patient data must be protected during training and inference, complying with regulations like HIPAA or GDPR. We implement encryption protocols, multi-factor authentication, and continuous auditing, ensuring privacy does not become a weak point.
Artificial intelligence, AI agents, and Business Intelligence
Federated learning is just one piece of the AI ecosystem. Once the global model is trained, organizations can deploy it as an AI agent that assists clinicians in real-time decision-making. These agents can integrate with BI/Power BI dashboards to visualize predictions, alerts, and trends. At Q2BSTUDIO we develop complete solutions: from the data layer (ETL, cloud storage) to the user interface and machine learning models. Our team of AI and cloud experts can adapt federated strategies to your specific needs, optimizing hyperparameters, selecting the target metric, and designing the communication architecture.
Lessons for the industry: beyond the benchmark
The MIMIC-IV benchmark confirms that centralization still yields better raw results, but in many scenarios it is not viable due to privacy or regulation. Companies must accept a controlled performance loss in exchange for regulatory compliance. The key is to minimize that loss through techniques like FedProx and to monitor per-client behavior. It is also advisable to explore variants such as client pruning or hierarchical federated learning. Process automation —another of our services— can help periodically retrain models without manual intervention, using CI/CD pipelines in the cloud.
Conclusion: federation as a bridge between privacy and accuracy
Federated learning is not a magic solution, but it is a strategic tool for sectors where data cannot move. The research analyzed demonstrates that strategies like FedProx offer a reasonable balance, and that per-client performance must be a business metric. At Q2BSTUDIO we combine our expertise in AI, cloud AWS/Azure, cybersecurity, and custom software development to help companies implement these systems securely, scalably, and aligned with their goals. If your organization needs to deploy predictive models while respecting privacy, contact us. Let us build the next generation of federated solutions together.





