IP Library Granted Patent US 12,249,346
Granted Patent B2
US 12,249,346 · App. 18/509,722 · Granted Mar 11, 2025

Method for detecting and classifying coughs or other non-semantic sounds using audio feature set learned from speech

Inventors: Jacob Garrison (Seattle, WA); Jacob Scott Peplinski (Chandler, AZ); Joel Shor (Tokyo, JP)
Assignee: Google LLC
G10L25/66A61B5/0823A61B5/4803A61B5/7267A61B5/7282G10L15/02G10L15/04G10L15/063G10L25/30G10L25/51G10L25/78G16H40/67
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,249,346
App. No.
18/509,722
Granted
Mar 11, 2025
Kind
B2
Abstract

A method of detecting a cough in an audio stream includes a step of performing one or more pre-processing steps on the audio stream to generate an input audio sequence comprising a plurality of time-separated audio segments. An embedding is generated by a self-supervised triplet loss embedding model for each of the segments of the input audio sequence using an audio feature set, the embedding model having been trained to learn the audio feature set in a self-supervised triplet loss manner from a plurality of speech audio clips from a speech dataset. The embedding for each of the segments is provided to a model performing cough detection inference. This model generates a probability that each of the segments of the input audio sequence includes a cough episode. The method includes generating cough metrics for each of the cough episodes detected in the input audio sequence.

Claims (59)

1. A computer-implemented method of detecting a non-semantic and paralinguistic event in an audio stream comprising:

performing one or more pre-processing steps on the audio stream to generate an input audio sequence comprising a plurality of time-separated audio segments;

generating, by a student model, an embedding for the plurality of time-separated audio segments, the student model having been trained using knowledge distillation applied to a self-supervised triplet loss embedding model, the self-supervised triplet loss embedding model having been trained to learn an audio feature set in a self-supervised triplet loss manner from a plurality of speech audio clips; and

providing the embedding for the plurality of audio segments to an inference model performing inference to detect the non-semantic and paralinguistic event.

2. The method of claim 1 , further comprising:

detecting, by the inference model, the non-semantic and paralinguistic event; and

generating one or more metrics for the non-semantic and paralinguistic event.

3. The method of claim 2 , wherein the performing of the inference to detect the non-semantic and paralinguistic event occurs on a mobile device in substantial real-time.

4. The method of claim 1 , wherein the performing of the inference to detect the non-semantic and paralinguistic event comprises a determination of whether the audio stream contains speech from a person wearing a mask.

5. The method of claim 1 , wherein the non-semantic and paralinguistic event comprises one or more of crying, coughing, snoring, sneezing, wheezing, or a hiccup.

6. The method of claim 1 , wherein the non-semantic and paralinguistic event comprises coughing, and further comprising:

performing a cough-type classification to determine whether the cough comprises a wet cough, a dry cough, a cough associated with one or more of a respiratory tract infection, emphysema, exposure to smoke, exposure to air pollution, allergies, acid reflux, heart failure, or lung tumors.

7. The method of claim 1 , further comprising:

training the self-supervised triplet loss embedding model to learn the audio feature set in the self-supervised triplet loss manner from the plurality of speech audio clips from the speech dataset.

8. The method of claim 1 , further comprising:

training the student model based on a trained self-supervised triplet loss embedding model.

9. The method of claim 8 , wherein the student model is further configured based on one or more of: (i) varying a number filters in each layer of the student model, (ii) reducing a size of a bottleneck layer kernel by computing a global average over pixels in each output feature map, (iii) applying a compression operator to a bottleneck layer, wherein the compression operator is based on a Singular Value Decomposition (SVD) that is configured to learn a low-rank approximation of a weight matrix associated with the bottleneck layer, or (iv) applying Quantization-Aware training (QAT) that is configured to gradually reduce a numerical precision of weights associated with a bottleneck layer during training.

10. The method of claim 1 , wherein the generating of the embedding comprises utilizing temporal proximity in the plurality of speech audio clips as a self-supervision signal.

11. The method of claim 1 , further comprising:

instructing a user generating the audio stream to conduct a calibration procedure in which the user is instructed to utter the non-semantic and paralinguistic event N times;

computing an embedding for each utterance of non-semantic and paralinguistic event using the audio feature set;

computing a similarity between each pairwise combination of the N utterances; and

determining a verification threshold for the inference model based on the computed similarities.

12. The method of claim 11 , further comprising:

receiving user indication to detect one or more additional utterances of non-semantic and paralinguistic events over a time period;

initiating a recording of audio events during the time period;

terminating the recording of the audio events upon expiration of the time period; and

detecting the one or more additional utterances of non-semantic and paralinguistic events by comparing the recorded audio events with the N utterances.

13. The method of claim 12 , further comprising:

receiving a second user indication to provide the detected one or more additional utterances of non-semantic and paralinguistic events to a designated healthcare provider; and

responsive to the second user indication, providing the detected one or more additional utterances of non-semantic and paralinguistic events to the designated healthcare provider.

14. A computing device for detecting a non-semantic and paralinguistic event in an audio stream comprising:

one or more processors operable to perform operations, the operations comprising:

performing one or more pre-processing steps on the audio stream to generate an input audio sequence comprising a plurality of time-separated audio segments;

generating, by a student model, an embedding for the plurality of time-separated audio segments, the student model having been trained using knowledge distillation applied to a self-supervised triplet loss embedding model, the self-supervised triplet loss embedding model having been trained to learn an audio feature set in a self-supervised triplet loss manner from a plurality of speech audio clips; and

providing the embedding for the plurality of audio segments to an inference model performing inference to detect the non-semantic and paralinguistic event.

