
Researchers at the University of Cambridge have developed a machine learning algorithm that can detect heart murmurs in dogs with 90% accuracy, akin to expert cardiologists.
This breakthrough offers an affordable, effective screening tool that could significantly improve the quality of life for dogs, especially those prone to cardiac diseases like mitral valve disease.
Revolutionizing Canine Cardiac Care
Researchers have developed a machine learning algorithm that accurately detects heart murmurs in dogs—a key sign of cardiac disease, which is especially common in smaller breeds like King Charles Spaniels.
The research team, led by the University of Cambridge, adapted an algorithm initially designed for human use. They found it could automatically detect and assess heart murmurs in dogs using audio recordings from digital stethoscopes. In testing, the algorithm identified heart murmurs with 90% sensitivity, achieving accuracy similar to that of expert cardiologists.
Heart murmurs are a primary indicator of mitral valve disease, the most common heart condition in adult dogs. Approximately one in 30 dogs examined by a veterinarian has a heart murmur, with rates higher in small breeds and older dogs.
Since mitral valve disease and other heart conditions are so common in dogs, early detection is crucial as timely medication can extend their lives. The technology developed by the Cambridge team could offer an affordable and effective screening tool for primary care veterinarians, and improve quality of life for dogs. The results are reported in the Journal of Veterinary Internal Medicine.

Advancements in Veterinary Tools
“Heart disease in humans is a huge health issue, but in dogs it’s an even bigger problem,” said first author Dr Andrew McDonald from Cambridge’s Department of Engineering. “Most smaller dog breeds will have heart disease when they get older, but obviously dogs can’t communicate in the same way that humans can, so it’s up to primary care vets to detect heart disease early enough so it can be treated.”
Professor Anurag Agarwal, who led the research, is a specialist in acoustics and bioengineering. “As far as we’re aware, there are no existing databases of heart sounds in dogs, which is why we started out with a database of heart sounds in humans,” he said. “Mammalian hearts are fairly similar, and when things go wrong, they tend to go wrong in similar ways.”

The researchers started with a database of heart sounds from about 1000 human patients and developed a machine learning algorithm to replicate whether a heart murmur had been detected by a cardiologist. They then adapted the algorithm so it could be used with heart sounds from dogs.
The researchers gathered data from almost 800 dogs who were undergoing routine heart examinations at four veterinary specialist centers in the UK. All dogs received a full physical examination and heart scan (echocardiogram) by a cardiologist to grade any heart murmurs and identify cardiac disease, and heart sounds were recorded using an electronic stethoscope. By an order of magnitude, this is the largest dataset of dog heart sounds ever created.
“Mitral valve disease mainly affects smaller dogs, but to test and improve our algorithm, we wanted to get data from dogs of all shapes, sizes and ages,” said co-author Professor Jose Novo Matos from Cambridge’s Department of Veterinary Medicine, a specialist in small animal cardiology. “The more data we have to train it, the more useful our algorithm will be, both for vets and for dog owners.”

Algorithm Adaptation and Improvement
The researchers fine-tuned the algorithm so it could both detect and grade heart murmurs based on the audio recordings, and differentiate between murmurs associated with mild disease and those reflecting advanced heart disease that required further treatment.
“Grading a heart murmur and determining whether the heart disease needs treatment requires a lot of experience, referral to a veterinary cardiologist, and expensive specialised heart scans,” said Novo Matos. “We want to empower general practitioners to detect heart disease and assess its severity to help owners make the best decisions for their dogs.”

Clinical Impact and Future Applications
Analysis of the algorithm’s performance found it agreed with the cardiologist’s assessment in over half of cases, and in 90% of cases, it was within a single grade of the cardiologist’s assessment. The researchers say this is a promising result, as it is common for there to be significant variability in how different vets grade heart murmurs.
“The grade of heart murmur is a useful differentiator for determining next steps and treatments, and we’ve automated that process,” said McDonald. “For vets and nurses without as much stethoscope skill, and even those who are incredibly skilled with a stethoscope, we believe this algorithm could be a highly valuable tool.”
In humans with valve disease, the only treatment is surgery, but for dogs, effective medication is available. “Knowing when to medicate is so important, in order to give dogs the best quality of life possible for as long as possible,” said Agarwal. “We want to empower vets to help make those decisions.”
“So many people talk about AI as a threat to jobs, but for me, I see it as a tool that will make me a better cardiologist,” said Novo Matos. “We can’t perform heart scans on every dog in this country – we just don’t have enough time or specialists to screen every dog with a murmur. But tools like these could help vets and owners, so we can quickly identify those dogs who are most in need of treatment.”
Reference: “A machine-learning algorithm to grade heart murmurs and stage preclinical myxomatous mitral valve disease in dogs” by Andrew McDonald, Jose Novo Matos, Joel Silva, Catheryn Partington, Eve J. Y. Lo, Virginia Luis Fuentes, Lara Barron, Penny Watson and Anurag Agarwal, 21 October 2024, Journal of Veterinary Internal Medicine.
DOI: 10.1111/jvim.17224
The research was supported in part by the Kennel Club Charitable Trust, the Medical Research Council, and Emmanuel College Cambridge.
Never miss a breakthrough: Join the SciTechDaily newsletter.
Follow us on Google and Google News.