Introduction
Adapting large-scale multimodal generative models to specific domains—such as a unique artistic style or a specific character's identity—traditionally requires extensive paired image-text datasets. Collecting these high-quality pairs is labor-intensive and often impractical for niche applications. DoraCycle addresses this "data bottleneck" by introducing a framework for domain adaptation that primarily utilizes unpaired data.
By leveraging the inherent bidirectional capabilities of unified generative models (like Show-o), DoraCycle establishes "multimodal cycles" that allow the model to learn from independent sets of images and text.
The DoraCycle Framework
The core innovation of DoraCycle lies in its use of cycle consistency across different modalities. Unlike models that function strictly as encoders or decoders, a unified transformer can process both vision and language tokens within a shared latent space.
Multimodal Cycles
The framework operates through two primary loops:
- T-Cycle (Text-to-Image-to-Text): The model generates a "pseudo-image" from a text prompt and then attempts to reconstruct the original text from that generated image.
- I-Cycle (Image-to-Text-to-Image): The model creates a "pseudo-caption" for an input image and then tries to reconstruct the original image based on that caption.
Stabilization Techniques
Training with cycle consistency in a multimodal setting is prone to instability. DoraCycle introduces three key mechanisms to ensure robust learning:
- EMA Pseudo-labels: To prevent training collapse, intermediate pseudo-data is generated by an Exponential Moving Average (EMA) version of the model. This "shadow" model provides stable targets, decoupling the generation process from the rapidly updating main model parameters.
- Gradient Surgery: Textual data is often easier for models to master than complex visual data. This imbalance can lead to "text dominance," where the model optimizes for text reconstruction at the expense of image quality. DoraCycle employs gradient surgery to project T-cycle gradients onto the orthogonal complement of I-cycle gradients, preventing interference between the two tasks.
- Special Identity Tokens: For learning specific characters (e.g., "Wukong"), the framework uses special
<soc>and<eoc>tokens. These help the model isolate and learn unique entity features without confusing them with general descriptive language.
Experimental Results
DoraCycle was evaluated across diverse domains, including stylization and identity-specific tasks.
- Style Adaptation: In the "Cyberpunk" domain, DoraCycle successfully captured complex aesthetic elements using zero paired examples, significantly outperforming base models that only achieved basic color shifts.
- Quantitative Performance: On the Storyboard20K benchmark, DoraCycle achieved a FID of 25.37 and a CIDEr of 40.90. These results demonstrate superior image quality and captioning accuracy compared to previous state-of-the-art cycle-consistency methods like ITIT.
- Data Efficiency: The authors found that combining a minimal amount of paired data (~1%) with large-scale unpaired data yields performance comparable to fully supervised fine-tuning, highlighting the framework's efficiency.
Conclusion and Future Work
DoraCycle demonstrates that unified generative models can be effectively adapted to new domains using unpaired data through multimodal cycles. While the current framework excels at descriptive tasks, future research will explore integrating complex reasoning and Visual Question Answering (VQA) into the cycles to capture deeper semantic relationships within specific domains.
Summary updated