ImageCLEF 2017: ImageCLEF Tuberculosis Task - the SGEast Submission

Jiamei Sun, Penny Chong, Yi Xiang Marcus Tan, Alexander Binder

Abstract

This paper presents the SGEast team's methodology for the ImageCLEF 2017 Tuberculosis challenge, focusing on the classification of drug-resistant tuberculosis (TB) and the identification of TB types from 3D Computed Tomography (CT) scans. Our approach utilizes a hybrid deep learning architecture that combines ResNet-50 for spatial feature extraction with Long Short-Term Memory (LSTM) networks for sequence modeling. By treating the 3D volume as a sequence of 2D slices, the model effectively captures both local pathological features and global structural relationships. The proposed system achieved top rankings in the competition, including 1st place in the TB-type identification subtask.

Introduction

Tuberculosis remains a significant global health threat, with multi-drug-resistant (MDR) strains posing a critical challenge to effective treatment. Traditional diagnostic methods for MDR-TB are often slow and resource-intensive, necessitating the development of automated diagnostic tools. Computerized Tomography (CT) scans provide detailed 3D views of lung pathology, but automated analysis is hindered by a low signal-to-noise ratio; TB often affects only a small fraction of the total lung volume. Consequently, many 2D slices in a 3D scan may appear healthy despite the patient having a positive diagnosis, creating a difficult weak-labeling problem for standard machine learning models.

Methodology

Our team developed a dual-stage pipeline to process 3D CT data, addressing both spatial characteristics and temporal (sequential) dependencies between slices.

Spatial Feature Extraction

We initially treated each 3D CT scan as a collection of independent 2D slices. Using transfer learning, we fine-tuned a ResNet-50 model on the TB dataset. We specifically investigated the impact of pooling layers, comparing Maxpooling and Average pooling. Our findings indicated that Maxpooling was superior for this task, as it allowed the model to focus on the most prominent pathological signals within a slice, whereas Average pooling tended to dilute these signals with information from healthy tissue.

Temporal Sequence Learning

To capture the volumetric context of the lungs, we implemented a CNN-LSTM architecture. The fine-tuned ResNet-50 served as a fixed feature extractor, converting each slice into a high-dimensional numerical vector. These vectors were then processed by a 3-layer stacked LSTM network to model the sequence of the lungs from top to bottom.

The overall methodology pipeline, illustrating the transition from 3D CT scans through preprocessing and feature extraction to final classification.

Architecture Details

For the recurrent component, we utilized a "peephole" LSTM variant. This architecture allows the gate layers to look at the cell state, providing more precise control over the information flow across the sequence of CT slices. This was particularly effective for the TB-type task, where the spatial distribution of lesions across the lung is a key diagnostic indicator.

The detailed architecture of a peephole LSTM cell, showing the internal gates and connections used to model temporal dependencies.

Datasets and Preprocessing

The study utilized the official ImageCLEF 2017 Tuberculosis datasets:

  • MDR Task: 230 CT scans.
  • TB-Type Task: 500 CT scans.

Preprocessing involved slicing 3D volumes into 512x512 grayscale images. To combat overfitting and expand the limited training set, we applied extensive data augmentation, including rotations, blurring, and adjustments to contrast and brightness, which quadrupled the available training data.

Results and Discussion

The SGEast submission demonstrated state-of-the-art performance in the ImageCLEF competition:

  • TB-Type Task: Achieved Rank 1 and 2 with an accuracy of 0.4033 and a Kappa coefficient of 0.2438.
  • MDR Task: Achieved Rank 4 and 5 with an AUC of 0.5620 and an accuracy of 0.5493.

Key Insights

  • The Masking Paradox: Interestingly, using provided lung masks to isolate the lung area sometimes decreased performance. We hypothesize that the masks may have introduced noise or excluded subtle features near the lung boundaries that were relevant for diagnosis.
  • Sequence Importance: The LSTM approach significantly outperformed standard CNNs and vanilla RNNs, confirming that the spatial relationship between different lung regions is vital for accurate TB classification.

Conclusion and Future Work

While our hybrid CNN-LSTM model achieved top results, the low signal-to-noise ratio in medical imaging remains a primary hurdle. Future work will focus on improving data quality through manual slice labeling to create a cleaner training set and introducing a "background" class to help the model explicitly ignore healthy tissue. Additionally, we aim to implement explainability techniques, such as Layer-wise Relevance Propagation (LRP), to provide clinicians with visual heatmaps justifying the model's diagnostic output.

Summary updated

BibTeX
@inproceedings{sun2017imageclef,
  author = {Jiamei Sun and Penny Chong and Yi Xiang Marcus Tan and Alexander Binder},
  title = {{ImageCLEF 2017: ImageCLEF Tuberculosis Task - the SGEast Submission}},
  booktitle = {CLEF (Working Notes)},
  year = {2017},
}
Figure