Abstract
Controllable text-to-image (T2I) models like ControlNet often struggle when visual conditions—such as depth maps or edge maps—conflict with the user's text prompt. This typically results in "Frankenstein" artifacts where the model attempts to force textures onto incompatible geometries. We present SmartControl, an adaptive extension for ControlNet that identifies and relaxes constraints in areas of conflict. By utilizing a pixel-wise Control Scale Predictor, SmartControl maintains global layout while allowing the text prompt to dictate local details where necessary. Experimental results demonstrate significant improvements in image quality and alignment with user intent, with a 78.3% human preference rate over standard ControlNet.
Introduction
Current controllable T2I models are designed for strict adherence to visual conditions. While effective for precise tasks, this rigidity fails in real-world scenarios involving "rough" guidance. For instance, using a depth map of a deer with the prompt "a photo of a tiger" often produces a tiger with antlers. Manually refining these conditions is labor-intensive. SmartControl addresses this by treating the text prompt as the primary indicator of user intent, adaptively "muting" the visual condition in regions where it contradicts the prompt.
Methodology
The core innovation of SmartControl is the Control Scale Predictor, a lightweight neural module integrated into the ControlNet architecture.
Control Scale Predictor
Instead of analyzing raw pixels, the predictor operates on features extracted from the pre-trained ControlNet backbone. It compares prompt-only features ($h$) with condition-integrated features ($h + h_{cond}$). This allows the model to leverage the diffusion model's internal knowledge to detect semantic mismatches between the layout and the text.
Spatial Control Scale Map ($\alpha$)
The predictor generates a pixel-wise map, $\alpha$. In regions where the prompt and condition align (e.g., the background), $\alpha$ remains high (~1.0), ensuring strict structural control. In areas of conflict (e.g., a tiger's head vs. a deer's antlers), $\alpha$ decreases toward 0. This map scales the conditional features before integration, surgically relaxing constraints only where they hinder image fidelity.
Experimental Setup
To train and evaluate SmartControl, the authors developed an Unaligned Data Construction Pipeline. Using images from OpenImage and a hierarchical class tree, they generated pairs with intentional conflicts (e.g., a "deer" depth map with a "tiger" prompt). Training sets were created for four condition types: Depth (2,000 images), HED (1,500), Segmentation (1,500), and Canny (1,000). Despite the small dataset sizes, the model generalizes well due to the robust priors of the underlying Stable Diffusion model.
Results and Discussion
SmartControl consistently outperforms standard ControlNet and T2I-Adapter in handling conflicting inputs.
Qualitative and Quantitative Performance
As shown in the "tiger vs. deer" example, SmartControl preserves the overall pose while removing anatomically incorrect features like antlers. Quantitatively, the model achieved higher CLIP Scores and Class Confidence metrics. In a user study, 78.3% of participants preferred SmartControl's results. Automated evaluation using GPT-4V also ranked SmartControl higher than the baseline in 67% of test cases.
Conclusion
SmartControl provides a robust solution for flexible controllable image generation. By moving from global to pixel-wise control strength, it allows users to provide rough sketches or borrowed layouts without sacrificing the realism of the final output. Future work will explore extending this adaptive logic to video-to-video translation and more complex multi-modal editing tasks.
Summary updated