Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Pretraining Respiratory Sound Representations using Metadata and Contrastive Learning

About

Methods based on supervised learning using annotations in an end-to-end fashion have been the state-of-the-art for classification problems. However, they may be limited in their generalization capability, especially in the low data regime. In this study, we address this issue using supervised contrastive learning combined with available metadata to solve multiple pretext tasks that learn a good representation of data. We apply our approach on respiratory sound classification. This task is suited for this setting as demographic information such as sex and age are correlated with presence of lung diseases, and learning a system that implicitly encode this information may better detect anomalies. Supervised contrastive learning is a paradigm that learns similar representations to samples sharing the same class labels and dissimilar representations to samples with different class labels. The feature extractor learned using this paradigm extract useful features from the data, and we show that it outperforms cross-entropy in classifying respiratory anomalies in two different datasets. We also show that learning representations using only metadata, without class labels, obtains similar performance as using cross entropy with those labels only. In addition, when combining class labels with metadata using multiple supervised contrastive learning, an extension of supervised contrastive learning solving an additional task of grouping patients within the same sex and age group, more informative features are learned. This work suggests the potential of using multiple metadata sources in supervised contrastive settings, in particular in settings with class imbalance and few data. Our code is released at https://github.com/ilyassmoummad/scl_icbhi2017

Ilyass Moummad, Nicolas Farrugia• 2022

Related benchmarks

TaskDatasetResultRank
Respiratory sound classificationICBHI dataset official (60-40% split)
Specificity75.95
42
Respiratory sound classificationICBHI 2017 (official)
Specificity75.95
32
4-class respiratory sound classificationICBHI 60-40% split official (test)
Specificity75.95
31
Respiratory sound classificationICBHI
Specificity76.17
14
Respiratory sound classificationICBHI 2017 (test)
Specificity75.95
10
4-class Lung Sound ClassificationICBHI 2017 (test)
Specificity75.95
7
Respiratory sound classificationSPRSound--
1
Showing 7 of 7 rows

Other info

Follow for update