Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

DeepFake electrocardiograms: the key for open science for artificial intelligence in medicine

View ORCID ProfileVajira Thambawita, Jonas L. Isaksen, Steven A. Hicks, Jonas Ghouse, Gustav Ahlberg, Allan Linneberg, Niels Grarup, Christina Ellervik, Morten Salling Olesen, Torben Hansen, Claus Graff, Niels-Henrik Holstein-Rathlou, Inga Strümke, Hugo L. Hammer, Molly Maleckar, Pål Halvorsen, Michael A. Riegler, Jørgen K. Kanters
doi: https://doi.org/10.1101/2021.04.27.21256189
Vajira Thambawita
1SimulaMet, Oslo 0167, Norway
2Oslo Metropolitan University, Oslo 0167, Norway
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Vajira Thambawita
Jonas L. Isaksen
3University of Copenhagen, DK2200 Copenhagen N, Denmark
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Steven A. Hicks
1SimulaMet, Oslo 0167, Norway
2Oslo Metropolitan University, Oslo 0167, Norway
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Jonas Ghouse
3University of Copenhagen, DK2200 Copenhagen N, Denmark
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Gustav Ahlberg
3University of Copenhagen, DK2200 Copenhagen N, Denmark
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Allan Linneberg
3University of Copenhagen, DK2200 Copenhagen N, Denmark
4Bispebjerg and Frederiksberg Hospital, DK2400 Copenhagen NV, Denmark
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Niels Grarup
3University of Copenhagen, DK2200 Copenhagen N, Denmark
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Christina Ellervik
3University of Copenhagen, DK2200 Copenhagen N, Denmark
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Morten Salling Olesen
3University of Copenhagen, DK2200 Copenhagen N, Denmark
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Torben Hansen
3University of Copenhagen, DK2200 Copenhagen N, Denmark
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Claus Graff
5Aalborg University, Aalborg, Denmark
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Niels-Henrik Holstein-Rathlou
6Novo-Nordisk Foundation, Copenhagen, Denmark
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Inga Strümke
1SimulaMet, Oslo 0167, Norway
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Hugo L. Hammer
1SimulaMet, Oslo 0167, Norway
2Oslo Metropolitan University, Oslo 0167, Norway
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Molly Maleckar
1SimulaMet, Oslo 0167, Norway
2Oslo Metropolitan University, Oslo 0167, Norway
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Pål Halvorsen
1SimulaMet, Oslo 0167, Norway
2Oslo Metropolitan University, Oslo 0167, Norway
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Michael A. Riegler
1SimulaMet, Oslo 0167, Norway
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • For correspondence: jkanters{at}sund.ku.dk michael{at}simula.no
Jørgen K. Kanters
3University of Copenhagen, DK2200 Copenhagen N, Denmark
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • For correspondence: jkanters{at}sund.ku.dk michael{at}simula.no
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Supplementary material
  • Data/Code
  • Preview PDF
Loading

Summary

Recent global developments underscore the prominent role big data have in modern medical science. Privacy issues are a prevalent problem for collecting and sharing data between researchers. Synthetic data generated to represent real data carrying similar information and distribution may alleviate the privacy issue.

In this study, we present generative adversarial networks (GANs) capable of generating realistic synthetic DeepFake 12-lead 10-sec electrocardiograms (ECGs). We have developed and compare two methods, WaveGAN* and Pulse2Pulse GAN. We trained the GANs with 7,233 real normal ECG to produce 121,977 DeepFake normal ECGs. By verifying the ECGs using a commercial ECG interpretation program (MUSE 12SL, GE Healthcare), we demonstrate that the Pulse2Pulse GAN was superior to the WaveGAN to produce realistic ECGs. ECG intervals and amplitudes were similar between the DeepFake and real ECGs. These synthetic ECGs are fully anonymous and cannot be referred to any individual, hence they may be used freely. The synthetic dataset will be available as open access for researchers at OSF.io and the DeepFake generator available at the Python Package Index (PyPI) for generating synthetic ECGs.

In conclusion, we were able to generate realistic synthetic ECGs using adversarial neural networks on normal ECGs from two population studies, i.e., there by addressing the relevant privacy issues in medical datasets.

Competing Interest Statement

The authors have declared no competing interest.

Clinical Trial

N/A

Funding Statement

This work is funded in part by Novo Nordisk Foundation project number NNF18CC0034900.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

