Skip to main content
QUICK REVIEW

[論文レビュー] Medformer: A Multi-Granularity Patching Transformer for Medical Time-Series Classification

Yihe Wang, Nan Huang|arXiv (Cornell University)|May 24, 2024
Time Series Analysis and ForecastingComputer Science被引用数 16
ひとこと要約

Medformer は cross-channel multi-granularity patching と two-stage multi-granularity self-attention を導入し、医療時系列分類の学習を改善し、EEG および ECG データセットでトップパフォーマンスを達成します。

ABSTRACT

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.

研究の動機と目的

  • チャネル内相関とチャネル間相関を捉えることで、医療時系列の学習を改善する動機づけ。
  • 手作りフィルタを用いずに、マルチ粒度の時間的特徴を活用して複数の周波数帯を模倣する。
  • チャネル間依存性をモデル化するために、クロスチャネルパッチングを導入する。
  • 粒度内外の関係を学習するための2段階の自己注意機構(粒度内および粒度間)を開発する。

提案手法

  • cross-channel multi-granularity patching を提案し、すべてのチャネルに跨る複数のパッチ長からパッチ埋め込みを作成する。
  • 各粒度の埋め込みを得るために線形射影を用い、データ増強を適用して augmented embeddings を生成する。
  • 各粒度に対して粒度埋め込みとルータベクトルを組み込み、異なる処理を可能にする。
  • すべての粒度に共通の注意ブロックを用いた粒度内自己注意を実行し、パッチ埋め込みとルータ埋め込みを更新する。
  • 粒度間自己注意を粒度ルータ間で実行し、クロススケールの相関を捉えるとともに計算量を O(sum Ni^2 + n^2) に削減する。
  • M 個の自己注意層の後にすべての粒度からの出力を連結して、分類の最終表現を形成する。
Figure 1 : Token embedding methods. Vanilla transformer, Autoformer, and Informer [ 28 , 26 , 27 ] employ a single cross-channel timestamp as a token; iTransformer [ 29 ] utilizes an entire channel as a token; and PatchTST and Crossformer [ 30 , 34 ] adopt a patch of timestamps from one channel as a
Figure 1 : Token embedding methods. Vanilla transformer, Autoformer, and Informer [ 28 , 26 , 27 ] employ a single cross-channel timestamp as a token; iTransformer [ 29 ] utilizes an entire channel as a token; and PatchTST and Crossformer [ 30 , 34 ] adopt a patch of timestamps from one channel as a

実験結果

リサーチクエスチョン

  • RQ1医療時系列におけるチャネル間相関の学習を、クロスチャネル・マルチ粒度パッチングは改善できるか。
  • RQ22段階(粒度内および粒度間)の自己注意機構は、粒度内および粒度間の関係を捉えることで性能を改善するか。
  • RQ3マルチ粒度パッチングは handcrafted フィルタリングなしでマルチ周波数帯の特徴を模倣できるか。
  • RQ4Medformer は被験者依存型と被験者非依存型の医療時系列分類タスクでどのように性能を発揮するか。

主な発見

  • Medformer は報告された実験で5つのデータセットの6つの評価指標で最も良い平均ランキングを達成。
  • データセット全体で、被験者依存および被験者非依存の設定で一貫して10のベースラインを上回る。
  • 被験者依存の結果では、Medformer はベースラインと比較して精度、適合率、再現率、F1、AUROC、AUPRC が競争力があるまたはリードしている(具体的な数値は研究で報告)。
  • 被験者非依存の結果では、Medformer はデータセット全体で強い性能を維持し、競合するトランスフォーマーモデルを頻繁に上回る。
  • モデルは多チャネル(クロスチャネル)パッチングとマルチグラニュラリティ分析を強調して、時系列のダイナミクスとチャネル間関係を捉える(例:EEG/ECG 設定)。
Figure 2 : Subject-dependent/independent setups (adopted from [ 13 ] ). In the subject-dependent setup, samples from the same subject can appear in both the training and test sets, causing information leakage. In a subject-independent setup, samples from the same subject are exclusively in either th
Figure 2 : Subject-dependent/independent setups (adopted from [ 13 ] ). In the subject-dependent setup, samples from the same subject can appear in both the training and test sets, causing information leakage. In a subject-independent setup, samples from the same subject are exclusively in either th

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。