Open Access
Open access
European Heart Journal - Digital Health

Siamese neural network-enhanced electrocardiography can re-identify anonymised healthcare data

Krzysztof Macierzanka 1
Arunashis Sau 1, 2
Konstantinos Patlatzoglou 1
Libor Myslivecek 1
Ewa Sieliwonczyk 1, 3, 4
Mehak Gurnani 1
Nicholas S. Peters 1, 2
Daniel B. Kramer 1, 6
Fu Shun Ng 1, 2, 7
Show full list: 10 authors
Publication typeJournal Article
Publication date2025-02-25
wos Q1
SJR
CiteScore5.0
Impact factor3.9
ISSN26343916
Abstract
Aims

Many research databases with anonymised patient data contain electrocardiograms (ECGs) from which traditional identifiers have been removed. We evaluated the ability of artificial intelligence (AI) methods to determine the similarity between ECGs and assessed whether they have the potential to be misused to re-identify individuals from anonymised datasets.

Methods and results

We utilised a convolutional Siamese neural network (SNN) architecture, which derives a Euclidean distance similarity metric between two input ECGs. A secondary care dataset of 864,283 ECGs (72,455 subjects) was used. SNN-ECG achieves an accuracy of 91.68% when classifying between 2,689,124 same-subject pairs and 2,689,124 different-subject pairs. This performance increases to 93.61% and 95.97% in outpatient and normal ECG subsets. In a simulated ‘motivated intruder’ test, SNN-ECG can identify individuals from large datasets. In datasets of 100, 1,000, 10,000 and 20,000 ECGs, where only one ECG is also from the reference individual, it achieves success rates of 79.2%, 62.6%, 45.0% and 40.0%, respectively. If this was random, the success would be 1%, 0.1%, 0.01% and 0.005%, respectively. Additional basic information, like subject sex or age-range, enhances performance further. We also found that, on the subject level, ECG pair similarity is clinically relevant; greater ECG dissimilarity associates with all-cause mortality (hazard ratio, 1.22 (1.21-1.23), p < 0.0001) and is additive to an AI-ECG model trained for mortality prediction.

Conclusion

Anonymised ECGs retain information that may facilitate subject re-identification, raising privacy and data protection concerns. However, SNN-ECG models also have positive uses and can enhance risk prediction of cardiovascular disease.

Are you a researcher?

Create a profile to get free access to personal recommendations for colleagues and new articles.
Share
Cite this
GOST | RIS | BibTex
Found error?