A Structure-Aware Relation Network for Thoracic Diseases Detection and Segmentation

Jie Lian, Jingyu Liu, Shu Zhang, Kai Gao, Xiaoqing Liu, Dingwen Zhang, Yizhou Yu

Thoracic disease detection in chest X-rays (CXRs) is a complex task where radiologists rely heavily on anatomical context and disease interrelationships. While deep learning has made significant strides in image-level classification, precise localization and segmentation remain challenging. Standard object detectors often treat abnormalities as isolated objects, failing to incorporate the spatial priors and clinical domain knowledge essential for accurate diagnosis.

To bridge this gap, researchers have developed SAR-Net (Structure-Aware Relation Network), a framework that explicitly models the relationships between diseases, anatomical structures, and global context. Alongside the model, they introduced ChestX-Det, a high-quality dataset providing rare instance-level annotations to push the field beyond simple classification.

The SAR-Net Architecture

SAR-Net extends the popular Mask R-CNN architecture by integrating three specialized "Relation Modules" that mimic the diagnostic process of a radiologist:

  1. Anatomical Structure Relation Module (SRM): Radiologists know that certain diseases appear in specific locations (e.g., cardiomegaly involves the heart). The SRM uses a pre-trained segmentation model to identify five key landmarks—the lungs, scapulae, and heart—and encodes the spatial distance between a detected abnormality and these landmarks, providing the model with "anatomical coordinates."
  2. Contextual Relation Module (CRM): This module mimics "contralateral comparison," where a radiologist compares the left and right lungs to spot subtle asymmetries. It uses a query-key attention mechanism to compare a specific region of interest (RoI) against the features of the entire lung field.
  3. Disease Relation Module (DRM): Recognizing that conditions often co-occur (e.g., a rib fracture leading to a collapsed lung), the authors built a knowledge graph based on the statistical co-occurrence of 13 diseases. This module propagates information across the graph, allowing the detection of one disease to "prime" the model to look for related conditions.
The SAR-Net architecture integrates specialized modules for spatial, contextual, and disease-level relations into a standard detection pipeline.

The ChestX-Det Dataset

A major hurdle in medical AI is the scarcity of granular data. Most public datasets only provide image-level labels (e.g., "Pneumonia: Yes/No"). The authors addressed this by releasing ChestX-Det, a subset of the NIH ChestX-ray14 dataset containing 3,575 images. Each image features instance-level annotations (bounding boxes and masks) for 13 common categories, meticulously labeled by three board-certified radiologists.

Examples of instance-level annotations in the ChestX-Det dataset, showing various thoracic diseases with precise masks and bounding boxes.

Key Insights and Results

SAR-Net consistently outperformed the baseline Mask R-CNN across various backbones (ResNet-50, ResNet-101, and ResNeXt-101). On the ChestX-Det dataset, SAR-Net improved the detection accuracy ($AP^{bb}_{50}$) from 45.0% to 47.7% and mask accuracy ($AP^{mask}_{50}$) from 38.3% to 40.6%.

Several key findings emerged from the study:

  • Explicit Knowledge Matters: By feeding the model anatomical landmarks explicitly, it converges faster and achieves superior localization compared to standard CNNs that must learn these priors implicitly.
  • The Power of Symmetry: The CRM proved that comparing a suspicious area to the rest of the lung field provides a significant performance boost, especially for lung-specific diseases.
  • Category-Specific Gains: The model showed massive improvements in categories with fixed locations or strong clinical relations, such as Cardiomegaly and Pleural Thickening.

Limitations and Future Directions

While SAR-Net represents a significant advance, it is not without limitations. The SRM's performance is dependent on the quality of the initial anatomical segmentation; in severe "white-out" lung cases, poor landmark detection could lead to misleading spatial relations. Additionally, the model occasionally struggled to distinguish between visually similar and spatially overlapping features, such as Fibrosis and Emphysema.

Future work may involve integrating more complex causal reasoning beyond simple statistical co-occurrence and expanding the dataset to include rarer thoracic diseases, further enhancing the system's clinical utility.

Summary updated

BibTeX
@article{lian2021structure,
  author = {Jie Lian and Jingyu Liu and Shu Zhang and Kai Gao and Xiaoqing Liu and Dingwen Zhang and Yizhou Yu},
  title = {{A Structure-Aware Relation Network for Thoracic Diseases Detection and Segmentation}},
  journal = {IEEE Trans. Medical Imaging},
  year = {2021},
  url = {https://openreview.net/forum?id=zeejCCfTFF},
}
Figure