3D Shape Reconstruction from a Single 2D Image via 2D-3D Self-Consistency

Yi-Lun Liao, Yao-Cheng Yang, Yu-Chiang Frank WangarXiv 2018

Introduction

Reconstructing 3D shapes from a single 2D image is a fundamental challenge in computer vision. Traditional supervised methods require extensive pairs of 2D images and 3D ground-truth models (voxels), which are costly and difficult to produce at scale. This paper presents a semi-supervised framework that leverages "2D-3D self-consistency" to learn from unlabeled images. By ensuring that a predicted 3D shape, when projected back into 2D, aligns with the object's mask, the model can effectively utilize 2D data to refine its 3D understanding, even estimating camera poses without any ground-truth pose data.

Methodology

The proposed architecture consists of four primary components designed to disentangle shape from pose and enforce geometric consistency.

Overview of the proposed semi-supervised 3D reconstruction framework.
  1. Image Encoder ($E$): Processes a 2D image to produce two distinct latent vectors: a shape code ($z_s$) and a pose code ($z_p$). This disentanglement is key to handling varying viewpoints.
  2. Voxel Decoder ($D_v$): Transforms the shape code into a 3D volumetric grid. A key innovation here is the use of a 3-way deconvolutional architecture. By decoding the 3D shape through three orthogonal 2D planes and merging them, the model maintains better structural integrity than standard 1D or 2D approaches.
  3. Mask Decoder ($D_m$): Predicts a 2D foreground segmentation mask using both the shape and pose codes.
  4. 2D-3D Self-Consistency Module: This module employs a differentiable ray consistency loss to project the predicted 3D voxels back into a 2D plane based on the predicted camera pose. The model is trained to minimize the discrepancy between this projection and the predicted 2D mask.

This self-consistency loop allows the network to learn camera poses (azimuth and elevation) implicitly. Because the projection must match the mask, the model naturally optimizes its internal 3D representation and pose estimation to fit the observed 2D evidence from any given angle.

Experimental Setup

The framework was evaluated on the ShapeNet dataset, focusing on three diverse categories: airplanes, cars, and chairs. To test the robustness of the semi-supervised approach, the authors conducted experiments using varying amounts of labeled 3D data, ranging from 20% to 100%. This setup demonstrates how well the model generalizes when 3D ground truth is scarce.

Results and Analysis

The model demonstrates state-of-the-art performance in both supervised and semi-supervised settings. In fully supervised evaluations, it achieved a mean Intersection over Union (IoU) of 70.6%, surpassing established baselines like 3D-R2N2 (59.2%) and Matryoshka Networks (68.1%).

Performance comparison (IoU) between fully supervised and semi-supervised training on the chair category.

Crucially, the semi-supervised approach shows significant data efficiency. As shown in the figure above for the "chair" category, the semi-supervised model consistently outperforms the fully supervised baseline when ground-truth data is limited. For instance, with only 15% labeled data, the model achieved a mean IoU of 62.4%, outperforming several weakly-supervised methods (like DRC and MVC) that utilized 100% of their available supervision. Furthermore, the model achieved high pose accuracy without any pose labels, significantly reducing error compared to multi-view consistency (MVC) baselines (e.g., 9.34° error for airplanes vs. 35.10° for MVC).

Conclusion and Future Work

The 2D-3D self-consistency framework effectively bridges the gap between 2D observations and 3D reconstruction. By making the projection process differentiable, the authors turn a geometric problem into an optimization task where 2D masks act as supervisors for 3D shapes.

While the current implementation is limited by voxel resolution ($32^3$) and category-specific training, it establishes a powerful paradigm for learning 3D structure from minimal supervision. Future work may explore higher-resolution representations, such as point clouds or meshes, and scaling the approach to complex, "in-the-wild" scenes containing multiple overlapping objects or cluttered backgrounds.

Summary updated

BibTeX
@misc{liao2018d,
  author = {Yi-Lun Liao and Yao-Cheng Yang and Yu-Chiang Frank Wang},
  title = {{3D Shape Reconstruction from a Single 2D Image via 2D-3D Self-Consistency}},
  year = {2018},
  eprint = {1811.12016},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.12016},
}
Figure