Multi Source COVID-19 Detection via Kernel-Density-based Slice Sampling

Chia-Ming Lee, Bo-Cheng Qiu, Ting-Yao Chen, Ming-Han Sun, Fang-Ying Lin, Jung-Tse Tsai, I-An Tsai, Yu-Fan Lin, Chih-Chung HsuarXiv 2025

TL;DR

The authors tackle the challenge of multi-institutional domain shifts in COVID-19 CT diagnostics by introducing a Kernel-Density-based Slice Sampling (KDS) method within a Spatial-Slice Feature Learning framework. By intelligently selecting just eight representative 2D slices per patient scan, their approach slashes data redundancy by 70% while achieving a top F1-score of 94.68% using a lightweight EfficientNet-B7 backbone.

What Problem Does This Paper Address?

Deploying deep learning models for computer-aided diagnosis across multiple hospitals is notoriously difficult due to domain shift. Chest CT scans vary significantly depending on the scanner vendor, reconstruction kernels, slice thickness, and patient demographics. A model trained on data from one hospital often underperforms when tested on another.

Furthermore, processing full 3D CT volumes is computationally expensive and introduces substantial data redundancy, as many slices contain little to no diagnostic information. The authors aim to build a robust, computationally efficient pipeline that extracts domain-invariant features from heterogeneous, multi-source data for binary COVID-19 vs. NON-COVID classification.

Methods

The authors propose a multi-stage preprocessing and classification pipeline designed to standardize multi-source data:

Figure 1. Pipeline overview of the proposed multi-source COVID- 19 detection approach, showing the preprocessing steps (SSFL and KDS) and model architectures.
  1. Lung Region Extraction & Cropping: To eliminate background noise and non-pulmonary artifacts, the pipeline applies a $3 \times 3$ minimum filtering kernel followed by fixed-threshold binarization and hole filling. Scans with fewer than 5 slices or inconsistent dimensions are discarded for quality control. The remaining lung tissue regions are cropped and resized to $256 \times 256$ pixels.
  2. Kernel-Density-based Slice Sampling (KDS): Instead of uniform sampling or processing the entire 3D volume, the authors use Kernel Density Estimation (KDE) to model the distribution of lung areas across the slice range. They compute the Cumulative Distribution Function (CDF) of this distribution and divide it into eight percentile intervals. Exactly one representative slice is sampled from each interval, ensuring full anatomical coverage of the lungs while discarding redundant frames.
  3. Classification Backbones: The 8 selected slices are fed into downstream classifiers. The authors compare a convolutional approach (EfficientNet-B7) against a transformer-based approach (Swin Transformer-Base). Both models aggregate features across the 8 slices using global average pooling before final classification.

Datasets

The approach was evaluated on the dataset provided by the PHAROS-AFE-AIMI Multi-Source Covid-19 Detection Challenge, which aggregates chest CT scans from four distinct medical centers (labeled Sources 0 to 3):

  • Training Set: 564 COVID-19 scans and 659 non-COVID-19 scans.
  • Validation Set: 128 COVID-19 scans and 180 non-COVID-19 scans.
  • Testing Set: 1,488 cases (with unreleased labels for challenge evaluation).

Notably, the dataset exhibits severe local imbalances; for instance, the validation set for Source 2 contains exclusively positive (COVID-19) cases, providing a unique challenge for metric stability.

Key Insights and Ideas

  • Less is More: By using KDS to select only 8 highly informative slices, the authors reduced data redundancy by 70%. This proves that dense 3D volumetric processing isn't strictly necessary for robust classification if the spatial sampling strategy is clinically grounded.
  • CNNs Still Edge Out Transformers in Data-Constrained Medical Tasks: Despite the massive popularity of Vision Transformers, the EfficientNet-B7 backbone consistently outperformed the Swin Transformer. The inductive biases of convolutional networks (like translation invariance) appear to offer better generalization when dealing with multi-site domain shifts and limited medical imaging datasets.
  • The Pitfalls of Validation Set Design: The authors highlighted how severe class imbalances in multi-institutional datasets (such as Source 2 having zero negative validation cases) can completely distort standard evaluation metrics like the F1-score, underscoring the need for careful dataset curation in medical AI benchmarks.

Key Results

Under multi-source joint training (where data from all centers are combined), the models achieved the following results on the validation set:

  • EfficientNet-B7: Achieved the top performance with an F1-score of 94.68% and an AUC-ROC of 0.9813.
  • Swin Transformer: Followed closely with an F1-score of 93.34% and an AUC-ROC of 0.9797.

When evaluated on source-specific training, performance varied. EfficientNet-B7 achieved an F1-score of 97.53% on Source 0 and 90.90% on Source 3, but dropped significantly on Source 2 due to the aforementioned validation set imbalance (only positive cases present).

Limitations and Future Work

The primary limitation acknowledged by the authors stems from the dataset's intrinsic anomalies. The absolute lack of negative cases in Source 2's validation set made it impossible to compute reliable source-specific binary classification metrics for that center.

For future work, the authors suggest exploring more advanced domain adaptation strategies to further harmonize latent representations across highly heterogeneous scanner vendors without sacrificing the clinical interpretability of the sampled slices.

Summary updated

BibTeX
@misc{lee2025multi,
  author = {Chia-Ming Lee and Bo-Cheng Qiu and Ting-Yao Chen and Ming-Han Sun and Fang-Ying Lin and Jung-Tse Tsai and I-An Tsai and Yu-Fan Lin and Chih-Chung Hsu},
  title = {{Multi Source COVID-19 Detection via Kernel-Density-based Slice Sampling}},
  year = {2025},
  eprint = {2507.01564},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.01564},
}
Figure