Coswara - A Database of Breathing, Cough, and Voice Sounds for COVID-19 Diagnosis

Neeraj Kumar Sharma, Prashant Krishnan V, Rohit Kumar, Shreyas Ramoji, Srikanth Raj Chetupalli, Nirmala R., Prasanta Kumar Ghosh, Sriram Ganapathy

Introduction

The COVID-19 pandemic highlighted a critical need for rapid, scalable, and non-invasive diagnostic tools. While the Reverse Transcription Polymerase Chain Reaction (RT-PCR) test remains the gold standard, its limitations—including high costs, significant processing times (2-48 hours), and the requirement for physical contact between healthcare workers and patients—create barriers to universal screening.

As COVID-19 is primarily a respiratory disease, it fundamentally alters the physiology of the lungs and vocal tract. These changes often manifest as a dry cough, shortness of breath, and altered speech patterns. The Coswara project explores the hypothesis that these physiological shifts leave unique "acoustic biomarkers" in respiratory sounds. By leveraging crowdsourcing to build a massive database of these sounds, the researchers aim to develop machine learning models capable of providing a low-cost, remote pre-screening alternative to traditional testing.

Methodology

The researchers implemented a three-stage pipeline to transition from data collection to a viable diagnostic tool. The process began with a web-based application accessible via smartphones and laptops, allowing for global data collection without specialized medical equipment.

The three-stage workflow of the Coswara project, illustrating the path from crowdsourced collection to public diagnostic tool release.

Signal Processing and Classification

To validate the utility of the collected audio, the team employed a standard machine learning pipeline:

  1. Feature Extraction: Audio samples were divided into 500ms segments. From these, a 28-dimensional feature vector was extracted, comprising Mel-frequency cepstral coefficients (MFCCs), spectral contrast, spectral roll-off, and zero-crossing rates.
  2. Classification: A Random Forest classifier (utilizing 30 trees) was trained for a 9-class classification task to distinguish between different sound types (e.g., shallow vs. heavy coughs).
  3. Quality Control: A team of 13 human annotators manually reviewed the files to categorize them by quality, ensuring the integrity of the training data.

The Coswara Dataset

Released as an open-access resource, the Coswara Database represents a significant contribution to the medical ML community. At the time of initial reporting in August 2020, the dataset included:

  • 941 Participants: Primarily from India, providing a diverse range of acoustic samples.
  • 9 Sound Categories: Each participant provided recordings of shallow and deep breathing, shallow and heavy coughs, three sustained vowels (/ey/, /i/, /u/), and normal and fast digit counting.
  • Comprehensive Metadata: Records include age, gender, location, health status (healthy, exposed, cured, or infected), and comorbidities.

Results and Discussion

The project successfully demonstrated that consumer-grade microphones are sufficient for capturing high-quality respiratory data. Human annotation revealed that the vast majority of crowdsourced samples were "clean," despite being recorded in uncontrolled home environments.

Distribution of audio quality across the nine sound categories, showing a high prevalence of 'clean' samples suitable for analysis.

Classification Performance

The Random Forest classifier achieved a 66.74% accuracy in identifying sound categories. While this figure represents sound-type identification rather than a COVID-19 diagnosis, it serves as a vital proof-of-concept that extracted acoustic features successfully capture the unique properties of different respiratory activities.

An interesting finding was the significant "confusion" between cough and forced breathing samples. This suggests that these two activities share similar turbulent noise characteristics in their acoustic signatures, whereas sustained vowels are much more distinct and easier for models to classify.

Conclusion and Future Work

The Coswara project establishes a viable framework for using crowdsourcing to build medical datasets during a global health crisis. While the initial results are promising, the authors acknowledge that the tool is currently a work in progress.

Future efforts will focus on moving from sound-type classification to health-status diagnosis—specifically identifying the unique signature of COVID-19. This will involve exploring deep learning architectures, such as CNNs and RNNs, and conducting rigorous clinical validation against RT-PCR results. Ultimately, Coswara is intended to serve as a pre-screening tool to prioritize individuals for clinical testing, rather than a replacement for chemical diagnostics.

Summary updated

BibTeX
@inproceedings{sharma2020coswara,
  author = {Neeraj Kumar Sharma and Prashant Krishnan V and Rohit Kumar and Shreyas Ramoji and Srikanth Raj Chetupalli and Nirmala R. and Prasanta Kumar Ghosh and Sriram Ganapathy},
  title = {{Coswara - A Database of Breathing, Cough, and Voice Sounds for COVID-19 Diagnosis}},
  booktitle = {Interspeech},
  year = {2020},
  doi = {10.21437/interspeech.2020-2768},
}
Figure