利用多任務深度學習對血液透析中血壓與低血壓進行預測
Intradialytic Hypotension and Blood Pressure Prediction during Hemodialysis by Multi-Task Deep Learning
摘要
在透析過程中低血壓是一個容易致死的危險因子,而血壓的變動,也會導致病患的身體不適,例如: 腹痛、肌肉痙攣等症狀。若能即時針對病患狀況做處理,則可以避免透析過程中的危險性。因此,如果能預測病患在透析過程是否會有低血壓,也顯得更重要。因此我們期望透過多任務學習同時預測病患在未來半小時內的收縮壓 (systolic blood pressure, SBP) 以及是否會發生急性低血壓等二個目的,將透析臨床資料以及危險因子資料進行前處理,先將二份數據進行合併,再透過滑動窗口將資料轉換成時間序列的型態,並根據美國腎臟基金會 (National Kidney Foundation, NKF)中 KDOQI (Kidney Disease Outcomes Quality Initiative)指引定義透析中低血壓為收縮壓降低超過20mmHg的標準來決定分類標準,使用多任務學習來嘗試創造出通用性更強的模型。本研究中同時使用了一維卷積網路以及自注意力基底的transformer encoder之多任務模型,同時預測分類以及回歸問題,針對RTNet與CTNet進行比較,RTNet之F1為68.8%,AUC為74.1%,相較於CTNet之結果明顯較好;接著使用了不同transformer encoder的數量以及不同的損失函數權重比進行參數調整,嘗試找出最好的組合。最後模型預測在二個transformer encoder以及損失函數權重為1:100的情況下,針對是否有低血壓的分類問題,訓練集之F1為74%、AUC達到了80%,相較於羅吉斯回歸加上LASSO的F1為69.3%、AUC為69.6%的效果明顯改善;在下一時間收縮壓之預測中,R-squared達到將近64%,與單純使用線性回歸預測的62%高了2%,證明了模型能同時解決二個問題且都比以單一問題為目的之模型效果還要好。
During dialysis, hypotension is a risk factor that is easy to die, and changes in blood pressure also cause physical discomfort for the patient, such as abdominal pain, muscle cramps and other symptoms. If the patient’s condition can be solved immediately, the risk during the dialysis can be avoided. Therefore, it is important to predict whether the patient will have intradialytic hypotension (IDH). Therefore, we expect to build a model that can simultaneously predict the patient’s systolic blood pressure (SBP) and whether patients will have hypotension within half an hour. For data collection, there are the clinical data during dialysis and risk factor data. In the pre-processing step, both of the data are merged and converted into a time series format through a sliding window method. According to the KDOQI guidelines, the definition of IDH is that the SBP decrease more than 20mmHg. In our study, the multi-task model composed of a one-dimensional convolutional network and a self-attention-based transformer encoder is used to predict classification and regression problems at the same time. First, the F1 is 68.8% and the AUC is 74.1% in RTNet which are better than that in CTNet. We use the different numbers of transformer encoders and different loss weights, trying to find the best combinations. Finally, the model with two transformer encoders and a loss weight of 1 to 100 is the best set. For the IDH prediction, the f1 is 74% and the AUC is 80% by the proposed model in validation data. In the logistic regression model using l1 penalty, the f1 is 69.3% and the AUC is 69.6%. The result of our proposed model is much better than that in logistic regression. In the SBP prediction within half an hour, R-squared reaches nearly 64% by our model in testing data, which is 2% higher than that in linear regression alone. It is proved that our model can solve two problems at the same time and the effect is better than the model with a single task.