DynamicControl: Adaptive Condition Selection for Improved Text-to-Image Generation

Qingdong He, Jinlong Peng, Pengcheng Xu, Boyuan Jiang, Xiaobin Hu, Donghao Luo, Yong Liu, Yabiao Wang, Chengjie Wang, Xiangtai Li, Jiangning Zhang · DOI

Abstract

Controllable text-to-image (T2I) generation often relies on multiple visual conditions—such as edges, depth maps, or poses—to guide the creative process. However, existing methods typically struggle when multiple conditions are present, often leading to structural conflicts and degraded image quality. We introduce DynamicControl, a framework that leverages a Multimodal Large Language Model (MLLM) to adaptively rank and select the most harmonious control signals for a given prompt. By employing a Double-Cycle Controller to establish ground-truth rankings and a specialized Multi-Control Adapter for integration, DynamicControl achieves significantly higher coherence and fidelity than previous fixed-condition approaches.

Introduction

In the realm of AI-driven image generation, tools like ControlNet have revolutionized the ability to guide outputs using structural "hints" such as Canny edge maps or depth information. However, real-world creative workflows often necessitate the use of multiple hints simultaneously. Existing models frequently fail in these scenarios, either by randomly selecting a single condition during training, using a fixed number of conditions that do not scale, or ignoring conflicts between disparate control signals. Such conflicts, like a cluttered edge map clashing with a clean depth map, often result in distorted subjects or hallucinated artifacts. DynamicControl addresses this critical gap by dynamically evaluating which control signals are most beneficial for a specific prompt and image.

Methodology

DynamicControl utilizes a two-stage pipeline to achieve adaptive condition selection, moving away from static control mechanisms.

1. The Double-Cycle Controller

To determine the optimal conditions for a given task, the authors developed a "teacher" scoring system based on two cycles. Condition Consistency evaluates whether a generated image can reproduce the original hint when re-extracted. Image Consistency measures the fidelity of the generated result relative to the source image. This dual-cycle approach creates a ground-truth ranking of condition effectiveness.

2. The MLLM Condition Evaluator

Since the Double-Cycle Controller is computationally intensive and requires a source image (which is unavailable during standard inference), the authors trained an MLLM (such as LLaVA) to act as a "student." This evaluator analyzes the text prompt and available visual hints to predict the optimal ranking of conditions in real-time.

Overview of the DynamicControl framework, featuring the Condition Evaluator and Multi-Control Adapter.

3. Parallel Multi-Control Adapter

The top-ranked conditions are fed into a specialized adapter module. This component utilizes a Mixture-of-Experts (MoE) design and "criss-cross attention" to integrate diverse visual features into the diffusion model (Stable Diffusion) without causing structural interference.

Experimental Results

DynamicControl was rigorously evaluated on large-scale benchmarks, including MultiGen-20M and ADE20K. It consistently outperformed state-of-the-art models like UniControlNet and ControlNet++ across both quantitative and qualitative metrics.

  • Image Quality: On the MultiGen-20M dataset, DynamicControl achieved an FID of 12.01, representing a substantial improvement over UniControlNet’s 32.58.
  • Controllability: In segmentation tasks, the model improved mIoU (Mean Intersection over Union) by nearly 5% over existing methods, demonstrating superior structural integrity.
  • User Preference: A user study revealed that 75% of participants preferred DynamicControl’s overall image quality compared to five other leading methods, with over 64% favoring its text alignment.
Qualitative comparison of DynamicControl against state-of-the-art methods for single and multiple condition generation.

Key Insights

A central finding of this research is that "more isn't always better" in controllable generation. Simply adding more control signals can degrade image quality if those signals conflict. Adaptive selection is the "secret sauce" for maintaining high fidelity. Furthermore, this work demonstrates the utility of MLLMs as reasoning engines for vision, using their capabilities to perform meta-tasks—specifically, deciding which structural constraints are most important for a creative composition.

Limitations and Future Work

While powerful, DynamicControl has areas for further development. The use of a 7B-parameter MLLM introduces inference overhead; although a 3B version reduces this, it remains slower than non-adaptive models. Additionally, the current framework focuses on aligned controls (describing the same subject). Handling mismatched conditions—such as applying a human pose to an animal—remains a complex challenge for future exploration. Finally, the authors plan to port the framework to newer architectures like SDXL or Flux to achieve even higher resolutions.

Summary updated

BibTeX
@misc{he2024dynamiccontrol,
  author = {Qingdong He and Jinlong Peng and Pengcheng Xu and Boyuan Jiang and Xiaobin Hu and Donghao Luo and Yong Liu and Yabiao Wang and Chengjie Wang and Xiangtai Li and Jiangning Zhang},
  title = {{DynamicControl: Adaptive Condition Selection for Improved Text-to-Image Generation}},
  year = {2024},
  eprint = {2412.03255},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.03255},
}
Figure