AI finds hidden ECG signal that predicts sudden cardiac death risk
Sudden cardiac death kills more than 300,000 people in the U.S. each year, even though implantable defibrillators have been able to stop many lethal arrhythmias for decades. The main issue today isn’t the device that stops a cardiac arrest; it is figuring out who needs one. In a new Nature study, a team led by Ziad Obermeyer, an associate professor at the University of California, Berkeley, trained a neural network to answer that question from a 10-second electrocardiogram. Then they trained a second neural network to reveal what the first was keying on.
The two-model setup points to a larger ambition for AI in medicine: getting a machine to surface a fresh clue that human experts can then see and check for themselves. Obermeyer’s team used the first network to predict risk and the second to translate that prediction into a visible feature on an ordinary ECG, one a cardiologist could learn to spot.
To decide who should get a defibrillator, cardiologists currently lean on an ultrasound measurement of how much blood the left ventricle pumps with each beat—a measure known as left ventricular ejection fraction, or LVEF. Obermeyer points out that it is far from perfect. “A lot of people who suddenly die of cardiac arrest either never had the ultrasound before or they had it and the results were normal,” he says. At the same time, most defibrillators implanted on the strength of that test never end up firing. “Often a person who looked high risk turned out not to be so high risk after all,” Obermeyer says. To get around the problem, his team went looking for a better risk marker.
On supporting science journalism
If you're enjoying this article, consider supporting our award-winning journalism by subscribing. By purchasing a subscription you are helping to ensure the future of impactful stories about the discoveries and ideas shaping our world today.
Electrocardiograms, or ECGs, measure the heart’s electrical activity and are cheap and nearly universal by comparison. Yet despite decades of studying ECG waveforms, cardiologists had never found a pattern that reliably flagged a high risk of cardiac arrest. His team turned to deep learning to find the pattern that human inspection had missed. The algorithm the team picked was a 64-layer residual neural network, or ResNet. “It’s kind of a workhorse model everyone uses. There’s nothing interesting about it,” Obermeyer says. “What is interesting is the data it’s learned from.”
To feed the network, Obermeyer’s group assembled one of the first population-scale datasets of its kind, with more than 440,000 ECGs from roughly 180,000 patients in Sweden, matched to national death certificates. Trained on the Swedish data, the otherwise generic ResNet flagged a high-risk group amounting to about 2.2 percent of patients. The signal held up when the team tested the model on separate datasets from the U.S. and Taiwan, suggesting this wasn’t a quirk of Sweden’s population or ECG equipment. Within that small group, the annual rate of sudden cardiac death reached 7 percent—well above the 4.6 percent rate among patients flagged by the standard ultrasound test. What’s more, more than 86 percent of the patients the algorithm singled out were not flagged by the traditional LVEF marker. By the traditional measure, many patients like these would have been sent home without a defibrillator.
“After we established this thing is working, we wanted to understand what this model is seeing in the ECG waveforms of high-risk people,” Obermeyer says. Standard AI interpretability tools like saliency maps can highlight which parts of a waveform a neural net weighted most heavily, but they stop there. A human cardiologist who spots something unusual on an ECG trace can sketch the anomalous wave. A neural network, by default, cannot. So, Obermeyer and his colleagues built a generative AI model to do just that. “Its job was to produce ECG waveforms that looked high-risk to the first model,” Obermeyer says.
Paired with the original network and guided by its risk score, the generative model reworked a real low-risk patient’s ECG step by step, morphing it smoothly into a high-risk version of the same trace. Many of the features the model keyed on were already familiar to cardiologists.
One feature, though, had never been described in the medical literature: a subtle slurring in one ECG lead called aVL, suggesting that the heart’s electrical signal was fragmenting as it moved through muscle.
Changxin Lai, a biomedical engineer at Johns Hopkins University who wrote an accompanying analysis in Natureand was not involved in the study, says this is why the work stands out. “The ECG has been around for more than 100 years, and this kind of data has been carefully evaluated by generations of cardiologists,” he says. “We extracted new knowledge from an artificial intelligence model.”
For some of the high-risk patients, the team also had cardiac magnetic resonance imaging, or MRI, scans. Those scans showed subtle, diffuse fibrosis, scarring associated with arrhythmias that can interfere with the heart’s electrical signals in a way that fits the synthetic waveforms the generative model produced. Obermeyer cautions that the fibrosis link is preliminary and has yet to be confirmed with biopsies.
The finding, while intriguing, is not ready to guide treatment. “This is an important area of research,” says Sumeet S. Chugh, who directs the Center for Cardiac Arrest Prevention at Cedars-Sinai Medical Center and was not involved in the study. “But from a patient care perspective there is much more research to be done before we will be using such findings to… identify candidates for the primary prevention implantable defibrillator,” he adds.
Even so, Obermeyer thinks the approach is worth pursuing. “There are some very fancy imaging techniques like MRI, but these things are not feasible for screening populations because of their expense and inconvenience,” Obermeyer says. ECGs, he argues, sit at the opposite end of the spectrum; they can be recorded nearly anywhere, with an Apple Watch or a simple device that connects to a smartphone. The team acknowledges that the model was trained on medical-grade ECGs and performs slightly worse on the lower-quality signals from consumer devices, though by a margin they describe as minor.
“I wouldn’t suggest going out and getting a defibrillator implanted just because we say your ECG is high risk,” Obermeyer says. “What’s nice about this is you don’t have to believe the AI at all. You can just use it to target additional testing like doing traditional risk markers.”
It’s Time to Stand Up for Science
If you enjoyed this article, I’d like to ask for your support. Scientific American has served as an advocate for science and industry for 180 years, and right now may be the most critical moment in that two-century history.
I’ve been a Scientific American subscriber since I was 12 years old, and it helped shape the way I look at the world. SciAm always educates and delights me, and inspires a sense of awe for our vast, beautiful universe. I hope it does that for you, too.
If you subscribe to Scientific American, you help ensure that our coverage is centered on meaningful research and discovery; that we have the resources to report on the decisions that threaten labs across the U.S.; and that we support both budding and working scientists at a time when the value of science itself too often goes unrecognized.
In return, you get essential news, captivating podcasts, brilliant infographics, can't-miss newsletters, must-watch videos, challenging games, and the science world's best writing and reporting. You can even gift someone a subscription.
There has never been a more important time for us to stand up and show why science matters. I hope you’ll support us in that mission.

