The high global mortality from cardiovascular diseases underscores the need for efficient diagnostic tools such as electrocardiograms (ECGs). Recent deep learning advances have greatly improved ECG analysis by capturing complex and informative patterns from the signals. CNNs remain the dominant architecture for this task, while transformers—despite their success in other domains—have yet to become the leading approach in ECG analysis. A key limitation is their difficulty in capturing local morphological features essential for accurate interpretation. In this regard, we propose a novel Local-Global Attention ECG model (LGA-ECG), which integrates convolutional inductive biases with global self-attention mechanisms. Our approach extracts queries by averaging embeddings obtained from overlapping convolutional windows, enabling fine-grained morphological analysis, while simultaneously modeling global context through attention to keys and values derived from the entire sequence. Experiments conducted on the CODE-15 dataset demonstrate that LGA-ECG outperforms state-of-the-art models and ablation studies validate the effectiveness of the local-global attention strategy. By capturing the hierarchical temporal dependencies and morphological patterns in ECG signals, this new design showcases its potential for clinical deployment with robust automated ECG classification PyTorch Implementation: https://github.com/pedroroblesduten/LGA-ECG .

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

A CNN-Based Local-Global Self-attention via Averaged Window Embeddings for Hierarchical ECG Analysis

  • Arthur Buzelin,
  • Pedro Dutenhefner,
  • Turi Rezende,
  • Luisa G. Porfirio,
  • Pedro Bento,
  • Yan Aquino,
  • Jose Fernandes,
  • Caio Santana,
  • Gabriela Miana,
  • Gisele L. Pappa,
  • Antonio Ribeiro,
  • Wagner Meira

摘要

The high global mortality from cardiovascular diseases underscores the need for efficient diagnostic tools such as electrocardiograms (ECGs). Recent deep learning advances have greatly improved ECG analysis by capturing complex and informative patterns from the signals. CNNs remain the dominant architecture for this task, while transformers—despite their success in other domains—have yet to become the leading approach in ECG analysis. A key limitation is their difficulty in capturing local morphological features essential for accurate interpretation. In this regard, we propose a novel Local-Global Attention ECG model (LGA-ECG), which integrates convolutional inductive biases with global self-attention mechanisms. Our approach extracts queries by averaging embeddings obtained from overlapping convolutional windows, enabling fine-grained morphological analysis, while simultaneously modeling global context through attention to keys and values derived from the entire sequence. Experiments conducted on the CODE-15 dataset demonstrate that LGA-ECG outperforms state-of-the-art models and ablation studies validate the effectiveness of the local-global attention strategy. By capturing the hierarchical temporal dependencies and morphological patterns in ECG signals, this new design showcases its potential for clinical deployment with robust automated ECG classification PyTorch Implementation: https://github.com/pedroroblesduten/LGA-ECG .