# 3D ShapeNets: A Deep Representation for Volumetric Shapes

3D ShapeNets learns a probability distribution over voxel grids for shape completion

Zhirong Wu, Shuran Song, Aditya Khosla, Fisher Yu, Linguang Zhang, Xiaoou Tang and 1 more · arXiv · 2014-6-22

- **Problem** Recognition systems rarely use 3D shape because nobody has a good generic representation for it. Depth sensors make full 3D shape matter more, yet existing methods struggle with large missing regions and need costly part annotations.
- **Method** 3D ShapeNets is a Convolutional Deep Belief Network that models each shape as binary voxels on a 30×30×30 grid. Unlike hand-coded part assembly, it learns shape distributions from raw CAD data and completes shapes from depth maps.
- **Results** The model scored 77.32% on 40-class ModelNet classification, compared with 75.47% for LFD.

## Why 3D shape stays out of recognition

3D geometric shape has long been seen as one of the most important cues in object recognition, yet its success has mostly stayed at instance recognition. Matching keypoints against nearest neighbors on 3D models works for known instances, but it doesn't carry over to object categories. State-of-the-art category recognition methods don't use 3D shape, mainly because nobody has a good generic representation for 3D geometric shapes.

Inexpensive 2.5D depth sensors such as the Microsoft Kinect, Intel RealSense, Google Project Tango and Apple PrimeSense have renewed interest in 2.5D object recognition from depth maps. As a result, the authors argue that a strong 3D shape representation is becoming important for modern computer vision systems.

A depth map only shows the side of an object that faces the camera, so the hidden part has to be inferred from the kind of object it is. The authors want a model that can do this shape completion from a single 2.5D depth map. Earlier surface reconstruction methods rely on smooth interpolation or extrapolation, so they can only tackle small missing holes or deficiencies.

Template-based methods can handle large space corruption, but they are limited by the quality of available templates. Template-based methods also often don't give different semantic interpretations of the reconstructions.

Part-based assembly methods model shape collections, but they depend on expensive part annotations. These assembly-based methods are limited to a specific class of shapes with small variations. Because the authors target shapes across many objects with large variations, assembly-based modeling becomes rather cumbersome. Instead of hand-coding shapes by parts, the authors want a data-driven way to learn shape distributions from raw 3D data.

Deep generative models such as DBN and ShapeBM capture intra-class variation for 2D shapes, but the authors focus on more complex 3D object shapes.

## Voxels as binary variables in a convolutional DBN

The model starts by turning each shape into a binary tensor on a 30×30×30 grid, with 1 for voxels inside the mesh surface and 0 for empty space. The goal is to learn the joint distribution over all these binary voxel variables, so the shape becomes a probability distribution rather than a fixed mesh. A fully connected DBN on a voxel volume of this size would have a huge number of parameters and be intractable to train, so the authors turn to convolution.

Convolution reduces the parameter count through weight sharing, which is why the model is built as a Convolutional Deep Belief Network.

The model drops pooling from its hidden layers, because pooling would add invariance for recognition but also add uncertainty for shape reconstruction. The energy of each convolutional layer sums over feature channels f and positions j, with W^f as the filter and \* as the convolution operation. Each visible unit v\_l has its own bias b\_l, while all hidden units in one channel share a single bias c\_f.

Like the convolution layers in Krizhevsky-style networks, the layer also allows a convolution stride.

## Layer stack and training schedule

The model stacks five layers, and each layer takes the output of the one below it as input. The first layer has 48 filters of size 6 with stride 2, so each filter spans a 6×6×6 patch of voxels. The second layer has 160 filters of size 5 with stride 2, and each filter has 48×5×5×5 parameters across the previous feature channels. The fourth layer is a standard fully connected RBM with 1200 hidden units, and the fifth layer has 4000 hidden units.

The fifth layer takes both multinomial label variables and Bernoulli feature variables as input.

