HCMA: Hierarchical Cross-model Alignment for Grounded Text-to-Image Generation

Hang Wang, Zhi-Qi Cheng, Chenhao Lin, Chao Shen, Lei Zhang
5/10/2025
3 citations
cs.CV

Official code: hwang-cs-ime/HCMA (4 stars, Apache-2.0, last commit 2025-04-23).

Abstract

Text-to-image synthesis has progressed to the point where models can generate visually compelling images from natural language prompts. Yet, existing methods often fail to reconcile high-level semantic fidelity with explicit spatial control, particularly in scenes involving multiple objects, nuanced relations, or complex layouts.

Show full abstract

To bridge this gap, we propose a Hierarchical Cross-Modal Alignment (HCMA) framework for grounded text-to-image generation. HCMA integrates two alignment modules into each diffusion sampling step: a global module that continuously aligns latent representations with textual descriptions to ensure scene-level coherence, and a local module that employs bounding-box layouts to anchor objects at specified locations, enabling fine-grained spatial control. Extensive experiments on the MS-COCO 2014 validation set show that HCMA surpasses state-of-the-art baselines, achieving a 0.69 improvement in Frechet Inception Distance (FID) and a 0.0295 gain in CLIP Score. These results demonstrate HCMA's effectiveness in faithfully capturing intricate textual semantics while adhering to user-defined spatial constraints, offering a robust solution for semantically grounded image generation. Our code is available at https://github.com/hwang-cs-ime/HCMA.

View on arXivView PDF

Code Implementations(1)

hwang-cs-ime/HCMAOfficial100%
Apache-2.0

HCMA: Hierarchical Cross-model Alignment for Grounded Text-to-Image Generation

40Dec 25, 20231 years agoApache-2.0

Similar Papers

Cite this paper

@article{wang2025hcma,
  title  = {HCMA: Hierarchical Cross-model Alignment for Grounded Text-to-Image Generation},
  author = {Hang Wang and Zhi-Qi Cheng and Chenhao Lin and Chao Shen and Lei Zhang},
  year   = {2025},
  eprint = {2505.06512},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.06512v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.06512.svg)](https://codeofpaper.com/paper/2505.06512)

Discussion