JointDiT: Enhancing RGB-Depth Joint Modeling with Diffusion Transformers

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

TL;DR

JointDiT is a unified diffusion transformer framework that models the joint distribution of RGB images and depth maps. By introducing adaptive scheduling weights and an unbalanced timestep sampling strategy, a single model seamlessly handles joint image-depth generation, depth estimation, and depth-conditioned image generation simply by adjusting inference timesteps.

What Problem Does This Paper Address?

Computer vision tasks involving images and depth maps—such as estimating depth from an image or generating an image from a depth layout—are typically treated as separate conditional problems. This requires training specialized, task-specific models for each application.

While joint distribution modeling offers an elegant alternative—allowing a single model to handle multiple tasks by treating them as special cases of a shared distribution—previous attempts relied on older U-Net architectures. These models often struggled to produce high-fidelity images and sharp, geometrically accurate depth maps. JointDiT bridges this gap by scaling joint modeling to modern, state-of-the-art Diffusion Transformers (DiTs), overcoming the unique training challenges that arise when mixing modalities with different noise levels.

High-fidelity joint generation results from JointDiT

Methods

JointDiT is built on top of the pre-trained Flux diffusion transformer architecture. To extend it to the depth domain without destroying its powerful image generation priors, the authors introduce a parallel depth branch using Low-Rank Adaptations (LoRAs) while keeping the main RGB backbone frozen.

The core of the method lies in how these two branches interact during training:

  • Joint Connection Modules: These modules use cross-attention to exchange query features between the RGB and depth branches, ensuring structural alignment.
  • Adaptive Scheduling Weights: Instead of treating both modalities equally, the model dynamically weights the cross-attention based on their relative noise levels (timesteps $t_x$ and $t_y$). More weight is given to the cleaner domain, allowing it to guide the structure of the noisier domain.
  • Unbalanced Timestep Sampling Strategy: During training, the timesteps for the image and depth branches are sampled independently 50% of the time. This forces the model to learn how to handle extreme combinations (e.g., a completely clean image with a completely noisy depth map), which is exactly what it encounters during downstream tasks like depth estimation.
Overall pipeline of JointDiT showcasing the parallel branches and training strategies

Datasets

The model was trained and evaluated using several key datasets:

  • Base Training: A real-world internal video dataset consisting of 50k image-depth pairs (depth maps generated via Depth-Anything-V2).
  • Synthetic Fine-Tuning: 80k data samples filtered from Hypersim, Replica, IRS, and MatrixCity to boost pure depth estimation accuracy.
  • Conditional Generation Training: 16k images from PascalVOC.
  • Evaluation Benchmarks: NYUv2, ScanNet, KITTI, DIODE, and ETH3D for depth estimation; OpenImages 6K for depth-conditioned generation; and ImageNet 6K, Pexels 6K, and MSCOCO 30K for joint generation quality.

Key Insights and Ideas

  • Complementary Branch Behavior: Feature visualizations reveal a fascinating division of labor: the depth branch naturally locks onto underlying scene geometry, while the RGB branch focuses on texture and appearance.
  • Robustness in Stylized Domains: Because of this complementary behavior, JointDiT excels at generating plausible depth maps for challenging, non-realistic domains like cartoons and pixel art—areas where standard discriminative depth estimators frequently fail.
  • Joint Modeling as a Viable Alternative: A single joint model, when trained with independent noise scheduling, can perform on par with or better than specialized conditional models, proving that task-specific architectures aren't always necessary.
Comparison of 3D lifting results in stylized illustration domains

Key Results

  • Joint Generation: JointDiT generates highly realistic images and structurally sound depth maps that form coherent 3D structures when projected into 3D space, significantly outperforming previous joint models like LDM3D and JointNet.
  • Depth Estimation: By setting $t_x = 1$ (clean image) and $t_y = 0$ (noisy depth), JointDiT achieves depth estimation performance comparable to dedicated generative depth models (like Marigold and GeoWizard) despite tuning only a small fraction of its parameters via LoRA.
  • Depth-Conditioned Image Generation: On the OpenImages 6K dataset, JointDiT achieved the lowest FID (12.62) and AbsRel (6.99) compared to ControlNet and UniCon, demonstrating superior adherence to both the text prompt and the conditioning geometry.

Limitations and Future Work

Despite its strong performance, JointDiT has a few notable limitations:

  • Computational Overhead: Operating parallel branches increases network parameters by 19.8% and requires an input batch size of 2, resulting in a 2.9× longer sampling time compared to standard single-branch generation.
  • Reflective Surfaces: Like most existing depth estimation frameworks, the model struggles to correctly interpret mirrors, failing to recognize them as flat surfaces and instead mapping the depth of the reflected scene.

The authors suggest that adapting this joint modeling framework to more lightweight, distilled diffusion transformer architectures is a promising direction for reducing inference latency.

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