Towards Spatially Consistent Image Generation: On Incorporating Intrinsic Scene Properties into Diffusion Models

Hyundo Lee, Suhyung Choi, Byoung-Tak Zhang, Inwoo HwangarXiv 2025 · DOI

Abstract

Current text-to-image (T2I) models often produce images with "paradoxical" geometry, such as objects merging into backgrounds or floating in space. This paper introduces the Intrinsic Latent Diffusion Model (I-LDM), a framework that co-generates an image alongside its intrinsic scene properties—depth maps, surface normals, line drawings, and segmentation maps. By integrating these structural "blueprints" into the denoising process, I-LDM significantly enhances spatial consistency and physical realism without sacrificing image quality.

Introduction: The Problem of Paradoxical Geometry

While state-of-the-art models like Stable Diffusion 2.1 and SDXL generate visually stunning textures, they frequently lack a fundamental understanding of 3D space. Because these models are trained primarily on 2D pixel-text pairs, they often fail at basic spatial logic, leading to inconsistencies like distorted object boundaries or implausible scene layouts.

Previous solutions typically rely on conditional generation (e.g., ControlNet), which requires users to provide structural maps as inputs. I-LDM addresses this by asking: Can a model learn to generate both the structure and the image simultaneously, allowing them to mutually regularize each other?

The I-LDM Framework

The authors propose extending standard Latent Diffusion Models (LDMs) through several key technical innovations:

1. Intrinsic Space Encoding

To handle multiple intrinsic properties (depth, normals, lines, segments) efficiently, the authors developed an Intrinsic VAE. This autoencoder compresses these diverse maps into a single latent variable that matches the dimensionality of the image latent space, facilitating cross-domain interaction.

The I-LDM pipeline co-generates intrinsic maps alongside the final image to ensure structural integrity.

2. Joint Denoising and Attention

I-LDM utilizes LoRA (Low-Rank Adaptation) to adapt a frozen pre-trained model to the intrinsic domain. The "secret sauce" is a Cross-Domain Self-Attention mechanism. During denoising, the image domain "attends" to the intrinsic domain, ensuring that visual boundaries align with geometric edges.

3. Weight Scheduling

To prevent the structural maps from introducing artifacts into the final image, the authors implemented Drop and Gaussian scheduling strategies. These control the influence of the intrinsic domain over the diffusion steps, balancing global composition with fine-grained detail.

Experimental Results

The model was trained on a high-aesthetic subset of LAION-5B, using pseudo-labels from pre-trained estimators. Evaluation spanned general prompts (Parti Prompts), complex multi-object scenes, and specialized tasks like hand pose generation (InterHand2.6M).

Qualitative Improvements

Qualitatively, I-LDM resolves many common failure modes of standard LDMs. For instance, in generating a piano, standard models might merge the lid into the wall or fail to connect the legs to the floor. I-LDM uses its internal depth and segmentation maps to "anchor" these objects correctly in 3D space.

Comparison between standard LDM (left) and I-LDM (right). Note the improved geometric consistency in the piano lid and legs.

Quantitative Performance

  • Human & AI Preference: Using GPT-4o and human preference metrics (ImageReward, HPSv2), I-LDM consistently outperformed base models. In complex multi-object tasks, GPT-4o preferred I-LDM outputs nearly three times as often as the base model.
  • Structural Accuracy: In the InterHand task, I-LDM improved the detection rate of valid hand structures from 29.8% to 39.4%.
  • Fidelity: The model maintains high image quality and text alignment, as evidenced by stable CLIP scores and low CMMD.

Conclusion and Future Work

I-LDM demonstrates that co-generating intrinsic scene properties acts as a powerful regularizer for image generation. While it introduces a slight computational overhead (~10% more parameters), the gains in spatial consistency are substantial. Future work may involve training such models from scratch or refining the reliance on pseudo-label estimators to further push the boundaries of physically grounded AI art.

Summary updated

BibTeX
@misc{lee2025towards,
  author = {Hyundo Lee and Suhyung Choi and Byoung-Tak Zhang and Inwoo Hwang},
  title = {{Towards Spatially Consistent Image Generation: On Incorporating Intrinsic Scene Properties into Diffusion Models}},
  year = {2025},
  eprint = {2508.10382},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.10382},
}
Figure