Enhancing AI Face Realism: Cost-Efficient Quality Improvement in Distilled Diffusion Models with a Fully Synthetic Dataset
Jakub Wasala, Bartlomiej Wrzalski, Kornelia Noculak, Yuliia Tarasenko, Oliwer Krupa, Jan Kocon, Grzegorz Chodak
TL;DR
This work tackles the high computational cost of diffusion-based portrait generation by pairing a lightweight distilled backbone (FLUX.1-schnell) with a dedicated image-to-image refinement head trained on a fully synthetic paired dataset to reach the fidelity of a heavier baseline (FLUX.1-dev). It introduces two I2I training paradigms—supervised paired U-Net and unsupervised CycleGAN variants (including ESA-CycleGAN)—and a novel fully synthetic dataset generation approach that yields 280,000 paired portraits. The results show that the distilled-plus-I2I pipeline can achieve photorealistic portraits with substantial runtime savings (up to $82\%$) while maintaining high perceptual quality, as measured by $FID_{diff}$ and related metrics. The study provides a model-agnostic, cost-efficient pathway to deploy high-quality diffusion outputs in resource-constrained settings and suggests broad applicability to other domains with careful dataset construction and evaluation.
Abstract
This study presents a novel approach to enhance the cost-to-quality ratio of image generation with diffusion models. We hypothesize that differences between distilled (e.g. FLUX.1-schnell) and baseline (e.g. FLUX.1-dev) models are consistent and, therefore, learnable within a specialized domain, like portrait generation. We generate a synthetic paired dataset and train a fast image-to-image translation head. Using two sets of low- and high-quality synthetic images, our model is trained to refine the output of a distilled generator (e.g., FLUX.1-schnell) to a level comparable to a baseline model like FLUX.1-dev, which is more computationally intensive. Our results show that the pipeline, which combines a distilled version of a large generative model with our enhancement layer, delivers similar photorealistic portraits to the baseline version with up to an 82% decrease in computational cost compared to FLUX.1-dev. This study demonstrates the potential for improving the efficiency of AI solutions involving large-scale image generation.
