Clemens Dlaska and his team in Innsbruck trained an AI on nearly 8 million heartbeats — not to do one thing well, but to understand the heart’s language like a fluent speaker. Their model, xECG, doesn’t just detect a single irregular rhythm; it can analyze electrocardiograms for dozens of medical tasks, from spotting rare arrhythmias to predicting survival risk and even diagnosing sleep apnea from long nighttime recordings. This is a shift from narrow, task-specific AI to a more flexible kind of intelligence — what scientists call a foundation model, similar to how ChatGPT learns language. But instead of words, xECG learns the subtle patterns of the human heartbeat.
Heart disease remains the leading cause of death worldwide, and early detection saves lives. Yet many hospitals still rely on older AI tools that can only answer one question at a time — if this ECG shows atrial fibrillation, for example. The problem is that real-world patient data is messy, varied, and often incomplete. That’s where xECG stands out. Developed at the University Clinic for Internal Medicine III in Innsbruck, it uses a new architecture called xLSTM, pioneered by Austrian AI expert Sepp Hochreiter, and adapts computer vision techniques to read time-series signals like ECGs more efficiently. Most importantly, it scales linearly — meaning it can process a 10-second clinic scan or a full night’s wearable recording without slowing down.
The team didn’t stop at building a powerful model. They also created BenchECG, the first standardized test for ECG foundation models, setting clear rules for what counts as a true foundation model. Before this, researchers used the term loosely, with no way to compare performance. Now, any lab can use BenchECG to test their models against three key benchmarks: handling diverse tasks (like classification, regression, and survival prediction), working across different ECG types (from hospital machines to smartwatches), and performing reliably across patient groups — young, old, healthy, or high-risk. When tested, xECG outperformed existing models across the board.
Trained on about 8 million ECGs from 1.7 million patients, and validated using 1.7 million public ECGs from around 400,000 people, the system combines scale, accuracy, and fairness. It was developed by Riccardo Lunelli, Angus Nicolson, and Samuel Martin Pröll, with clinical guidance from cardiologists Axel Bauer and Sebastian Reinstadler. Their work, published in npj Digital Medicine, opens the door to smarter, faster heart diagnostics — especially in areas with limited data, like rare conditions or underserved populations. As AI becomes a routine part of medicine, tools like xECG and BenchECG ensure that progress is not just flashy, but trustworthy, transparent, and built to last.
