Summary: A new skill artificial intelligence app for smart speakers like Google Home and Amazon Echo can detect the gasping sounds of agonal breathing and call for help. The AI can detect breathing events with 97% accuracy from up to 20 meters away.
Source: University of Washington
Almost 500,000 Americans die each year from cardiac arrest when the heart suddenly stops beating.
People experiencing cardiac arrest will suddenly become unresponsive and either stop breathing or gasp for air, a sign known as agonal breathing. Immediate CPR can double or triple someone’s chance of survival, but that requires a bystander to be present.
Cardiac arrests often occur outside of the hospital and in the privacy of someone’s home. Recent research suggests that one of the most common locations for an out-of-hospital cardiac arrest is in a patient’s bedroom, where no one is likely around or awake to respond and provide care.
Researchers at the University of Washington have developed a new tool to monitor people for cardiac arrest while they’re asleep without touching them. A new skill for a smart speaker– like Google Home and Amazon Alexa — or smartphone lets the device detect the gasping sound of agonal breathing and call for help. On average, the proof-of-concept tool, which was developed using real agonal breathing instances captured from 911 calls, detected agonal breathing events 97% of the time from up to 20 feet (or 6 meters) away. The findings are published June 19 in npj Digital Medicine.
“A lot of people have smart speakers in their homes, and these devices have amazing capabilities that we can take advantage of,” said co-corresponding author Shyam Gollakota, an associate professor in the UW’s Paul G. Allen School of Computer Science & Engineering. “We envision a contactless system that works by continuously and passively monitoring the bedroom for an agonal breathing event, and alerts anyone nearby to come provide CPR. And then if there’s no response, the device can automatically call 911.”
Agonal breathing is present for about 50% of people who experience cardiac arrests, according to 911 call data, and patients who take agonal breaths often have a better chance of surviving.
“This kind of breathing happens when a patient experiences really low oxygen levels,” said co-corresponding author Dr. Jacob Sunshine, an assistant professor of anesthesiology and pain medicine at the UW School of Medicine. “It’s sort of a guttural gasping noise, and its uniqueness makes it a good audio biomarker to use to identify if someone is experiencing a cardiac arrest.”
The researchers gathered sounds of agonal breathing from real 911 calls to Seattle’s Emergency Medical Services. Because cardiac arrest patients are often unconscious, bystanders recorded the agonal breathing sounds by putting their phones up to the patient’s mouth so that the dispatcher could determine whether the patient needed immediate CPR. The team collected 162 calls between 2009 and 2017 and extracted 2.5 seconds of audio at the start of each agonal breath to come up with a total of 236 clips. The team captured the recordings on different smart devices — an Amazon Alexa, an iPhone 5s and a Samsung Galaxy S4 — and used various machine learning techniques to boost the dataset to 7,316 positive clips.
“We played these examples at different distances to simulate what it would sound like if it the patient was at different places in the bedroom,” said first author Justin Chan, a doctoral student in the Allen School. “We also added different interfering sounds such as sounds of cats and dogs, cars honking, air conditioning, things that you might normally hear in a home.”
For the negative dataset, the team used 83 hours of audio data collected during sleep studies, yielding 7,305 sound samples. These clips contained typical sounds that people make in their sleep, such as snoring or obstructive sleep apnea.
From these datasets, the team used machine learning to create a tool that could detect agonal breathing 97% of the time when the smart device was placed up to 6 meters away from a speaker generating the sounds.
Next, the team tested the algorithm to make sure that it wouldn’t accidentally classify a different type of breathing, like snoring, as agonal breathing.
“We don’t want to alert either emergency services or loved ones unnecessarily, so it’s important that we reduce our false positive rate,” Chan said.
For the sleep lab data, the algorithm incorrectly categorized a breathing sound as agonal breathing 0.14% of the time. The false positive rate was about 0.22% for separate audio clips, in which volunteers had recorded themselves while sleeping in their own homes. But when the team had the tool classify something as agonal breathing only when it detected two distinct events at least 10 seconds apart, the false positive rate fell to 0% for both tests.
The team envisions this algorithm could function like an app, or a skill for Alexa that runs passively on a smart speaker or smartphone while people sleep.
“This could run locally on the processors contained in the Alexa. It’s running in real time, so you don’t need to store anything or send anything to the cloud,” Gollakota said.
“Right now, this is a good proof of concept using the 911 calls in the Seattle metropolitan area,” he said. “But we need to get access to more 911 calls related to cardiac arrest so that we can improve the accuracy of the algorithm further and ensure that it generalizes across a larger population.”
The researchers plan to commercialize this technology through a UW spinout, Sound Life Sciences, Inc.
“Cardiac arrests are a very common way for people to die, and right now many of them can go unwitnessed,” Sunshine said. “Part of what makes this technology so compelling is that it could help us catch more patients in time for them to be treated.”
Dr. Thomas Rea, a professor of general internal medicine at the UW School of Medicine and the medical director of King County Medic One was also a co-author on this paper.
Funding: This research was funded by the National Science Foundation.
University of Washington
James Urton – University of Washington
The image is credited to Sarah McQuate/University of Washington.
Original Research: Open access
“Contactless cardiac arrest detection using smart devices”. Justin Chan, Thomas Rea, Shyamnath Gollakota & Jacob E. Sunshine.
NPJ Digital Medicine. doi:10.1038/s41746-019-0128-7
Contactless cardiac arrest detection using smart devices
Out-of-hospital cardiac arrest is a leading cause of death worldwide. Rapid diagnosis and initiation of cardiopulmonary resuscitation (CPR) is the cornerstone of therapy for victims of cardiac arrest. Yet a significant fraction of cardiac arrest victims have no chance of survival because they experience an unwitnessed event, often in the privacy of their own homes. An under-appreciated diagnostic element of cardiac arrest is the presence of agonal breathing, an audible biomarker and brainstem reflex that arises in the setting of severe hypoxia. Here, we demonstrate that a support vector machine (SVM) can classify agonal breathing instances in real-time within a bedroom environment. Using real-world labeled 9-1-1 audio of cardiac arrests, we train the SVM to accurately classify agonal breathing instances. We obtain an area under the curve (AUC) of 0.9993 ± 0.0003 and an operating point with an overall sensitivity and specificity of 97.24% (95% CI: 96.86–97.61%) and 99.51% (95% CI: 99.35–99.67%). We achieve a false positive rate between 0 and 0.14% over 82 h (117,985 audio segments) of polysomnographic sleep lab data that includes snoring, hypopnea, central, and obstructive sleep apnea events. We also evaluate our classifier in home sleep environments: the false positive rate was 0–0.22% over 164 h (236,666 audio segments) of sleep data collected across 35 different bedroom environments. We prototype our proof-of-concept contactless system using commodity smart devices (Amazon Echo and Apple iPhone) and demonstrate its effectiveness in identifying cardiac arrest-associated agonal breathing instances played over the air.