# Privacy-preserving AUC computation in distributed machine learning with PHT-meDIC

**Authors:** Marius de Arruda Botelho, Cem Ata Baykara, Ali Burak Ünal, Nico Pfeifer, Mete Akgün

PMC · DOI: 10.1371/journal.pdig.0000753 · 2025-11-13

## TL;DR

This paper introduces two privacy-preserving methods to compute AUC in distributed machine learning, ensuring data confidentiality while maintaining accuracy and scalability.

## Contribution

The paper presents novel exact and approximate AUC computation methods using encryption techniques for secure distributed machine learning.

## Key findings

- The exact AUC method securely computes the true AUC without revealing private data.
- The approximation method balances computational efficiency and precision effectively.

## Abstract

Ensuring privacy in distributed machine learning while computing the Area Under the Curve (AUC) is a significant challenge because pooling sensitive test data is often not allowed. Although cryptographic methods can address some of these concerns, they may compromise either scalability or accuracy. In this paper, we present two privacy-preserving solutions for secure AUC computation across multiple institutions: (1) an exact global AUC method that handles ties in prediction scores and scales linearly with the number of samples, and (2) an approximation method that substantially reduces runtime while maintaining acceptable accuracy. Our protocols leverage a combination of homomorphic encryption (modified Paillier), symmetric and asymmetric cryptography, and randomized encoding to preserve the confidentiality of true labels and model predictions. We integrate these methods into the Personal Health Train (PHT)-meDIC platform, a distributed machine learning environment designed for healthcare, to demonstrate their correctness and feasibility. Results using both real-world and synthetic datasets confirm the accuracy of our approach: the exact method computes the true AUC without revealing private inputs, and the approximation provides a balanced trade-off between computational efficiency and precision. All relevant code and data is publicly available at https://github.com/PHT-meDIC/PP-AUC, facilitating straightforward adoption and further development within broader distributed learning ecosystems.

A commonly used metric to evaluate the performance of machine learning models is the Area Under the Curve (AUC). Calculating the AUC in distributed machine learning settings is challenging because data cannot be shared between institutions due to privacy concerns. To address this, we developed two privacy-preserving methods: one that calculates the exact AUC securely and another that provides faster approximations with high accuracy. These methods use advanced encryption techniques to protect sensitive data while enabling secure collaboration. We tested them in a real-world healthcare platform called PHT-meDIC and demonstrated their effectiveness. The code and data is publicly available at https://github.com/PHT-meDIC/PP-AUC to support wider adoption.

## Full-text entities

- **Genes:** CCR5 (C-C motif chemokine receptor 5) [NCBI Gene 1234] {aka CC-CKR-5, CCCKR5, CCR-5, CD195, CKR-5, CKR5}, CXCR4 (C-X-C motif chemokine receptor 4) [NCBI Gene 7852] {aka CD184, D2S201E, FB22, HM89, HSY3RR, LCR1}
- **Diseases:** tumor (MESH:D009369), sepsis (MESH:D018805), meDIC (MESH:D000069279), PHT (MESH:D000095027)
- **Chemicals:** DPPE (-), DPPA (MESH:C007523)
- **Species:** Human immunodeficiency virus 1 (no rank) [taxon 11676], Homo sapiens (human, species) [taxon 9606]

## Figures

50 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12614611/full.md

---
Source: https://tomesphere.com/paper/PMC12614611