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 information from 2D images—is notoriously fragmented. A typical reconstruction pipeline involves several independent stages: feature matching, Structure-from-Motion (SfM) for camera poses, and Multi-View Stereo (MVS) for dense geometry.
This "piecewise" approach has two major flaws. First, errors accumulate at each step; inaccuracies in pose estimation can lead to warped 3D models. Second, these systems usually require a dense collection of images to work reliably. Matrix3D aims to bridge this gap by creating a single, unified model that understands the joint distribution of images, poses, and depth maps, even when given very sparse (single or few-shot) inputs.
Methodology: The Multi-modal Diffusion Transformer
The core of Matrix3D is a Multi-modal Diffusion Transformer (DiT). To make different types of data digestible for a transformer, the researchers converted all modalities into 2D maps. Camera poses are represented as Plücker ray maps, and 3D structures are represented as 2.5D depth maps. This allows the model to treat photogrammetry as a multi-modal image-to-image translation task.
Masked Learning Strategy
Inspired by Masked Auto-Encoders (MAE), the model is trained by randomly masking different modalities (e.g., hiding the depth or the pose) and tasking the model with predicting the missing pieces. This strategy is the "secret sauce" that allows the model to be flexible; during inference, a user can feed it an image and ask for a pose, or feed it two images and ask for a 3D reconstruction. Furthermore, it allows the model to be trained on incomplete datasets (e.g., image-pose pairs without depth), significantly increasing the pool of available training data.
3D Gaussian Splatting Integration
Once Matrix3D generates the necessary "densified" data (extra views, poses, and depth maps), these outputs are used to initialize and optimize a 3D Gaussian Splatting (3DGS) representation, resulting in high-quality, renderable 3D scenes.
Key Results and Insights
Matrix3D demonstrates superior performance across the board compared to task-specific baselines:
- Pose Estimation: On the CO3D dataset, Matrix3D achieved a relative rotation accuracy of ~96% (within 15°), significantly outperforming previous state-of-the-art models like RayDiffusion and DUSt3R.
- Novel View Synthesis: The model achieved higher PSNR and SSIM scores on the Google Scanned Objects (GSO) dataset compared to specialized models like Zero123XL and SyncDreamer.
- Monocular Depth: It outperformed established metric depth estimators like Metric3D v2 on the DTU dataset, showing better robustness to focal length ambiguities.
By treating geometry as a modality, Matrix3D leverages the massive success of 2D diffusion models for 3D tasks. Additionally, its generative nature allows for "fine-grained control" through multi-round interactions, where a user can generate views and use them as new constraints to refine geometry.
Conclusion
Matrix3D represents a significant step toward a unified "all-in-one" photogrammetry system. By overcoming the limitations of fragmented pipelines and sparse inputs, it provides a robust framework for 3D content creation. While training is computationally intensive and maintaining absolute pixel-perfect consistency across many views remains a challenge, the model's ability to generalize across objects and large-scale scenes is a major advancement.
Project page: https://nju-3dv.github.io/projects/matrix3d
Summary updated