MCP
OpenReviewOpenReview
Submission and review
Published: September 17, 2025
cs.AI
v2
ICLR 2026 withdrawn

Circuit Mechanisms for Spatial Relation Generation in Diffusion Transformers

Abstract
Although Diffusion Transformers (DiTs) have greatly advanced text-to-image generation, models still struggle to generate the correct spatial relations between objects as specified in the text prompt. Although mechanistic interpretability studies have been adopted to explain neural networks’ behavior in language and vision transformers from the perspective of the internal computation of representations, they have not yet been used to study how a DiT can generate correct spatial relations between objects. In this study, we investigate this open problem in a controlled setting. We train, from scratch, DiTs of different sizes with different text encoders to learn to generate images containing two objects whose attributes and spatial relations are specified in the text prompt. We find that, although all the models can learn this task to near-perfect accuracy, the underlying mechanisms differ drastically depending on the text encoder. When using random text embeddings, we find that the spatial-relation information is passed to image tokens through a two-stage circuit, involving two cross-attention heads that separately read the spatial relation and single-object attributes in the text prompt. When using a pretrained text encoder (T5), we find that the DiT uses a different circuit that leverages information fusion in the text tokens, reading spatial-relation and single-object information together from a single text token. We further show that, although the in-domain performance is similar for the two settings, their robustness to out-of-domain perturbations differs, potentially suggesting the difficulty of generating correct relations in real-world scenarios.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Links
OpenReview
OpenReview
↗
PDF
↗
arXiv
arXiv version on PaperPulse
›
CVF
Conference paper
CVF
›
Rating
No ratings yet
Rate
ICLR-2026-WITHDRAWN-SUBMISSION
—
No reviews yet
withdrawn
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first