The energy of each convolutional layer gives every visible unit its own bias term, and hidden units in one channel share a single bias. The authors skip pooling in the hidden layers, because pooling would increase uncertainty for shape reconstruction. Training starts layer by layer, with the first four layers trained by Contrastive Divergence and the top layer trained by Fast Persistent Contrastive Divergence (FPCD).

Once a lower layer is learned, its weights are fixed and its hidden activations feed the next layer as input. For the first layer, the model collects learning signal only in receptive fields that are non-empty. Empty space fills most of the volume and carries no information for the RBM, so it would distract the learning.

For the first layer, sparsity regularization restricts the mean activation of the hidden units to a small constant, following the method of \[20\]. The top RBM duplicates its label units 10 times, which increases their significance during pre-training. Generative fine-tuning follows the wake-sleep algorithm, except that the authors keep the weights tied.

In the wake phase, the data propagates bottom-up to collect the positive learning signal. In the sleep phase, a persistent chain runs on the topmost layer and propagates data top-down to collect the negative learning signal.

## From a depth map to a label and a completion

At run time, the 2.5D depth map is first turned into a volumetric representation, with each voxel categorized as free space, surface or occluded. Free space and surface voxels count as observed, while occluded voxels count as missing data. The test data is written as x = (xo, xu), where xo holds the observed voxels and xu holds the unknown ones.

Recognition needs the posterior p(y\|xo), which the authors approximate by Gibbs sampling rather than computing it in closed form.

The sampler starts xu at a random value and propagates x = (xo, xu) bottom-up to draw a label y from p(y\|xo, xu). The high-level signal then flows top-down to resample the voxels, and the observed voxels xo are clamped before the next bottom-up pass. After 50 iterations of up-down sampling, the sampler yields a shape completion x and its corresponding label y.

Many particles run in parallel, so the completions can cover several different classes. The final category is the class sampled most often across the particles.

This sampling loop is also the base for the next step, where the same posterior is reused to score candidate views. Because no new data is observed during planning, the confidence in p(y\|xo = xo) stays unchanged until a view is actually taken.

## Choosing the next view by mutual information

The current uncertainty is the entropy of the category given the observed voxels, so the model starts from a single number per object. Planning starts from this entropy H, which the authors write as a sum over the K categories of p(y=k\|x\_o) times log p(y=k\|x\_o). No new data arrives during planning, so this confidence stays fixed until the sensor actually moves.

The inputs are the observed voxels x\_o and a finite list of next-view candidates {V\_i} that set camera rotation and translation in 3D.

For a candidate view V\_i, the model samples many shapes conditioned on x\_o and renders each one into the depth map that view would produce. The rendered voxels x\_in are the new free space and surface seen from V\_i, and they are unknown variables that get marginalized. The expected entropy after that view is H\_i, the sum over x\_in of p(x\_in given x\_o) times H(y given x\_in and x\_o).

Computing H\_i needs enough samples of x\_u, a 3D rendering step for each sample, and then the same entropy calculation as before. The drop H minus H\_i equals the mutual information I(y; x\_in given x\_o), which information theory makes nonnegative. Because the drop is a mutual information, the planner chooses V\* as the view that maximizes I(y; x\_in given x\_o).

If the 3D shape were fully observed, no added view could reduce the uncertainty for any algorithm that uses only 3D shapes, including 3D ShapeNets. Once the best view is chosen, the camera physically moves there and captures the surface from that view. The surfaces from all previous views merge into the new observation x\_o, so the planner can run again.

The method extends to a sequence of view planning steps, which the authors describe as a natural next step.

## Building ModelNet from CAD collections

Earlier CAD collections were limited in category variety and in examples per category, so the authors built ModelNet. They downloaded 3D CAD models from 3D Warehouse and indexed 261 CAD model websites with the Yobi3D search engine. They queried common object categories from the SUN database that contain no less than 20 object instances per category.

Removing categories with too few search results left a total of 660 categories, and the Princeton Shape Benchmark models were added.

