Longitudinal Mammogram Risk Prediction

Batuhan K. Karaman, Katerina Dodelzon, Gozde B. Akar, Mert R. Sabuncu

TL;DR

Researchers have developed LoMaR (Longitudinal Mammogram Risk model), a transformer-based AI that analyzes a patient's entire history of mammograms to predict future breast cancer risk. The study demonstrates that incorporating up to four years of prior scans significantly improves long-term risk assessment and helps the model better localize suspicious lesions.

What Problem Does This Paper Address?

In breast cancer screening, radiologists look for changes over time. However, most current AI models—and even the standard BI-RADS reporting system—primarily focus on the "present" scan, occasionally comparing it to just the most recent prior visit.

While temporal changes in breast tissue are known to be clinically significant, there hasn't been a systematic study quantifying exactly how much historical data is needed for optimal risk prediction. This paper addresses that gap by asking: Does having a longer history of scans actually make AI better at predicting cancer years into the future?

Methods

The authors introduce LoMaR, which stands for Longitudinal Mammogram Risk model. It is built upon the architecture of Mirai, a well-known state-of-the-art model, but extends it to handle an arbitrary number of past visits.

The architecture follows a hierarchical approach:

  1. Image Encoder: A ResNet-18 extracts features from the four standard mammography views (Left/Right, CC/MLO).
  2. Image Aggregator: A transformer encoder fuses these four views into a single "visit embedding."
  3. Visit Aggregator: This is the core novelty. A second transformer encoder treats each visit embedding as a token in a sequence. It uses temporal encodings (sine/cosine functions) to understand the chronological order and spacing of visits.
  4. Survival Module: An additive hazard layer predicts the cumulative risk of cancer for each of the next five years.
The LoMaR architecture uses a hierarchical transformer approach to process multiple visits over time.

Datasets

The model was trained and evaluated on the Karolinska case-control (CSAW-CC) dataset, which includes:

  • 19,328 mammograms from 7,353 patients.
  • 1,413 cancer diagnoses.
  • Scans spanning from 2008 to 2016.

To maximize the utility of this data, the researchers used a "sliding window" training strategy, treating every visit in a patient's history as a potential "present point" and looking back at up to four years of history while tracking outcomes for five years into the future.

Key Insights and Ideas

  • The "History Boost": The most significant finding is that long-term prediction (e.g., 5-year risk) improves progressively as more history is added. Moving from zero history to four years of history increased the 5-year ROCAUC from 0.81 to 0.86.
  • Short-term vs. Long-term: Interestingly, 1-year risk prediction remains very high (~0.92) regardless of how much history is provided. This suggests that for immediate cancer detection, the current scan contains most of the necessary information, but history is vital for "looking around the corner" at future risk.
  • Frequency Matters: The model performed better with annual data collection ($4^\star$) than with biennial (every two years) data ($4^\dagger$), highlighting the clinical value of frequent screening for high-risk assessment.
  • Better Localization: By looking at past scans, the model isn't just getting "luckier" with its guesses; it's actually learning to better localize suspicious lesions that might appear ambiguous on a single scan.

Key Results

LoMaR achieved state-of-the-art results on the Karolinska dataset, even when using only the current mammogram. However, its performance scaled impressively with longitudinal data:

History Duration 1-year ROCAUC 5-year ROCAUC
0 (Current only) 0.92 0.81
2 Years (Annual) 0.92 0.83
4 Years (Annual) 0.92 0.86

As shown in the Grad-CAM visualizations below, including history allows the model to focus its "attention" on the actual site of the cancer (bottom row) more accurately than when it only sees the current scan (middle row).

Fig. 2. Grad-CAM visualization of LoMaR with mammograms from five representative test subjects with (third row) and without (second row) prior mammograms.

Limitations and Future Work

While LoMaR shows clear benefits for longitudinal analysis, the authors note a few areas for further development:

  • Frozen Encoders: To prevent overfitting on the transformer modules, the image encoder and image aggregator were kept frozen (using weights from the original Mirai model). End-to-end fine-tuning on even larger datasets might unlock further performance gains.
  • Dataset Diversity: The study was conducted on a single large-scale dataset (Karolinska). Testing LoMaR across different populations and imaging hardware (beyond Hologic machines) is necessary to ensure its robustness.
  • Clinical Integration: Future work could explore how to best present these longitudinal risk scores to radiologists to assist in real-world clinical decision-making.

Summary updated

BibTeX
@inproceedings{karaman2024longitudinal,
  author = {Batuhan K. Karaman and Katerina Dodelzon and Gozde B. Akar and Mert R. Sabuncu},
  title = {{Longitudinal Mammogram Risk Prediction}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2024},
}
Figure