NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning 3D Object Shape and Layout without 3D Supervision

Georgia Gkioxari, Nikhila Ravi, Justin Johnson

Abstract

Inferring the 3D structure of a scene from a single 2D image is a fundamental challenge in computer vision. While supervised methods have made significant strides, they rely on massive datasets of 3D meshes and precise bounding boxes—data that is expensive and difficult to scale. This paper introduces Unsupervised Shape and Layout (USL), a framework developed by researchers at Meta AI and the University of Michigan. USL reconstructs full 3D scenes, including object shapes and spatial positions, using only multi-view 2D silhouettes for supervision. By leveraging a novel distance-transform loss and a 3D-aware feature sampling method, USL achieves performance competitive with supervised models and demonstrates superior generalization in complex, real-world environments.

Introduction

The ability to perceive 3D geometry from 2D observations is a cornerstone of human vision and a "holy grail" for applications in robotics, augmented reality, and autonomous navigation. Traditional deep learning approaches to this problem typically require 3D ground truth (e.g., CAD models or LiDAR scans) for training. However, collecting such data for diverse indoor environments is often impractical.

While previous "weakly supervised" research has attempted to learn 3D shapes from 2D images, these methods are often restricted to isolated objects on clean backgrounds. The USL framework addresses the more complex task of learning both the 3D shape and the 3D layout (the global positioning and scale) of multiple objects within a scene simultaneously, without ever seeing a 3D model during training.

Methodology

USL builds upon the Mesh R-CNN architecture but introduces three pivotal innovations to enable unsupervised learning from multi-view 2D data.

1. The Layout Head

Standard 3D reconstruction models focus primarily on local shape. USL introduces a dedicated Layout Head that predicts the 3D location (specifically the $z$-depth) and the scale ($ ho$) of each detected object relative to the camera. This allows the model to place reconstructed meshes within a global coordinate system rather than in isolation.

2. RoIMap: 3D-Aware Feature Sampling

In standard 2D detection, RoIAlign is used to crop and resize features into a fixed square. While effective for classification, this process destroys the aspect ratio and spatial context necessary for accurate 3D reasoning. USL replaces this with RoIMap. Instead of a 2D crop, RoIMap samples features from the backbone feature map by projecting the 3D vertices of the predicted object back onto the image plane. This preserves the geometric relationship between the object and its surrounding environment.

3. Multi-View 2D Supervision and Distance Transform Loss

During training, the model processes an "input" frame to predict a 3D scene. This prediction is then rendered from the perspective of auxiliary nearby camera views. The model is supervised by comparing these rendered silhouettes to ground-truth 2D masks from the auxiliary views.

To overcome the "zero-overlap" problem—where a predicted object is so far from its true location that standard pixel-wise losses provide no gradient—the authors implement a Distance Transform Loss ($\ell_{dist}$). This loss measures the distance between the boundaries of the predicted and ground-truth masks, providing a continuous gradient that "pulls" the predicted object toward its correct 3D position even when there is no initial overlap.

Experimental Evaluation

The researchers evaluated USL across three distinct datasets to test its robustness and generalization:

  • Scene-Shapes: A synthetic dataset featuring pairs of objects (chairs, sofas, tables) in randomized configurations, used to benchmark against 3D ground truth.
  • Hypersim: A photorealistic synthetic dataset of indoor scenes. USL was trained using only 2D masks and camera poses, testing its ability to handle complex layouts without 3D supervision.
  • ScanNet: A real-world dataset of indoor videos. Using masks generated by PointRend, the authors demonstrated that USL can learn from noisy, real-world data and handle challenges like motion blur and object truncation.

Key Insights and Results

Competitive Performance

On the Scene-Shapes benchmark, USL achieved a 3D F1 score of 70.9, remarkably close to the 87.9 achieved by a fully supervised Mesh R-CNN. This indicates that 2D silhouettes, when processed with the correct loss functions, contain sufficient information to recover significant 3D structure.

Superior Generalization

One of the most striking findings was that USL often generalized better than supervised models. Supervised models tend to overfit to the specific CAD models present in their training sets. In contrast, because USL learns to reconstruct what it observes in 2D, it proved more adaptable to the novel geometries found in the Hypersim dataset.

The Importance of Spatial Context

The transition from RoIAlign to RoIMap was a significant driver of performance. By sampling features based on 3D projections, the model gained a better understanding of the object's scale and depth relative to the camera, which is essential for accurate layout prediction.

Conclusion and Future Work

USL demonstrates that it is possible to learn complex 3D scene properties—both shape and layout—without 3D supervision. While the current approach produces somewhat "coarse" or "blobby" shapes due to the limitations of silhouette-based supervision, it provides a scalable path forward for 3D scene understanding.

Future iterations of this work could incorporate differentiable rendering of texture and color. By matching actual pixels rather than just binary masks, the model could potentially recover fine-grained surface details and handle complex occlusions more effectively. Additionally, reducing the reliance on known camera poses during training remains a key area for future exploration.

Summary updated

BibTeX
@inproceedings{gkioxari2022learning,
  author = {Georgia Gkioxari and Nikhila Ravi and Justin Johnson},
  title = {{Learning 3D Object Shape and Layout without 3D Supervision}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure