mlsanityData to 7 Oct 2026

Contrast-augmented Diffusion Model with Fine-grained Sequence Alignment for Markup-to-Image Generation

arXiv 2308.01147 ↗First posted 2 Aug 2023cs.CV cs.MM eess.IVcited by 0

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

  1. 2023MagicFusion: Boosting Text-to-Image Generation Performance by Fusing Diffusion Models23 Mar
  2. 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models31 Jan
  3. 2022Shifted Diffusion for Text-to-image Generation24 Nov
  4. 2022Markup-to-Image Diffusion Models with Scheduled Sampling11 Oct
  5. 2022Compositional Visual Generation with Composable Diffusion Models3 Jun
  6. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
  7. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
  8. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec

Other references · 32

  1. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  3. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  4. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  5. 2022Generative Adversarial Networkscited by 5,603
  6. 2017Neural Discrete Representation Learningcited by 4,650
  7. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  8. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  9. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
  10. 2021Vector Quantized Diffusion Model for Text-to-Image Synthesiscited by 773
  11. 2016Generative Adversarial Text to Image Synthesiscited by 735
  12. 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 717
20 more
  1. 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 691
  2. 2017AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networkscited by 664
  3. 2016StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networkscited by 575
  4. 2023Open-Vocabulary Panoptic Segmentation with Text-to-Image Diffusion Modelscited by 371
  5. 2020ChemBERTa: Large-Scale Self-Supervised Pretraining for Molecular Property Predictioncited by 332
  6. 2023MDTv2: Masked Diffusion Transformer is a Strong Image Synthesizercited by 260
  7. 2021Cross-Modal Contrastive Learning for Text-to-Image Generationcited by 259
  8. 2017StackGAN++: Realistic Image Synthesis with Stacked Generative Adversarial Networkscited by 229
  9. 2020Disentangled and Controllable Face Image Generation via 3D Imitative-Contrastive Learningcited by 219
  10. 2020DF-GAN: A Simple and Effective Baseline for Text-to-Image Synthesiscited by 161
  11. 2021Unified Named Entity Recognition as Word-Word Relation Classificationcited by 89
  12. 2020Sequence-to-Sequence Contrastive Learning for Text Recognitioncited by 70
  13. 2020SCATTER: Selective Context Attentional Scene Text Recognizercited by 69
  14. 2021Improving Text-to-Image Synthesis Using Contrastive Learningcited by 62
  15. 2020Dual Contradistinctive Generative Autoencodercited by 58
  16. 2022Discrete Contrastive Diffusion for Cross-Modal Music and Image Generationcited by 44
  17. 2021Cycle-Consistent Inverse GAN for Text-to-Image Synthesiscited by 27
  18. 2022Dynamic Dual-Output Diffusion Modelscited by 25
  19. 2022ContrastVAE: Contrastive Variational AutoEncoder for Sequential Recommendationcited by 19
  20. 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

  1. 2026Beyond Binary Preference: Aligning Diffusion Models to Fine-grained Criteria by Decoupling Attributes
  2. 2026Alignment-Guided Score Matching for Text-to-Image Alignment in Diffusion Models
  3. 2025Single-Reference Text-to-Image Manipulation with Dual Contrastive Denoising Score
  4. 2025Aligning Text to Image in Diffusion Models is Easier Than You Think
  5. 2024Contextualized Diffusion Models for Text-Guided Image and Video Generation
  6. 2024Diffusion Model-Based Image Editing: A Survey
  7. 2023Real-World Image Variation by Aligning Diffusion Inversion Chain
  8. 2022UPainting: Unified Text-to-Image Diffusion Generation with Cross-modal Guidance