Skip to content
View DM4CT's full-sized avatar

Block or report DM4CT

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
DM4CT/README.md

DM4CT: Benchmarking Diffusion Models for Computed Tomography Reconstruction (ICLR 2026)

Jiayang Shi, Daniel M. Pelt, K. Joost Batenburg

Abstract: Diffusion models have recently emerged as powerful priors for solving inverse problems. While computed tomography (CT) is theoretically a linear inverse problem, it poses many practical challenges. These include correlated noise, artifact structures, reliance on system geometry, and misaligned value ranges, which make the direct application of diffusion models more difficult than in domains like natural image generation. To systematically evaluate how diffusion models perform in this context and compare them with established reconstruction methods, we introduce DM4CT, \textit{a comprehensive benchmark for CT reconstruction}. DM4CT includes datasets from both medical and industrial domains with sparse-view and noisy configurations. To explore the challenges of deploying diffusion models in practice, we additionally acquire a high-resolution CT dataset at a high-energy synchrotron facility and evaluate all methods under real experimental conditions. We benchmark ten recent diffusion-based methods alongside seven strong baselines, including model-based, unsupervised, and supervised approaches. Our analysis provides detailed insights into the behavior, strengths, and limitations of diffusion models for CT reconstruction. The real-world dataset is publicly available at https://zenodo.org/records/15420527, and the codebase is open-sourced at https://github.com/DM4CT/DM4CT.

Table of Contents

Environment requirements

  • At least one Nvidia GPU for inference.
  • Main dependencies are pytorch, diffuers, astra-toolbox, tifffile.

We provide the conda configuration to create the same environment for the benchmark.

Create and activate the main Conda environment:

conda env create -f environment.yml
conda activate diffusers-ct

For MBIR reconstruction (due to version conflicts), use the separate environment:

conda env create -f mbir.yml
conda activate mbir

Datasets

Preprocessing

We provide the preprocessing code to perform

  • train/test split
  • rescale intensity values to the range (-1, 1)
  • flat-field correction and ring reduction for the synchrotron dataset
Dataset Procedures Code
Low Dose Grand Challenge train/test split -> rescale intensity values to the range (-1, 1) preprocess_lodochallenge.py
LoDoInd train/test split -> rescale intensity values to the range (-1, 1) preprocess_lodoind.py
Synchrotron flat-field correction->log transformation->ring reduction->reconstruction reconstruct_rocks_fbp.py
Synchrotron cropping->flat-field correction->log transformation->ring reduction->reconstruction->roughly align value ranges preprocess_rocks.py

Pretrained diffusion models

All pretrained models are available here.

Dataset Type Pretrained model
Low Dose Grand Challenge pixel pixel diffusion model
Low Dose Grand Challenge latent latent diffusion model
LoDoInd pixel pixel diffusion model
LoDoInd latent latent diffusion model
Synchrotron pixel pixel diffusion model
Synchrotron latent latent diffusion model

CT Reconstruction Methods

Method Type Code
Diffusion reconstruction pixel reverse_sample_pixel_ct.py
Diffusion reconstruction latent reverse_sample_latent_ct.py
Diffusion unconditional generation uncond_gen.py
INR reconstruction reverse_sample_ct_inr.py
DIP reconstruction reverse_sample_ct_dip.py
MBIR ADMM-PDTV & FISTA-SBTV reverse_sample_ct_mbir.py
Transformer SwinIR train & inference train_reverse_sample_ct_swinir.py

Training Diffusion Models from Scratch

Method Type Code
Diffusion pixel train_pixel.py
Diffusion latent train_latent.py

Citation

@inproceedings{
shi2026dmct,
title={{DM}4{CT}: Benchmarking Diffusion Models for Computed Tomography Reconstruction},
author={Shi, Jiayang and Pelt, Dani{\"e}l M and Batenburg, K Joost},
booktitle={The Fourteenth International Conference on Learning Representations},
year={2026},
url={https://openreview.net/forum?id=YE5scJekg5}
}

Popular repositories Loading

  1. DM4CT DM4CT Public

    Code for ICLR2026 paper - DM4CT: Benchmarking Diffusion Models for Computed Tomography Reconstruction

    Python 12