Thank you,
David M. Ewalt, Editor in Chief, Scientific American
SubscribeHow to Watch France vs. Sweden on TV, Live Stream—World Cup
How to Watch France vs. Sweden on TV, Live Stream—World Cup
Two-time world champions France look good to go all the way at this summer’s tournament.James Cormack|
France has certainly laid a marker at the start of the World Cup, securing comfortable progression into the knockout stages by winning its three group games for the first time since 1998.
Its early success is ominous for the rest, especially when you consider the difficulty of Group I. France still has more gears to move through, yet its attacking might has already been flexed. If Kylian Mbappé or Michael Olise don’t get you, then Ousmane Dembélé or Désiré Doué will.
Strong contenders to add a third star to its iconic jersey France most certainly is, and few are backing them to succumb to a banana skin at MetLife Stadium on Tuesday.

Sweden is a baffling outfit. It’s been on both sides of harsh 5–1 drubbings, and played its part in a forgettable draw with Japan, albeit one that sent them through to the round of 32.
Here’s how you can watch this knockout tie unfold.
What Time Does France vs. Sweden Kick Off?
- Location: East Rutherford, N.J.
- Stadium: MetLife Stadium
- Date: Tuesday, June 29
- Kick-off Time: 5 p.m. ET / 2 p.m. PT / 10 p.m BST
- Referee: Danny Makkelie (NED)
How to Watch France vs. Sweden on TV, Live Stream
It’s Fox or fuboTV for those in the United States seeking an English-language broadcast. Those wanting to catch the action in Spanish can pivot to Telemundo.
In Canada, an array of TSN channels are showing the round of 32 clash, in addition to RDS. ViX is the only streaming avenue for audiences in Mexico.
ITV1 is broadcasting the knockout clash on free-to-air TV in the United Kingdom, with ITVX streaming the game for those tuning in on a device. Scots can access the fixture on STV.
Country | Broadcaster(s) |
|---|---|
United States | Fox Network, fuboTV, Telemundo, Telemundo Deportes En Vivo, Fox One |
Canada | TSN+, TSN1, TSN3, TSN4, TSN5, RDS, RDS App |
Mexico | ViX Mexico |
United Kingdom | ITV1, ITVX, STV, STV Player |
WIN FIFA WORLD CUP 2026™ FINAL TICKETS & OTHER PRIZES

What’s Next for France, Sweden?
The winners of Tuesday’s clash will move on to the round of 16, where Paraguay awaits in Philadelphia on July 4 after it stunned Germany in the first knockout round.
Co-hosts Canada is potential quarterfinal opponents, as are Morocco—this quarterfinal is scheduled for July 9 at Gillette Stadium. Spain, Portugal, USMNT and Belgium are also on France and Sweden’s side of the bracket.
READ THE LATEST WORLD CUP NEWS, ANALYSIS AND INSIGHT FROM SI FC
Published 37 seconds ago | Modified 37 seconds ago
JAMES CORMACKJames Cormack is a freelancer soccer writer for Sports Illustrated FC. An expert on Tottenham Hotspur and Arsenal, he follows Italian and German soccer, taking particular interest in the work of Antonio Conte & Julian Nagelsmann.
Home/Soccer