3DIS: Depth-Driven Decoupled Image Synthesis for Universal Multi-Instance Generation

Dewei Zhou, Ji Xie, Zongxin Yang, Yi Yang

Overview

3DIS (Depth-Driven Decoupled Image Synthesis) is a novel framework designed to make multi-object image generation more precise and universally adaptable. By decoupling the generation process into two distinct stages—first generating a scene depth map from a layout, and then rendering the final image using pre-trained foundational models like SD2 or SDXL—3DIS eliminates the need for expensive retraining. Crucially, this approach significantly reduces "attribute leakage," a common failure mode where colors or textures from one object inadvertently bleed into another.

The Challenge of Multi-Instance Generation

Generating images with multiple specific objects in precise locations, known as Multi-Instance Generation (MIG), is notoriously difficult. While tools like ControlNet offer general structural guidance, MIG models typically struggle with two primary issues:

  1. Attribute Leakage: When prompted with multiple distinct objects (e.g., a "red cat" and a "blue dog"), the model's attention mechanisms often confuse the descriptions during rendering, resulting in blended features like a purple cat.
  2. Model Lock-in: Most current MIG tools are trained as "unified adapters" tied to specific, older architectures like Stable Diffusion 1.5. Adapting these tools to newer, more powerful models like SDXL requires massive amounts of labeled data and computational power, severely limiting their adoption.

3DIS tackles these limitations by separating where objects are placed from what they look like, utilizing depth as a universal bridge between spatial layouts and pixel-level rendering.

The 3DIS Methodology

The 3DIS framework operates in two decoupled stages to ensure both layout fidelity and high-quality attribute rendering.

Stage 1: Layout-to-Depth

Instead of attempting to map a layout directly to RGB pixels, 3DIS first generates a coarse scene depth map. The authors integrated a custom layout adapter into LDM3D (a latent diffusion model for 3D). To ensure the model focuses on the overall spatial structure rather than fine details, it was fine-tuned using "pyramid noise," which emphasizes low-frequency spatial information.

Stage 1 generates a coarse scene depth map from the initial layout to establish spatial positioning.

Stage 2: Training-Free Detail Rendering

Once the depth map is established, 3DIS employs a standard, pre-trained ControlNet to guide a foundational model (such as SD2 or SDXL). To achieve high-fidelity, instance-specific results without requiring further training, the framework introduces several key techniques:

  • SAM-Enhanced Localization: The Segment Anything Model (SAM) is applied to the generated depth map to extract precise masks for each object. This provides significantly higher accuracy than traditional bounding boxes.
  • Decoupled Cross-Attention: The model performs text-to-image attention operations separately for each instance mask. This isolation ensures that a prompt meant for one object only influences the pixels within that specific object's mask.
  • Low-Pass Filtering: High-frequency noise is filtered from ControlNet’s feature maps to improve the visual harmony and coherence of the final composite image.
Stage 2 utilizes the depth map to render fine-grained attributes using foundational models like SD2, avoiding attribute leakage.

Key Insights and Results

By using depth maps as a universal intermediate representation, 3DIS can leverage any foundational model equipped with a depth-based ControlNet. This makes the framework highly adaptable across different architectures (SD1.5, SD2, SDXL) without needing to retrain the core layout logic. Furthermore, decoupling the problem simplifies the learning objective: it is much easier for a model to learn "where a 3D volume should be" (depth) than to simultaneously learn "where it is" and "exactly what its texture looks like" (RGB).

Evaluations on primary benchmarks demonstrate that 3DIS sets a new state-of-the-art for controllable multi-instance generation:

  • Layout Precision: On the COCO-Position benchmark, 3DIS achieved a 16.3% improvement in AP75 (Average Precision at a strict overlap threshold) compared to the previous leading method, MIGC.
  • Attribute Accuracy: On the challenging COCO-MIG benchmark, the training-free detail renderer improved the Instance Attribute Success Ratio by 35% over other training-free methods like Multi-Diffusion.
  • Visual Quality: Qualitative assessments confirm that 3DIS effectively prevents attribute leakage and maintains instance separation, even in complex scenes with overlapping objects.

Limitations and Future Work

While 3DIS offers a robust solution for MIG, the authors acknowledge a few areas for future optimization. The two-stage process (depth generation followed by RGB rendering) and the integration of SAM introduce computational overhead, impacting inference speed compared to single-pass models. Additionally, the current implementation is built on U-Net-based diffusion models. Future work will explore integrating 3DIS with emerging Diffusion Transformer (DiT) architectures, which are rapidly becoming the new standard for high-fidelity image generation.

Summary updated

BibTeX
@inproceedings{zhou2025dis,
  author = {Dewei Zhou and Ji Xie and Zongxin Yang and Yi Yang},
  title = {{3DIS: Depth-Driven Decoupled Image Synthesis for Universal Multi-Instance Generation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=MagmwodCAB},
}
Figure