Decoder-only transformers are the backbone of the popular generative pre-trained transformer (GPT) series of large language models. In this work, we employ this framework to the analysis of clinical heart time-series data, to create two pre-trained general purpose cardiac models, termed PPG-PT and ECG-PT. We place a special emphasis on making both such pre-trained models fully interpretable. This is achieved firstly through aggregate attention maps which show that, in order to make predictions, the model focuses on similar points in previous cardiac cycles and gradually broadens its attention in deeper layers. Next, we show that tokens with the same value, which occur at different distinct points in the electrocardiography (ECG) and photoplethysmography (PPG) cycle, form separate clusters in high dimensional space. The clusters form according to phase, as the tokens propagate through the transformer blocks. Finally, we highlight that individual attention heads respond to specific physiologically relevent features, such as the dicrotic notch in PPG and the P-wave in ECG. It is also demonstrated that these pre-trained models are straightforward to fine-tune for tasks such as classification of atrial fibrillation (AF), and beat detection in photoplethysmography. For the example of AF, the fine-tuning took 11 minutes of computer time, and achieved the respective leave-one-subject-out AUCs of 0.99 and 0.93 for ECG and PPG within the MIMIC Perform AF dataset. In addition, the fine-tuned beat detector achieved a state-of-the-art F1 score of 98%, as well as uniquely providing a beat confidence level which acts as a signal quality estimator. Importantly, the fine-tuned models for AF screening are also fully explainable, with attention shifting to regions in the context that are strongly indicative of atrial fibrillation.
Deciphering Heartbeat Signatures: A Vision Transformer Approach to Explainable Atrial Fibrillation Detection from ECG Signals
Walkky(沃基公司);Chobanian & Avedisian School of Medicine, Boston University(波士顿大学乔巴尼亚与阿夫迪西安医学院);Clemson University(克莱姆森大学);Northwell Health Physician Partners(诺斯韦尔健康医师伙伴);Lenox Hill Hospital(莱诺克斯山医院)
Interpretable Survival Analysis for Heart Failure Risk Prediction
Stanford University(斯坦福大学);VA Palo Alto Health Care System(帕洛阿尔托退伍军人医疗保健系统);Kaiser Permanente Northern California Division of Research(凯撒医疗北加州研究部);Stanford Medicine(斯坦福医学院)
A Novel Tropical Geometry-based Interpretable Machine Learning Method: Application in Prognosis of Advanced Heart Failure
University of Michigan(密歇根大学);Northeastern University(东北大学);Michigan Institute for Data Science(密歇根数据科学研究所);Michigan Center for Integrative Research in Critical Care(密歇根重症监护综合研究中心)
Comparative Analysis of CNN and Transformer Architectures with Heart Cycle Normalization for Automated Phonocardiogram Classification
Fraunhofer Institute for Software and Systems Engineering ISST(弗劳恩霍夫软件与系统工程研究所);Department of Computer Science, University of Applied Sciences and Arts Dortmund(应用科学大学多特蒙德计算机科学系);Department of Computer Science, TU Dortmund University(图尔努恩大学计算机科学系);Department of Health Informatics, School of Medicine, Witten/Herdecke University(医学学院健康信息学系,维滕/赫尔德克大学);Institute for Medical Informatics, Biometry and Epidemiology (IMIBE), University Hospital Essen(医学信息学、生物统计与流行病学研究所(IMIBE),埃森大学医院)
Time Series Modeling for Heart Rate Prediction: From ARIMA to Transformers
Columbia University(哥伦比亚大学);Central University of Finance and Economics(中央财经大学);Chongqing University(重庆大学);University of Michigan(密歇根大学);Johns Hopkins University(约翰斯·霍普金斯大学);New York University(纽约大学);Cornell University(康奈尔大学)
HeartBEiT: Vision Transformer for Electrocardiogram Data Improves Diagnostic Performance at Low Sample Sizes
The Charles Bronfman Institute for Personalized Medicine, Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院查尔斯·布朗夫曼个性化医学研究所);Mount Sinai Clinical Intelligence Center, Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院西奈山临床智能中心);Department of Genetics and Genomic Sciences, Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院遗传学与基因组科学系);The Hasso Plattner Institute for Digital Health at Mount Sinai(西奈山哈索·普拉特纳数字健康研究所);Department of Medicine, Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院医学系);Mount Sinai Heart, Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院西奈山心脏中心);Department of Cardiology, Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院心脏病学系);Department of Medicine, NYU Langone Health(纽约大学朗格尼健康中心医学系);The Pamela Sklar Division of Psychiatric Genomics, Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院帕梅拉·斯克拉精神病基因组学部门);Department of Psychiatry, Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院精神病学系);Department of Biomedical Engineering, Tel Aviv University(特拉维夫大学生物医学工程系);Division of Nephrology, Department of Medicine, Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院医学系肾脏病科)
Detecting Structural Heart Disease from Electrocardiograms via a Generalized Additive Model of Interpretable Foundation-Model Predictors
Department of Information Center, Fuwai Hospital, Chinese Academy of Medical Sciences and Peking Union Medical College(信息中心部门,阜外医院,中国医学科学院和北京协和医学院);The Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);National Clinical Research Center for Cardiovascular Diseases, Fuwai Hospital, Chinese Academy of Medical Sciences and Peking Union Medical College(心血管疾病临床医学研究中心,阜外医院,中国医学科学院和北京协和医学院)
A Hybrid CNN-Transformer Model for Heart Disease Prediction Using Life History Data
University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);University of Houston(休斯顿大学);Shanghai Jiao Tong University(上海交通大学);New York University(纽约大学);Tulane University(杜兰大学);University of Massachusetts Boston(马萨诸塞大学波士顿分校)
HRVConformer: Neonatal Hypoxic-Ischemic Encephalopathy Classification from the Heart Rate signals
University College Cork(大学学院科克);INFANT Research Centre(婴儿研究中心);Department of Electrical & Electronic Engineering(电气与电子工程系);School of Engineering and Architecture(工程与建筑学院);Pediatrics and Child Health(儿科学与儿童健康)
CardioTabNet: A Novel Hybrid Transformer Model for Heart Disease Prediction using Tabular Medical Data
Qatar University(卡塔尔大学);University of Dhaka(达卡大学);Kuwait College of Science and Technology(科威特科技学院);Vels Institute of Sciences, Technology, and Advanced Studies(维尔斯科学技术与高级研究院)
BEAT-Net: Injecting Biomimetic Spatio-Temporal Priors for Interpretable ECG Diagnosis
School of Information Technology(信息科技学院);Monash University Malaysia(墨尔本大学马来西亚分校);Faculty of Biomedical Engineering(生物医学工程学院);Shenzhen University of Advanced Technology(深圳先进技术大学)
Thomas Lord Department of Computer Science(汤姆斯·劳德计算机科学系);Physics and Biology Unit(物理与生物学单元);Okinawa Institute of Science and Technology Graduate University (OIST)(冲绳科学和技术研究生大学(OIST));Institute of Information Technology(信息技术研究所);Department of Computer Science(计算机科学系);Center for Secure Cyber-Physical Systems (C2PS) and Department of Computer Science(安全网络物理系统中心(C2PS)和计算机科学系);Department of Computer Science and Engineering(计算机科学与工程系)
Renaissance of RNNs in Streaming Clinical Time Series: Compact Recurrence Remains Competitive with Transformers
University of Texas at Dallas(德克萨斯大学达拉斯分校);Independent Researcher(独立研究者);Georgia Institute of Technology(佐治亚理工学院);University of Michigan- Ann Arbor(密歇根大学安娜堡分校)
Safety-Enhanced Autonomous Driving Using Interpretable Sensor Fusion Transformer
SenseTime Research(商汤科技研究院);University of Toronto(多伦多大学);The Chinese University of Hong Kong(香港中文大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)
HeartBERT: A Self-Supervised ECG Embedding Model for Efficient and Effective Medical Signal Analysis
Faculty of Computer Engineering, K. N. Toosi University of Technology(法尔科夫计算机工程学院,卡·努·托西技术大学);School of Electrical and Computer Engineering, University of Tehran(电气与计算机工程学院,德黑兰大学)
A Transformer-based Diffusion Probabilistic Model for Heart Rate and Blood Pressure Forecasting in Intensive Care Unit
The University of Arizona(亚利桑那大学);Zhongshan Hospital, Fudan University(复旦大学附属中山医院);The Shanghai Institute of Cardiovascular Diseases(上海市心血管病研究所);Bio5 Institute, The University of Arizona(亚利桑那大学生物5研究所);College of Nursing, The University of Arizona(亚利桑那大学护理学院)