Abstract
Traditional breast cancer risk assessment tools often rely on the most recent mammogram, potentially overlooking the temporal progression of tissue changes. This paper introduces LoMaR (Longitudinal Mammogram Risk model), a transformer-based framework designed to integrate a patient's entire screening history. By processing sequences of mammograms through hierarchical aggregation—first across views within a visit, then across visits over time—LoMaR captures subtle longitudinal trends. Experimental results on the Karolinska CSAW-CC dataset demonstrate that incorporating historical data significantly enhances long-term risk prediction, achieving a 5-year ROCAUC of 0.86 compared to 0.81 for single-visit models.
Introduction
Most clinical risk assessment tools and modern AI models for breast cancer are "short-sighted," typically focusing on the current mammogram or comparing it to only the most recent prior scan. This approach ignores the rich temporal data contained in a patient's multi-year screening history. Breast cancer development is a process; subtle changes in tissue density or the appearance of minute features over several years can signal elevated risk long before a tumor is clearly visible. LoMaR addresses this by ingesting an arbitrary number of past visits to quantify longitudinal risk more effectively.
Methods: The LoMaR Architecture
LoMaR builds upon the architecture of the "Mirai" model, extending it to handle longitudinal sequences. The pipeline consists of three main stages:
- Image Encoding & Aggregation: A ResNet-18 convolutional neural network (CNN) extracts features from the four standard mammographic views (Left/Right, CC/MLO). A transformer-based Image Aggregator fuses these into a single "visit embedding."
- Visit Aggregation: A second transformer processes the sequence of visit embeddings. Temporal encodings (sine/cosine positional encodings) allow the model to understand the chronological order and spacing of visits.
- Survival Module: The final history embedding is passed to an additive hazard layer. This module predicts the probability of a cancer diagnosis for each of the next five years, ensuring that the predicted risk grows logically over time.
Datasets
The study utilized the Karolinska case-control (CSAW-CC) dataset, derived from a large cohort in Sweden. The dataset includes 19,328 mammograms from 7,353 patients, spanning 2008 to 2016. It involves women aged 40 to 74 and includes confirmed cancer diagnoses with follow-up data for up to five years after a "present" scan.
Key Results and Insights
LoMaR achieved state-of-the-art performance on the Karolinska dataset. A critical finding is that while historical data does not significantly alter 1-year risk predictions (where signs are usually already present in the current scan), it is a significant factor for 5-year predictions.
- Long-Term Accuracy: With zero prior visits, the 5-year ROCAUC was 0.81. With four years of annual history, this improved to 0.86.
- Screening Frequency: The model confirms that annual screenings provide a more "high-resolution" history, leading to better 5-year risk scores compared to biennial screenings (0.86 vs 0.84 ROCAUC).
- Improved Localization: Qualitative analysis using Grad-CAM showed that historical context helps the model focus on suspicious areas while ignoring benign features that remain stable over time.
Limitations and Future Work
Despite its success, LoMaR's performance on diverse populations with different ethnicities or imaging hardware remains to be validated. Future work will also address the "messiness" of real-world data, where screening intervals are often irregular, and focus on integrating these longitudinal risk scores into clinical workflows to assist radiologists in decision-making.
Summary updated