Unified Medical Image Tokenizer for Autoregressive Synthesis and Understanding

Chenglong Ma, Yuanfeng Ji, Jin Ye, Zilong Li, Chenhui Wang +7 more
5/25/2025
3 citations
eess.IVcs.CV

Official code: Masaaki-75/meditok (32 stars, Python, MIT, last commit 2026-04-03).

Abstract

Autoregressive modeling has driven major advances in multimodal AI, yet its application to medical imaging remains constrained by the absence of a unified image tokenizer that simultaneously preserves fine-grained anatomical structures and rich clinical semantics across heterogeneous modalities. Existing approaches jointly optimize image reconstruction and textual semantic objectives, relying on large-scale image-caption pairs and are prone to gradient interference.

Show full abstract

This is ill-suited for the medical domain where paired data are scarce and abundant unpaired images remain unexploited. This work identifies these issues in building unified medical image tokenizers, and introduces a principled two-stage training framework using visual representation as a bridge to address them. The propose visual representation alignment stage enables the utilization of large-scale unpaired medical images to ensure reconstruction fidelity and establish foundational semantics, alleviating the interference and better preparing for the second stage where fine-grained textual semantics are injected using image-text pairs. The resulting tokenizer, MedITok, is trained on over 33 million medical images spanning 9 modalities and 2 million image-text pairs. MedITok achieves state-of-the-art performance on 30+ benchmarks spanning 9 imaging modalities and 4 task families. It further enables autoregressive modeling for diagnostic and generative applications, serving as a scalable component for future multimodal models with unified synthesis and understanding capabilities in the medical domain. Project page: https://github.com/Masaaki-75/meditok

View on arXivView PDF

Code Implementations(1)

Masaaki-75/meditokOfficial100%
MIT

Official implementation of "MedITok: A Unified Tokenizer for Medical Image Synthesis and Interpretation"

324Python, Jupyter NotebookMay 25, 20258 months agoMIT

Similar Papers

Cite this paper

@article{ma2025unified,
  title  = {Unified Medical Image Tokenizer for Autoregressive Synthesis and Understanding},
  author = {Chenglong Ma and Yuanfeng Ji and Jin Ye and Zilong Li and Chenhui Wang and Junzhi Ning and Wei Li and Lihao Liu and Qiushan Guo and Tianbin Li and Junjun He and Hongming Shan},
  year   = {2025},
  eprint = {2505.19225},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.19225v2}
}

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

Discussion