Related Experiment Video
Updated: Oct 14, 2025

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Contrastive learning improves critical event prediction in COVID-19 patients
Tingyi Wanyan1,2, Hossein Honarvar1, Suraj K Jaladanki1
1Hasso Plattner Institute for Digital Health at Mount Sinai, Icahn School of Medicine at Mount Sinai, New York, NY, USA.
None:
Deep learning (DL) models typically require large-scale, balanced training data to be robust, generalizable, and effective in the context of healthcare. This has been a major issue for developing DL models for the coronavirus disease 2019 (COVID-19) pandemic, where data are highly class imbalanced. Conventional approaches in DL use cross-entropy loss (CEL), which often suffers from poor margin classification. We show that contrastive loss (CL) improves the performance of CEL, especially in imbalanced electronic health records (EHR) data for COVID-19 analyses. We use a diverse EHR dataset to predict three outcomes: mortality, intubation, and intensive care unit (ICU) transfer in hospitalized COVID-19 patients over multiple time windows. To compare the performance of CEL and CL, models are tested on the full dataset and a restricted dataset. CL models consistently outperform CEL models, with differences ranging from 0.04 to 0.15 for area under the precision and recall curve (AUPRC) and 0.05 to 0.1 for area under the receiver-operating characteristic curve (AUROC).
More Related Videos
Related Concept Videos
Controls in Experiments
Acute Respiratory Failure-II
The underlying physiological abnormalities that contribute to hypoxemic respiratory failure include:
Comparing the Survival Analysis of Two or More Groups
Acute Respiratory Failure-I
Definition: It is defined by specific criteria based on blood gas measurements. Hypoxemia happens when the partial pressure of oxygen (PaO2) falls below 60 mmHg. At the same time,...
Acute Respiratory Failure-III
Pulmonary Embolism II: Diagnostic Studies and Interprofessional Care