Amazon Mechanical Turk workers were shown thumbnails and answered yes or no on whether each label matched its model. The authors then checked each 3D model by hand and removed irrelevant objects such as floors, thumbnails and people. They also discarded unrealistic and duplicate models, so each mesh contains only one object of the labeled category.

The final dataset holds 151,128 3D CAD models in 660 unique object categories, which is 22 times larger than the 6670 models in 161 categories of the Princeton Shape Benchmark.

For the 40-category experiments, the authors chose 100 unique CAD models per category. This produces 48,000 models, and 38,400 of them are used for training while 9,600 are used for testing. Pre-training and fine-tuning each took about two days on one Intel XEON E5-2690 CPU and one NVIDIA K40c GPU.

## Classification and retrieval against hand-crafted descriptors

The authors fine-tune 3D ShapeNets with class labels on top, then treat the fifth layer as the shape feature. The 40-category set starts from 100 CAD models per category, and each model is rotated every 30 degrees along gravity. The two baselines are the Light Field descriptor (LFD), with 4,700 dimensions, and the Spherical Harmonic descriptor (SPH), with 544 dimensions.

Of the 48,000 CAD models, 38,400 go to training and 9,600 to testing. A linear SVM classifies meshes with each feature set and is scored by average category accuracy, while retrieval ranks test shapes by L2 distance.

On the 40-category set, 3D ShapeNets reaches 77.32%, compared to 75.47% for LFD and 68.23% for SPH. On the 10-category subset, 3D ShapeNets reaches 83.54%, compared to 79.87% for LFD and 79.79% for SPH. The margin over LFD is narrow at 40 classes, where the three methods sit closer together than on the subset.

Retrieval shows a larger gap at 40 classes, with an AUC of 49.94%, against 42.04% for LFD and 34.47% for SPH. The 40-class MAP is 49.23%, compared to 40.91% for LFD and 33.26% for SPH. On the 10-category subset, the AUC reaches 69.28%, versus 51.70% for LFD and 45.97% for SPH. The subset MAP is 68.26%, compared to 49.82% for LFD and 44.05% for SPH.

Both baselines are rotation invariant, so the authors believe 3D ShapeNets learned this invariance during feature learning. The model works from a significantly lower resolution mesh than the baseline descriptors, yet it beats them by a large margin. The authors read this as evidence that their deep model learns better features from 3D data automatically.

## Depth-only recognition on NYU

The authors ask whether a model trained only on CAD renderings can recognize objects in real Kinect depth maps. Ten object categories from ModelNet overlap with the NYU dataset, and they give 4,899 unique CAD models for training 3D ShapeNets. Each testing example is cropped from the 3D point cloud inside the 3D bounding boxes, and a segmentation mask removes outlier depth.

The NYU split uses 1,390 instances for training and 495 for testing. The authors apply the CAD-trained model directly to NYU, which they call absolutely non-trivial because real depth statistics differ significantly from synthetic CAD depth. The baselines are k-nearest-neighbor matching in the low resolution voxel space, and ICP matching to 3D mesh models with the top 10 matches voting for labels.

\[29\] serves as the deep RGB-D baseline, trained on the same instances with 2D bounding boxes and object segmentations.

Without fine-tuning, the depth-only 3D ShapeNets row scores 0.437 over all categories. That result sits below ICP at 0.471 and above nearest neighbor at 0.374. The authors describe the generative model as performing reasonably well compared to the other methods. To boost performance, the authors fine-tune the model discriminatively on the NYU dataset using back propagation.

For this fine-tuning, invisible voxels are assigned the value 0, so occluded voxels are treated as free space and only the surface voxels represent the shape. After fine-tuning, the depth-only model scores 0.579 over all categories. That beats ICP at 0.471 and the RGB-D variant of \[29\] at 0.448.

Ours fine-tuned uses depth only, while the two \[29\] rows in Table 2 that use color or RGBD are the strongest competitors. Table 2 reports the per-category accuracies, and the authors note that the ICP baseline reaches 1.000 on toilet. They don't test a color-based variant of 3D ShapeNets in this section.