The details of the IRB/oversight body that provided approval or exemption for the research described are given below:

We confirm that all experiments were performed in accordance with Helsinki guidelines and regulations of the Danish Regional Committees for Medical and Health Research Ethics. The data studies were approved by the ethical committee of Region Zealand (SJ-113, SJ-114, SJ-191), ethical committee of Copenhagen Amt (KA 98 155).

All necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines and uploaded the relevant EQUATOR Network research reporting checklist(s) and other pertinent material as supplementary files, if applicable.

Yes

Footnotes

  • The title was updated.

Data Availability

The Normal DeepFake ECGs are available at OSF (https://osf.io/6hved/) with corresponding MUSE 12SL ground truth values freely downloadable and usable for ECG algorithm development. The DeepFake generative model is available at https://pypi.org/project/deepfake-ecg/ to generate only synthetic ECGs.

https://osf.io/6hved/

https://pypi.org/project/deepfake-ecg/

Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY-ND 4.0 International license.
Back to top
PreviousNext
Posted May 10, 2021.
Download PDF

Supplementary Material

Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
DeepFake electrocardiograms: the key for open science for artificial intelligence in medicine
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
DeepFake electrocardiograms: the key for open science for artificial intelligence in medicine
Vajira Thambawita, Jonas L. Isaksen, Steven A. Hicks, Jonas Ghouse, Gustav Ahlberg, Allan Linneberg, Niels Grarup, Christina Ellervik, Morten Salling Olesen, Torben Hansen, Claus Graff, Niels-Henrik Holstein-Rathlou, Inga Strümke, Hugo L. Hammer, Molly Maleckar, Pål Halvorsen, Michael A. Riegler, Jørgen K. Kanters
medRxiv 2021.04.27.21256189; doi: https://doi.org/10.1101/2021.04.27.21256189
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
DeepFake electrocardiograms: the key for open science for artificial intelligence in medicine
Vajira Thambawita, Jonas L. Isaksen, Steven A. Hicks, Jonas Ghouse, Gustav Ahlberg, Allan Linneberg, Niels Grarup, Christina Ellervik, Morten Salling Olesen, Torben Hansen, Claus Graff, Niels-Henrik Holstein-Rathlou, Inga Strümke, Hugo L. Hammer, Molly Maleckar, Pål Halvorsen, Michael A. Riegler, Jørgen K. Kanters
medRxiv 2021.04.27.21256189; doi: https://doi.org/10.1101/2021.04.27.21256189

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Cardiovascular Medicine
Subject Areas
All Articles
  • Addiction Medicine (430)
  • Allergy and Immunology (756)
  • Anesthesia (221)
  • Cardiovascular Medicine (3292)
  • Dentistry and Oral Medicine (364)
  • Dermatology (279)
  • Emergency Medicine (479)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1171)
  • Epidemiology (13374)
  • Forensic Medicine (19)
  • Gastroenterology (899)
  • Genetic and Genomic Medicine (5153)
  • Geriatric Medicine (482)
  • Health Economics (783)
  • Health Informatics (3268)
  • Health Policy (1140)
  • Health Systems and Quality Improvement (1190)
  • Hematology (431)
  • HIV/AIDS (1017)
  • Infectious Diseases (except HIV/AIDS) (14627)
  • Intensive Care and Critical Care Medicine (913)
  • Medical Education (477)
  • Medical Ethics (127)
  • Nephrology (523)
  • Neurology (4925)
  • Nursing (262)
  • Nutrition (730)
  • Obstetrics and Gynecology (883)
  • Occupational and Environmental Health (795)
  • Oncology (2524)
  • Ophthalmology (724)
  • Orthopedics (281)
  • Otolaryngology (347)
  • Pain Medicine (323)
  • Palliative Medicine (90)
  • Pathology (543)
  • Pediatrics (1302)
  • Pharmacology and Therapeutics (550)
  • Primary Care Research (557)
  • Psychiatry and Clinical Psychology (4212)
  • Public and Global Health (7504)
  • Radiology and Imaging (1705)
  • Rehabilitation Medicine and Physical Therapy (1013)
  • Respiratory Medicine (980)
  • Rheumatology (480)
  • Sexual and Reproductive Health (497)
  • Sports Medicine (424)
  • Surgery (548)
  • Toxicology (72)
  • Transplantation (236)
  • Urology (205)