Patient-Independent Evaluation Reveals Direction- and Architecture-Dependent Cross-Dataset Transfer in Respiratory Sound Classification
Respiratory sound classifiers are usually evaluated within a single corpus, often without patient-independent partitions, which can overstate their performance. We benchmarked event-level normal-versus-adventitious classification on SPRSound (paediatric) and ICBHI 2017 (predominantly adult, mixed-age) using strict patient-independent partitions, with checkpoints and decision thresholds selected on validation data only. Three model families, each trained with three seeds, were compared: a convolutional neural network (CNN) trained from scratch, a trainable classifier on frozen YAMNet embeddings, and a fine-tuned wav2vec 2.0 model. Uncertainty was estimated with patient-level bootstrap intervals, and the analysis was repeated over four patient partitions. Within each dataset, the families performed similarly (area under the receiver operating characteristic curve, AUROC, 0.80–0.84 on SPRSound and 0.64–0.71 on ICBHI). For ICBHI → SPRSound, only frozen YAMNet transferred (AUROC 0.69; 95% confidence interval 0.63–0.77), whereas the CNN and wav2vec 2.0 ranked events below chance (0.37 and 0.33). For SPRSound → ICBHI, no family exceeded chance (0.33–0.47). These patterns held across partitions, after correcting YAMNet input padding, and with training restricted to shared labels. Source-validated thresholds transferred poorly even when ranking was preserved. Patient independence is necessary but not sufficient: end-to-end models can learn dataset-specific cues that invert across corpora, and cross-dataset results should be reported per direction with patient-level uncertainty.
Authors
- Pablo López Osorio (ORCID: https://orcid.org/0000-0002-6152-6562)
- Daniel Morillo (ORCID: https://orcid.org/0000-0001-5603-0936)
Institutions
- Universidad de Cádiz (ES)
- Biomedical Research and Innovation Institute of Cadiz (ES)
Publication Details
- Journal
- Applied Sciences
- Published
- 2026-11-27
- DOI
- https://doi.org/10.3390/app162311776
- Primary Topic
- Phonocardiography and Auscultation Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00