Metadata-Conditioned Audio Transformers for Adaptive Respiratory Sound Classification
George Kontogiannis, Pantelis Tzamalis, Sotiris Nikoletseas
Key points
From the paper's conclusion- We further introduce two novel variants: Token-Aware FiLM (TAFiLM), which applies distinct modulation to classification and patch tokens, and Soft-Factorized FiLM (SoftFiLM), which learns soft masks to align metadata factors with disentangled feature subspaces.
Abstract
Respiratory sound classification from auscultation recordings is confounded by heterogeneous acquisition conditions, including recording device, auscultation site, and patient characteristics, that introduce systematic variability unrelated to the underlying pathology. Although such metadata is often available, existing approaches either ignore it or rely on na\"ive fusion strategies that do not model how distinct metadata sources influence different components of the acoustic representation. We propose a family of metadata-conditioning mechanisms for the Audio Spectrogram Transformer (AST), progressing from gated residual fusion to Feature-wise Linear Modulation (FiLM) adapted to the Transformer architecture. We further introduce two novel variants: Token-Aware FiLM (TAFiLM), which applies distinct modulation to classification and patch tokens, and Soft-Factorized FiLM (SoftFiLM), which learns soft masks to align metadata factors with disentangled feature subspaces. Experiments on the ICBHI benchmark demonstrate consistent gains across all conditioning strategies. SoftFiLM achieves 64.11% on the official 4-class task (+3.94% over the baseline) and 72.40% on the 2-class task, establishing a new state-of-the-art on the 2-class task and competitive performance on the 4-class benchmark.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Transformer Architectures for Respiratory Sound Analysis and Multimodal DiagnosisOperations Research Forum · 2026
- DAM-AST: An adaptive feature fusion and multi-scale attention enhancement network for respiratory sound-based respiratory disease classificationPhysica Scripta · 2026
- Clinically Informed Acoustic-Aware Attribute Modeling for Respiratory Sound ClassificationarXiv · 2026
- Reliability-aware transfer learning with BEATs for variable-length respiratory sound classification: A patient-disjoint evaluation in two public databases.Medical engineering & physics · 2026
- Structured auscultation evidence modeling for multi-protocol respiratory sound classification.Frontiers in medicine · 2026
- Acquisition and demographic factors shape pathology-related variability in respiratory sound analysisFrontiers in Physiology · 2026