mlsanityData to 14 Oct 2026

Test-time Controllable Image Generation by Explicit Spatial Constraint Enforcement

arXiv 2501.01368 ↗First posted 2 Jan 2025cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Recent text-to-image generation favors various forms of spatial conditions, e.g., masks, bounding boxes, and key points. However, the majority of the prior art requires form-specific annotations to fine-tune the original model, leading to poor test-time generalizability. Meanwhile, existing training-free methods work well only with simplified prompts and spatial conditions. In this work, we propose a novel yet generic test-time controllable generation method that aims at natural text prompts and complex conditions. Specifically, we decouple spatial conditions into semantic and geometric conditions and then enforce their consistency during the image-generation process individually. As for the former, we target bridging the gap between the semantic condition and text prompts, as well as the gap between such condition and the attention map from diffusion models. To achieve this, we propose to first complete the prompt w.r.t. semantic condition, and then remove the negative impact of distracting prompt words by measuring their statistics in attention maps as well as distances in word space w.r.t. this condition. To further cope with the complex geometric conditions, we introduce a geometric transform module, in which Region-of-Interests will be identified in attention maps and further used to translate category-wise latents w.r.t. geometric condition. More importantly, we propose a diffusion-based latents-refill method to explicitly remove the impact of latents at the RoI, reducing the artifacts on generated images. Experiments on Coco-stuff dataset showcase 30% relative boost compared to SOTA training-free methods on layout consistency evaluation metrics.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). First posted on arXiv 2 Jan 2025.

Builds on

0 of 0 references.

No references here yet.

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2023Masked-Attention Diffusion Guidance for Spatially Controlling Text-to-Image Generation
  2. 2025Automated Prompt Generation for Creative and Counterfactual Text-to-image Synthesis
  3. 2023R&B: Region and Boundary Aware Zero-shot Grounded Text-to-image Generation
  4. 2024Prompt-Consistency Image Generation (PCIG): A Unified Framework Integrating LLMs, Knowledge Graphs, and Controllable Diffusion Models
  5. 2024Layout-to-Image Generation with Localized Descriptions using ControlNet with Cross-Attention Control
  6. 2024Dynamic Prompt Optimizing for Text-to-Image Generation
  7. 2023Compositional Text-to-Image Synthesis with Attention Map Control of Diffusion Models
  8. 2025ControlThinker: Unveiling Latent Semantics for Controllable Image Generation through Visual Reasoning