## Shape completion results

Figure 8 shows shape completion from a single depth map, next to the ground truth shape, four completion samples, and one nearest-neighbor result. The authors say the completions look reasonable across categories, and the figure has no completion score, so the judgment rests on visual inspection. The completion step uses the model's conditional samples, and only the unknown voxels xu are estimated for the shape.

To check for memorization, the authors match the nearest neighbor in the training set against each completion. A nearest-neighbor match that differs from the completion shows that 3D ShapeNets doesn't simply copy training shapes. The nearest-neighbor baseline is a voxel-space lookup, so it tests memory rather than generation.

## Next-best-view selection versus simple view heuristics

The view-planning test starts from synthetic depth renderings of CAD models taken from the test set. The 3D ShapeNets model runs on the combined depth maps from the first view and the selected second view. The candidate pool holds 8 views, scattered at random over the object's sphere and aimed at a point near the object center. The authors randomly chose 200 test examples, which is 20 per category.

Each selection rule feeds the same recognition 3D ShapeNets model, so only the choice of view changes.

The entropy-based choice reaches 0.80 over all categories in Table 3. Max Visibility scores 0.78, Random Selection 0.72 and Furthest Away 0.69. So the mutual-information criterion ranks first in this table, but its lead over Max Visibility is small. The gap doesn't hold for every category, because Random Selection reaches 0.90 on monitor against 0.85 for the entropy-based choice.

On bed, the entropy-based choice reaches 1.00 while Random Selection gets 0.80. On dresser, Furthest Away scores 0.25, versus 0.45 for the entropy-based choice.

When the shape is fully observed, extra views give no benefit to any purely 3D-shape method, 3D ShapeNets included. After each chosen view is physically captured, the surfaces from all earlier views get fused into one observation. The planner then runs again on that fused observation, so the views can keep building on each other. They didn't test the planner against a learned view selector or an oracle choice.

## What the experiments leave untested

The next-view tests run on synthetic renderings of CAD test models, so they never touch real sensor data. The 3D ShapeNets model sees the combined depth maps from the first view and the chosen second view. The authors sample eight candidate views on the object sphere and draw only 200 test examples, 20 per category. They compare against random selection, maximum new visibility, and the farthest view, so other view planners remain untested.

A fully observed shape gives an algorithm nothing to gain from extra views, so the planner's benefit depends on partial observation.

Real depth is tested only on one 10-category subset of the NYU RGB-D data, using single-view Kinect depth. That NYU experiment uses 1,390 training instances and 495 test instances, so the real-data evidence rests on one split. They don't report other categories or other depth sensors, so generalization beyond the Kinect setting is open. Completion quality is judged by eye in Figure 8, and the paper offers no completion metric.

The 40-class results come from one split of the 48,000 CAD models, with 38,400 for training and 9,600 for testing. The text reports no variance across splits, so the spread of these classification and retrieval numbers is unknown. During fine-tuning on NYU, the authors treat occluded voxels as free space. They don't compare this assumption against any alternative treatment of occluded voxels.

## Paper info

