arXiv:2610.22826cs.SDOct 2026

Manuscript Offprint

arXiv:2610.22826

PAC-KD: Pathology-Aware Compositional Knowledge Distillation for Respiratory Sound Classification

Li Xiao, Weiping Tu, Youqiang Zheng, Dan Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Li Xiao, Weiping Tu ∗^{*}, Youqiang Zheng, Dan Chen

Abstract—Respiratory sound classification distinguishes four categories: Normal, Crackle, Wheeze, and Both (crackle and wheeze). Existing knowledge distillation transfers four-class predictions without explicitly exploiting shared respiratory events, potentially limiting the transfer of event-specific knowledge across individual abnormal classes and the Both class. We propose PAC-KD, a pathology-aware compositional knowledge distillation framework that learns crackle and wheeze presence through two dedicated specialists. Their complementary knowledge is transferred to a unified four-class student, enabling it to effectively capture pathology-specific attributes while preserving class-level discrimination. Furthermore, stable conflict calibration adaptively regulates specialist guidance according to its consistency with classification supervision, mitigating potential supervision conflicts. Experiments on ICBHI and SPRSound achieve Scores of 65.28% and 89.54%, respectively, outperforming strong knowledge distillation baselines on both datasets.

Index Terms—Respiratory Sound Classification, Knowledge Distillation, Pathology-aware Learning, Compositional Learning

I. INTRODUCTION

Respiratory sounds provide valuable acoustic information for non-invasive assessment of pulmonary conditions [1]–[3]. Automated respiratory sound classification identifies adventitious events, such as crackles and wheezes, in auscultation recordings. The widely adopted ICBHI benchmark categorizes respiratory cycles as Normal, Crackle, Wheeze, or Both (crackle and wheeze) [4]. Pretrained audio models, contrastive learning, and respiratory-sound-specific approaches have substantially improved classification performance [5]–[7]. However, the shared respiratory events underlying these categories provide an additional source of knowledge that remains insufficiently exploited.

Existing studies have primarily focused on acoustic representations, data augmentation, and task-specific learning strategies [5], [8]–[10]. Knowledge distillation (KD) provides a complementary approach by transferring informative teacher predictions to a student model, with demonstrated benefits across audio architectures [11]–[13]. For respiratory sound classification, Toikkanen introduced ensemble-based KD, using multiple four-class teachers to supervise a single four-class student [14]. While effective, such class-level distillation does not explicitly emphasize the respiratory events shared across categories, potentially limiting the transfer of crackle- and wheeze-related knowledge across individual abnormal classes and the Both class.

The four categories have a clear compositional structure: Crackle and Both share crackle presence, whereas Wheeze and Both share wheeze presence. The Both class thus represents the co-occurrence of two respiratory events rather than an unrelated acoustic category. Recent studies have begun to incorporate these relationships into model learning. Lung-Mix considers respiratory semantics when mixing waveforms and labels, while PC-MCL combines event-based multi-label learning with multi-cycle concatenation and patient-matching supervision [9], [15]. These approaches highlight the value of respiratory-event structure, but exploit it through data construction or the training objectives of the target classifier. In contrast, transferring complementary event knowledge learned by independent specialists to a unified four-class student remains less explored.

Motivated by this, we propose Pathology-Aware Compositional Knowledge Distillation (PAC-KD). Two independently trained specialists learn crackle and wheeze presence across individual and co-occurring categories. Their complementary knowledge is distilled into the corresponding attribute marginals of a unified four-class student, encouraging pathology-specific attribute learning while preserving class-level discrimination. Stable conflict calibration further adjusts specialist guidance according to its consistency with classification supervision, mitigating potential conflicts during knowledge transfer. Experiments on ICBHI and SPRSound achieve mean Scores of 65.28% and 89.54%, respectively, outperforming the evaluated knowledge distillation baselines and supporting the effectiveness of compositional event-level knowledge transfer.

References (19)