Skip to main content
QUICK REVIEW

[Paper Review] Visual Transformer with Statistical Test for COVID-19 Classification

Chih–Chung Hsu, Guanlin Chen|arXiv (Cornell University)|Jul 12, 2021
COVID-19 diagnosis using AIMedicine21 references15 citations
TL;DR

This paper proposes a 2D and 3D deep learning framework, DWCC and CCAT, for COVID-19 classification from chest CT scans. DWCC uses a deep Wilcoxon signed-rank test to automatically identify the most informative CT slices, while CCAT employs a Convolutional CT scan-Aware Transformer with within-slice and between-slice transformers to model spatial and temporal context. The method achieves 94.1% accuracy, significantly outperforming state-of-the-art models.

ABSTRACT

With the massive damage in the world caused by Coronavirus Disease 2019 SARS-CoV-2 (COVID-19), many related research topics have been proposed in the past two years. The Chest Computed Tomography (CT) scans are the most valuable materials to diagnose the COVID-19 symptoms. However, most schemes for COVID-19 classification of Chest CT scan is based on a single-slice level, implying that the most critical CT slice should be selected from the original CT scan volume manually. We simultaneously propose 2-D and 3-D models to predict the COVID-19 of CT scan to tickle this issue. In our 2-D model, we introduce the Deep Wilcoxon signed-rank test (DWCC) to determine the importance of each slice of a CT scan to overcome the issue mentioned previously. Furthermore, a Convolutional CT scan-Aware Transformer (CCAT) is proposed to discover the context of the slices fully. The frame-level feature is extracted from each CT slice based on any backbone network and followed by feeding the features to our within-slice-Transformer (WST) to discover the context information in the pixel dimension. The proposed Between-Slice-Transformer (BST) is used to aggregate the extracted spatial-context features of every CT slice. A simple classifier is then used to judge whether the Spatio-temporal features are COVID-19 or non-COVID-19. The extensive experiments demonstrated that the proposed CCAT and DWCC significantly outperform the state-of-the-art methods.

Motivation & Objective

  • To address the limitation of single-slice CT classification, which relies on manual selection of critical slices and fails to capture 3D context.
  • To reduce overfitting and improve generalization in low-data regimes common in medical imaging, especially for rare diseases like COVID-19.
  • To develop a computationally efficient yet powerful 3D model that leverages both spatial (pixel-level) and temporal (slice-level) context in CT volumes.
  • To enhance model interpretability by integrating nonparametric statistical inference (Wilcoxon test) into deep learning for slice importance ranking.
  • To outperform existing state-of-the-art methods in accuracy, precision, recall, and F1-score on the COV19-CT-DB dataset.

Proposed method

  • DWCC applies a Deep Wilcoxon signed-rank test to rank CT slices by their statistical significance in detecting COVID-19, enabling automatic selection of the most informative slices without manual intervention.
  • CCAT uses a two-branch transformer architecture: Within-Slice Transformer (WST) captures pixel-level context within each slice, and Between-Slice Transformer (BST) models inter-slice relationships across the 3D volume.
  • The model employs a ResNet-50 backbone to extract initial features from each CT slice, followed by feature processing through WST and BST for spatio-temporal representation learning.
  • A fixed input of 16 slices is used, sampled with a frequency of 2, and data augmentation (blurring, noise, contrast, brightness, optical distortion) is applied during training.
  • Random cropping and rotation are applied to the entire 3D volume rather than individual slices to preserve slice-level context integrity.
  • A model ensemble using majority voting between DWCC and CCAT improves performance, achieving the highest evaluation metrics.

Experimental results

Research questions

  • RQ1Can a nonparametric statistical test like the Wilcoxon signed-rank test be effectively integrated into deep learning to improve the interpretability and stability of slice-level importance ranking in CT scans?
  • RQ2Can a hybrid CNN-Transformer architecture effectively model both pixel-level and slice-level context in 3D CT volumes for improved COVID-19 classification?
  • RQ3Does the proposed CCAT model achieve superior performance compared to existing 2D and 3D baselines on the COV19-CT-DB dataset, particularly in low-data regimes?
  • RQ4How do hyperparameters such as the number of attention heads and input slice count affect the performance and generalization of the CCAT model?
  • RQ5Can the integration of statistical inference with deep learning reduce overfitting and improve model robustness in small medical imaging datasets?

Key findings

  • The proposed DWCC model achieved 91.9% accuracy, 93.1% precision, 91.1% recall, and 91.7% F1-score, significantly outperforming the baseline [8] and other state-of-the-art models.
  • The CCAT model achieved 93.3% accuracy, 93.5% precision, 92.9% recall, and 93.2% F1-score, demonstrating superior performance over existing 3D and 2D methods.
  • The model ensemble of DWCC and CCAT achieved the highest performance with 94.1% accuracy, 94.7% precision, 93.5% recall, and 93.9% F1-score, indicating complementary strengths.
  • Hyperparameter tuning showed optimal performance at 16 input slices and 0 attention heads (equivalent to gMLP), with stable and smooth training curves across all metrics.
  • Visualization results confirmed that the model localizes critical pathological regions in CT scans, even with only CT scan-level annotations, indicating improved interpretability.
  • The method effectively mitigates overfitting in low-data regimes and reduces reliance on expert-annotated critical slices, enabling fully automated and reliable classification.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.