- **Authors**: Zhirong Wu, Shuran Song, Aditya Khosla, Fisher Yu, Linguang Zhang, Xiaoou Tang, Jianxiong Xiao
- **Venue**: arXiv · Preprint
- **First published**: 2014-6-22
- **Added**: 2026-11-11
- **Updated**: 2015-4-15
- **Version**: v3
- **arXiv**: 1406.5670
- **Category**: cs.CV
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1406.5670v3) · [PDF ↗](https://arxiv.org/pdf/1406.5670v3)

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

Zhirong Wu, Shuran Song, Aditya Khosla, Fisher Yu, Linguang Zhang, Xiaoou Tang, Jianxiong Xiao (2014). 3D ShapeNets: A Deep Representation for Volumetric Shapes. arXiv:1406.5670v3. https://arxiv.org/abs/1406.5670v3

**BibTeX**

```
@misc{wu2014shapenets,
  title = {{3D ShapeNets: A Deep Representation for Volumetric Shapes}},
  author = {Zhirong Wu and Shuran Song and Aditya Khosla and Fisher Yu and Linguang Zhang and Xiaoou Tang and Jianxiong Xiao},
  year = {2014},
  eprint = {1406.5670},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1406.5670v3}
}
```

## Other paper commentary

- [ShapeNet: An Information-Rich 3D Model Repository](https://refivu.com/en/papers/999df31a-45d9-4587-b0aa-c46d09db631c-shapenet-an-information-rich-3d-model-repository.md)
- [Learning Spatiotemporal Features with 3D Convolutional Networks](https://refivu.com/en/papers/ea19793d-36a8-4fd0-8e8c-f8d836d8146c-learning-spatiotemporal-features-with-3d-convolutional.md)
- [Spatial-Spectral Coupling as Attention: Scaling Shape Correspondence to High-Resolution Surfaces](https://refivu.com/en/papers/ec4cab4c-a79c-4fcf-9756-a37f9deb749b-spatial-spectral-coupling-as-attention-scaling-shape.md)
- [Grasping the Future: Joint 3D Hand-Object Forecasting From Internet Videos](https://refivu.com/en/papers/02530543-61b3-4f8d-8377-53215f9b9fea-grasping-the-future-joint-3d-hand-object-forecasting.md)
- [UltraVoxelGS: Voxel-First Feed-Forward Gaussian Splatting for 3D Ultrasound Reconstruction](https://refivu.com/en/papers/cfde741c-015a-4d0b-9864-91baac4a6996-ultravoxelgs-voxel-first-feed-forward-gaussian-splatting-for.md)
- [HIST3R: Decomposing and Rectifying State Updates with History for Streaming 3D Reconstruction](https://refivu.com/en/papers/dabba752-a00c-4727-8ded-c84939269d75-hist3r-decomposing-and-rectifying-state-updates-with-history.md)
- [YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information](https://refivu.com/en/papers/11ec3a37-5335-4563-b8f6-6949e50f3a4f-yolov9-learning-what-you-want-to-learn-using.md)
- [Multimodal Machine Learning: A Survey and Taxonomy](https://refivu.com/en/papers/2148fea3-852f-4876-ab29-675f2c95c8d9-multimodal-machine-learning-a-survey-and-taxonomy.md)
- [Spatial Temporal Graph Convolutional Networks for Skeleton-Based Action Recognition](https://refivu.com/en/papers/bbd98e39-133a-4c51-b43b-84aa4583b3aa-spatial-temporal-graph-convolutional-networks-for-skeleton.md)
- [Stacked Hourglass Networks for Human Pose Estimation](https://refivu.com/en/papers/5578e324-2c80-4bb0-90a0-e90427560e5f-stacked-hourglass-networks-for-human-pose-estimation.md)
- [Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing](https://refivu.com/en/papers/e4640bef-1400-41e6-a928-8e765fc75d0e-pre-train-prompt-and-predict-a-systematic-survey.md)
- [CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Features](https://refivu.com/en/papers/5b819733-3817-45f5-9d87-61545a63f83b-cutmix-regularization-strategy-to-train-strong-classifiers.md)

## Terms in this paper

- [mutual information](https://refivu.com/en/terms/31de24f17a5e-mutual-information)
- [Contrastive Divergence](https://refivu.com/en/terms/48bb66ae919b-contrastive-divergence)
- [deep belief networks](https://refivu.com/en/terms/c68573ed59e8-deep-belief-networks)
- [3D ShapeNets](https://refivu.com/en/terms/79726d5451ec-3d-shapenets)
- [Gibbs sampling](https://refivu.com/en/terms/9c8ae04f5176-gibbs-sampling)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/342bbfb1-1faa-4293-9e31-ef865d5a537e-3d-shapenets-a-deep-representation-for-volumetric-shapes)
