mlsanityData to 14 Oct 2026

SCEHR: Supervised Contrastive Learning for Clinical Risk Prediction using Electronic Health Records

arXiv 2110.04943 ↗First posted 11 Oct 2021cs.LGcited by 10

Not on the map. Why?

Abstract (arXiv)

Contrastive learning has demonstrated promising performance in image and text domains either in a self-supervised or a supervised manner. In this work, we extend the supervised contrastive learning framework to clinical risk prediction problems based on longitudinal electronic health records (EHR). We propose a general supervised contrastive loss LContrastive Cross Entropy + λ LSupervised Contrastive Regularizer for learning both binary classification (e.g. in-hospital mortality prediction) and multi-label classification (e.g. phenotyping) in a unified framework. Our supervised contrastive loss practices the key idea of contrastive learning, namely, pulling similar samples closer and pushing dissimilar ones apart from each other, simultaneously by its two components: LContrastive Cross Entropy tries to contrast samples with learned anchors which represent positive and negative clusters, and LSupervised Contrastive Regularizer tries to contrast samples with each other according to their supervised labels. We propose two versions of the above supervised contrastive loss and our experiments on real-world EHR data demonstrate that our proposed loss functions show benefits in improving the performance of strong baselines and even state-of-the-art models on benchmarking tasks for clinical risk predictions. Our loss functions work well with extremely imbalanced data which are common for clinical risk prediction problems. Our loss functions can be easily used to replace (binary or multi-label) cross-entropy loss adopted in existing clinical predictive models. The Pytorch code is released at urlhttps://github.com/calvin-zcx/SCEHR.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 25 of its 38 references that are in the map. First posted on arXiv 11 Oct 2021.

Builds on

25 of 38 references.

References · 25

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  3. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
  4. 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,857
  5. 2020Supervised Contrastive Learningcited by 2,829
  6. 2020Self-supervised Learning: Generative or Contrastivecited by 694
  7. 2020Contrastive Learning of Medical Visual Representations from Paired Images and Textcited by 641
  8. 2020A Survey on Contrastive Self-supervised Learningcited by 554
  9. 2020Hard Negative Mixing for Contrastive Learningcited by 402
  10. 2016RETAIN: An Interpretable Predictive Model for Healthcare using Reverse Time Attention Mechanismcited by 349
  11. 2020Keystroke Dynamics as Part of Lifeloggingcited by 334
  12. 2017Multitask learning and benchmarking with clinical time series datacited by 290
13 more
  1. 2018Scalable and accurate deep learning for electronic health recordscited by 280
  2. 2020Supervised Contrastive Learning for Pre-trained Language Model Fine-tuningcited by 276
  3. 2020Contrastive Clusteringcited by 265
  4. 2019BEHRT: Transformer for Electronic Health Recordscited by 263
  5. 2020Self-supervised Co-training for Video Representation Learningcited by 232
  6. 2016GRAM: Graph-based Attention Model for Healthcare Representation Learningcited by 156
  7. 2017Attend and Diagnose: Clinical Time Series Analysis using Attention Modelscited by 105
  8. 2019ConCare: Personalized Clinical Feature Embedding via Capturing the Healthcare Contextcited by 56
  9. 2019AdaCare: Explainable Clinical Health Status Representation Learning via Scale-Adaptive Feature Extraction and Recalibrationcited by 51
  10. 2020StageNet: Stage-Aware Neural Networks for Health Risk Predictioncited by 48
  11. 2020Deep Contextual Clinical Prediction with Reverse Distillationcited by 16
  12. 2020Evaluating Progress on Machine Learning for Longitudinal Electronic Healthcare Datacited by 12
  13. 2020UNITE: Uncertainty-based Health Risk Prediction Leveraging Multi-sourced Datacited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 1; 2023: 3; 2024: 3; 2025: 2; 2026: 1.

10 papers.