Stochastic Siamese MAE Pretraining for Longitudinal Medical Images

Taha Emre, Arunava Chakravarty, Thomas Pinetz, Dmitrii Lachinov, Martin J. Menten +7 more
12/29/2025
cs.LGcs.CV

No confident code implementation found for this paper.

Abstract

Temporally aware image representations are crucial for capturing disease progression in 3D volumes of longitudinal medical datasets. However, recent state-of-the-art self-supervised learning approaches like Masked Autoencoding (MAE), despite their strong representation learning capabilities, lack temporal awareness. In this paper, we propose STAMP (Stochastic Temporal Autoencoder with Masked Pretraining), a Siamese MAE framework that encodes temporal information through a stochastic process by conditioning on the time difference between the 2 input volumes. Unlike deterministic Siamese approaches, which compare scans from different time points but fail to account for the inherent uncertainty in disease evolution, STAMP learns temporal dynamics stochastically by reframing the MAE reconstruction loss as a conditional variational inference objective. We evaluated STAMP on two OCT and one MRI datasets with multiple visits per patient. STAMP pretrained ViT models outperformed both existing temporal MAE methods and foundation models on different late stage Age-Related Macular Degeneration and Alzheimer's Disease progression prediction which require models to learn the underlying non-deterministic temporal dynamics of the diseases.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{emre2025stochastic,
  title  = {Stochastic Siamese MAE Pretraining for Longitudinal Medical Images},
  author = {Taha Emre and Arunava Chakravarty and Thomas Pinetz and Dmitrii Lachinov and Martin J. Menten and Hendrik Scholl and Sobha Sivaprasad and Daniel Rueckert and Andrew Lotery and Stefan Sacu and Ursula Schmidt-Erfurth and Hrvoje Bogunović},
  year   = {2025},
  eprint = {2512.23441},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.23441v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.23441.svg)](https://codeofpaper.com/paper/2512.23441)

Discussion