Skip to main content
QUICK REVIEW

[Paper Review] Spatiotemporal Feature Learning Based on Two-Step LSTM and Transformer for CT Scans

Chih–Chung Hsu, Chi-Han Tsai|arXiv (Cornell University)|Jul 4, 2022
COVID-19 diagnosis using AIMedicine6 citations
TL;DR

This paper proposes a two-step spatiotemporal feature learning framework for COVID-19 classification in CT scans, using 2D CNNs for slice-level embedding followed by LSTM and Swin Transformer models for temporal modeling. The method achieves state-of-the-art performance with lower false-negative (LSTM) and false-positive (Swin) rates, demonstrating complementary strengths in diagnostic reliability.

ABSTRACT

Computed tomography (CT) imaging could be very practical for diagnosing various diseases. However, the nature of the CT images is even more diverse since the resolution and number of the slices of a CT scan are determined by the machine and its settings. Conventional deep learning models are hard to tickle such diverse data since the essential requirement of the deep neural network is the consistent shape of the input data. In this paper, we propose a novel, effective, two-step-wise approach to tickle this issue for COVID-19 symptom classification thoroughly. First, the semantic feature embedding of each slice for a CT scan is extracted by conventional backbone networks. Then, we proposed a long short-term memory (LSTM) and Transformer-based sub-network to deal with temporal feature learning, leading to spatiotemporal feature representation learning. In this fashion, the proposed two-step LSTM model could prevent overfitting, as well as increase performance. Comprehensive experiments reveal that the proposed two-step method not only shows excellent performance but also could be compensated for each other. More specifically, the two-step LSTM model has a lower false-negative rate, while the 2-step Swin model has a lower false-positive rate. In summary, it is suggested that the model ensemble could be adopted for more stable and promising performance in real-world applications.

Motivation & Objective

  • Address the challenge of inconsistent CT scan resolution and slice count across patients, which hinders deep learning generalization.
  • Develop a robust method to extract spatiotemporal features from variable-length CT scans for reliable COVID-19 classification.
  • Reduce overfitting and improve performance by decoupling feature extraction from temporal modeling in a two-step pipeline.
  • Compare the diagnostic reliability of LSTM- and Transformer-based models, focusing on false-negative and false-positive rates.

Proposed method

  • Use EfficientNet-B3 as a 2D CNN backbone to extract 224-dimensional semantic embeddings from individual CT slices.
  • Apply a two-step approach: first extract slice-level features, then model temporal dependencies across slices using bi-directional LSTM with 4 layers and 128 hidden units.
  • For the Transformer-based branch, randomly sample 224 slices per scan (with replacement if fewer than 224) to standardize input length for Swin Transformer.
  • Employ ensemble inference by averaging predictions over 10–50 random slice sampling sets to improve robustness and reduce variance.
  • Use Adam optimizer with learning rate 0.0001 and weight decay 0.0005 for training, with a 0.5 classification threshold for final prediction.

Experimental results

Research questions

  • RQ1Can a two-step deep learning framework effectively handle variable-length CT scans with inconsistent resolution and slice count?
  • RQ2Does separating feature extraction from temporal modeling reduce overfitting and improve classification performance on medical imaging data?
  • RQ3How do LSTM- and Transformer-based models compare in terms of false-negative and false-positive rates for COVID-19 CT classification?
  • RQ4Can model ensembling of complementary architectures (LSTM and Swin) lead to more stable and reliable diagnostic outcomes?

Key findings

  • The two-step LSTM model achieved a sensitivity (SE) of 0.900, indicating a lower false-negative rate compared to other models.
  • The two-step Swin Transformer model achieved a specificity (SP) of 0.981, indicating a lower false-positive rate than other models.
  • The 2D CNN baseline achieved a macro-F1 score of 0.930, which improved to 0.937 after 50-time averaging of random slice sampling sets.
  • The 2-step LSTM model outperformed the 2D CNN and ADLeaST in sensitivity, showing better detection of true positive cases.
  • The 2-step Swin model achieved the highest specificity (0.981), demonstrating superior ability to correctly identify non-COVID cases.
  • Model ensemble of LSTM and Swin branches is suggested to combine low false-negative and low false-positive performance for real-world diagnostic stability.

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.