Contrast-augmented Diffusion Model with Fine-grained Sequence Alignment for Markup-to-Image Generation
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
The recently rising markup-to-image generation poses greater challenges as compared to natural image generation, due to its low tolerance for errors as well as the complex sequence and context correlations between markup and rendered image. This paper proposes a novel model named "Contrast-augmented Diffusion Model with Fine-grained Sequence Alignment" (FSA-CDM), which introduces contrastive positive/negative samples into the diffusion model to boost performance for markup-to-image generation. Technically, we design a fine-grained cross-modal alignment module to well explore the sequence similarity between the two modalities for learning robust feature representations. To improve the generalization ability, we propose a contrast-augmented diffusion model to explicitly explore positive and negative samples by maximizing a novel contrastive variational objective, which is mathematically inferred to provide a tighter bound for the model's optimization. Moreover, the context-aware cross attention module is developed to capture the contextual information within markup language during the denoising process, yielding better noise prediction results. Extensive experiments are conducted on four benchmark datasets from different domains, and the experimental results demonstrate the effectiveness of the proposed components in FSA-CDM, significantly exceeding state-of-the-art performance by about 2%-12% DTW improvements. The code will be released at https://github.com/zgj77/FSACDM.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 40 of its 51 references that are in the map. First posted on arXiv 2 Aug 2023.
Builds on
40 of 51 references.
Closest ancestors · 8
Same direction, newest first
- 2023MagicFusion: Boosting Text-to-Image Generation Performance by Fusing Diffusion Models23 Mar
- 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models31 Jan
- 2022Shifted Diffusion for Text-to-image Generation24 Nov
- 2022Markup-to-Image Diffusion Models with Scheduled Sampling11 Oct
- 2022Compositional Visual Generation with Composable Diffusion Models3 Jun
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec
Other references · 32
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
- 2022Generative Adversarial Networkscited by 5,603
- 2017Neural Discrete Representation Learningcited by 4,650
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
- 2021Vector Quantized Diffusion Model for Text-to-Image Synthesiscited by 773
- 2016Generative Adversarial Text to Image Synthesiscited by 735
- 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 717
20 more
- 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 691
- 2017AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networkscited by 664
- 2016StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networkscited by 575
- 2023Open-Vocabulary Panoptic Segmentation with Text-to-Image Diffusion Modelscited by 371
- 2020ChemBERTa: Large-Scale Self-Supervised Pretraining for Molecular Property Predictioncited by 332
- 2023MDTv2: Masked Diffusion Transformer is a Strong Image Synthesizercited by 260
- 2021Cross-Modal Contrastive Learning for Text-to-Image Generationcited by 259
- 2017StackGAN++: Realistic Image Synthesis with Stacked Generative Adversarial Networkscited by 229
- 2020Disentangled and Controllable Face Image Generation via 3D Imitative-Contrastive Learningcited by 219
- 2020DF-GAN: A Simple and Effective Baseline for Text-to-Image Synthesiscited by 161
- 2021Unified Named Entity Recognition as Word-Word Relation Classificationcited by 89
- 2020Sequence-to-Sequence Contrastive Learning for Text Recognitioncited by 70
- 2020SCATTER: Selective Context Attentional Scene Text Recognizercited by 69
- 2021Improving Text-to-Image Synthesis Using Contrastive Learningcited by 62
- 2020Dual Contradistinctive Generative Autoencodercited by 58
- 2022Discrete Contrastive Diffusion for Cross-Modal Music and Image Generationcited by 44
- 2021Cycle-Consistent Inverse GAN for Text-to-Image Synthesiscited by 27
- 2022Dynamic Dual-Output Diffusion Modelscited by 25
- 2022ContrastVAE: Contrastive Variational AutoEncoder for Sequential Recommendationcited by 19
- 2022Adma-GAN: Attribute-Driven Memory Augmented GANs for Text-to-Image Generationcited by 6
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Beyond Binary Preference: Aligning Diffusion Models to Fine-grained Criteria by Decoupling Attributes
- 2026Alignment-Guided Score Matching for Text-to-Image Alignment in Diffusion Models
- 2025Single-Reference Text-to-Image Manipulation with Dual Contrastive Denoising Score
- 2025Aligning Text to Image in Diffusion Models is Easier Than You Think
- 2024Contextualized Diffusion Models for Text-Guided Image and Video Generation
- 2024Diffusion Model-Based Image Editing: A Survey
- 2023Real-World Image Variation by Aligning Diffusion Inversion Chain
- 2022UPainting: Unified Text-to-Image Diffusion Generation with Cross-modal Guidance