Pretraining Respiratory Sound Representations using Metadata and Contrastive Learning
Authors:
- 22 October 2023
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-5
Abstract
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.Keywords
All Related Versions
This publication has 14 references indexed in Scilit:
- Self-Supervised Learning from Automatically Separated Sound Scenes2021
- LungAttn: advanced lung sound classification using attention mechanism with dual TQWT and triple STFT spectrogramPhysiological Measurement, 2021
- Contrastive Embeddind Learning Method for Respiratory Sound Classification2021
- Unsupervised Contrastive Learning of Sound Event Representations2021
- Contrastive Learning of General-Purpose Audio Representations2021
- LungRN+NL: An Improved Adventitious Lung Sound Classification Using Non-Local Block ResNet Neural Network with Mixup Data Augmentation2020
- PANNs: Large-Scale Pretrained Audio Neural Networks for Audio Pattern RecognitionIEEE/ACM Transactions on Audio, Speech, and Language Processing, 2020
- SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognition2019
- An open access database for the evaluation of respiratory sound classification algorithmsPhysiological Measurement, 2019
- Hidden Markov Model Based Respiratory Sound Classification2017