mlsanityData to 7 Oct 2026

Masked Transformer for Electrocardiogram Classification

arXiv 2309.07136 ↗First posted 31 Aug 2023eess.SP cs.AI cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

Electrocardiogram (ECG) is one of the most important diagnostic tools in clinical applications. With the advent of advanced algorithms, various deep learning models have been adopted for ECG tasks. However, the potential of Transformer for ECG data has not been fully realized, despite their widespread success in computer vision and natural language processing. In this work, we present Masked Transformer for ECG classification (MTECG), a simple yet effective method which significantly outperforms recent state-of-the-art algorithms in ECG classification. Our approach adapts the image-based masked autoencoders to self-supervised representation learning from ECG time series. We utilize a lightweight Transformer for the encoder and a 1-layer Transformer for the decoder. The ECG signal is split into a sequence of non-overlapping segments along the time dimension, and learnable positional embeddings are added to preserve the sequential information. We construct the Fuwai dataset comprising 220,251 ECG recordings with a broad range of diagnoses, annotated by medical experts, to explore the potential of Transformer. A strong pre-training and fine-tuning recipe is proposed from the empirical study. The experiments demonstrate that the proposed method increases the macro F1 scores by 3.4%-27.5% on the Fuwai dataset, 9.9%-32.0% on the PTB-XL dataset, and 9.4%-39.1% on a multicenter dataset, compared to the alternative methods. We hope that this study could direct future research on the application of Transformer to more ECG tasks.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 20 of its 55 references that are in the map. First posted on arXiv 31 Aug 2023.

Builds on

20 of 55 references.

References · 20

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  5. 2016Layer Normalizationcited by 5,579
  6. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
  7. 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,147
  8. 2021Transformers in Vision: A Surveycited by 1,009
  9. 2016Deep Networks with Stochastic Depthcited by 973
  10. 2020Self-supervised Learning: Generative or Contrastivecited by 693
  11. 2020A Survey on Visual Transformercited by 653
  12. 2022Transformers in Time Series: A Surveycited by 489
8 more
  1. 2021Intriguing Properties of Vision Transformerscited by 446
  2. 2020CLOCS: Contrastive Learning of Cardiac Signals Across Space, Time, and Patientscited by 170
  3. 2019Automatic diagnosis of the 12-lead ECG using a deep neural networkcited by 164
  4. 2020Deep Learning for ECG Analysis: Benchmarks and Insights from PTB-XLcited by 158
  5. 2021Self-supervised representation learning from 12-lead ECG datacited by 80
  6. 2022Self-Supervised Time Series Representation Learning via Cross Reconstruction Transformercited by 47
  7. 2022Lead-agnostic Self-supervised Learning for Local and Global Representations of Electrocardiogramcited by 38
  8. 2022A Closer Look at Self-Supervised Lightweight Vision Transformerscited by 31

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 3.

7 papers.