Paper commentary
3D Semantic Segmentation with Submanifold Sparse Convolutional Networks
Submanifold sparse convolutions process 3D point clouds without computing on empty space
- Problem Standard convolutions spread active sites to neighbouring locations at every layer, so sparse 3D data gets dense and most computation lands on empty space. Existing sparse implementations still dilate the data because they apply full convolutions.
- Method SSCNs keep the active sites fixed, so empty space adds no computation.
- Results The SSCN reached 85.98% average IoU on the ShapeNet competition test set. That is at least 0.49% IoU above the other entries in the comparison table.
Why sparse convolutions lose sparsity with depth
Standard convolutional network implementations are tuned for densely populated grids, so applying them to sparse 3D data wastes computation on empty space. Existing sparse implementations reduce that cost, but the authors argue they still dilate the data at every layer because they apply full convolutions.
Take one active site in a d-dimensional grid. A size-3 convolution makes 3^d sites active, and a second size-3 convolution makes 5^d. Deep architectures with tens or hundreds of layers, such as VGG networks, ResNets and DenseNets, would therefore lose most of the sparsity they were meant to exploit.
Even a 3×3 convolution applied to a thin curve thickens it quickly, which the authors illustrate on a simple example.
A convolution that keeps the active sites fixed
Activity is a property of whole feature lines along the feature dimension, so a line is either active or inactive.
A sparse convolution SC(m, n, f, s) with m input and n output feature planes finds its active outputs the way a regular convolution does, by checking whether any input in the receptive field is active. Its output length is \((l - f + s)/s\) for an input of length \(l\), and it treats inactive inputs as zero instead of as the ground state.
The submanifold variant SSC(m, n, f) fixes the activity pattern. The input is padded with \((f-1)/2\) zeros on each side, so the output has the same size as the input, with f odd. An output site is active only when the input site at the same location is active, so the sparsity pattern does not change from layer to layer.
Table 2 compares the cost at one location of a size-3, padding-1 convolution in d dimensions, where a is the number of active inputs, m the input planes and n the output planes. A regular convolution costs \(3^d m n\) FLOPs at every location, whereas an active SSC site costs \(amn\) FLOPs and an inactive SSC site costs nothing, so empty space adds no computation or memory.
Activations and batch normalization are applied only to active sites, and max and average pooling are defined as variants of SC, with max pooling taking the maximum against the zero vector. The deconvolution DC is the inverse of SC, and its set of active outputs equals the set of active inputs of the corresponding SC.
Hash tables and rule books
Each layer is stored as a hash table of active locations and a matrix with one row per active site, so the matrix has a rows and m columns. A rule book R is a collection of f^d integer matrices with two columns, one for each filter offset, and it records which input row feeds which output row.
To build an SC, the implementation walks the input hash table and creates output entries as they are first visited, adding a rule for each active input that lies in the receptive field of an output. It then zeroes the output matrix and, for each offset, multiplies the matching input rows by that offset's weight matrix and adds the results into the output rows, which maps onto GPU matrix-matrix multiply-add operations.
An SSC reuses the input hash table as its output table and builds one rule book that can be reused across VGG, ResNet or DenseNet style stacks until a pooling or subsampling layer changes the pattern.
With a active input sites, building the input hash table costs \(O(a)\), and for FCN and U-Net networks whose active count shrinks at each downsampling, all hash tables and rule books still cost \(O(a)\) whatever the depth. For SC this resembles the voting algorithm, since filter weights never multiply inactive inputs. For SSC the authors judge the approach cheaper than voting, because there is no interaction between active inputs and inactive neighbouring outputs.
Submanifold FCNs and U-Nets
The authors build versions of the FCN and U-Net architectures from SSC convolutions and strided SC convolutions, and they call the resulting networks submanifold sparse convolutional networks (SSCNs). The FCN and U-Net networks have three downsampling levels, and the convolutional blocks stack 1, 2, or 3 SSC convolutions or residual blocks.
Each basic building block is a pre-activated SSC with 3×3 kernels, preceded by batch normalization and a ReLU. Residual variants use blocks with two SSC convolutions and identity connections, so input and output feature counts match, and downsampling by a factor of two uses SC convolutions of size 2 and stride 2.
The FCN version upsamples feature maps to the original resolution instead of using deconvolutional residual blocks, which reduces its parameters and multiply-add operations.
ShapeNet data and training protocol
The ShapeNet segmentation dataset has 16 object categories, each made of up to 6 parts, with 50 part classes across all categories. Each object is a point cloud sampled uniformly from the CAD surface, and each cloud contains between 2,000 and 3,000 points.
The training and validation sets were re-split using the first bit of the MD5 hash of each point cloud file, giving 6,955 training examples, 7,052 validation examples and a test set of 2,874 examples.
The original objects are axis-aligned, so the authors apply a random 3D translation and rotation to each cloud, which they call the random-pose setting. With shape-context features, aligned objects reach 63.5% IoU accuracy and random poses reach 47.8%, so the random-pose setting is harder.
Each cloud is centred and rescaled to fit a sphere of diameter S, with S set to 16, 32 or 48. At S = 48 the voxels are approximately 99% sparse.
All networks train for 100 epochs with batch size 16, and a single network is trained on all 16 categories jointly with a multi-class negative log-likelihood over the 50 part labels.
At test time softmax probabilities are computed only for part labels that belong to the known category, and the remaining probabilities are set to zero and renormalised. For each network type, the models at local maxima of the accuracy-versus-FLOPs curve are selected on the validation set, and their test accuracies are reported. Multi-view testing draws k random rotations of the object and averages the per-point predictions over those views.
Baseline models
The shape-context baseline is a voxelized shape context built as an SSC(1, 27, 3, 1) operator whose weight matrix is a 27×27 identity, so it accumulates voxel intensities over a 3×3×3 neighbourhood. Average pooling with sizes 2, 4, 8 and 16 adds four further views, giving each voxel a 135-dimensional feature vector that feeds a non-convolutional MLP with two hidden layers and a 50-class softmax, tested with K = 3 views.
The dense 3D baseline uses dense versions of the SSCN networks, but the FCN and U-Net convolutional blocks are restricted to a single C3 layer for computational reasons. Some dense models were trained with a reduced learning rate because of numerical instabilities, and this baseline also uses K = 3 multi-view testing.
The 2D baseline projects the point cloud onto a plane of size S^2 under an infinite focal length, with two channels: the first visible non-zero voxel along each column and the distance to that voxel normalised to the range [0, 2]. Training draws random projections, occluded voxels receive no information, visible voxels get weight 1 in testing, occluded voxels decay exponentially with distance to the occluding voxel, and the authors use K = 10 views because 2D networks need more views.
ShapeNet results against FLOPs
In Figure 5(a), the three baselines perform roughly on par in accuracy per FLOP, and at 108 FLOPs the SSCN average IoU is 6-8% higher than the baselines. The shape-context FLOP count leaves out integer arithmetic, so its computational cost is understated. These curves use the random-pose setting, so they are not directly comparable with the results in the competition paper.
The authors argue that restricting information to travel along submanifolds does not hurt accuracy, and that the savings in computation and memory can be spent on larger models with better accuracy.
In Figure 5(b), FCN and U-Net variants with downsampling and upsampling outperform the single-resolution C3 networks, and the authors conjecture that the larger receptive field from downsampling is the cause.
In Figure 5(c), the SSCN performance at scales S is similar, particularly at low FLOPs, and at higher FLOPs the larger-scale models perform slightly better.
ShapeNet competition benchmark
For the competition comparison the authors trained an FCN SSCN on aligned point clouds with random affine augmentation, using S = 24, 64 filters in the input layer, three downsampling levels and two residual blocks per resolution. Results use 10-view testing.
Table 1 lists average IoU on the competition test set: 85.98% for this network, 85.49% for the Pd-Network, 84.74% for the Synchronized Spectral CNN, 84.32% for the Densely Connected PointNet, 82.29% for PointCNN and 77.57% for nearest-neighbour matching with Chamfer distance.
At 85.98%, the SSCN is at least 0.49% IoU ahead of the other entries in the table. The table reports one SSCN configuration on aligned clouds, and the competition entries come from their own published setups.
Scene segmentation on NYU Depth v2
The NYU Depth v2 dataset contains 1,449 RGB-D images with 894 raw classes, and following prior work the authors reduce the labels to 40 classes. Performance is measured as pixel-wise classification accuracy, and the models are compared with a 2D FCN.
Both use eight levels of downsampling and add 16 (A) or 24 (B) features at each reduction of scale.
Depth is turned into a 3D point cloud with RGB features normalised to [-1, 1] and an indicator feature set to 1 for each point. Training uses random affine transformations, the points are downscaled by a factor of two before voxelization, and testing uses k = 1 or k = 4 views.
The 2D FCN reaches 61.5% accuracy at 28.50G FLOPs and 135.7M memory, while SSCN-FCN A reaches 64.1% at 1.09G FLOPs and 5.2M memory, and SSCN-FCN B reaches 66.4% at 4.50G FLOPs and 11.6M memory, all with k = 1. With k = 4, SSCN-FCN A reaches 66.9% at 4.36G FLOPs and SSCN-FCN B reaches 68.5% at 17.90G FLOPs. The text reports SSCNs outperforming the 2D FCN in pixel accuracy by up to 7%, while also reducing computation.
When all depth values of network A are set to zero, FLOPs drop by 60% because fewer voxels are active, and accuracy falls from 64.1% to 50.8%. The authors read this drop as evidence that SSCNs use 3D structure when segmenting.
Limitations
The experiments cover two semantic segmentation tasks, ShapeNet parts and NYU Depth v2 scenes. The competition comparison uses one SSCN configuration trained on aligned clouds, and no other SSCN setting is reported for that table.
The dense 3D baseline is limited to a single C3 layer in its FCN and U-Net blocks, and some of its models use a reduced learning rate. The 2D baseline uses K = 10 views while the other baselines and SSCNs use K = 3 or the reported k values, so testing budgets differ.
Computation is measured in FLOPs for the ShapeNet curves, and the shape-context FLOP count omits integer arithmetic. Memory is reported only in the NYU Depth table.
The ShapeNet curves are not directly comparable with the competition results because they use the random-pose setting. The ShapeNet scales tested are S = 16, 32 and 48, and the downsampling explanation for the ablation is a conjecture that was not separately tested.
Paper info
- Authors
- Benjamin Graham, Martin Engelcke, Laurens van der Maaten
- Venue
- arXiv · Preprint
- First published
- 2017-11-28
- Added
- 2026-11-12
- Updated
- 2017-11-28
- Version
- v1
- arXiv
- 1711.10275
- 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
Benjamin Graham, Martin Engelcke, Laurens van der Maaten (2017). 3D Semantic Segmentation with Submanifold Sparse Convolutional Networks. arXiv:1711.10275v1. https://arxiv.org/abs/1711.10275v1
BibTeX
@misc{graham2017semantic,
title = {{3D Semantic Segmentation with Submanifold Sparse Convolutional Networks}},
author = {Benjamin Graham and Martin Engelcke and Laurens van der Maaten},
year = {2017},
eprint = {1711.10275},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1711.10275v1}
}