Research

Image Generation Models

Conditional generative models — from GANs to diffusion and flow matching — that turn a sketch into a realistic image.

A generative model learns the distribution of a kind of data so that it can produce new samples from it. In a few years the field has moved from variational autoencoders and GANs to diffusion models and, more recently, flow matching. We are interested in conditional generation, where the output must follow an input: a sketch that fixes the shape of an object, or a degraded medical image that fixes the anatomy of the patient. The question is always the same: how do we generate realistic detail without betraying the condition?

A boot sketch turning into a realistic photo
Sketch-conditioned generation: the strokes fix the shape, the model fills in material, colour and shading.

From sketch to photo

Turning a rough drawing into a realistic image is useful for design, for e-commerce search and for creating training data. We reviewed the field in our Survey on Sketch-to-photo Translation (ACM Computing Surveys, 2023), which organizes the methods, datasets and metrics, and we build our own models on top of the sketch encoders of the lab (see Sketch-based understanding).

A heeled boot sketch turning into a realistic photo
A second example: thin, uneven strokes still produce a coherent object.

Generation under clinical constraints

In medicine the condition is the patient, and a generative model must never invent anatomy. This is where our generative work has gone furthest:

  • Low-dose CT. Conditional diffusion models (DDPM, DDIM), accelerated sampling (AST-n, MIRASOL MICCAI 2025) and single-step residual flow matching (REFM, MIRASOL MICCAI 2026), which reaches diffusion-level quality with one network evaluation. Read more · REFM project page
  • Ongoing: generative models for contrast enhancement in MRI acquired with low doses of gadolinium, and the translation of MRI-T1 images into fat-fraction maps.
Diffusion model conditioned on low-dose sinograms and images
A conditional diffusion model for CT: low-contrast sinograms and images guide the denoising process through cross-attention.

What makes it hard

  • Fidelity versus realism: sharper outputs are more convincing but can drift from the input; we measure both, including task-based checks such as whether an organ is still segmented correctly.
  • Speed: diffusion models need many steps. Most of our recent work aims at fewer steps or a single one, so that generation can run inside real applications.

Associated projects

  • Reconstruction of low-dose CTs using accelerated generative models based on diffusion — Fondef ID23I10053
  • Leveraging visual latent spaces and large language models for explainability, including visual explanations with conditional diffusion models (Fondecyt Regular 2026, abstract)
← All research