PHAROS: Non-Invasive Monitoring of Pulmonary Hypertension from Single-Lead Electrocardiograms with Lead-Agnostic Contrastive Learning

Tiffany Yau, Collin StultzML4H 2026 RejectfromProceedingsasFindingsPoster 2026

TL;DR

Managing pulmonary hypertension (PH) currently requires repeated, invasive heart catheterizations to check if a patient's pulmonary artery pressure is responding to treatment. PHAROS offers a non-invasive alternative: it predicts whether a patient's pressure is decreasing, stable, or increasing over time using just a single-lead electrocardiogram (ECG)—and thanks to a clever contrastive pre-training trick, it works even if you don't know which ECG lead is being used.

What Problem Does This Paper Address?

Pulmonary hypertension is a progressive condition defined by dangerously high blood pressure in the lungs—specifically, a mean pulmonary artery pressure (mPAP) above 20 mmHg. Left untreated, it can lead to right heart failure and death.

The gold standard for measuring mPAP is right heart catheterization (RHC), which involves threading a catheter directly into the pulmonary artery. Because it is invasive, carries procedural risks, and requires specialized hospital equipment, repeating it frequently to track how a patient responds to therapy is a major burden.

While machine learning models have recently been developed to estimate heart pressures from non-invasive ECGs, they almost all focus on diagnosis (flagging whether a patient's pressure is above a certain threshold). That isn't very useful for patients who already have PH and chronically elevated pressures; what doctors need to know is whether the pressure is changing from its baseline. Furthermore, existing single-lead ECG models assume you know exact lead identity (e.g., Lead I), which limits their use in arbitrary wearable or at-home monitoring setups.

Methods

PHAROS tackles this in two stages:

  1. Lead-Agnostic Contrastive Pre-Training: The authors take a frozen 12-lead ECG foundation model (ECGFounder) as a "teacher" and train a lightweight single-lead "student" encoder. For each 12-lead ECG, they randomly sample just one lead for the student and train it (using NT-Xent contrastive loss) to align its representation with the teacher's full 12-lead embedding. Because the lead is chosen at random, the student is forced to learn features that are consistent across any lead.
  2. Longitudinal $\Delta\text{mPAP}$ Classification: The pre-trained single-lead encoder is frozen and used to embed two ECGs from different time points ($s_{t_0}$ and $s_t$). These embeddings are fused and combined with embeddings of the patient's baseline mPAP ($m_{t_0}$) and the time gap ($\Delta t$). A final classifier predicts whether mPAP has decreased ($<-4$ mmHg), remained stable ($[-4, 4]$ mmHg, accounting for natural RHC measurement variability), or increased ($>4$ mmHg).
Overview of PHAROS: Contrastive pre-training of the lead-agnostic encoder (left) and the longitudinal mPAP change classifier (right).

Datasets

  • Contrastive Pre-Training: 7.1 million unlabeled 10-second 12-lead ECGs from 1.4 million patients across Massachusetts General Hospital (Hospital 1) and Brigham and Women’s Hospital (Hospital 2).
  • $\Delta\text{mPAP}$ Training & Testing: 68.2 million 10-second Lead I ECGs time-aligned with continuous pulmonary artery pressure waveforms from 7,882 ICU patients (8,200 admissions) at Hospital 1.
  • Long-Term PH Evaluation: Two retrospective catheterization lab datasets of PH patients with paired ECGs and RHCs from Hospital 1 (151 patients, 522 pairs) and Hospital 2 (100 patients, 448 pairs).

Key Insights and Ideas

  • Tracking change beats thresholding: Shifting the problem from static diagnosis to longitudinal change ($\Delta\text{mPAP}$) makes the model actually useful for monitoring diagnosed PH patients.
  • 12-to-1 lead distillation works: By contrasting a random single lead against a 12-lead foundation model, a lightweight encoder can extract rich, lead-invariant cardiac features without ever needing to know which lead it is looking at.
  • ICU data transfers to outpatient care: Even though the model was trained on short-term, continuous ICU waveforms, the learned relationship between ECG changes and pressure changes generalizes to outpatient PH clinics with much longer follow-up windows.

Key Results

  • Outperforms Baselines: On the Hospital 1 ICU test set, PHAROS achieves a concordance index (C-index) of 0.787 ± 0.015 and a Brier score of 0.487 ± 0.014, beating linear classifiers, Random Forest, XGBoost, and a non-contrastive end-to-end version of the same architecture (PHAROS-lead-I).
  • Generalizes Across Hospitals and Time: On the long-term PH cohorts, PHAROS maintains a C-index of 0.747 ± 0.036 (Hospital 1) and 0.752 ± 0.037 (Hospital 2). Performance remains stable even when the time gap between ECGs stretches out to 400 days.
  • Truly Lead-Agnostic: When tested individually on all 12 standard ECG leads in the PH cohorts, PHAROS's C-index stays remarkably consistent, ranging between 0.732 and 0.756.
PHAROS C-index over increasing minimum time gaps across the (a) Hospital 1 ICU, (b) Hospital 1 PH, and (c) Hospital 2 PH datasets.

Limitations and Future Work

  • Small Outpatient Cohorts: The long-term PH evaluation datasets are relatively small, limiting the ability to assess patient-specific trajectories over very long periods.
  • Pairwise vs. Trajectory Modeling: PHAROS evaluates pairwise changes from a single baseline rather than modeling a patient's full continuous trajectory over time.
  • Label Noise in Outpatient Data: Unlike the precisely aligned ICU training data, outpatient ECGs and RHCs could be separated by up to a day, introducing some label noise.
  • Simulated Single-Lead Inputs: The evaluation used single leads extracted from standard 12-lead ECGs rather than real-world wearable devices. Prospective studies using actual at-home monitors are needed to establish clinical utility.

Summary updated

BibTeX
@inproceedings{yau2026pharos,
  author = {Tiffany Yau and Collin Stultz},
  title = {{PHAROS: Non-Invasive Monitoring of Pulmonary Hypertension from Single-Lead Electrocardiograms with Lead-Agnostic Contrastive Learning}},
  booktitle = {ML4H 2026 RejectfromProceedingsasFindingsPoster},
  year = {2026},
  url = {https://openreview.net/forum?id=GJUgOOPqmo},
}
Figure