CSGO: Content-Style Composition in Text-to-Image Generation
About
The diffusion model has shown exceptional capabilities in controlled image generation, which has further fueled interest in image style transfer. Existing works mainly focus on training free-based methods (e.g., image inversion) due to the scarcity of specific data. In this study, we present a data construction pipeline for content-style-stylized image triplets that generates and automatically cleanses stylized data triplets. Based on this pipeline, we construct a dataset IMAGStyle, the first large-scale style transfer dataset containing 210k image triplets, available for the community to explore and research. Equipped with IMAGStyle, we propose CSGO, a style transfer model based on end-to-end training, which explicitly decouples content and style features employing independent feature injection. The unified CSGO implements image-driven style transfer, text-driven stylized synthesis, and text editing-driven stylized synthesis. Extensive experiments demonstrate the effectiveness of our approach in enhancing style control capabilities in image generation. Additional visualization and access to the source code can be located on the project page: \url{https://csgo-gen.github.io/}.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Style Transfer | User Study | Overall Quality Score57 | 30 | |
| Stylized Generation | StyleBench | CLIP TA0.223 | 9 | |
| Style Transfer | CIFAR-100 and InstaStyle (test) | Content Score27.7 | 9 | |
| Style Transfer | Style-Content Pairs 50 style x 40 content references (test) | CSD Score0.535 | 8 | |
| Text-driven Style Transfer | Benchmark of 52 prompts and 20 style images 1.0 (test) | Text Alignment0.216 | 8 | |
| Style Transfer | User Study 60 questions derived from 20 diverse pairs 1.0 | Text Align0.035 | 7 | |
| Image Style Transfer | Curated image style transfer (test) | CSD-Score0.35 | 4 |