ECG

Algorithms Listen Between Heartbeats

Tuesday, November 10, 2026

When Diane couldn’t stand for five minutes, her colleagues knew something was wrong. She couldn't put her shoes on because her feet and legs were swollen. She went to the Emergency Department at San Francisco General Hospital; there she discovered she had a silent heart attack. She remained hospitalized for three weeks. 

They said only 17 percent of her heart was functioning. When she was discharged, she was referred to the cardiology department for continued care. 

Diane’s heart failure eventually led her to receive a heart transplant, one intervention available to some patients with advanced heart failure.

But the signals that shape a patient’s future are not always found in the heartbeat itself. They can arise from patterns in clinical histories, symptoms and information collected during the care process.

At Zuckerberg San Francisco General Hospital, researchers are studying whether machine-learning models can detect some of these patterns and translate them into information clinicians can use.

Professor Jean Feng’s lab develops and evaluates machine-learning methods for use in clinical settings. The lab focuses on creating and evaluating methods that are reliable and transparent, while advancing models that responsibly support clinical practice. 

Part of that evaluation involves determining whether a model performs consistently across patient populations and whether its predictions remain appropriate when incorporated into clinical workflows.

“It depends on if the model is doing what it’s supposed to do in the setting it was designed for, and any model used inappropriately can become unfair.” - Feng said.

“One way we have made sure models behave correctly is through validation. We have clinicians review model input notes for accuracy,” said notes Patrick Vossler, a member of the hospital's Predictive Analytics Team. “We have clinicians review model input notes for accuracy.” 

The researchers are also developing methods to monitor generative clinical tools efficiently, including systems used for clinical documentation, according to postdoctoral researcher Siyu Zhou.

“Monitoring AI is resource intensive so we developed a way to control false alarms.” Zhou said. 

The approach is designed to detect potential failures earlier while reducing the resources required for continuous model monitoring.

At ZSFG, a predictive model has also been implemented as part of an effort to reduce readmissions among patients hospitalized with heart failure. The system identifies patients at elevated risk so that its prediction can be incorporated into a clinical intervention. 

Model performance is only one component of clinical implementation. Researchers must also determine whether a prediction reaches clinicians at a useful point in the care process and can be connected to an appropriate intervention.

“The value is what the alert is providing,” said Dr. Lucas Zier. 

A prediction that a patient is at risk is only useful if it gives clinicians the right information at the right time and connects that patient to an appropriate clinical pathway.

Machine-learning methods can analyze many variables simultaneously, allowing researchers to identify statistical patterns within groups of patients who share the same diagnosis. 

Alice Tang, a student in UCSF’s Medical Scientist Training Program and Forbes “30 under 30” scientist, points to the potential for identifying distinct forms of Alzheimer’s disease.

“We have seen that supervised learning was to able to identify features Alzheimer's disease that are unique to each gender, and there are theories about if can patients be further separated based on their underlying pathophysiology, such as a vascular version of Alzheimer's, or a lipid version,” Tang said, adding that AI is “less a search for hidden truth than as a high-dimensional form of descriptive statistics that summarizes structure without predefined outcomes.”

“What patients are represented in the dataset will drive the results we see,” Tang said.

In other words, the observed results may reflect demographics or measurement practices rather than true disease subtypes, and without careful validation statistical structure can easily be mistaken for biological structure.

The work emerging from Feng’s lab combines machine-learning development, validation, and clinical judgment to evaluate whether these tools can meaningfully support patient care.

At ZSFG, Feng’s lab examines each stage, from developing predictive models to monitoring their performance and determining how their outputs can be translated into clinical action. For patients with complex conditions such as heart failure, the technological challenge lies in determining whether a prediction provides clinicians with information they can use.

Patient names and certain identifying details have been changed or omitted to protect patient privacy.