OmniControlNet: Dual-stage Integration for Conditional Image Generation
Yilin Wang, Haiyang Xu, Xiang Zhang, Zeyuan Chen, Zhizhou Sha, Zirui Wang, Zhuowen Tu
TL;DR
OmniControlNet tackles the redundancy of ControlNet by integrating condition generation and conditioned diffusion into a unified dual-stage pipeline. Stage 1 delivers a multi-task dense image predictor that handles depth, edges, scribbles, and animal poses within a single model, while Stage 2 uses textual inversion-guided prompts to drive a single conditioned diffusion path across all conditioning types. The approach achieves substantially lower model complexity and data needs with competitive image quality compared to existing integrated methods, and includes thorough ablations that highlight the benefits of multi-head, one-hot task encoding and task-prefix strategies. This work offers a practical pathway toward a compact, flexible conditioning framework suitable for broad real-world diffusion-based generation tasks.
Abstract
We provide a two-way integration for the widely adopted ControlNet by integrating external condition generation algorithms into a single dense prediction method and incorporating its individually trained image generation processes into a single model. Despite its tremendous success, the ControlNet of a two-stage pipeline bears limitations in being not self-contained (e.g. calls the external condition generation algorithms) with a large model redundancy (separately trained models for different types of conditioning inputs). Our proposed OmniControlNet consolidates 1) the condition generation (e.g., HED edges, depth maps, user scribble, and animal pose) by a single multi-tasking dense prediction algorithm under the task embedding guidance and 2) the image generation process for different conditioning types under the textual embedding guidance. OmniControlNet achieves significantly reduced model complexity and redundancy while capable of producing images of comparable quality for conditioned text-to-image generation.
