Introduction
Image-to-image translation has undergone a paradigm shift with the advent of diffusion models, enabling users to modify styles and semantics through simple text prompts. However, a fundamental challenge remains: the "tug-of-war" between adhering to a text prompt and preserving the spatial layout of the source image. Existing methods often suffer from layout distortion when prompts are strong or require computationally expensive per-image fine-tuning.
Design Booster introduces a novel, feed-forward framework that achieves high-quality semantic and stylistic changes while strictly maintaining the original image's geometry. By co-encoding image and text features and employing a strategic sampling process, it offers a real-time solution for precise creative workflows.
The Challenge of Layout Preservation
Current diffusion-based editing tools typically fall into two categories, both with significant drawbacks:
- Layout Distortion: Methods like SDEdit or standard Stable Diffusion often lose the original image's structure (e.g., changing the pose of a subject) when the text prompt demands a significant semantic shift.
- Efficiency Bottlenecks: Optimization-based approaches like DreamBooth can preserve layout but require several minutes of fine-tuning for every new input image, making them unsuitable for interactive design.
Design Booster addresses these issues by learning a robust multi-condition space that balances spatial constraints with linguistic guidance.
Methodology
The core of Design Booster is a Multi-Condition Network designed to integrate spatial information without overriding the generative flexibility of the diffusion model.
Dual Encoding and Transformer Fusion
The system utilizes a frozen CLIP text encoder alongside a trainable CNN-based image encoder ($\mathcal{F}$). This image encoder is specifically optimized to extract spatial descriptors from the source image. Rather than simple concatenation, which often leads the model to ignore text or over-reconstruct the input, the authors employ a Transformer module ($\mathcal{T}$). This module co-encodes image and text features into a unified latent domain, ensuring both modalities influence the final output.
Flexible Sampling and Temporal Control
A key insight of the paper is that diffusion models establish global layout during the early stages of the denoising process and add fine details later. Design Booster introduces a hyperparameter $\sigma$ that controls the "switch" between conditions. By applying the image condition during early timesteps to lock in the structure and relying on the text condition for the final appearance, the model decouples layout from detail.
Training Strategy
To ensure flexibility, the model is trained using Condition Dropout, exposing it to text-only, image-only, and joint conditions. This prevents overfitting to a single modality and allows for zero-shot inference on unseen images.
Key Results and Evaluation
Design Booster was trained on a subset of the LAION dataset and evaluated using the COCO dataset to ensure generative integrity. Qualitative comparisons against state-of-the-art baselines like SDEdit and DreamBooth demonstrate its superior ability to maintain silhouettes while performing radical semantic changes.
Performance Metrics
- User Study: In a study of 20 participants, Design Booster consistently outperformed competitors. It achieved a Layout Preservation score of approximately 2.42/3.0 and an Overall Quality score of 2.33/3.0, significantly higher than DiffuseIT and SDEdit.
- Speed: As a feed-forward model, Design Booster generates results in seconds, providing a massive speedup over optimization-based methods that take minutes.
- Generative Quality: FID scores on the COCO dataset remained stable, indicating that the added layout control does not degrade the model's ability to produce photorealistic images.
Conclusion and Future Work
Design Booster successfully bridges the gap between text-guided creativity and spatial control. By leveraging temporal conditioning and transformer-based fusion, it provides a fast, zero-shot solution for image translation. While the authors note a slight trade-off in color preservation under extreme layout constraints, future work focusing on disentangling color from spatial structure within the image encoder promises to further refine this powerful tool for digital artists.
Summary updated