arXiv · 2611.41419
EHR Representation Learning with Multi-Granularity Cauchy-Schwarz Contrastive Learning
Abstract
Self-supervised EHR models commonly reconstruct masked medical codes or predict future events, without explicitly modeling clinical relations across patients and visits. Contrastive methods can introduce relational supervision but usually reduce these relations to binary positive and negative pairs. We introduce EHR-CSS, a multi-granularity self-supervised contrastive framework for patient, visit, and medical-code representations. The patient and visit objectives assign target weights according to clinical similarity, while the medical-code objectives assign target weights according to the medical codes to be reconstructed or predicted. At each granularity, the proposed Cauchy-Schwarz Sequence (CSS) loss aligns a model distribution over candidate representations with its target distribution and includes a uniformity term over the candidate representations. Across evaluations on EHRSHOT with few-shot labels and on MIMIC-IV with fully supervised fine-tuning, EHR-CSS achieves the best overall performance among the evaluated methods. The code is available at https://github.com/keynekassapa13/EHR-CSS.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Keyne Kassapa Oei, Shujian Yu, Qing Liu, Robert Jenssen. 2026-11-30. EHR Representation Learning with Multi-Granularity Cauchy-Schwarz Contrastive Learning. https://searcharxiv.org/abs/2611.41419
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.