Skip to main content
QUICK REVIEW

[論文レビュー] EHRMamba: Towards Generalizable and Scalable Foundation Models for Electronic Health Records

Adibvafa Fallahpour, Mahshid Alinoori|arXiv (Cornell University)|May 23, 2024
Machine Learning in HealthcareComputer Science被引用数 7
ひとこと要約

EHRMambaはMambaアーキテクチャに基づく長い文脈を持つ基盤モデルをEHRに対してスケーラブルに導入し、Multitask Prompted Finetuning (MPF) により複数の臨床タスクとEHR予測の同時学習を可能にし、MIMIC-IVタスクで最先端の結果を達成。

ABSTRACT

Transformers have significantly advanced the modeling of Electronic Health Records (EHR), yet their deployment in real-world healthcare is limited by several key challenges. Firstly, the quadratic computational cost and insufficient context length of these models hinder hospitals' ability in processing the extensive medical histories typical in EHR data. Additionally, existing models employ separate finetuning for each clinical task, complicating maintenance in healthcare environments. Moreover, these models focus exclusively on either clinical prediction or EHR forecasting, lacking proficiency in both tasks. To overcome these limitations, we introduce EHRMamba, a robust foundation model built on the Mamba architecture. EHRMamba can process sequences up to 300% longer than previous models due to its linear computational cost. We also introduce a novel approach to Multitask Prompted Finetuning (MPF) for EHR data, which enables EHRMamba to simultaneously learn multiple clinical tasks in a single finetuning phase, significantly enhancing deployment and cross-task generalization. Furthermore, our model leverages the HL7 FHIR data standard to simplify integration into existing hospital systems. Alongside EHRMamba, we open-source Odyssey, a toolkit designed to support the development and deployment of EHR foundation models, with an emphasis on data standardization and interpretability. Our evaluations on the MIMIC-IV dataset demonstrate that EHRMamba advances state-of-the-art performance across 6 major clinical tasks and excels in EHR forecasting, marking a significant leap forward in the field.

研究の動機と目的

  • 現実の病院におけるTransformerベースのEHRモデルの計算と文脈長の制約を解消する。
  • ファインチューニングのオーバーヘッドを削減し、タスク間一般化を可能にすることでスケーラブルなデプロイを実現する。
  • 単一のフレームワーク内でEHR予測と臨床予測モデリングの両方をサポートする。
  • HL7 FHIRを活用して病院システムへの統合を容易にする。
  • データを標準化し解釈性を向上させるツール(Odyssey)を提供する。

提案手法

  • 線形時間推論と拡張された文脈長を達成するために、MambaベースのState Space Modelアーキテクチャを採用する。
  • イベントトークンを時間、年齢、訪問、位置属性と融合するEarMamba埋め込み層を導入する。
  • ラベルなしEHR系列でNext Token Prediction (NTP) または Masked Language Modeling (MLM) による事前学習を行う。
  • Multitask Prompted Finetuning (MPF) を用いてファインチューニングを実施し、[CLS]と[REG]をタスク固有のプロンプトに置き換え、一段階で多タスク学習を可能にする。
  • 予測未来トークンを予測するために事前学習中に予測ヘッド(因果言語モデル)を使用する。
  • MPFファインチューニング時に複数の臨床アウトカムを予測する臨床予測ヘッド(二値分類)を使用する。
Figure 1: Patient sequence example. Visit 1 has a procedure and two medications; visit 2, after two weeks, has three lab tests and another procedure. The concept embedding of each token is added to its attribute embeddings (type, age, time, segment, visit order, position) to encode the sequence.
Figure 1: Patient sequence example. Visit 1 has a procedure and two medications; visit 2, after two weeks, has three lab tests and another procedure. The concept embedding of each token is added to its attribute embeddings (type, age, time, segment, visit order, position) to encode the sequence.

実験結果

リサーチクエスチョン

  • RQ1 EhrMambaは線形コストでより長いEHR系列を処理でき、病院での実用的な展開を可能にするか?
  • RQ2Multitask Prompted Finetuning (MPF)は跨タスクの一般化を改善し、複数の臨床タスクの保守管理のオーバーヘッドを削減するか?
  • RQ3単一のモデルでEHR予測と臨床予測モデリングを効果的に実行できるか?
  • RQ4HL7 FHIRベースの病院ワークフローとどの程度統合され、解釈性機能はどの程度か?
  • RQ5MIMIC-IVを用いた標準EHRタスクで、強力なベースラインと比較してどの程度の性能向上が得られるか?

主な発見

  • EHRMambaはMIMIC-IVの六つの臨床予測タスクで最先端の性能を達成。
  • モデルはベースラインに対して記憶容量と計算効率が改善されている。
  • MPFはクロス・タスク知識共有を可能にし、新しいタスクへの展開をアーキテクチャの変更なしで簡素化する。
  • EhrMambaは従来のトランスフォーマーより文脈長を4倍拡張しつつ、線形推論コストを維持している。
  • 統合勾配を用いた解釈性を備えた事例研究は、死亡予測に対するトークンレベルの寄与度を示している。
Figure 2: EhrMamba architecture. Pretraining uses the forecasting head and finetuning uses the clinical prediction head.
Figure 2: EhrMamba architecture. Pretraining uses the forecasting head and finetuning uses the clinical prediction head.

この論文を読む

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

Nubintでこの論文を読む

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