Medformer: A Multi-Granularity Patching Transformer for Medical Time-Series Classification

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wang, Yihe, Huang, Nan, Li, Taida, Yan, Yujun, Zhang, Xiang
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914978758393856
author Wang, Yihe
Huang, Nan
Li, Taida
Yan, Yujun
Zhang, Xiang
author_facet Wang, Yihe
Huang, Nan
Li, Taida
Yan, Yujun
Zhang, Xiang
contents Medical time series (MedTS) data, such as Electroencephalography (EEG) and Electrocardiography (ECG), play a crucial role in healthcare, such as diagnosing brain and heart diseases. Existing methods for MedTS classification primarily rely on handcrafted biomarkers extraction and CNN-based models, with limited exploration of transformer-based models. In this paper, we introduce Medformer, a multi-granularity patching transformer tailored specifically for MedTS classification. Our method incorporates three novel mechanisms to leverage the unique characteristics of MedTS: cross-channel patching to leverage inter-channel correlations, multi-granularity embedding for capturing features at different scales, and two-stage (intra- and inter-granularity) multi-granularity self-attention for learning features and correlations within and among granularities. We conduct extensive experiments on five public datasets under both subject-dependent and challenging subject-independent setups. Results demonstrate Medformer's superiority over 10 baselines, achieving top averaged ranking across five datasets on all six evaluation metrics. These findings underscore the significant impact of our method on healthcare applications, such as diagnosing Myocardial Infarction, Alzheimer's, and Parkinson's disease. We release the source code at https://github.com/DL4mHealth/Medformer.
format Preprint
id arxiv_https___arxiv_org_abs_2405_19363
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Medformer: A Multi-Granularity Patching Transformer for Medical Time-Series Classification
Wang, Yihe
Huang, Nan
Li, Taida
Yan, Yujun
Zhang, Xiang
Signal Processing
Artificial Intelligence
Machine Learning
Medical time series (MedTS) data, such as Electroencephalography (EEG) and Electrocardiography (ECG), play a crucial role in healthcare, such as diagnosing brain and heart diseases. Existing methods for MedTS classification primarily rely on handcrafted biomarkers extraction and CNN-based models, with limited exploration of transformer-based models. In this paper, we introduce Medformer, a multi-granularity patching transformer tailored specifically for MedTS classification. Our method incorporates three novel mechanisms to leverage the unique characteristics of MedTS: cross-channel patching to leverage inter-channel correlations, multi-granularity embedding for capturing features at different scales, and two-stage (intra- and inter-granularity) multi-granularity self-attention for learning features and correlations within and among granularities. We conduct extensive experiments on five public datasets under both subject-dependent and challenging subject-independent setups. Results demonstrate Medformer's superiority over 10 baselines, achieving top averaged ranking across five datasets on all six evaluation metrics. These findings underscore the significant impact of our method on healthcare applications, such as diagnosing Myocardial Infarction, Alzheimer's, and Parkinson's disease. We release the source code at https://github.com/DL4mHealth/Medformer.
title Medformer: A Multi-Granularity Patching Transformer for Medical Time-Series Classification
topic Signal Processing
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2405.19363