TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/FuseDream: Training-Free Text-to-Image Generation with Imp...

FuseDream: Training-Free Text-to-Image Generation with Improved CLIP+GAN Space Optimization

Xingchao Liu, Chengyue Gong, Lemeng Wu, Shujian Zhang, Hao Su, Qiang Liu

2021-12-02Text-to-Image GenerationNavigateText to Image GenerationImage Generation
PaperPDFCode(official)

Abstract

Generating images from natural language instructions is an intriguing yet highly challenging task. We approach text-to-image generation by combining the power of the retrained CLIP representation with an off-the-shelf image generator (GANs), optimizing in the latent space of GAN to find images that achieve maximum CLIP score with the given input text. Compared to traditional methods that train generative models from text to image starting from scratch, the CLIP+GAN approach is training-free, zero shot and can be easily customized with different generators. However, optimizing CLIP score in the GAN space casts a highly challenging optimization problem and off-the-shelf optimizers such as Adam fail to yield satisfying results. In this work, we propose a FuseDream pipeline, which improves the CLIP+GAN approach with three key techniques: 1) an AugCLIP score which robustifies the CLIP objective by introducing random augmentation on image. 2) a novel initialization and over-parameterization strategy for optimization which allows us to efficiently navigate the non-convex landscape in GAN space. 3) a composed generation technique which, by leveraging a novel bi-level optimization formulation, can compose multiple images to extend the GAN space and overcome the data-bias. When promoted by different input text, FuseDream can generate high-quality images with varying objects, backgrounds, artistic styles, even novel counterfactual concepts that do not appear in the training data of the GAN we use. Quantitatively, the images generated by FuseDream yield top-level Inception score and FID score on MS COCO dataset, without additional architecture design or training. Our code is publicly available at \url{https://github.com/gnobitab/FuseDream}.

Results

TaskDatasetMetricValueModel
Image GenerationCOCO (Common Objects in Context)FID21.16FuseDream (few-shot, k=5)
Image GenerationCOCO (Common Objects in Context)Inception score34.26FuseDream (few-shot, k=5)
Image GenerationCOCO (Common Objects in Context)FID21.16FuseDream (k=5, 256)
Image GenerationCOCO (Common Objects in Context)Inception score34.26FuseDream (k=5, 256)
Image GenerationCOCO (Common Objects in Context)FID21.89FuseDream (k=10, 256)
Image GenerationCOCO (Common Objects in Context)Inception score34.67FuseDream (k=10, 256)
Text-to-Image GenerationCOCO (Common Objects in Context)FID21.16FuseDream (few-shot, k=5)
Text-to-Image GenerationCOCO (Common Objects in Context)Inception score34.26FuseDream (few-shot, k=5)
Text-to-Image GenerationCOCO (Common Objects in Context)FID21.16FuseDream (k=5, 256)
Text-to-Image GenerationCOCO (Common Objects in Context)Inception score34.26FuseDream (k=5, 256)
Text-to-Image GenerationCOCO (Common Objects in Context)FID21.89FuseDream (k=10, 256)
Text-to-Image GenerationCOCO (Common Objects in Context)Inception score34.67FuseDream (k=10, 256)
10-shot image generationCOCO (Common Objects in Context)FID21.16FuseDream (few-shot, k=5)
10-shot image generationCOCO (Common Objects in Context)Inception score34.26FuseDream (few-shot, k=5)
10-shot image generationCOCO (Common Objects in Context)FID21.16FuseDream (k=5, 256)
10-shot image generationCOCO (Common Objects in Context)Inception score34.26FuseDream (k=5, 256)
10-shot image generationCOCO (Common Objects in Context)FID21.89FuseDream (k=10, 256)
10-shot image generationCOCO (Common Objects in Context)Inception score34.67FuseDream (k=10, 256)
1 Image, 2*2 StitchiCOCO (Common Objects in Context)FID21.16FuseDream (few-shot, k=5)
1 Image, 2*2 StitchiCOCO (Common Objects in Context)Inception score34.26FuseDream (few-shot, k=5)
1 Image, 2*2 StitchiCOCO (Common Objects in Context)FID21.16FuseDream (k=5, 256)
1 Image, 2*2 StitchiCOCO (Common Objects in Context)Inception score34.26FuseDream (k=5, 256)
1 Image, 2*2 StitchiCOCO (Common Objects in Context)FID21.89FuseDream (k=10, 256)
1 Image, 2*2 StitchiCOCO (Common Objects in Context)Inception score34.67FuseDream (k=10, 256)

Related Papers

fastWDM3D: Fast and Accurate 3D Healthy Tissue Inpainting2025-07-17Synthesizing Reality: Leveraging the Generative AI-Powered Platform Midjourney for Construction Worker Detection2025-07-17FashionPose: Text to Pose to Relight Image Generation for Personalized Fashion Visualization2025-07-17A Distributed Generative AI Approach for Heterogeneous Multi-Domain Environments under Data Sharing constraints2025-07-17Pixel Perfect MegaMed: A Megapixel-Scale Vision-Language Foundation Model for Generating High Resolution Medical Images2025-07-17Vision-based Perception for Autonomous Vehicles in Obstacle Avoidance Scenarios2025-07-16FADE: Adversarial Concept Erasure in Flow Models2025-07-16CharaConsist: Fine-Grained Consistent Character Generation2025-07-15