Matrix3D: Large Photogrammetry Model All-in-One

Yuanxun Lu, Jingyang Zhang, Tian Fang, Jean-Daniel Nahmias, Yanghai Tsin, Long Quan, Xun Cao, Yao Yao, Shiwei Li

Abstract

We present Matrix3D, a unified model that performs several photogrammetry subtasks, including pose estimation, depth prediction, and novel view synthesis using just the same model. Matrix3D utilizes a multi-modal diffusion transformer (DiT) to integrate transformations across several modalities, such as images, camera parameters, and depth maps. The key to Matrix3D's large-scale multi-modal training lies in the incorporation of a mask learning strategy. This enables full-modality model training even with partially complete data, such as bi-modality data of image-pose and image-depth pairs, thus significantly increases the pool of available training data. Matrix3D demonstrates state-of-the-art performance in pose estimation and novel view synthesis tasks. Additionally, it offers fine-grained control through multi-round interactions, making it an innovative tool for 3D content creation.

Introduction

Traditional photogrammetry—the science of extracting 3D measurements from 2D imagery—has historically relied on fragmented, multi-stage pipelines. Standard workflows typically require dense image sets and separate modules for feature detection, Structure-from-Motion (SfM) for camera poses, and Multi-view Stereo (MVS) for depth estimation. This compartmentalized approach often leads to error accumulation and struggles significantly with "sparse-view" scenarios, where only a handful of unposed images are available.

Matrix3D addresses these challenges by introducing an "all-in-one" generative model. By treating photogrammetry as a unified multi-modal problem, Matrix3D replaces independent stages with a single Diffusion Transformer (DiT) capable of handling pose estimation, depth prediction, and novel view synthesis (NVS) simultaneously. This holistic approach enables high-quality 3D reconstruction from as few as two to eight photos.

Methodology

Multi-modal Diffusion Transformer (DiT)

The architecture of Matrix3D is built upon a multi-modal DiT designed to process diverse data types within a shared framework. To achieve this, the researchers developed unified 2D representations for geometric data:

  • Camera Geometry: Encoded as Plücker ray maps, which translate abstract camera parameters into a spatial format the transformer can process like an image.
  • 3D Structure: Represented as 2.5D depth maps, providing a bridge between 2D pixels and 3D space.

Masked Learning Strategy

A pivotal innovation in Matrix3D is its masked learning strategy, inspired by Masked Auto-Encoders (MAE). During training, the model is tasked with "filling in the blanks" by randomly hiding specific modalities or views. For instance, the model might be provided with two images and asked to predict the relative camera poses, or provided with an image and a target pose to generate a novel view. This strategy serves as a powerful data multiplier, allowing the model to learn from incomplete datasets—such as pairs containing only images and depth without pose data—thereby vastly expanding the training pool.

3D Gaussian Splatting Integration

While Matrix3D generates the necessary geometric primitives (poses, depths, and synthetic views), it integrates with 3D Gaussian Splatting (3DGS) for the final reconstruction. The outputs from Matrix3D serve as high-quality initializations for a 3DGS optimization process, resulting in dense, high-fidelity 3D assets that traditional SfM pipelines often fail to produce from sparse inputs.

Training and Datasets

To ensure robustness across various environments, Matrix3D was trained on a diverse mixture of six large-scale datasets:

  • Object-Centric: Objaverse (synthetic) and MVImgNet (real-world objects).
  • Scene-Centric: CO3D-v2 (objects in wild settings), RealEstate10k (indoor/outdoor walkthroughs), Hypersim (synthetic interiors), and ARKitScenes (real-world indoor scans).

This comprehensive training allows the model to generalize across single objects and complex indoor scenes effectively.

Key Results and Insights

State-of-the-Art Performance

Matrix3D demonstrates superior performance across multiple benchmarks:

  • Pose Estimation: On the CO3D dataset, the model achieved a relative rotation accuracy of 95.8%, outperforming RayDiffusion (90.4%) and DUSt3R (85.6%).
  • Novel View Synthesis: The model produced higher-quality imagery (PSNR/SSIM) compared to specialized frameworks like SyncDreamer and Wonder3D.
  • Monocular Depth: Even in single-image tasks, Matrix3D surpassed dedicated depth estimation models such as Depth Anything v2.

Synergy of Modalities

A core insight of the research is that joint task learning creates synergy. The authors found that providing depth information as an additional input actually improves the accuracy of pose estimation, proving that a unified model can outperform specialized, isolated models by leveraging cross-modal correlations.

Limitations and Future Work

Despite its versatility, Matrix3D faces challenges in complex outdoor environments, primarily due to the scarcity of high-quality, large-scale outdoor training data. While the model excels in depth map accuracy, it currently trails slightly behind specialized point-cloud models in certain unposed evaluation metrics. Future research will focus on scaling to larger datasets and enhancing multi-round interaction capabilities, allowing users to iteratively refine 3D content through intuitive image prompts.

Summary updated

BibTeX
@inproceedings{lu2025matrix,
  author = {Yuanxun Lu and Jingyang Zhang and Tian Fang and Jean-Daniel Nahmias and Yanghai Tsin and Long Quan and Xun Cao and Yao Yao and Shiwei Li},
  title = {{Matrix3D: Large Photogrammetry Model All-in-One}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=aWggj6FvgU},
}
Figure