arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.10451cs.LGcs.GR
收藏

FlexControl:面向文本到图像生成的具备计算感知能力且带有可微路由器的 ControlNet

FlexControl: Computation-Aware ControlNet with Differentiable Router for Text-to-Image Generation

University of Warwick(华威大学);Collov Labs(科洛弗实验室)

Zheng Fang, Lichuan Xiang, Xu Cai, Kaicheng Zhou, Hongkai Wen

AI总结:

本文提出 FlexControl 框架,通过可训练门控与计算感知损失端到端动态选择 ControlNet 激活块,在 SD1.5 和 SD3.0 上兼顾图像质量并降低计算开销。

摘要:

ControlNet 为引导基于扩散的生成模型提供了一种强大方法,但大多数实现依赖临时启发式规则来选择要控制的网络块,这种方法会随任务不同而发生不可预测的变化。为弥补这一空白,我们提出 FlexControl,这是一个新颖框架,在训练期间复制所有扩散块,并采用可训练的门控机制,在每个去噪步骤动态选择要激活的块。通过引入计算感知损失,我们能够促使控制块仅在有利于生成质量时激活。通过消除手动块选择,FlexControl 以端到端训练方式使用计算感知训练损失,增强了跨多样任务的适应性,并简化了设计流程。通过在 UNet(例如 SD1.5)和 DiT(例如 SD3.0)上的综合实验,我们表明本方法在某些受关注的关键方面优于现有 ControlNet 变体。正如定量和定性评估所证明的,FlexControl 保持或增强了图像保真度,同时通过选择性激活最相关的块降低了计算开销。这些结果强调了灵活、数据驱动的受控扩散方法的潜力,并为高效生成模型设计开辟了新途径。代码即将在 https://github.com/Anonymousuuser/FlexControl 提供。

英文摘要:

ControlNet offers a powerful way to guide diffusion-based generative models, yet most implementations rely on ad-hoc heuristics to choose which network blocks to control-an approach that varies unpredictably with different tasks. To address this gap, we propose FlexControl, a novel framework that copies all diffusion blocks during training and employs a trainable gating mechanism to dynamically select which blocks to activate at each denoising step. With introducing a computation-aware loss, we can encourage control blocks only to activate when it benefit the generation quality. By eliminating manual block selection, FlexControl enhances adaptability across diverse tasks and streamlines the design pipeline, with computation-aware training loss in an end-to-end training manner. Through comprehensive experiments on both UNet (e.g., SD1.5) and DiT (e.g., SD3.0), we show that our method outperforms existing ControlNet variants in certain key aspects of interest. As evidenced by both quantitative and qualitative evaluations, FlexControl preserves or enhances image fidelity while also reducing computational overhead by selectively activating the most relevant blocks. These results underscore the potential of a flexible, data-driven approach for controlled diffusion and open new avenues for efficient generative model design. The code will soon be available at https://github.com/Anonymousuuser/FlexControl.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