Back to search

Washington University in St. Louis

Improving Semantic Precision in Text-to-Image Diffusion Models via Latent-Space Optimization and Semantically-Parsed Evaluation

Abstract

dc:description.abstract

Text-to-image diffusion models can produce visually impressive images from natural-language prompts, but they often fail to satisfy the detailed semantic constraints expressed in compositional prompts. Typical failure modes include omitted objects, merged entities, incorrect quantities, incorrect attribute binding, and leakage of one entity's attributes onto another. This thesis studies the problem of semantic precision in text-to-image generation: how faithfully a generated image satisfies the structured meaning of its prompt. The thesis makes two linked contributions. First, it presents a training-free inference-time refinement method for diffusion-based image generation. The method operates directly in latent space during denoising and uses noun-phrase-aware cross-attention objectives to improve object presence, attribute binding, and spatial separation between semantically distinct prompt entities. The approach augments an Attend-and-Excite style attention-activation objective with additional losses for attribute alignment, noun-phrase separation, and centroid separation, without retraining the underlying diffusion model. Second, the thesis introduces a structured evaluation framework for prompt-image semantic alignment. Rather than assigning a single global similarity score to the whole prompt-image pair, the framework decomposes the prompt into explicit semantic constraints, grounds relevant image regions, and verifies each constraint through targeted yes/no visual question answering. The resulting scores are aggregated into interpretable category-level and overall measures covering entity presence, attribute correctness, relation correctness, and quantity satisfaction. Experiments on a controlled compositional prompt set show that inference-time latent refinement improves semantic alignment over plain Stable Diffusion and simpler attention-guidance baselines. The proposed evaluation pipeline also exposes failure modes that are frequently hidden by global prompt-image similarity metrics, yielding a more fine-grained and diagnostically useful picture of semantic correctness.

Degree

thesis:*
Name thesis:degree_name
Master of Science (MS)
Level thesis:degree_level
Thesis
Discipline thesis:degree_discipline
Computer Science & Engineering

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Rouie Miab, Mohammad
Contributors dc:contributor
  • Nathan Jacobs
  • Tao Ju, Ilan Goodman

Subjects

dc:subject × 13

Rights

Language dc:language
English (en)

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Washington University in St. Louis
Base URL
openscholarship.wustl.edu/do/oai/
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Rouie Miab, Mohammad. Improving Semantic Precision in Text-to-Image Diffusion Models via Latent-Space Optimization and Semantically-Parsed Evaluation. Thesis thesis, https://doi.org/10.7936/56dw-fa51