Contextualized Diffusion Models for Text-Guided Image and Video Generation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Yang, Ling, Zhang, Zhilong, Yu, Zhaochen, Liu, Jingwei, Xu, Minkai, Ermon, Stefano, Cui, Bin
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866929371468529664
author Yang, Ling
Zhang, Zhilong
Yu, Zhaochen
Liu, Jingwei
Xu, Minkai
Ermon, Stefano
Cui, Bin
author_facet Yang, Ling
Zhang, Zhilong
Yu, Zhaochen
Liu, Jingwei
Xu, Minkai
Ermon, Stefano
Cui, Bin
contents 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
format Preprint
id arxiv_https___arxiv_org_abs_2402_16627
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Contextualized Diffusion Models for Text-Guided Image and Video Generation
Yang, Ling
Zhang, Zhilong
Yu, Zhaochen
Liu, Jingwei
Xu, Minkai
Ermon, Stefano
Cui, Bin
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
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
title Contextualized Diffusion Models for Text-Guided Image and Video Generation
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2402.16627