Concurrent Ischemic Lesion Age Estimation and Segmentation of CT Brain Using a Transformer-Based Network

Adam Marcus, Paul Bentley, Daniel Rueckert

TL;DR

Researchers have developed a multi-task Transformer-based network that simultaneously segments ischemic stroke lesions and estimates their age from standard CT scans. By treating these as complementary tasks and utilizing uncertainty-aware "quantile loss," the model achieves a high AUC of 0.933 for identifying patients within the critical 4.5-hour treatment window, significantly outperforming traditional methods.

What Problem Does This Paper Address?

In stroke neurology, "Time is Brain." Treatments like intravenous thrombolysis (clot-busting drugs) are highly effective but carry risks, meaning they are generally only administered if the stroke occurred within the last 4.5 hours.

The challenge? Approximately 25% of strokes are "unwitnessed"—often called "wake-up strokes"—where the exact time of onset is unknown. While radiologists use non-contrast Computed Tomography (NCCT) as the first line of defense, early ischemic changes are incredibly subtle and difficult to see with the naked eye. Previous automation attempts usually treated segmentation (where is the lesion?) and age estimation (how old is it?) as separate problems, failing to exploit the fact that a lesion's appearance and its age are biologically linked.

Methods

The authors propose a novel end-to-end multi-task network based on the DEtection TRansformer (DETR) architecture. Key technical innovations include:

  • Gated Positional Self-Attention (GPSA): Standard Transformers often require massive datasets to learn spatial relationships. GPSA introduces a learnable gating parameter that helps the model focus on positional information, making it more "data-efficient" for smaller medical imaging datasets.
  • Pyramid Pooling Module (PPM): Integrated into the CNN backbone (ResNeXt-50) to capture features at multiple scales, increasing the effective receptive field.
  • Quantile Loss for Uncertainty: Instead of predicting a single "best guess" for the lesion's age, the model predicts three quantiles. This allows the system to generate a probability density function (PDF), providing clinicians with a measure of confidence rather than just a raw number.
  • CT-Specific Augmentation: They introduced a novel transform to simulate variations in slice thickness (1–3 mm), a common inconsistency in real-world clinical CT data.

Datasets

  • Primary Clinical Dataset: 776 acute stroke patients from two medical centers (2013–2019), with ground truth masks manually annotated by experts.
  • Independent Validation Set: 150 additional patients from the same sites to verify age estimation performance.
  • ISLES-2018: A public benchmark (Ischemic Stroke Lesion Segmentation) used to test how well the model generalizes to "out-of-domain" data (where labels are derived from MRI rather than CT).

Key Insights and Ideas

  • The Power of Multi-Tasking: The researchers found that training the model to do both tasks at once actually improved performance. The features learned to identify the shape of a lesion are inherently useful for determining its maturity.
  • Global Context Matters: Saliency maps revealed that the Transformer was "looking" at the healthy, unaffected side of the brain to compare it with the stroke-affected side. This mimics the behavior of human radiologists who look for subtle loss of contrast between gray and white matter relative to the contralateral hemisphere.
  • Embracing Uncertainty: By using quantile loss, the model doesn't just say "this stroke is 3 hours old." It provides a distribution. This is vital for clinical decision-making where the risk-benefit ratio of treatment changes based on the probability of being within the 4.5-hour window.

Key Results

  • Age Classification: The model achieved an AUC of 0.933 for identifying strokes $\le$ 4.5 hours old, compared to 0.858 for conventional intensity-based approaches.
  • Segmentation: It reached a Dice Similarity Coefficient (DSC) of 38.2%. While this number seems low compared to other medical imaging tasks, it is state-of-the-art for NCCT, where lesions are notoriously faint.
  • Detection Reliability: The model achieved a 98% lesion detection accuracy (LD-ACC), meaning it almost never missed the presence of a lesion entirely, even if the exact boundaries were difficult to define.
  • Efficiency: Inference takes approximately 14 seconds per subject, making it viable for emergency room workflows.

Limitations and Future Work

  • 2D vs. 3D: The current architecture processes the brain slice-by-slice (2D). While it captures global context within a slice, it misses out on volumetric (3D) relationships that could further improve accuracy.
  • Label Noise: The "ground truth" for stroke age relies on patient/witness reporting, which is inherently noisy.
  • Single-Reader Bias: The training masks were produced by a single experienced reader; multi-reader consensus might provide a more robust gold standard.
  • Next Steps: The authors suggest extending the backbone to a full 3D CNN or Swin Transformer to better leverage the spatial volume of the brain.

Summary updated

BibTeX
@article{marcus2023concurrent,
  author = {Adam Marcus and Paul Bentley and Daniel Rueckert},
  title = {{Concurrent Ischemic Lesion Age Estimation and Segmentation of CT Brain Using a Transformer-Based Network}},
  journal = {IEEE Trans. Medical Imaging},
  year = {2023},
}
Figure