In this study, we introduce ExBEHRT, an extended version of BEHRT (BERT applied to electronic health records), and apply different algorithms to interpret its results. While BEHRT considers only diagnoses and patient age, we extend the feature space to several multimodal records, namely demographics, clinical characteristics, vital signs, smoking status, diagnoses, procedures, medications, and laboratory tests, by applying a novel method to unify the frequencies and temporal dimensions of the different features. We show that additional features significantly improve model performance for various downstream tasks in different diseases. To ensure robustness, we interpret model predictions using an adaptation of expected gradients, which has not been previously applied to transformers with EHR data and provides more granular interpretations than previous approaches such as feature and token importances. Furthermore, by clustering the model representations of oncology patients, we show that the model has an implicit understanding of the disease and is able to classify patients with the same cancer type into different risk groups. Given the additional features and interpretability, ExBEHRT can help make informed decisions about disease trajectories, diagnoses, and risk factors of various diseases.
翻译:在本研究中,我们介绍了ExBEHRT,即BEHRT的扩展版本。BEHRT只考虑诊断和患者年龄,我们将功能空间扩展到多种记录,包括人口统计学、临床特征、生命体征、吸烟状况、诊断、操作、药物和实验室检测,通过应用一种新颖的方法来统一不同特征的频率和时间维度。我们表明,额外的功能显著提高了不同疾病下游任务的模型性能。为了保证鲁棒性,我们使用预期梯度的一种调整方法来解释模型预测结果。这种方法之前还没有应用于使用EHR数据的transformers,并且提供了比以前的方法如特征和令牌重要性更细粒度的解释。此外,通过对肿瘤患者的模型表示进行聚类,我们展示了模型对疾病的隐含理解,并且能够将患有相同癌症类型的患者分类为不同的风险组。鉴于额外的功能和可解释性,ExBEHRT可以帮助关于各种疾病的疾病轨迹、诊断和风险因素做出明智的决策。