arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.06451cs.CV
收藏

SmartControl:增强 ControlNet 以处理粗糙视觉条件

SmartControl: Enhancing ControlNet for Handling Rough Visual Conditions

Harbin Institute of Technology(哈尔滨工业大学)

Xiaoyu Liu, Yuxiang Wei, Ming Liu, Xianhui Lin, Peiran Ren, Xuansong Xie, Wangmeng Zuo

AI总结:

针对粗糙视觉条件与文本提示冲突导致 T2I 生成伪影的问题,本文提出 SmartControl,通过 CSP 预测局部控制尺度并放宽冲突区域约束,少量样本即可泛化且优于现有方法。

摘要:

人类的视觉想象通常始于类比或粗略草图。例如,给定一张女孩在建筑物前弹吉他的图像,人们可能会类比想象如果钢铁侠在埃及金字塔前弹吉他会是什么样子。尽管如此,视觉条件可能无法与文本提示所指示的想象结果精确对齐,而现有的布局可控文本到图像(T2I)生成模型容易产生质量下降、带有明显伪影的生成结果。为解决这一问题,我们提出了一种名为 SmartControl 的新型 T2I 生成方法,旨在修改粗糙视觉条件,使其适应文本提示。SmartControl 的核心思想是在与文本提示冲突的区域放宽视觉条件。具体而言,我们设计了控制尺度预测器(Control Scale Predictor,CSP)来识别冲突区域并预测局部控制尺度,同时构建了一个包含文本提示和粗糙视觉条件的数据集用于训练 CSP。值得注意的是,即使训练样本数量有限(例如 1,000~2,000 个),SmartControl 仍能很好地泛化到未见过的对象。在四种典型视觉条件类型上进行的大量实验清楚表明,与最先进方法相比,SmartControl 具有有效性。源代码、预训练模型和数据集可在 https://github.com/liuxiaoyu1104/SmartControl 获取。

英文摘要:

Human visual imagination usually begins with analogies or rough sketches. For example, given an image with a girl playing guitar before a building, one may analogously imagine how it seems like if Iron Man playing guitar before Pyramid in Egypt. Nonetheless, visual condition may not be precisely aligned with the imaginary result indicated by text prompt, and existing layout-controllable text-to-image (T2I) generation models is prone to producing degraded generated results with obvious artifacts. To address this issue, we present a novel T2I generation method dubbed SmartControl, which is designed to modify the rough visual conditions for adapting to text prompt. The key idea of our SmartControl is to relax the visual condition on the areas that are conflicted with text prompts. In specific, a Control Scale Predictor (CSP) is designed to identify the conflict regions and predict the local control scales, while a dataset with text prompts and rough visual conditions is constructed for training CSP. It is worth noting that, even with a limited number (e.g., 1,000~2,000) of training samples, our SmartControl can generalize well to unseen objects. Extensive experiments on four typical visual condition types clearly show the efficacy of our SmartControl against state-of-the-arts. Source code, pre-trained models, and datasets are available at https://github.com/liuxiaoyu1104/SmartControl.

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

↑