arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.06952cs.CVcs.AIcs.CLcs.LG
收藏

SELMA:利用自动生成数据学习并合并技能特定的文本到图像专家

SELMA: Learning and Merging Skill-Specific Text-to-Image Experts with Auto-Generated Data

UNC Chapel Hill(北卡罗来纳大学教堂山分校)

Jialu Li, Jaemin Cho, Yi-Lin Sung, Jaehong Yoon, Mohit Bansal

AI总结:

本文提出SELMA范式,利用LLM自动构建多技能图像-文本数据,训练并合并多个LoRA专家,显著提升T2I扩散模型的文本忠实度,并验证弱到强泛化。

摘要:

近期的文本到图像(T2I)生成模型在根据文本描述创建图像方面展现出令人瞩目的能力。然而,这些T2I生成模型往往难以生成与文本输入细节精确匹配的图像,例如空间关系错误或物体缺失。本文提出SELMA:Skill-Specific Expert Learning and Merging with Auto-Generated Data,这是一种新颖范式,通过在自动生成的多技能图像-文本数据集上微调模型,并结合技能特定的专家学习与合并,来提升T2I模型的忠实度。首先,SELMA利用LLM的上下文学习能力生成多个可教授不同技能的文本提示数据集,随后由T2I模型基于这些提示生成图像。接着,SELMA通过学习多个单一技能LoRA(low-rank adaptation,低秩适配)专家并进行专家合并,使T2I模型适应新技能。我们的独立专家微调使多个模型分别专精于不同技能,而专家合并有助于构建一个联合的多技能T2I模型,使其能够在面对多样文本提示时生成忠实图像,同时缓解来自不同数据集的知识冲突。我们通过实验证明,SELMA在多个基准上显著提升了最先进T2I扩散模型的语义对齐和文本忠实度(TIFA提升2.1%,DSG提升6.9%),也改善了人类偏好指标(PickScore、ImageReward和HPS)以及人工评估结果。此外,使用通过SELMA自动收集的图像-文本对进行微调,表现出与使用真值数据微调相当的性能。最后,我们表明,使用来自较弱T2I模型的图像进行微调,有助于提升较强T2I模型的生成质量,这表明T2I模型中存在具有前景的弱到强泛化能力。

英文摘要:

Recent text-to-image (T2I) generation models have demonstrated impressive capabilities in creating images from text descriptions. However, these T2I generation models often fall short of generating images that precisely match the details of the text inputs, such as incorrect spatial relationship or missing objects. In this paper, we introduce SELMA: Skill-Specific Expert Learning and Merging with Auto-Generated Data, a novel paradigm to improve the faithfulness of T2I models by fine-tuning models on automatically generated, multi-skill image-text datasets, with skill-specific expert learning and merging. First, SELMA leverages an LLM's in-context learning capability to generate multiple datasets of text prompts that can teach different skills, and then generates the images with a T2I model based on the prompts. Next, SELMA adapts the T2I model to the new skills by learning multiple single-skill LoRA (low-rank adaptation) experts followed by expert merging. Our independent expert fine-tuning specializes multiple models for different skills, and expert merging helps build a joint multi-skill T2I model that can generate faithful images given diverse text prompts, while mitigating the knowledge conflict from different datasets. We empirically demonstrate that SELMA significantly improves the semantic alignment and text faithfulness of state-of-the-art T2I diffusion models on multiple benchmarks (+2.1% on TIFA and +6.9% on DSG), human preference metrics (PickScore, ImageReward, and HPS), as well as human evaluation. Moreover, fine-tuning with image-text pairs auto-collected via SELMA shows comparable performance to fine-tuning with ground truth data. Lastly, we show that fine-tuning with images from a weaker T2I model can help improve the generation quality of a stronger T2I model, suggesting promising weak-to-strong generalization in T2I models.

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

↑