Paper commentary
Occupancy Networks: Learning 3D Reconstruction in Function Space
Occupancy networks represent 3D shapes as a learned classifier's decision boundary
- Problem Learned 3D reconstruction lacks an output format that is memory efficient and still captures fine geometry. Voxels miss detail below the cell size, and meshes struggle with arbitrary topology.
- Method Occupancy Networks learn a classifier over 3D points that returns occupancy probability. The surface is the threshold boundary of that classifier, so it can be sampled at any resolution.
- Results On ShapeNet single-image reconstruction, the method reaches a mean volumetric IoU of 0.571. The paper reports competitive results against voxel, point and mesh baselines.
Why existing 3D output representations hit limits
Voxel-based methods also need a fixed grid, so detail below the cell size is lost regardless of network capacity.
Point clouds lack the connectivity of a mesh, so they need extra post-processing before they yield usable geometry. Mesh outputs built by deforming a template cannot represent arbitrary topologies, and mesh decoders become unreliable as the number of vertices grows. Mesh outputs are also often self-intersecting or fail to guarantee closed surfaces, which the authors identify as the common weakness of these approaches.
A classifier boundary as the surface
The ideal target is the occupancy function that maps each point in R^3 to 0 or 1, and the method approximates it with a network that returns an occupancy probability between 0 and 1 at every point. The surface is then the set of points where the output reaches the chosen threshold, which is the decision boundary of a binary classifier. Because the network is queried pointwise, the surface can be sampled at any resolution the user needs.
To reconstruct a particular object, the network must be conditioned on an observation x, such as an image, a point cloud or a voxel grid. The conditioning is folded into the input, so the network becomes f_θ taking a pair (p, x) and returning a real number, with the probability of occupancy in [0, 1]. The network is named the Occupancy Network, and the authors describe the threshold τ as the only hyperparameter that sets the thickness of the extracted surface.
How the network is trained on sampled points
For each sample in a batch, K points are drawn in the 3D bounding volume of the object, and the batch loss averages a cross-entropy term over all points and samples. The true occupancy at each point is used as the target for the network prediction at that point. The choice of where these points are drawn matters, and in the reported ablation uniform sampling inside the bounding box with a small padding worked best.
For a probabilistic variant, an encoder g_ψ takes the sampled points and occupancies and predicts the mean and standard deviation of a Gaussian over a latent variable z.
Turning the classifier into a mesh
MISE starts by evaluating the occupancy network on an initial coarse grid and marks points above the threshold as occupied. Voxels whose corners differ in occupancy are marked active, subdivided into 8 subvoxels, and only the new grid points are evaluated, which repeats until the target resolution is reached.
Marching Cubes then extracts an initial mesh from the final grid, and the mesh is simplified with a fast quadric method. Random points on each face are refined by minimizing a loss that combines the squared difference between the occupancy value and τ with a term that aligns the normalized gradient of f_θ to the face normal, weighted by λ = 0.01.
The second-order part of this term is computed with Double-Backpropagation, and the step removes the discretization artifacts of Marching Cubes. The full inference procedure requires about 3s per mesh, and normals at all vertices can be obtained by backpropagating through the network.
Encoders and experimental setup
The decoder is a fully connected network with 5 ResNet blocks, and the input enters through conditional batch normalization. A ResNet18 encoder handles single images, PointNet handles point clouds, and a 3D convolutional network handles voxel inputs. Main experiments use ShapeNet with the voxelization, renderings and train/test split of Choy et al., and the authors subdivide the training set to obtain a validation set for stopping training.
Volumetric IoU is estimated by sampling 100k points in the bounding volume and checking inside or outside membership against watertight meshes.
How much detail the representation can store
Each training sample is embedded in a 512 dimensional latent space and the network is trained to reconstruct its shape from that embedding. The test uses only the training split of the chair category, with no separate validation or test set, since the goal is representational capacity. The chair category is hard because its models are highly varied and contain high-frequency details.
The occupancy network reaches a mean IoU of 0.89 on this training split. The authors report that all 4746 training samples are encoded with as little as 6M parameters, independent of resolution, while voxel parameter counts grow cubically with resolution. A low-resolution voxel representation does not reproduce the meshes accurately, and the occupancy network keeps details that the low-resolution voxelization loses.
Single image reconstruction against baselines
The comparison covers 3D-R2N2 as a voxel method, PSGN as a point method, Pixel2Mesh and AtlasNet as mesh methods, and all image encoders are ResNet-18 pretrained on ImageNet. The training stop criterion follows each method's target metric: IoU for 3D-R2N2 and the occupancy network, and Chamfer distance for PSGN and Pixel2Mesh. Visually, 3D-R2N2 is coarse, PSGN is high fidelity but lacks connectivity, Pixel2Mesh misses holes in complex topologies, and AtlasNet shows self-intersections and overlapping patches.
Its mean Chamfer-L1 distance is 0.215, while AtlasNet reaches 0.175 and PSGN 0.215 on the same row, so AtlasNet is better on this metric. The authors note that the method was not trained on Chamfer distance yet still gives good Chamfer results.
Generalization to real images
The model is rerendered with random camera locations for KITTI and Online Products and is retrained for this task. KITTI car regions are cropped with instance masks from [2] before being passed to the network. Online Products images are passed to the same pretrained model.
Reconstructions from KITTI and Online Products look qualitatively reasonable even though the model was trained only on synthetic data. No quantitative scores are reported for these real-data results, so the evidence here is visual only.
Reconstruction from noisy point clouds
Each watertight ShapeNet model is sampled at 300 points, and Gaussian noise with zero mean and standard deviation 0.05 is added. The baselines are 3D-R2N2, PSGN and Deep Marching Cubes, with Deep Marching Cubes as the mesh baseline for point cloud input.
The occupancy network reaches IoU 0.778, against 0.674 for DMC and 0.565 for 3D-R2N2. Its Chamfer-L1 distance is 0.079, against 0.117 for DMC and 0.169 for 3D-R2N2, where lower is better, and its normal consistency is 0.895, against 0.848 and 0.719. The authors explain that the task is easier for the recognition model because there is less ambiguity and the model mainly fills gaps, which is why these scores are higher than in the single image task.
Super-resolution from coarse voxels
The comparison is against the coarse input itself rather than against another method.
IoU rises from 0.631 for the input to 0.703 for the occupancy network. Chamfer-L1 distance drops from 0.136 to 0.109, and normal consistency rises from 0.810 to 0.879.
Unconditional generation
Models are trained separately on four ShapeNet categories in an unsupervised fashion, with a PointNet encoder for the latent variable. Samples from the car, airplane, sofa and chair models are shown qualitatively, and the authors conclude that the models capture the distribution of 3D objects.
Which design choices matter
Uniform sampling of 2048 points gives IoU 0.571, against 0.475 for equal inside and outside sampling, 0.536 for surface sampling, and 0.554 for uniform sampling with 64 points. The authors attribute the gap for equal sampling to the bias it introduces, since it implicitly tells the model that every object fills half its bounding volume. With equal sampling the authors observe thickening artifacts in the output.
Removing conditional batch normalization and replacing it with a linear input projection lowers IoU from 0.571 to 0.522 and raises Chamfer-L1 from 0.215 to 0.301. Removing the ResNet blocks from the decoder lowers IoU to 0.559 and raises Chamfer-L1 to 0.243. Both components are therefore associated with better performance, and the drop when they are removed supports keeping them.
Limits of the evidence
IoU cannot be reported for PSGN or AtlasNet, since their outputs are not watertight meshes. The real-data experiments have no quantitative scores, and an additional Pix3D evaluation is only in the supplementary material. The ablations are run only on the single-image task, and the representation power experiment uses only the chair training split.
Super-resolution is compared only with its own coarse input, and the unconditional generation results are qualitative.
Paper info
- Authors
- Lars Mescheder, Michael Oechsle, Michael Niemeyer, Sebastian Nowozin, Andreas Geiger
- Venue
- arXiv · Preprint
- First published
- 2018-12-10
- Added
- 2026-11-12
- Updated
- 2019-4-30
- Version
- v2
- arXiv
- 1812.03828
- Category
- cs.CV
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Lars Mescheder, Michael Oechsle, Michael Niemeyer, Sebastian Nowozin, Andreas Geiger (2018). Occupancy Networks: Learning 3D Reconstruction in Function Space. arXiv:1812.03828v2. https://arxiv.org/abs/1812.03828v2
BibTeX
@misc{mescheder2018occupancy,
title = {{Occupancy Networks: Learning 3D Reconstruction in Function Space}},
author = {Lars Mescheder and Michael Oechsle and Michael Niemeyer and Sebastian Nowozin and Andreas Geiger},
year = {2018},
eprint = {1812.03828},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1812.03828v2}
}