Exposing Patient-Level Data Leakage in Respiratory Sound Classification: A Leakage-Free Benchmark Leveraging Transformer-Based TabPFN-3 and Knowledge Distillation.
Okan Düzyel, Mehmet Kuntalp, Fevzi Yasin Kababulut, Damla Gürkan Kuntalp
Department of Electrical and Electronics Engineering, İzmir Institute of Technology, Izmir 35430, Türkiye. · Department of Electrical and Electronics Engineering, Dokuz Eylül University, Izmir 35390, Türkiye.
Key points
From the paper's conclusion- We also distilled TabPFN-3 into small student models.
Abstract
Background/Objectives: Many studies on automated respiratory sound classification report near-perfect accuracy. In most of these studies, respiratory cycles are split randomly into training and test sets, so cycles of the same patient can be found in both sets. This patient-level data leakage makes the reported results higher than the real performance. In this study, we show this problem on the ICBHI 2017 dataset and build a leakage-free benchmark. Methods: We compare TabPFN-3, a pretrained tabular foundation model that predicts by in-context learning without task-specific gradient updates, with eight standard machine learning classifiers in a three-stage framework. Results: When the cycle-level split was replaced by a patient-level split (a stratified five-fold split repeated three times, 15 test folds, with every class present in every test fold), the accuracy of TabPFN-3 decreased from 0.9943 to 0.8722, the macro-F1 from 0.9807 to 0.5010 and the Matthews Correlation Coefficient (MCC) from 0.9805 to 0.5788. Nadeau-Bengio-corrected t-tests with Holm adjustment over the 15 folds showed that TabPFN-3 had a significantly higher MCC than all eight baselines. SHAP analysis showed that the first MFCC coefficient, the spectral bandwidth and the RMS energy contributed most to the predictions. We also distilled TabPFN-3 into small student models. The best student, a small transformer (276.3 KB), reached an MCC of 0.5140; its MCC difference from the teacher was not significant after Holm correction, but an equivalence test did not show equivalence and its macro-F1 was significantly lower. A shallow distilled decision tree gave readable rules, mainly for COPD and healthy recordings. Conclusions: Performance on several minority diseases remains low, so the models are not ready for clinical use, and the results should be seen as a realistic baseline for future work.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- PAC-KD: Pathology-Aware Compositional Knowledge Distillation for Respiratory Sound ClassificationarXiv · 2026
- Evaluation Choices Shape Biomedical ML Claims: A Pediatric Pneumonia Benchmark Case StudyarXiv · 2026
- A Leakage‐Aware Comparative Evaluation of Machine Learning Models for Voice‐Based Parkinson's Disease Screening, With External Validation on an Independent CohortEngineering Reports · 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
- Feature Scaling Beats Architecture Choice in Offline Respiratory Screening for Low-Resource ClinicsarXiv · 2026
- Resolving data bias improves generalization in binding affinity predictionNature Machine Intelligence · 2025