LeFusion: Controllable Pathology Synthesis via Lesion-Focused Diffusion Models

Han-Di Zhang, Yuhe Liu, Jiancheng Yang, Shouhong Wan, Xinyuan Wang +2 more
2/12/2026

No official code found. Best implementation: HINTLab/LeFusion (147 stars, Apache-2.0, last commit 2025-08-27). 1 more below.

Abstract

Patient data from real-world clinical practice often suffers from data scarcity and long-tail imbalances, leading to biased outcomes or algorithmic unfairness. This study addresses these challenges by generating lesion-containing image-segmentation pairs from lesion-free images. Previous efforts in medical imaging synthesis have struggled with separating lesion information from background, resulting in low-quality backgrounds and limited control over the synthetic output. Inspired by diffusion-based image inpainting, we propose LeFusion, a lesion-focused diffusion model. By redesigning the diffusion learning objectives to focus on lesion areas, we simplify the learning process and improve control over the output while preserving high-fidelity backgrounds by integrating forward-diffused background contexts into the reverse diffusion process. Additionally, we tackle two major challenges in lesion texture synthesis: 1) multi-peak and 2) multi-class lesions. We introduce two effective strategies: histogram-based texture control and multi-channel decomposition, enabling the controlled generation of high-quality lesions in difficult scenarios. Furthermore, we incorporate lesion mask diffusion, allowing control over lesion size, location, and boundary, thus increasing lesion diversity. Validated on 3D cardiac lesion MRI and lung nodule CT datasets, LeFusion-generated data significantly improves the performance of state-of-the-art segmentation models, including nnUNet and SwinUNETR. Code and model are available at https://github.com/M3DV/LeFusion.

View on arXivView PDF

Code Implementations(2)

M3DV/LeFusionCommunity100%
Apache-2.0

Moved to https://github.com/HINTLab/LeFusion

70Shell, PythonSep 18, 20251 years agoApache-2.0
HINTLab/LeFusionCommunity66%
Apache-2.0

[ICLR‘25 Spotlight] LeFusion: Controllable Pathology Synthesis via Lesion-Focused Diffusion Models

1478Shell, PythonMar 20, 20241 years agoApache-2.0

Cite this paper

@article{zhang2026lefusion,
  title  = {LeFusion: Controllable Pathology Synthesis via Lesion-Focused Diffusion Models},
  author = {Han-Di Zhang and Yuhe Liu and Jiancheng Yang and Shouhong Wan and Xinyuan Wang and Wei Peng and Pascal Fua},
  year   = {2026},
  eprint = {2403.14066},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2403.14066},
  journal = {ICLR 2024 2024}
}

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

Discussion