Abstract
DoraCycle is a novel framework designed to adapt unified generative models—capable of handling both text and image modalities—to specific domains using predominantly unpaired data. By leveraging "multimodal cycles" (translating text to images and back, and vice versa), the model learns new styles and identities without requiring massive, human-annotated paired datasets. We introduce stabilization techniques such as Exponential Moving Average (EMA) and gradient surgery to ensure training consistency. Our results demonstrate that DoraCycle achieves competitive performance with significantly less paired data, effectively bridging the gap between general-purpose models and domain-specific applications.
1. Introduction
Fine-tuning large-scale generative models for specific domains, such as a unique artistic style or a particular character's identity, typically necessitates a "gold mine" of paired data: high-quality images meticulously matched with descriptive captions. However, producing such human-annotated datasets is labor-intensive and expensive. In contrast, unpaired data—millions of images and billions of lines of text—is abundant but lacks cross-modal links.
DoraCycle addresses this challenge by asking: How can we adapt a multimodal model to a new domain using only (or mostly) unpaired data?
2. Methodology
The DoraCycle framework treats a unified transformer model (specifically Show-o) as a bidirectional bridge. The core mechanism relies on two complementary cycles:
- The T Cycle (Text-to-Image-to-Text): The model receives a text prompt, generates a "pseudo-image," and subsequently attempts to describe that image back into the original text.
- The I Cycle (Image-to-Text-to-Image): The model takes an image, generates a "pseudo-caption," and then attempts to reconstruct the original image from that caption.
To prevent training collapse and ensure convergence, the authors implement three key engineering strategies:
- EMA (Exponential Moving Average) Stabilization: To avoid learning from noisy, immediate outputs, the framework utilizes a "shadow" EMA version of the model to generate intermediate pseudo-labels, providing a stable target.
- Gradient Surgery: Since text is generally easier for models to master than images, gradient surgery is employed to prevent updates from the T cycle from interfering with the more difficult image-generation tasks in the I cycle.
- Special Identity Tokens: To facilitate learning specific characters (e.g., Nobita from Doraemon), character names are wrapped in special tokens (e.g.,
<soc> Nobita <eoc>), reducing attribute confusion.
3. Experimental Setup
DoraCycle was evaluated across several challenging domains:
- Cyberpunk Style: 300 unpaired images were used to test the model's ability to learn complex stylization.
- Identity Learning: Approximately 2,000 images each for Black Myth: Wukong and Doraemon were sampled from online videos to test character consistency.
- Storyboard20K: A standard benchmark consisting of movie storyboards and descriptive text used for quantitative evaluation.
4. Key Results and Insights
4.1 Quantitative Performance
On the Storyboard20K benchmark, DoraCycle utilized a mix of 10% paired and 90% unpaired data to achieve a FID (Fréchet Inception Distance) of 25.37. This performance outperformed previous state-of-the-art methods like ITIT and closely approached the performance of a model trained on 100% paired data (FID 24.93).
4.2 Stylization and Identity Preservation
For the "Cyberpunk" task, DoraCycle successfully adapted using zero paired data, producing atmospheric imagery beyond the capabilities of the base model. Qualitative results also confirmed the model's ability to preserve distinct visual traits for characters like Wukong and Nobita across both generation and captioning tasks.
4.3 The "Doughnut" Problem and Internal Alignment
A critical insight is that while unified models possess an internal "understanding" of cross-modal relationships, they still require a small "anchor" of paired data to learn correct nomenclature for novel objects. For instance, without any paired data, the model misidentified dorayaki as a "doughnut." This suggests that even a minimal amount of paired supervision (e.g., 10 examples) is vital for naming new concepts.
5. Conclusion
DoraCycle significantly reduces the reliance on expensive paired datasets by enabling models to act as their own teachers through cross-modal cycles. While it effectively bridges the gap for stylization and identity, future work is needed to address the "naming gap" for entirely new visual entities and to potentially scale the framework to video-based cycles.
Summary updated