arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.16627cs.CVcs.AIcs.LG

用于文本引导图像和视频生成的上下文化扩散模型

Contextualized Diffusion Models for Text-Guided Image and Video Generation

Peking University(北京大学);Stanford University(斯坦福大学)

Ling Yang, Zhilong Zhang, Zhaochen Yu, Jingwei Liu, Minkai Xu, Stefano Ermon, Bin Cui

AI总结:

针对现有扩散模型正向与反向过程不一致导致文本语义传达受限的问题,提出ContextDiff模型,通过将跨模态上下文引入正反向全过程调整轨迹,在文本生成图像与视频编辑任务上达到SOTA。

摘要:

条件扩散模型在高保真文本引导的视觉生成与编辑中展现出了卓越的性能。然而,现有的文本引导视觉扩散模型主要将文本-视觉关系仅纳入反向过程,往往忽略了其在正向过程中的相关性。正向与反向过程之间的这种不一致性可能会限制视觉合成结果对文本语义的精确传达。为了解决这个问题,我们提出了一种新颖且通用的上下文化扩散模型(ContextDiff),通过将包含文本条件和视觉样本之间交互与对齐的跨模态上下文纳入正向和反向过程来解决该问题。我们将该上下文传播到这两个过程中的所有时间步,以调整其轨迹,从而促进跨模态条件建模。我们通过理论推导将上下文化扩散推广至DDPMs和DDIMs,并在两项具有挑战性的任务评估中证明了我们模型的有效性:文本到图像生成和文本到视频编辑。在每项任务中,我们的ContextDiff都取得了新的最先进性能,显著增强了文本条件与生成样本之间的语义对齐,定量和定性评估均证明了这一点。我们的代码可在 https://github.com/YangLing0818/ContextDiff 获取。

英文摘要:

Conditional diffusion models have exhibited superior performance in high-fidelity text-guided visual generation and editing. Nevertheless, prevailing text-guided visual diffusion models primarily focus on incorporating text-visual relationships exclusively into the reverse process, often disregarding their relevance in the forward process. This inconsistency between forward and reverse processes may limit the precise conveyance of textual semantics in visual synthesis results. To address this issue, we propose a novel and general contextualized diffusion model (ContextDiff) by incorporating the cross-modal context encompassing interactions and alignments between text condition and visual sample into forward and reverse processes. We propagate this context to all timesteps in the two processes to adapt their trajectories, thereby facilitating cross-modal conditional modeling. We generalize our contextualized diffusion to both DDPMs and DDIMs with theoretical derivations, and demonstrate the effectiveness of our model in evaluations with two challenging tasks: text-to-image generation, and text-to-video editing. In each task, our ContextDiff achieves new state-of-the-art performance, significantly enhancing the semantic alignment between text condition and generated samples, as evidenced by quantitative and qualitative evaluations. Our code is available at https://github.com/YangLing0818/ContextDiff

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

↑