Graph Transformers on EHRs: Better Representation Improves Downstream Performance
Raphael Poulain, Rahmatollah Beheshti
Abstract
Following the success of transformer-based methods across various machine learning applications, their adoption to healthcare predictive tasks using electronic health records (EHRs) has also expanded extensively. Similarly, graph-based methods have been shown to be very effective in capturing inherent graph-type relationships in EHRs, leading to improved downstream performance. Although integrating these two families of approaches seems like a natural next step, in practice, creating such a design is challenging and has not been done. This is partly due to known EHR problems, such as high sparsity, making extracting meaningful temporal representations of medical visits challenging. In this study, we propose GT-BEHRT, a new approach that leverages temporal visit embeddings extracted from a graph transformer and uses a BERT-based model to obtain more robust patient representations, especially on longer EHR sequences. The graphbased approach allows GT-BEHRT to implicitly capture the intrinsic graphical relationships between medical observations (concepts), while the BERT model extracts the temporal relationships between visits, loosely mimicking the clinicians' decision-making process. As part of our method, we also present a two-step pretraining strategy for learning better graphical and temporal representations. We show how such improved representations can ultimately achieve state-of-the-art performance in a variety of standard medical predictive tasks, demonstrating the versatility of our approach 1 .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers2
- Multimodal Medical Code TokenizerXiaorui Su, Shvat Messica, Yepeng Huang, Ruth Johnson et al.ICML 2025 · 2 citations
- Text-Attributed Knowledge Graph Enrichment with Large Language Models for Medical Concept RepresentationMohsen Nayebi Kerdabadi, Arya Hadizadeh Moghaddam, Chen Chen, Dongjie Wang et al.ACL 2026
Builds on5
- Strategies for Pre-training Graph Neural NetworksWeihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik et al.ICLR 2020 · 1,744 citations
- On Layer Normalization in the Transformer ArchitectureRuibin Xiong, Yunchang Yang, Di He, Kai Zheng et al.ICML 2020 · 1,388 citations
- Learning the Graphical Structure of Electronic Health Records with Graph Convolutional TransformerEdward Choi, Zhen Xu, Yujia Li, Michael Dusenberry et al.AAAI 2020 · 293 citations
- HiTANet: Hierarchical Time-Aware Attention Networks for Risk Prediction on Electronic Health RecordsJunyu Luo, Muchao Ye, Cao Xiao, Fenglong MaKDD 2020 · 187 citations
- RareBERT: Transformer Architecture for Rare Disease Patient Identification using Administrative ClaimsP. K. S. Prakash, Srinivas Chilukuri, Nikhil Ranade, Shankar ViswanathanAAAI 2021 · 45 citations
Related papers
- Time-Conditioned Foreseeing: An EHR-Specific Foundation Model for Irregular Dynamics and Calendrical TimeBong Gyun Kang, JUNYONG AHN, Hyeongrok Han, Sungroh YoonICML 2026
- Temporal Relation Extraction in Clinical Texts: A Span-based Graph Transformer ApproachRochana Chaturvedi, Peyman Baghershahi, Sourav Medya, Barbara Di EugenioACL 2025
- Multimodal Graph-based Transformer Framework for Biomedical Relation ExtractionSriram Pingali, Shweta Yadav, Pratik Dutta, Sriparna SahaACL Findings 2021 · 7 citations
- A Graph Enhanced BERT Model for Event PredictionLi Du, Xiao Ding, Yue Zhang, Ting Liu et al.ACL Findings 2022 · 18 citations
- Graph-Based Transformer with Cross-Candidate Verification for Semantic ParsingBo Shao, Yeyun Gong, Weizhen Qi, Guihong Cao et al.AAAI 2020 · 9 citations
