Infer3D: Inverse Generative Modeling Enables Robust 3D Reconstruction

1Harvard University, 2MIT, 3University of Cambridge, 4Google DeepMind
†Equal advising

A visualization of our analysis-by-synthesis pipeline. By inverting a generative model to infer geometry and pose, our method recovers high-quality, view-consistent 3D reconstructions.

Abstract

Humans can understand the 3D structure of scenes even from highly unfamiliar or extreme viewpoints. Cognitive science suggests this generalization stems from a top-down generative inference strategy.

In contrast, state-of-the-art 3D reconstruction neural networks typically rely on amortized, feedforward inference. While fast, this pattern-matching approach degrades when faced with out-of-distribution (OOD) scene conditions unseen during training. Inspired by the generative nature of human vision, we propose Infer3D, an inverse generative modeling framework that recovers the latent variables of a generative model to best match the monocular input. To prevent degenerate flat outputs, we couple the generative image prior with a frozen 3D lifting network that constrains the optimization space to a valid, multi-view-consistent 3D manifold.

Across a variety of controlled synthetic and real-world tasks, Infer3D demonstrates superior OOD reconstruction accuracy compared to feedforward networks trained on equal or larger datasets. Furthermore, mirroring how human perception requires more time to process confusing stimuli, we introduce an adaptive inference strategy that expends more test-time compute on ambigious OOD examples while efficiently routing in-distribution inputs.

Method

Analysis-by-synthesis inference paradigm

Analysis-by-synthesis inference paradigm. To handle OOD inputs, we employ a test-time optimization loop. We freeze the Image Generator and 2D-to-3D Lifter to preserve the learned prior, and optimize the Latent Code and Rendering Parameters to minimize the reconstruction loss between the rendered reconstruction and the OOD input. This ensures the input to the lifter remains a valid predicted in-distribution image while matching the OOD observation.

Results

Scene Reconstruction (Large FoV / Fisheye)

RealEstate10K

Object Reconstruction (Viewpoint Shift)

CO3D Hydrants

CO3D Vases

ShapeNet (11 Categories)

Unseen Texture Generalization on RealCars