InfSplign: Inference-Time Spatial Alignment of Text-to-Image Diffusion Models

Sarah Rastegar, Violeta Chatalbasheva, Sieger Falkena, Anuj Singh, Yanbo Wang +3 more
12/19/2025
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

Text-to-image (T2I) diffusion models generate high-quality images but often fail to capture the spatial relations specified in text prompts. This limitation can be traced to two factors: lack of fine-grained spatial supervision in training data and inability of text embeddings to encode spatial semantics. We introduce InfSplign, a training-free inference-time method that improves spatial alignment by adjusting the noise through a compound loss in every denoising step. Proposed loss leverages different levels of cross-attention maps extracted from the backbone decoder to enforce accurate object placement and a balanced object presence during sampling. The method is lightweight, plug-and-play, and compatible with any diffusion backbone. Our comprehensive evaluations on VISOR and T2I-CompBench show that InfSplign establishes a new state-of-the-art (to the best of our knowledge), achieving substantial performance gains over the strongest existing inference-time baselines and even outperforming the fine-tuning-based methods. Codebase is available at GitHub.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{rastegar2025infsplign,
  title  = {InfSplign: Inference-Time Spatial Alignment of Text-to-Image Diffusion Models},
  author = {Sarah Rastegar and Violeta Chatalbasheva and Sieger Falkena and Anuj Singh and Yanbo Wang and Tejas Gokhale and Hamid Palangi and Hadi Jamali-Rad},
  year   = {2025},
  eprint = {2512.17851},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.17851v2}
}

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/2512.17851.svg)](https://codeofpaper.com/paper/2512.17851)

Discussion