Skip to main content
QUICK REVIEW

[Paper Review] The Swiss Army Knife for Image-to-Image Translation: Multi-Task Diffusion Models

Julia Wolleb, Robin Sandkühler|arXiv (Cornell University)|Apr 6, 2022
Radiomics and Machine Learning in Medical ImagingMedicine17 citations
TL;DR

This paper proposes a multi-task diffusion model for image-to-image translation that uses external gradients from regression or segmentation models to guide denoising diffusion sampling without retraining the base diffusion model. The method enables controllable image translation—such as aging facial images or simulating brain tumor growth—while preserving non-target features, achieving state-of-the-art results on both facial aging and MR image tumor generation tasks using a single pre-trained DDPM.

ABSTRACT

Recently, diffusion models were applied to a wide range of image analysis tasks. We build on a method for image-to-image translation using denoising diffusion implicit models and include a regression problem and a segmentation problem for guiding the image generation to the desired output. The main advantage of our approach is that the guidance during the denoising process is done by an external gradient. Consequently, the diffusion model does not need to be retrained for the different tasks on the same dataset. We apply our method to simulate the aging process on facial photos using a regression task, as well as on a brain magnetic resonance (MR) imaging dataset for the simulation of brain tumor growth. Furthermore, we use a segmentation model to inpaint tumors at the desired location in healthy slices of brain MR images. We achieve convincing results for all problems.

Motivation & Objective

  • To enable flexible, task-specific image-to-image translation using a single pre-trained diffusion model.
  • To address the challenge of modifying only task-relevant image features while preserving background and structural details.
  • To extend classifier guidance from classification tasks to regression and segmentation tasks in diffusion-based image translation.
  • To generate realistic synthetic data for medical imaging, such as brain tumors in healthy MR scans.
  • To demonstrate that the same diffusion model can be reused across diverse tasks via inference-time gradient injection.

Proposed method

  • A pre-trained denoising diffusion probabilistic model (DDPM) is used as the base generator, trained on a source dataset without task-specific adaptation.
  • An external task-specific model (regression or segmentation) is trained independently on the same dataset to provide guidance signals.
  • During DDIM sampling, the denoising process is guided by the gradient of the task-specific model's output with respect to the noisy input at each step.
  • The guidance strength is controlled by a scaling factor $ s_t $, which can be set to positive or negative values to increase or decrease the target attribute (e.g., age or tumor size).
  • For regression, the target value $ i $ is used to compute $ s_t = i - R(x_t, t) $, where $ R $ is the regression model's prediction at step $ t $.
  • For segmentation, a label mask defines the desired tumor location, and the gradient of the segmentation model's loss is used to inject tumor-like features into the image during sampling.

Experimental results

Research questions

  • RQ1Can a single pre-trained diffusion model be used for multiple image-to-image translation tasks without retraining?
  • RQ2Can gradient guidance from external regression and segmentation models effectively control image attributes like age or tumor size during sampling?
  • RQ3Does the method preserve non-target image features (e.g., background, clothing, hair) while modifying only the desired attributes?
  • RQ4Can the approach generate realistic synthetic medical images, such as brain tumors in healthy MR slices, for data augmentation?
  • RQ5How does the performance of the method compare to task-specific diffusion models in terms of fidelity and attribute control?

Key findings

  • The method successfully performs age regression on facial images, generating realistic images of individuals at desired ages (e.g., 10, 20, 60, 80) from a 40-year-old input.
  • For brain MR images, the model accurately simulates tumor growth or shrinkage by adjusting the regression loss gradient, with tumor size controllable via the target value $ i $.
  • The segmentation-guided approach successfully inpainted tumors in healthy brain MR slices at user-defined locations, as confirmed by difference maps highlighting region-specific changes.
  • The same base DDPM was reused across all tasks—regression, tumor growth simulation, and tumor inpainting—demonstrating the framework's versatility.
  • Results show that only features related to the target attribute are modified; background, facial features, and clothing remain consistent with the input image.
  • The method achieved convincing visual results on both facial aging and brain tumor simulation tasks, with minimal artifacts and high structural fidelity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.