<ul data-eligibleForWebStory="true">Researchers introduce Spatial Reasoning Models (SRMs) for reasoning over sets of continuous variables using denoising generative models.SRMs infer continuous representations on unobserved variables based on observations on observed variables.Current generative models like diffusion and flow matching models can lead to hallucinations in complex distributions.The study includes benchmark tasks to evaluate the quality of reasoning in generative models and quantify hallucination.SRMs highlight the importance of sequentialization in generation, the associated order, and sampling strategies during training.The framework shows that the order of generation can be predicted by the denoising network itself, leading to significant accuracy improvements.The project website offers additional resources including videos, code, and benchmark datasets.The SRM framework enhances accuracy in specific reasoning tasks from less than 1% to over 50%.