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

NSYNC:用于对比训练以改进风格化文本到图像翻译的负样本合成图像生成

NSYNC: Negative Synthetic Image Generation for Contrastive Training to Improve Stylized Text-To-Image Translation

Dept. of Computer Engineering, Hacettepe University(计算机工程系,哈切特佩大学);University of Luxembourg(卢森堡大学)

Serkan Ozturk, Samet Hicsonmez, Pinar Duygulu

AI总结:

本文提出NSYNC对比学习框架,通过生成负样本合成图像并利用正负梯度的正交分量更新参数,消除平凡属性,有效提升了大型文本到图像扩散模型的风格化能力。

摘要:

当前的文本条件图像生成方法能够输出逼真的图像,但它们无法捕捉特定的风格。简单地在目标风格数据集上对它们进行微调,仍然难以掌握风格特征。在这项工作中,我们提出了一种新颖的对比学习框架,以提高大型文本到图像扩散模型的风格化能力。受图像生成模型惊人进展的启发——该进展使合成数据成为各种计算机视觉任务中模型训练的内在组成部分——我们在方法中利用了合成图像生成。通常,生成的合成数据依赖于任务,并且在大多数情况下用于扩大可用的真实训练数据集。然而,在 NSYNC 中,我们转而专注于生成负样本合成集,将其与真实正样本图像一起用于新颖的对比训练方案中。在我们提出的训练设置中,我们将负样本数据与正样本数据一起前向传播,并分别获得负梯度和正梯度。然后,我们通过减去正梯度在负梯度上的投影来细化正梯度,以获得正交分量,并基于该正交分量更新参数。该正交分量消除了正负样本数据中均存在的平凡属性,并引导模型捕捉更独特的风格。在多位画家和插画师的各种风格上的实验表明,我们的方法在定量和定性上都优于基线方法。我们的代码可在 https://github.com/giddyyupp/NSYNC 获取。

英文摘要:

Current text conditioned image generation methods output realistic looking images, but they fail to capture specific styles. Simply finetuning them on the target style datasets still struggles to grasp the style features. In this work, we present a novel contrastive learning framework to improve the stylization capability of large text-to-image diffusion models. Motivated by the astonishing advance in image generation models that makes synthetic data an intrinsic part of model training in various computer vision tasks, we exploit synthetic image generation in our approach. Usually, the generated synthetic data is dependent on the task, and most of the time it is used to enlarge the available real training dataset. With NSYNC, alternatively, we focus on generating negative synthetic sets to be used in a novel contrastive training scheme along with real positive images. In our proposed training setup, we forward negative data along with positive data and obtain negative and positive gradients, respectively. We then refine the positive gradient by subtracting its projection onto the negative gradient to get the orthogonal component, based on which the parameters are updated. This orthogonal component eliminates the trivial attributes that are present in both positive and negative data and directs the model towards capturing a more unique style. Experiments on various styles of painters and illustrators show that our approach improves the performance over the baseline methods both quantitatively and qualitatively. Our code is available at https://github.com/giddyyupp/NSYNC.

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

↑