JointDiT: Enhancing RGB-Depth Joint Modeling with Diffusion Transformers

Kwon Byung-Ki, Qi Dai, Lee Hyoseok, Chong Luo, Tae-Hyun Oh

TL;DR

This paper introduces JointDiT, a diffusion transformer that models the joint distribution of RGB images and their corresponding depth maps. By leveraging the power of diffusion transformers and introducing novel adaptive scheduling and timestep sampling techniques, JointDiT achieves state-of-the-art performance in joint image-depth generation, while also serving as a viable alternative for depth estimation and depth-conditioned image generation tasks.

What Problem Does This Paper Address?

Generating realistic and geometrically consistent pairs of RGB images and depth maps is a challenging task. While diffusion models have excelled at generating high-fidelity images, effectively modeling the intricate relationship between visual appearance and spatial structure (depth) has remained an open problem. Existing methods often treat these as separate tasks or rely on U-Net architectures, which have limitations in capturing long-range dependencies crucial for accurate depth estimation. The paper aims to bridge this gap by developing a unified model that can jointly generate both modalities and perform related tasks by simply adjusting the model's internal state.

Methods

JointDiT builds upon the Flux diffusion transformer architecture, extending it with a parallel depth branch. The core innovation lies in how it models the joint distribution of RGB and depth across all noise levels. This is achieved through two key techniques:

  • Adaptive Scheduling Weights: These weights dynamically adjust the influence of cross-attention between the RGB and depth branches based on the noise level of each modality. This allows the model to prioritize information from the "cleaner" modality, leading to more robust joint generation.
  • Unbalanced Timestep Sampling Strategy: This strategy samples timesteps for the RGB and depth branches independently, allowing for more flexible training across different noise levels. This is crucial for enabling the model to handle various tasks (joint generation, depth estimation, depth-conditioned generation) by simply controlling the timesteps of each branch.

The model leverages a "joint connection module" within each diffusion transformer block to facilitate feature exchange between the RGB and depth branches, enabling them to learn from each other.

Datasets

The paper utilizes a combination of datasets for training and evaluation:

  • Training: A real-world internal video dataset was collected and processed into 512x512 images. Depth maps and text prompts were generated using Depth-Anything-v2 and LLaVa, respectively. For specific tasks like depth estimation, a synthetic dataset was curated from Hypersim, Replica, IRS, and MatrixCity.
  • Evaluation: Standard datasets for depth estimation were used, including NYUv2, ScanNet, KITTI, DIODE, and ETH3D. For depth-conditioned image generation, PascalVOC and OpenImages 6K were employed.

Key Insights and Ideas

  • Diffusion Transformers for Dense Prediction: The paper reinforces the idea that transformer architectures, with their global receptive fields, are highly effective for dense prediction tasks like depth estimation, outperforming traditional U-Net architectures in this domain.
  • Joint Distribution as a Unified Framework: Modeling the joint distribution of RGB and depth proves to be a powerful paradigm, allowing a single model to perform multiple related tasks (joint generation, depth estimation, depth-conditioned generation) with minimal changes (just timestep control). This suggests that conditional generation might be a special case of joint distribution modeling.
  • Adaptive Noise Handling is Crucial: The adaptive scheduling weights are a clever way to manage the inherent differences in noise levels between modalities during training, leading to improved performance across various tasks.
  • Independent Timestep Control Unlocks Flexibility: The unbalanced timestep sampling strategy is key to enabling the model's versatility, allowing it to specialize in different tasks by independently controlling the diffusion process for each modality.

Key Results

  • Superior Joint Generation: JointDiT produces highly plausible RGB images and geometrically accurate depth maps, outperforming existing joint generation methods like LDM3D and JointNet, especially in 3D lifting visualizations.
  • Competitive Depth Estimation: JointDiT achieves performance comparable to state-of-the-art discriminative and generative depth estimation models, even outperforming some on specific datasets. Fine-tuning further boosts its accuracy.
  • Effective Depth-Conditioned Generation: The model demonstrates strong performance in depth-conditioned image generation, achieving lower FID scores and better depth consistency (AbsRel) compared to methods like ControlNet and UniCon.
  • Plausible Depth for Stylized Domains: JointDiT shows remarkable ability to generate plausible depth maps for challenging stylized domains like cartoons and pixel art, where traditional depth estimation methods often struggle.

Limitations and Future Work

  • Increased Parameter Count and Sampling Time: The paper acknowledges that JointDiT requires a batch size of 2 and leads to a ~19.8% increase in parameters and a ~2.9x longer sampling time for 20 steps compared to single-modality models.
  • Future Work: The authors suggest exploring adaptations to lightweight diffusion transformer models to mitigate the computational overhead. Further research into optimizing the joint distribution modeling for even greater efficiency and broader applicability is also implied.

Summary updated

BibTeX
@inproceedings{byungki2025jointdit,
  author = {Kwon Byung-Ki and Qi Dai and Lee Hyoseok and Chong Luo and Tae-Hyun Oh},
  title = {{JointDiT: Enhancing RGB-Depth Joint Modeling with Diffusion Transformers}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
  url = {https://openreview.net/forum?id=F2XbgOFOlh},
}
Figure