Applied machine learning scientist · Real world evidence · Health data systems

I answer medical questions with data I am never allowed to see.

I make evidence out of health records that cannot be moved.

From September 2026 I do this inside Johnson & Johnson Innovative Medicine. The roles closest to it sit between applied machine learning, real world evidence, and the engineering underneath both.

Eight steps turn a medical question into evidence. I lead 4 of them, share 3, and the last one is never mine.

  1. The question
  2. The same patient
  3. A permitted route
  4. Running at each site
  5. The data problems
  6. The model
  7. The evidence
  8. The clinical decision

I led it Co-owned Outside my decision

  • Doctorates Dual PhD, electrical engineering at KU Leuven and biomedical sciences at Hasselt University. Both defended in 2024 2024
  • Next Johnson & Johnson Innovative Medicine, from 2026, on a two year Flemish government grant. Year two is inside the company 2026
  • Award Won a personal grant at the largest multiple sclerosis conference in the world, for the method behind the paper below 2025
  • Paper The first personalized federated learning in multiple sclerosis, on records from ordinary care. npj Digital Medicine 2025

01Work

What it produced

The records sit in many places, in many countries, and the rules keep them there. So I send the model to the data instead. That is called federated learning. It is how I do it. It is not what I do. And I keep it simple enough that a small team can run it without me.

Two years ahead, will this person get worse?

Real patient records. Federation simulated Led it. 2025

Personalized federated learning, in npj Digital Medicine. First author.

Privacy is supposed to cost you. Keep the data apart, get a worse model. That much is true, and the bottom bar is what it costs. The top bar is what you get back. All three answer the same question, on the same patients. The score is area under the curve, where 0.50 is a coin toss and 1.00 is perfect.

How it was run

These records were already gathered into one research registry. I split them back into country groups and made each group train on its own, passing only the model between them. So it measures what federation does to the score, not a live federation.

0.50, a coin toss1.00, perfect

Federated, and fitted to each country. 0.8398
All data pooled in one place. 0.8092
Federated, one shared model for everyone. 0.7840

Standard deviations were 0.0019, 0.0012 and 0.0019, across ten repetitions. All three rows are the paper, table 1.

What the top bar beats, and by how much. Take the same setup and switch the country by country fitting off. Against that, it is 7.2% better at telling apart who will get worse from who will not. And 31% better at finding them without flagging half the group. In the usual names, ROC-AUC and AUC-PR. Against the middle bar, everything pooled in one place, it is 3.8% better. That switched off version is not the bar at the bottom.

Ashkan Pirmani presenting at a lectern. The slide behind him reads: Good for
                    all. Not always good enough for one. A general purpose framework can be
                    technically functional, and still practically inaccessible, for the very next
                    project in the same team.
The whole argument, on one slide. A model that is good for everyone on average can still be no use to any single country. That is what the chart above measures, and it is what I have been saying out loud since before I could prove it.

Measured on

26,246patients
283,115clinical episodes
146centers contributed
32country groups

The decision I owned. Stop training one model for everyone. Fit each country instead, with a network built to carry a shared half and a private half at once. I conceived it, ran it, and wrote it. First author in a 73 person collaboration.

The middle bar is the ceiling everyone assumes. It is not. And plain federated averaging, the bottom bar, really is worse than pooling, which is why the field keeps saying privacy is expensive.

One caveat I will make myself, before you make it for me

The pooled model is a single global model. The winner is fitted to each country. So what won here is that fitting, not the sharing on its own. What the sharing did was make the fitting possible without gathering the records first. That is the claim I stand behind, and it is the more useful one. The next thing to prove is that it holds when the groups are real and separate, not split apart after the fact. Pirmani et al., npj Digital Medicine 8(478), 2025. Code is public.

Every number above came out of the paper cited beside it.

Publications

02Networks

None of this works alone

I grew up speaking Turkish, Azerbaijani and Persian. English came fourth, and Dutch is still coming. It is probably why I write in short sentences.

Five people crowded around a laptop at Hack4Health in Flanders Expo, Ghent.
                    Ashkan Pirmani is seated at the left, watching the screen.
Hack4Health, Flanders Expo, Ghent. This is what the work actually looks like most of the time. Five people, one laptop, and nobody in the picture shares a first language.

Who I build with

The people who got me here. Liesbet Peeters at Hasselt and Yves Moreau at KU Leuven promoted both doctorates. The OHDSI community is where most of the standards work I rely on gets argued out.

The networks I work in

The MSBase registry, where the records behind the study above came from. 146 centers, grouped into 32 countries for that study. OHDSI Belgium, and the organizing team for OHDSI Europe 2025. ELIXIR Belgium supports FLkit. It all runs on Flower.

The people I sit between

Clinicians, epidemiologists, registry custodians, engineers and lawyers, across more than thirty countries. None of them share a vocabulary. The industry has names for the work of holding them together: harmonization, phenotype definition, and data quality. It is where a cohort either becomes trustworthy or does not.

03Contact

Bring me a data problem

If you have data that cannot move, or a question that needs more patients than one place holds, I would like to hear about it.

Email