Occupancy Networks: Learning 3D Reconstruction in Function Space

Lars M. Mescheder, Michael Oechsle, Michael Niemeyer, Sebastian Nowozin, Andreas Geiger · DOI

Abstract

With the advent of deep neural networks, learning-based approaches for 3D reconstruction have gained popularity. However, unlike for images, in 3D there is no canonical representation which is both computationally and memory efficient yet allows for representing high-resolution geometry of arbitrary topology. Many of the state-of-the-art learning-based 3D reconstruction approaches can hence only represent very coarse 3D geometry or are limited to a restricted domain. In this paper, we propose Occupancy Networks, a new representation for learning-based 3D reconstruction methods. Occupancy networks implicitly represent the 3D surface as the continuous decision boundary of a deep neural network classifier. In contrast to existing approaches, our representation encodes a description of the 3D output at infinite resolution without excessive memory footprint. We validate that our representation can efficiently encode 3D structure and can be inferred from various kinds of input. Our experiments demonstrate competitive results, both qualitatively and quantitatively, for the challenging tasks of 3D reconstruction from single images, noisy point clouds and coarse discrete voxel grids. We believe that occupancy networks will become a useful tool in a wide variety of learning-based 3D tasks.

Introduction

In 2D computer vision, pixels are the undisputed canonical representation. In 3D, however, researchers face a difficult choice between competing representations, each with significant drawbacks. Voxels are simple to use with CNNs, but their memory requirements grow cubically ($O(N^3)$), typically limiting models to low resolutions like $32^3$. Point clouds are memory efficient but lack surface connectivity, requiring heavy post-processing. Meshes are ideal for graphics, but most deep learning methods rely on deforming a template (like a sphere), making it nearly impossible to reconstruct objects with complex topologies, such as a chair with a hole in the back.

Comparison of 3D representations: (a) Voxel, (b) Point, (c) Mesh, and (d) the proposed continuous Occupancy Network representation.

Occupancy Networks (ONets) address these issues by representing 3D geometry as a continuous probability function. By learning to classify whether any coordinate in 3D space is "inside" or "outside" an object, this approach enables high-resolution 3D reconstruction with a minimal memory footprint and no fixed topological constraints.

Methodology

The core innovation is the Occupancy Function. Instead of predicting a 3D grid, the authors train a neural network $f_\theta$ to act as a classifier: $$f_\theta : \mathbb{R}^3 \times \mathcal{X} \to [0, 1]$$ The network takes a 3D coordinate $p$ and an observation $x$ (like an image or a noisy point cloud) and outputs the probability that the point $p$ is occupied. The 3D surface is implicitly defined as the decision boundary where the probability equals a threshold $\tau$.

Multiresolution IsoSurface Extraction (MISE)

To transform this continuous function into a 3D mesh at inference time, the authors use a hierarchical approach called MISE. They evaluate a coarse grid, identify "active" voxels that likely contain the surface, and subdivide only those voxels. This avoids evaluating the network on the entire high-resolution volume. After extracting an initial mesh via Marching Cubes, they further refine the surface using the network's gradients to "pull" the mesh vertices toward the exact decision boundary.

Key Results

The model was primarily benchmarked on ShapeNet, with additional qualitative testing on the KITTI dataset and the Online Products Dataset to evaluate real-world generalization.

Qualitative comparison of single-image 3D reconstruction results across various object categories.
  • Representation Power: ONets can encode complex shapes with a mean IoU (Intersection over Union) of 0.89, significantly higher than voxel-based methods at standard resolutions.
  • Single Image Reconstruction: On ShapeNet, ONets achieved a mean IoU of 0.571, outperforming voxel-based 3D-R2N2 (0.493) and mesh-based Pixel2Mesh (0.480).
  • Point Cloud Completion: When reconstructing meshes from 300 noisy points, ONets achieved an IoU of 0.778, compared to 0.674 for Deep Marching Cubes (DMC).
  • Efficiency: While a $256^3$ voxel grid requires millions of parameters to represent, an ONet maintains a constant parameter count (roughly 6M) regardless of the output resolution.

Discussion and Limitations

By shifting the problem from predicting coordinates to learning a function, the resolution becomes a choice made at inference time rather than a constraint of the architecture. Because the network is continuous, it can theoretically represent geometry at infinite resolution and naturally handle objects with any number of holes or disconnected parts.

However, inference speed remains a challenge; extracting a mesh requires thousands of forward passes, taking about 3 seconds per object. Furthermore, if the initial MISE grid is too coarse, very thin parts of an object might be missed entirely. Future work will explore extending this representation to large-scale, complex 3D scenes.

Summary updated

BibTeX
@inproceedings{mescheder2018occupancy,
  author = {Lars M. Mescheder and Michael Oechsle and Michael Niemeyer and Sebastian Nowozin and Andreas Geiger},
  title = {{Occupancy Networks: Learning 3D Reconstruction in Function Space}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2019.00459},
}
Figure