Federated learning, ethics, and the double black box problem in medical AI

Joshua Hatherley, Anders Søgaard, Angela Ballantyne, Ruben PauwelsarXiv 2025 · DOI

Abstract

Federated Learning (FL) is increasingly viewed as the standard for privacy-preserving medical AI, enabling collaborative model training across multiple institutions without the need for centralized data sharing. However, this paper argues that FL introduces a significant new risk: "federation opacity." By preventing developers and regulators from accessing training data, FL creates a "double black box" problem. This lack of transparency makes it difficult to audit for bias, ensure security against poisoning attacks, and maintain accountability. This conceptual analysis explores the ethical vulnerabilities inherent in decentralized AI training.

Introduction

The development of robust medical AI requires massive, diverse datasets, which often conflicts with strict patient privacy regulations. Federated Learning (FL) attempts to resolve this tension by "bringing the model to the data." While technically promising for privacy, the ethical risks of this decentralized approach have been largely under-examined. This paper addresses the "opacity" problem, suggesting that the benefits of FL—such as fairness and accuracy—may be undermined by the inability to curate or inspect the underlying training data.

Conceptual Framework and FL Architectures

The authors synthesize current research on FL architectures and aggregation algorithms (such as FedAvg and FedProx) to identify systemic ethical vulnerabilities. Unlike centralized learning, where data is pooled, FL relies on a distributed network of training nodes and a central aggregation server.

Table 1: Key terms and definitions for Federated Learning, including Horizontal FL.
Table 2: Definitions for Vertical FL and Federated Transfer Learning.

The paper distinguishes between Horizontal FL (same features, different populations), Vertical FL (different features, same population), and Federated Transfer Learning (different features and populations). Each architecture presents unique challenges for data quality and model interpretability.

The "Double Black Box" Problem

Standard deep learning is already considered a "black box" due to inference opacity—the difficulty in understanding how a model reaches a specific decision. FL adds a second layer: federation opacity. Because training data remains behind hospital firewalls, developers cannot audit the data for historical biases, labeling errors, or representativeness. This "double black box" threatens the reliability of medical AI.

Ethical and Operational Risks

  • Moral Objections and Trust: Even without data sharing, using patient information for purposes they find morally objectionable (the "James" scenario) can constitute an ethical breach.
  • The Burden of "Data Work": In FL, the labor of data labeling falls on physicians rather than centralized "ghost workers," potentially increasing clinician burnout and impacting patient care.
  • Incentive Misalignment: Systems that reward nodes based on data volume may pressure institutions to prioritize data quantity over quality or clinical duties.
  • Security Paradox: The inability to inspect data makes FL vulnerable to "poisoning attacks," where malicious or low-quality data updates subtly degrade the global model.

Key Results and Accountability

The analysis suggests that the perceived benefits of FL may be overstated. Bias mitigation is difficult without data auditing; "more data" does not necessarily mean "diverse data." Furthermore, an "accountability gap" arises when errors occur, as it is nearly impossible to trace whether a failure originated in the model architecture or in the anonymous, local data of a specific training node. Finally, the scalability of FL means that a single flawed update can have a global impact instantaneously.

Conclusion and Future Directions

To address these challenges, the authors advocate for the integration of medical humanities into the design phase of FL protocols. Regulatory frameworks must also evolve, potentially treating FL systems as ongoing clinical research rather than static medical devices. Future research should focus on developing "bifactual explanations" to help clinicians understand model changes following federated updates, ensuring that the "privacy-first" promise of FL does not come at the cost of safety and ethics.

Summary updated

Abstract

Federated learning (FL) is a machine learning approach that allows multiple devices or institutions to collaboratively train a model without sharing their local data with a third-party. FL is considered a promising way to address patient privacy concerns in medical artificial intelligence. The ethical risks of medical FL systems themselves, however, have thus far been underexamined. This paper aims to address this gap. We argue that medical FL presents a new variety of opacity -- federation opacity -- that, in turn, generates a distinctive double black box problem in healthcare AI. We highlight several instances in which the anticipated benefits of medical FL may be exaggerated, and conclude by highlighting key challenges that must be overcome to make FL ethically feasible in medicine.
BibTeX
@misc{hatherley2025federated,
  author = {Joshua Hatherley and Anders Søgaard and Angela Ballantyne and Ruben Pauwels},
  title = {{Federated learning, ethics, and the double black box problem in medical AI}},
  year = {2025},
  eprint = {2504.20656},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.20656},
}
Figure