Modern medicine runs on data. The more patient information AI systems can learn from, the better they become at diagnosing disease, predicting risk, and personalizing treatment. But when it comes to health data, more isn’t always easy to get — and for good reason.
Why Health Data Is Different
Personal health data is among the most sensitive information that exists. It reveals intimate details about a person’s physical and mental condition, and if improperly accessed or exposed, it can lead to discrimination, stigma, financial harm, or a loss of personal autonomy. Patients trust healthcare institutions with their most private information, and that trust must be actively maintained, because without it, patients may hesitate to share their data at all. This willingness to share is not just a matter of individual privacy; it is essential for the broader collaboration between institutions, researchers, and AI developers that makes medical progress possible. Protecting health data isn’t just an ethical obligation. It’s also a legal one, and across the EU, a robust regulatory framework has been built to enforce it.
The Regulatory Landscape
Three major EU frameworks define how health data must be handled:
- The GDPR treats health data as special category data, the most sensitive class of personal information. It requires explicit patient consent, enforces strict security standards, and gives patients full rights over their own records, including the right to access, correct, delete, and transfer their data. Any breach must be reported promptly.
- The EU AI Act goes a step further by classifying health-related AI systems as high-risk. This means developers must demonstrate high-quality training data, clear documentation, human oversight, and active measures to prevent bias. Transparency around how patient information is stored is a core requirement.
- The Cyber Resilience Act (CRA) focuses on the security of digital health software, algorithms, and connected systems. It mandates strong encryption, data integrity protections, and the principle of data minimisation, collecting only what is strictly necessary. Any compromise or manipulation of health information must be reported without delay.
Together, these frameworks send a clear message: health data must be handled with the highest standards of care, transparency, and accountability.
The Problem This Creates for AI
These protections are necessary, but they create the following challenges for AI development:
- Small datasets: health data is often limited within any single institution, restricting how well AI models can be trained
- Restricted sharing: legal and regulatory directives prevent data from moving freely between organisations
- Impact on innovation: without access to diverse, large-scale data, AI models struggle to generalise across different patient populations and healthcare settings
These tensions stall innovation, not because the data doesn’t exist, but because it cannot easily be moved.
Federated Learning: Privacy and Performance Together
Federated learning (also known as collaborative learning) offers a way forward. Instead of centralising data, each institution trains a model locally and shares only the model updates with a central server. The raw data stays with the data owner and never leaves the institution. This is a fundamental principle of federated learning: no patient records, no personal information, and no raw clinical data is ever transmitted or shared. Only model updates travel between institutions and the central server; they carry no personal information.
Privacy is further strengthened through:
- Differential privacy: statistical noise is added to model updates before sharing, making it extremely difficult to reconstruct individual records
- Secure multiparty computation (SMC): multiple parties jointly compute results without any single party seeing the others’ inputs
- Data encryption: model updates are encrypted in transit and decrypted only on the server side
Conclusion
Federated learning demonstrates that privacy and AI performance don’t have to be in conflict. With strong regulations like the GDPR, the AI Act, and the CRA providing the guardrails and privacy-preserving technologies like federated learning providing the tools, it is possible to build powerful, trustworthy AI systems without compromising patient data.
In medical AI, trust is not optional. It is the foundation on which everything else is built.
—
Rytis Augustauskas, Kaunas University of Technology
Funded by the European Union. Views and opinions expressed are however those of the author(s)only and do not necessarily reflect those of the European Union or the European Health and DigitalExecutive Agency. Neither the European Union nor the granting authority can be held responsible for them.


