arXiv:2610.30229cs.LGOct 2026

Manuscript Offprint

arXiv:2610.30229

Automated screening of privacy risks in medical AI

Konstantinos Vrettos, Eleftherios Tzanis, Haridimos Kondylakis, Evangelia E. Vassalou, Florence X. Doo, Michail E. Klontzas

Konstantinos Vrettos 1^{1}, Eleftherios Tzanis 1,2^{1,2}, Haridimos Kondylakis 3,4^{3,4}, Evangelia E. Vassalou 1,5^{1,5}, Florence X. Doo 6,7^{6,7}, Michail E. Klontzas 1,2,4,5,#^{1,2,4,5,\#}

  1. Artificial Intelligence and Translational Imaging (ATI) Lab, Department of Radiology, School of Medicine, University of Crete, Heraklion, Crete, Greece

  2. Division of Radiology, Department of Clinical Science Intervention and Technology (CLINTEC), Karolinska Institute, Huddinge, Sweden

  3. Computer Science Department, University of Crete, Crete, Greece

  4. Institute of Computer Science, FORTH, Greece

  5. Department of Medical Imaging, University Hospital of Heraklion, Crete, Greece

  6. University of Maryland Institute for Health Computing, North Bethesda, MD, USA

  7. Department of Diagnostic Radiology and Nuclear Medicine University of Maryland, Baltimore, MD, USA

#Corresponding author

Address for correspondence

Michail E. Klontzas, MD, PhD

Assistant Professor of Radiology

Artificial Intelligence and Translational Imaging (ATI) Lab

Department of Radiology, School of Medicine,

University of Crete

Voutes, 71003, Heraklion, Crete, Greece

Tel: +30 2811391351 E-mail: miklontzas@gmail.com; miklontzas@ics.forth.gr; miklontzas@uoc.gr

ORCID: 0000-0003-2731-933X

Abstract

Medical artificial intelligence (AI) models are often shared without their training data, assuming this protects the patients who contributed them. However, a model can reveal whether a patient's records were used in training, a privacy breach known as a membership inference attack. This risk is usually reported as a cohort average, which can appear negligible while individual patients are almost certainly exposed. Identifying potentially vulnerable records before developing a production model could make privacy assessment more practical. We measured each patient's vulnerability to membership inference attack, across 7,789 models trained on six clinical datasets in four modalities, including two adapted pretrained medical models. Training choices changed how many patients had high attack scores, but the patients who ranked highest by risk largely stayed the same across the configurations we tested. Stronger weight decay reduced the exposed cohort up to threefold, yet largely the same patients remained most at risk across training recipes, architectures and initializations, including foundation models. Therefore, we developed a lightweight screening tool that uses four small models to identify patients with high risk of exposure before production-model training. We also assessed if flagged patients could be protected without removing their data. Privacy screening should become incorporated into data preparation for clinical AI.

Main

Medical AI models are routinely shared and deployed without their training data, but withholding records alone does not necessarily ensure patient privacy 1^{1}. Membership inference attacks illustrate this limitation. By querying a trained model, an attacker can infer whether a particular patient's record was part of its training set 2−4^{2-4}. In clinical settings, membership alone can reveal sensitive information, such as a diagnosis, when the record can be linked to a person and inclusion in the training cohort is inherently informative 5^{5}.

Membership-inference risk is usually summarized across the training cohort, and near-chance average attack performance has been read as evidence of privacy 6^{6}. Evaluations at low false-positive rates 3^{3} and among the most vulnerable records 7^{7} show that such averages conceal substantial individual risk variations. A patient-level audit of clinical models identified patients whose membership can be inferred almost with certainty, with very high attack discrimination and documented demographic disparities 5^{5}. However, whether an inexpensive screen can identify the same high-scoring patients consistently and across various clinical training configurations remains a practical open question. Theory links memorization to atypical examples 8,9^{8,9}, whereas empirical studies show that memorization changes during training 10^{10}, with the composition of the training set 3^{3} and with regularization 2,4,11^{2,4,11}.

The distinction has practical consequences. If vulnerability is largely determined by patient data, patients at risk could be identified before a production model is trained. If vulnerability instead changes with each training configuration, risk would need to be assessed after each model is built and the resulting models would require their own privacy audits. Early predictors of memorization exist 12,13^{12,13}, but they read the training trajectory of the model being evaluated and were developed on non-clinical benchmarks. They also do not test whether the same vulnerable records remain among those most at risk across different training approaches. We therefore asked whether a data screening method could identify these patients before production-model training.

Here we evaluate membership-related signals in a study comprising 7,789 trained models across six clinical datasets spanning four modalities: chest radiography, dermoscopy, electrocardiography and magnetic resonance imaging (MRI). The models range from small networks trained from scratch to fine-tuned foundation models. We found that average attack performance conceals substantial variation between patients and that training choices change how many patients exceed a specified risk threshold. Patient rankings by risk persisted across recipes, architectures, initializations and foundation model adaptations, and their records' held-out predictive difficulty (atypicality) helped anticipate the most at-risk patients. This makes risk predictable before training. We translated these findings into an open-source lightweight screening tool, which uses four small proxy models before production-model training to flag at-risk patients and assessed whether the flagged patients could be made less vulnerable to membership inference during training without excluding their records.