Iterative Attention Mining for Weakly Supervised Thoracic Disease Pattern Localization in Chest X-Rays

Jinzheng Cai, Le Lu, Adam P. Harrison, Xiaoshuang Shi, Pingjun Chen, Lin Yang

Introduction

In medical imaging, high-quality "ground truth" annotations are a significant bottleneck. While large-scale datasets like ChestX-ray14 provide thousands of images with general diagnostic labels (image-level labels), obtaining precise pixel-level localization (bounding boxes) from expert radiologists is prohibitively expensive and time-consuming.

Existing weakly supervised methods often rely on Class Activation Maps (CAMs) to identify disease locations. However, CAMs typically focus on the single most salient region, often missing the full extent of a lesion or failing to identify multiple instances of the same pathology. This paper introduces a novel framework designed to "mine" comprehensive disease patterns by iteratively uncovering secondary and tertiary features while maintaining overall classification performance.

Methodology

The proposed framework addresses the limitations of standard CAMs through a three-pronged strategy: Iterative Attention Mining, Knowledge Preservation, and Multi-Scale Aggregation.

Iterative Attention Mining (AM)

The core of the approach is a "hide and seek" mechanism. Once the model identifies the most representative area of a disease, that region is masked in the feature map. The model is then tasked with re-classifying the image, forcing it to identify alternative, less obvious regions that still indicate the presence of the disease. This process repeats iteratively, and the resulting attention maps are merged to provide a more complete localization of the pathology.

Knowledge Preservation (KP)

A significant risk of iterative masking is that the model may begin to overfit to noise or "forget" the primary features of the original disease. To counter this, the authors introduced a Knowledge Preservation loss. This loss minimizes the discrepancy between the original network's responses and the updated network's responses, ensuring the model remains anchored to its foundational knowledge while exploring new regions.

Multi-Scale Aggregation (MSA)

Standard deep learning architectures often downsample images significantly, which can lead to the loss of spatial detail necessary for detecting small abnormalities like lung nodules. The MSA module combines high-resolution features from earlier layers with deep semantic features from later layers, effectively doubling the resolution of the resulting attention maps and improving localization accuracy for small targets.

Overview of the proposed framework including Attention Mining, Knowledge Preservation, and Multi-scale Aggregation.

Experimental Results

The study utilized the ChestX-ray14 dataset, containing over 112,000 frontal-view X-ray images. The model was trained using image-level labels and evaluated against a subset of 880 images with hand-drawn bounding boxes.

Localization Performance

The proposed method demonstrated significant improvements over standard CAM-based approaches. Notable gains were observed in difficult categories:

  • Infiltration: Accuracy improved from 0.37 to 0.54 at a 0.3 IoU threshold.
  • Nodules: Accuracy improved from 0.04 to 0.24, highlighting the effectiveness of the MSA module.

Qualitative Analysis

Visualization of the heatmaps confirms that the model successfully expands its focus from a single hotspot to multiple disparate regions of infection or collapse. As shown in the iterative process, the final merged map ($H_f^c$) captures a much more complete clinical picture than the initial baseline ($H_1^c$).

Qualitative comparison of iterative attention maps showing expansion of localized disease patterns on a chest X-ray.

Conclusion

By combining iterative masking with knowledge preservation and multi-scale feature aggregation, this framework significantly advances the state-of-the-art in weakly supervised disease localization. While the system is dependent on the quality of the initial baseline iteration, it proves that models trained only on image-level labels possess a latent ability to recognize complex, multi-focal patterns when forced to look beyond the most obvious features. Future work may explore incorporating small amounts of supervised data to further refine the mining process in challenging cases.

Summary updated

BibTeX
@inproceedings{cai2018iterative,
  author = {Jinzheng Cai and Le Lu and Adam P. Harrison and Xiaoshuang Shi and Pingjun Chen and Lin Yang},
  title = {{Iterative Attention Mining for Weakly Supervised Thoracic Disease Pattern Localization in Chest X-Rays}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2018},
  url = {https://openreview.net/forum?id=7W1bwjbR7L},
}
Figure