MADJEPA: Enhanced Multi-Stage Joint-Embedding Predictive Architecture for Medical Anomaly Detection

Ioana-Sabina Stoian, Florinel-Alin Croitoru, Vlad Hondru, Andreea Iuliana Ionescu, Andrei Paun +1 more
11/18/2026
eess.IVcs.AIcs.LG

Official code: Sabina085/madjepa (0 stars, Python, last commit 2026-08-28).

Abstract

Anomaly detection in medical images is a complex task, requiring the development of a robust model using only healthy patient data. Without access to labeled data, modern approaches typically employ self-supervised learning to obtain a model of normality.

Show full abstract

Since world models promise to build strong internal representations of their environment, we consider them as suitable candidates for the medical anomaly detection environment, namely medical investigations of healthy patients. To this end, we propose MADJEPA, a medical anomaly detector based on an enhanced multi-stage joint-embedding predictive architecture (JEPA). We design a multi-stage training pipeline to produce a robust detector: (1) image-based JEPA (I-JEPA) training aims to learn a strong representation of normal training data; (2) target encoder distillation aims to modulate over-generalization of I-JEPA representations to abnormal data; (3) pseudo-anomaly classification aims to calibrate anomaly predictions by learning a tight boundary around the normal data manifold. To demonstrate our design, we carry out comprehensive experiments on six datasets covering various medical image domains (e.g.~MRI, OCT, X-ray, histopathology), comparing our MADJEPA with numerous state-of-the-art methods. The results show that our carefully designed world model, MADJEPA, attains competitive results, ranking first on three datasets. Our ablation studies further confirm the utility of each training stage, indicating that I-JEPA alone is not sufficient to obtain competitive results in medical anomaly detection. We publicly release our code at https://github.com/Sabina085/madjepa.

View on arXivView PDF

Code Implementations(1)

Sabina085/madjepaOfficial100%

Official implementation of the MADJEPA (Multi-Stage Joint-Embedding Predictive Architecture for Medical Anomaly Detection) paper.

00PythonJan 2, 20263 months ago

Similar Papers

Cite this paper

@article{stoian2026madjepa,
  title  = {MADJEPA: Enhanced Multi-Stage Joint-Embedding Predictive Architecture for Medical Anomaly Detection},
  author = {Ioana-Sabina Stoian and Florinel-Alin Croitoru and Vlad Hondru and Andreea Iuliana Ionescu and Andrei Paun and Radu Tudor Ionescu},
  year   = {2026},
  eprint = {2611.25194},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.25194v1}
}

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/2611.25194.svg)](https://codeofpaper.com/paper/2611.25194)

Discussion