cs.CVOct 7, 2026

Relational Abstractions for Spatial Reasoning with Diffusion Models

Authors: Ana Ezquerro, Ozan Özdenizci

Organizations: Institute of Machine Learning and Neural Computation Graz University of Technology, Austria

Abstract

Diffusion models excel at image synthesis, but they remain limited in their ability to reliably satisfy structured spatial reasoning constraints. In conditional data distribution modeling tasks with implicit logical structure, such as puzzles defined by visible clues paired with consistent solutions, state-of-the-art generative models tend to approximate pixel-space distributions without learning the underlying logical rules required for inference. To address this limitation, we present a novel framework for spatial reasoning with diffusion models that leverages unsupervised object discovery and abstractions of object relations. We show that the relational knowledge derived from object-centric representations enriches diffusion models with structural primitives, allowing them to effectively guide the generative representation space during both training and inference, and enabling conditional image generation that satisfies reasoning constraints. Additionally, we introduce a large-scale generative spatial reasoning benchmark with four datasets inspired by human-solvable puzzles. Our results show that relational abstractions significantly improve reasoning capabilities of diffusion models on a variety of complex reasoning tasks, while enabling robust generalization in out-of-distribution settings.

Figures & tables

Appendix figures & tables21 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Think Before You Paint: Recursive Latent Reasoning for Diffusion Models

    Oct 7, 2026Paweł Skierś, Małgorzata Grzanka, Wojciech Masarczyk +2Diffusion Models

  2. The Art of Interrogation: Consistency Amplifies Factuality in Spatial Reasoning

    Jun 10, 2026Theo Uscidda, Marta Tintore Gazulla, Maks Ovsjanikov +2Spatial ReasoningLLM Reasoning Strategies

  3. The Thinking Pixel: Recursive Sparse Reasoning in Multimodal Diffusion Latents

    Apr 28, 2026Yuwei Sun, Yuxuan Yao, Hui Li +1Multimodal Diffusion ModelsDiffusion Models