AI RESEARCH

Circuit Mechanisms for Spatial Relation Generation in Diffusion Transformers

arXiv CS.AI

ArXi:2601.06338v2 Announce Type: replace Diffusion Transformers (DiTs) have greatly advanced text-to-image generation, but models still struggle to generate the correct spatial relations between objects as specified in the text prompt. In this study, we adopt a mechanistic interpretability approach to investigate how a DiT can generate correct spatial relations between objects. 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.