TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Pretraining Respiratory Sound Representations using Metada...

Pretraining Respiratory Sound Representations using Metadata and Contrastive Learning

Ilyass Moummad, Nicolas Farrugia

2022-10-27Sound ClassificationRepresentation LearningAudio ClassificationContrastive LearningClassification
PaperPDFCode(official)

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. Our code is released at https://github.com/ilyassmoummad/scl_icbhi2017

Results

TaskDatasetMetricValueModel
Audio ClassificationICBHI Respiratory Sound DatabaseICBHI Score58.04CNN6 (+metadata)
Audio ClassificationICBHI Respiratory Sound DatabaseICBHI Score57.55CNN6
Audio ClassificationICBHI Respiratory Sound DatabaseSpecificity75.95CNN6
Audio ClassificationICBHI Respiratory Sound DatabaseICBHI Score54.74CNN6 (scratch)
Audio ClassificationICBHI Respiratory Sound DatabaseSensitivity33.84CNN6 (scratch)
Audio ClassificationICBHI Respiratory Sound DatabaseSpecificity75.35CNN6 (scratch)
Audio ClassificationICBHI Respiratory Sound DatabaseSensitivity39.15CNN6 (+metadata)
Audio ClassificationICBHI Respiratory Sound DatabaseSpecificity76.93CNN6 (+metadata)
ClassificationICBHI Respiratory Sound DatabaseICBHI Score58.04CNN6 (+metadata)
ClassificationICBHI Respiratory Sound DatabaseICBHI Score57.55CNN6
ClassificationICBHI Respiratory Sound DatabaseSpecificity75.95CNN6
ClassificationICBHI Respiratory Sound DatabaseICBHI Score54.74CNN6 (scratch)
ClassificationICBHI Respiratory Sound DatabaseSensitivity33.84CNN6 (scratch)
ClassificationICBHI Respiratory Sound DatabaseSpecificity75.35CNN6 (scratch)
ClassificationICBHI Respiratory Sound DatabaseSensitivity39.15CNN6 (+metadata)
ClassificationICBHI Respiratory Sound DatabaseSpecificity76.93CNN6 (+metadata)

Related Papers

Touch in the Wild: Learning Fine-Grained Manipulation with a Portable Visuo-Tactile Gripper2025-07-20Spectral Bellman Method: Unifying Representation and Exploration in RL2025-07-17Boosting Team Modeling through Tempo-Relational Representation Learning2025-07-17Task-Specific Audio Coding for Machines: Machine-Learned Latent Features Are Codes for That Machine2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17SemCSE: Semantic Contrastive Sentence Embeddings Using LLM-Generated Summaries For Scientific Abstracts2025-07-17HapticCap: A Multimodal Dataset and Task for Understanding User Experience of Vibration Haptic Signals2025-07-17Overview of the TalentCLEF 2025: Skill and Job Title Intelligence for Human Capital Management2025-07-17