Modality Forcing for Scalable Spatial Generation

Bardienus Pieter Duisterhof, Deva Ramanan, Jeffrey Ichnowski, Justin Johnson, Keunhong ParkarXiv 2026

TL;DR

Modality Forcing is a simple and scalable post-training recipe that transforms a pre-trained text-to-image (T2I) Diffusion Transformer (DiT) into a unified model capable of joint image-depth generation, image-to-depth, and depth-to-image tasks. By diffusing depth in pixel space with independent per-modality noise levels, it successfully trains on sparse, real-world data and demonstrates that scaling up T2I pre-training directly translates to superior spatial perception.

What Problem Does This Paper Address?

While modern text-to-image (T2I) generative models possess an incredible implicit understanding of 3D geometry (perspective, relative scale, occlusion), leveraging this spatial prior for explicit downstream tasks like depth estimation has traditionally been clunky.

Prior approaches typically duplicate network branches, add complex learned adapters, or tokenize depth maps using an image VAE. The VAE approach forces models to rely on dense, often synthetic depth data because standard image VAEs cannot handle missing or sparse pixels. Consequently, existing joint image-depth models struggle to generalize to real-world scenes and fail to scale efficiently with the underlying generative backbone. The authors ask a fundamental question: Can we build a simple, unified framework that handles any combination of image and depth generation while proving that larger T2I models inherently yield better spatial perception?

Methods

The authors introduce Modality Forcing, which shares a single DiT backbone across both RGB and depth modalities but assigns an independent noise level ($t_{\text{rgb}}, t_{\text{depth}}$) to each.

Overview of Modality Forcing training and inference pipelines.

Key methodological innovations include:

  • Pixel-Space Depth Tokenization: Instead of passing depth through a latent VAE, depth is tokenized directly in pixel space. When training on sparse real-world data, missing pixels are simply filled with isotropic Gaussian noise, signaling to the model that no data is present there.
  • Per-Modality Timestep Conditioning: Separate timestep embedders modulate the RGB and depth streams, coupled with a lightweight cross-stream mixing module to let each modality observe the other's noise level.
  • Self-Distillation Loss: To prevent the model from forgetting its massive web-scale T2I prior when fine-tuning on smaller depth datasets, a distillation loss penalizes the student network if its RGB predictions drift too far from the original frozen T2I model.

Datasets

The model is trained on a diverse mixture of 12 real-world and simulated datasets totaling roughly 17 million frames across 58,000 scenes. These include:

  • Real-world/Sensor data: Argoverse 2, ARKitScenes, MegaDepth, ScanNet v2, Waymo Open.
  • Synthetic/Simulated data: Project Aria Sim, Blended MVS, FoundationStereo, Hypersim, ParallelDomain, TartanAir v2, Taskonomy.

Evaluation is conducted across standard benchmarks including NYUv2, DIODE, ETH3D, ScanNet, KITTI, and OpenImages 6K.

Key Insights and Ideas

  • Image Generation is a Scalable Spatial Objective: By training a family of DiTs from scratch ranging from 370M to 3.3B parameters, the authors discovered that depth accuracy scales monotonically with both model size and the volume of T2I pre-training data.
  • The "Scratch Pad" Effect: Denoising trajectories matter. The authors found that denoising the RGB image before or faster than the depth map yields significantly better depth predictions. Denoising natively in the latent VAE space first acts as a spatial "scratch pad" that guides the pixel-space depth generation.
Scaling behavior showing depth accuracy improving with T2I model size and pre-training data volume.

Key Results

When paired with a state-of-the-art backbone like FLUX.2-klein-9B, Modality Forcing achieves remarkable results:

  • Monocular Depth Estimation: It dramatically outperforms all existing joint image-depth generative models (e.g., JointDiT, UniCon), reducing the Absolute Relative error (AbsRel) by 57% on average. It even approaches or beats top-tier discriminative specialist models like MoGe-2 on NYUv2 and ETH3D.
  • Depth-to-Image (D2I): On the OpenImages 6K benchmark, it achieves a state-of-the-art Frechet Inception Distance (FID) of 11.41, outperforming ControlNet and JointDiT in generating high-fidelity images conditioned on depth layouts.
Qualitative comparison of joint image-depth generation against JointDiT.

Limitations and Future Work

Despite its strong performance, the authors note a few limitations:

  • Strictness in Depth Following: In depth-to-image tasks, Modality Forcing occasionally follows depth instructions more loosely than specialized architectures like JointDiT.
  • Metric Depth: The current framework focuses on affine-invariant depth estimation rather than absolute metric depth prediction.
  • Data Scale: While 17M frames is substantial, it is still orders of magnitude smaller than the billions of images used in T2I pre-training. Scaling up the depth data mixture alongside backbones larger than 9B parameters remains an open and promising direction.

Summary updated

BibTeX
@misc{duisterhof2026modality,
  author = {Bardienus Pieter Duisterhof and Deva Ramanan and Jeffrey Ichnowski and Justin Johnson and Keunhong Park},
  title = {{Modality Forcing for Scalable Spatial Generation}},
  year = {2026},
  eprint = {2606.13676},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.13676},
}
Figure