15. The computing device of claim 14 , wherein the computing device comprises one or more of a home intelligent assistant, a portable computer including a microphone for recording the audio stream, or a smartphone.

16. The computing device of claim 14 , wherein the performing of the inference to detect the non-semantic and paralinguistic event occurs on the computing device in substantial real-time.

17. The computing device of claim 14 , the operations further comprising:

training the self-supervised triplet loss embedding model to learn the audio feature set in the self-supervised triplet loss manner from the plurality of speech audio clips from the speech dataset.

18. The computing device of claim 14 , the operations further comprising:

training the student model based on a trained self-supervised triplet loss embedding model.

19. The computing device of claim 14 , the operations further comprising:

instructing a user generating the audio stream to conduct a calibration procedure in which the user is instructed to utter the non-semantic and paralinguistic event N times;

computing an embedding for each utterance of non-semantic and paralinguistic event using the audio feature set;

computing a similarity between each pairwise combination of the N utterances; and

determining a verification threshold for the inference model based on the computed similarities.

20. The computing device of claim 19 , the operations further comprising:

receiving user indication to detect one or more additional utterances of non-semantic and paralinguistic events over a time period;

initiating a recording of audio events during the time period;

terminating the recording of the audio events upon expiration of the time period; and

detecting the one or more additional utterances of non-semantic and paralinguistic events by comparing the recorded audio events with the N utterances.

21. The computing device of claim 20 , the operations further comprising:

receiving a second user indication to provide the detected one or more additional utterances of non-semantic and paralinguistic events to a designated healthcare provider; and

responsive to the second user indication, providing the detected one or more additional utterances of non-semantic and paralinguistic events to the designated healthcare provider.

22. One or more non-transitory computer-readable storage media for detecting a non-semantic and paralinguistic event in an audio stream comprising computer-executable instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:

performing one or more pre-processing steps on the audio stream to generate an input audio sequence comprising a plurality of time-separated audio segments;

generating, by a student model, an embedding for the plurality of time-separated audio segments, the student model having been trained using knowledge distillation applied to a self-supervised triplet loss embedding model, the self-supervised triplet loss embedding model having been trained to learn an audio feature set in a self-supervised triplet loss manner from a plurality of speech audio clips; and

providing the embedding for the plurality of audio segments to an inference model performing inference to detect the non-semantic and paralinguistic event.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 17, 2023
From: GARRISON, JACOB; PEPLINSKI, JACOB SCOTT; SHOR, JOEL
To: GOOGLE LLC
Reel/Frame 065604/0503 →
Continuity (3)
Continuation 17507461 · Oct 21, 2021
Provisional Application 63104291 · Oct 22, 2020
Related Publication 20240161769A1 · May 16, 2024
References Cited (28)
US 6436057B1 · Goldsmith et al. · 2002 [cited by applicant]
US 8777874B2 · Zhang et al. · 2014 [cited by applicant]
US 9526458B2 · Macauslan · 2016 [cited by applicant]
US 10448920B2 · Patel et al. · 2019 [cited by applicant]
US 11862188B2 · Garrison · 2024 [cited by examiner]
US 20120265024A1 · Shrivastav · 2012 [cited by examiner]
US 20150073306A1 · Abeyratne · 2015 [cited by examiner]
US 20150245788A1 · Schmidt · 2015 [cited by applicant]
US 20180035901A1 · Cronin · 2018 [cited by examiner]
US 20200015709A1 · Peltonen · 2020 [cited by examiner]
US 20200029929A1 · Patel et al. · 2020 [cited by applicant]
US 20200060604A1 · Mohammadi et al. · 2020 [cited by applicant]
US 20200098384A1 · Nematihosseinabadi · 2020 [cited by examiner]
US 20200349921A1 · Jansen · 2020 [cited by examiner]
US 20200411036A1 · Daimo · 2020 [cited by examiner]
US 20220059117A1 · Shor · 2022 [cited by examiner]
US 20220130415A1 · Garrison · 2022 [cited by examiner]
US 20220409089A1 · den Brinker · 2022 [cited by examiner]
US 20240161769A1 · Garrison · 2024 [cited by examiner]
WO WO2019084419A1 · 2019 [cited by examiner]
Amoh et al., “Deep Neural Networks for Identifying Cough Sounds,” IEEE Transactions on Biomedical Circuits and Systems, 2016, 9 pages, vol. 10, No. 5. [cited by applicant]
Larson et al., “Accurate and Privacy Preserving Cough Sensing using Low-Cost Microphone,” UbiComp'11/Beijing, China, 2011, pp. 375-384. [cited by applicant]
Liu et al., “Cough event classification by pretrained deep neural network,” BMC Medical Informatics and Decision Making, 2015, 10 pages, vol. 15, Suppl. 4. [cited by applicant]
Peplinski et al., “Frill: A Non-Semantic Speech Embedding for Mobile Devices,” University of Washington et al., 2021, 5 pages. [cited by applicant]
Pham, Cuong, “MobiCough: Real-Time Cough Detection and Monitoring Using Low-Cost Mobile Devices,” Asian Conference on Intelligent Information and Database Systems. ACIIDS 2016, Lecture Notes in Computer Science, 4 pages… [cited by applicant]
Shor et al., “Improving Speech Representations and Personalized Models Using Self-Supervision,” Google AI Blog, 2020, 6 pages. [cited by applicant]
Shor et al., “Towards Learning a Universal Non-Semantic Representation of Speech,” Google Research, Israel et al., 2020, 5 pages. [cited by applicant]
Vocalis Health Products: Using Voice to get back to work, https://vocalishealth.com, 2021, 5 pages. [cited by applicant]