Toffee: Efficient Million-Scale Dataset Construction for Subject-Driven Text-to-Image Generation
Not on the map. Why?
Abstract (arXiv)
In subject-driven text-to-image generation, recent works have achieved superior performance by training the model on synthetic datasets containing numerous image pairs. Trained on these datasets, generative models can produce text-aligned images for specific subject from arbitrary testing image in a zero-shot manner. They even outperform methods which require additional fine-tuning on testing images. However, the cost of creating such datasets is prohibitive for most researchers. To generate a single training pair, current methods fine-tune a pre-trained text-to-image model on the subject image to capture fine-grained details, then use the fine-tuned model to create images for the same subject based on creative text prompts. Consequently, constructing a large-scale dataset with millions of subjects can require hundreds of thousands of GPU hours. To tackle this problem, we propose Toffee, an efficient method to construct datasets for subject-driven editing and generation. Specifically, our dataset construction does not need any subject-level fine-tuning. After pre-training two generative models, we are able to generate infinite number of high-quality samples. We construct the first large-scale dataset for subject-driven image editing and generation, which contains 5 million image pairs, text prompts, and masks. Our dataset is 5 times the size of previous largest dataset, yet our cost is tens of thousands of GPU hours lower. To test the proposed dataset, we also propose a model which is capable of both subject-driven image editing and generation. By simply training the model on our proposed dataset, it obtains competitive results, illustrating the effectiveness of the proposed dataset construction framework.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 38 of its 43 references that are in the map. First posted on arXiv 13 Jun 2024.
Builds on
38 of 43 references.
References · 38
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2020Denoising Diffusion Implicit Modelscited by 9,781
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
- 2022Classifier-Free Diffusion Guidancecited by 5,847
- 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,503
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
- 2021Zero-Shot Text-to-Image Generationcited by 4,288
26 more
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,300
- 2022InstructPix2Pix: Learning to Follow Image Editing Instructionscited by 2,611
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
- 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,245
- 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,937
- 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,295
- 2022Multi-Concept Customization of Text-to-Image Diffusioncited by 1,106
- 2024Grounded SAM: Assembling Open-World Models for Diverse Visual Taskscited by 929
- 2021Blended Diffusion for Text-driven Editing of Natural Imagescited by 927
- 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 694
- 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 648
- 2023BLIP-Diffusion: Pre-trained Subject Representation for Controllable Text-to-Image Generation and Editingcited by 442
- 2022Blended Latent Diffusioncited by 432
- 2023ELITE: Encoding Visual Concepts into Textual Embeddings for Customized Text-to-Image Generationcited by 416
- 2023P+: Extended Textual Conditioning in Text-to-Image Generationcited by 242
- 2023MVImgNet: A Large-scale Dataset of Multi-view Imagescited by 220
- 2023Subject-driven Text-to-Image Generation via Apprenticeship Learningcited by 212
- 2022Re-Imagen: Retrieval-Augmented Text-to-Image Generatorcited by 210
- 2023Controlling Text-to-Image Diffusion by Orthogonal Finetuningcited by 208
- 2023Encoder-based Domain Tuning for Fast Personalization of Text-to-Image Modelscited by 203
- 2023Subject-Diffusion:Open Domain Personalized Text-to-Image Generation without Test-time Fine-tuningcited by 191
- 2023Scaling Autoregressive Multi-Modal Models: Pretraining and Instruction Tuningcited by 170
- 2023Kosmos-G: Generating Images in Context with Multimodal Large Language Modelscited by 105
- 2023Enhancing Detail Preservation for Customized Text-to-Image Generation: A Regularization-Free Approachcited by 43
- 2022Shifted Diffusion for Text-to-image Generationcited by 37
- 2023Customization Assistant for Text-to-image Generationcited by 11
Built on by
Citing papers per year: 2024: 3; 2025: 1.
4 papers.
- 2024DreamBench++: A Human-Aligned Benchmark for Personalized Image Generationcited by 131
- 2025Concat-ID: Towards Universal Identity-Preserving Video Synthesiscited by 28
- 2024LoRA.rar: Learning to Merge LoRAs via Hypernetworks for Subject-Style Conditioned Image Generationcited by 19
- 2024DreamCache: Finetuning-Free Lightweight Personalized Image Generation via Feature Cachingcited by 6
- 2025Concat-ID: Towards Universal Identity-Preserving Video Synthesis18 Mar 2025
- 2024LoRA.rar: Learning to Merge LoRAs via Hypernetworks for Subject-Style Conditioned Image Generation6 Dec 2024
- 2024DreamCache: Finetuning-Free Lightweight Personalized Image Generation via Feature Caching26 Nov 2024
- 2024DreamBench++: A Human-Aligned Benchmark for Personalized Image Generation24 Jun 2024