Abstract
Longitudinal studies, where a series of images from the same set of individuals are acquired at different time-points, represent a popular technique for studying and characterizing temporal dynamics in biomedical applications. The classical approach for longitudinal comparison involves normalizing for nuisance variations, such as image orientation or contrast differences, via pre-processing. Statistical analysis is, in turn, conducted to detect changes of interest, either at the individual or population level. This classical approach can suffer from pre-processing issues and limitations of the statistical modeling. For example, normalizing for nuisance variation might be hard in settings where there are a lot of idiosyncratic changes. In this paper, we present a simple machine learning-based approach that can alleviate these issues. In our approach, we train a deep learning model (called PaIRNet, for Pairwise Image Ranking Network) to compare pairs of longitudinal images, with or without supervision. In the self-supervised setup, for instance, the model is trained to temporally order the images, which requires learning to recognize time-irreversible changes. Our results from four datasets demonstrate that PaIRNet can be very effective in localizing and quantifying meaningful longitudinal changes while discounting nuisance variation.
Introduction
In medical imaging, longitudinal studies track the same subject over time to monitor disease progression, such as tumor growth or brain atrophy. A primary challenge in these studies is disentangling true biological changes from "nuisance variation"—factors like changes in patient orientation, image contrast, or scanner noise. Traditional methods rely heavily on complex pre-processing steps like spatial registration and intensity normalization. However, these steps are often brittle, especially when biological changes are significant or idiosyncratic.
Methodology: The PaIRNet Framework
We introduce the Pairwise Image Ranking Network (PaIRNet), a Siamese-based deep learning framework designed to compare longitudinal images without requiring extensive pre-processing.
As shown in Figure 1, the architecture consists of:
- Siamese Backbone: Two images ($I_1, I_2$) from the same subject are processed by a shared ResNet-18 feature extractor.
- Feature Subtraction: The network computes the difference between feature vectors: $f(I_1) - f(I_2)$.
- Ranking Layer: A single fully-connected layer without a bias term maps this difference to a scalar prediction. This design ensures the model is antisymmetric ($R(I_1, I_2) = -R(I_2, I_1)$), focusing strictly on temporal changes.
Training can be conducted in two modes:
- Supervised: Predicting the actual clinical change (e.g., tumor volume difference).
- Self-supervised: Predicting the temporal order of images. This task forces the model to identify time-irreversible biological signals while ignoring time-independent nuisance factors.
Experimental Results
The model was evaluated on four datasets: synthetic "Starmen," hybrid "Tumor" brain MRIs, real "Embryo" development sequences, and real "Aging Brain" MRIs from the OASIS-3 study.
Quantitative Performance
As illustrated in Figure 2, PaIRNet consistently outperforms standard cross-sectional baselines. In the Aging Brain dataset, self-supervised PaIRNet achieved a Pearson correlation of 0.82, significantly higher than the 0.67 achieved by the baseline. The self-supervised variant performed remarkably close to the supervised version, suggesting that the "arrow of time" is a powerful signal for quantifying change magnitude without manual labels.
Robustness and Localization
PaIRNet demonstrated high robustness to synthetic noise (rotation, brightness, contrast). Qualitative analysis using Class Activation Maps (CAM) revealed that the model correctly localizes changes, such as enlarging ventricles in aging brains or growing tumors, whereas baseline models often focused on irrelevant nuisance shifts at image boundaries.
Discussion and Conclusion
PaIRNet offers a robust, registration-free approach to longitudinal image analysis. By leveraging pairwise ranking, it effectively separates biological signals from nuisance noise. Current limitations include the assumption of monotonic change and the focus on 2D slices. Future work will explore 3D clinical volumes and transformer-based architectures to capture more subtle temporal dynamics.
Summary updated