Paper commentary
VoxelNet: End-to-End Learning for Point Cloud Based 3D Object Detection
VoxelNet learns object detection features directly from raw LiDAR points
- Problem LiDAR scans are sparse and irregular, so detectors needing dense grids relied on hand-designed features.
- Method VoxelNet splits a point cloud into equal voxels and encodes each voxel's points with stacked VFE layers. Convolutions and a region proposal network then predict boxes, trained end to end.
- Results On the KITTI validation set, VoxelNet reaches 81.97 car 3D AP at easy and 65.46 at moderate difficulty.
Why LiDAR needs a learned voxel input
LiDAR scans are sparse, and the number of returns from an object changes with distance, occlusion and the object's pose, so the points cannot be read as a regular grid. A region proposal network expects dense, tensor-shaped input such as an image, which is why earlier LiDAR detectors rasterized the scan into bird's eye view or voxel grids and filled each cell with hand-designed statistics.
The authors argue that these manual choices create an information bottleneck that limits how much 3D shape information and the needed invariances can be exploited.
Point-set networks such as PointNet learn features directly from points, but they were applied to inputs of about 1k points, while a high-definition LiDAR scan holds about 100k points, which makes point-level training costly in computation and memory. The question this paper addresses is whether one trainable network can learn features from raw LiDAR points, group them into a volumetric representation and output 3D boxes, using LiDAR alone.
The answer is a voxel encoder placed in front of a convolutional stack and a region proposal network, so that the whole pipeline is trained as one unit.
Three blocks, one trainable pipeline
VoxelNet has three functional blocks: a feature learning network, convolutional middle layers and a region proposal network. The feature learning network cuts space into equal voxels, groups points by voxel and encodes each non-empty voxel with stacked VFE layers, so its output is a set of voxel features tied to voxel coordinates. Stored as a sparse 4D tensor, these features feed the convolutional middle layers, whose 3D convolutions widen the context each voxel sees.
The region proposal network then turns the resulting feature map into a probability score map and a regression map from which the detections are read.
From voxel grid to per-voxel feature
The 3D range along Z, Y and X is divided into voxels of size vD, vH and vW, so a range of D, H and W gives a grid of D′ = D/vD, H′ = H/vH and W′ = W/vW voxels. Points are assigned to the voxel that contains them, and because occlusion, distance and sampling change the count, some voxels hold far more points than others. Each voxel keeps at most T randomly chosen points, which cuts computation, evens out point counts between voxels and adds variation to training.
For a non-empty voxel with t points, the method computes the centroid of its points, written as (vx, vy, vz), and extends each point with its offset from that centroid. A fully connected network made of a linear layer, batch normalization and ReLU lifts each point to a feature f_i in R^m, and element-wise max pooling over the voxel's points yields one locally aggregated feature for the voxel.
Each point feature is concatenated with the aggregated feature, so the per-point output has width 2m; the linear map of a VFE-i(cin, cout) layer has size cin by cout/2, and concatenation restores cout. Stacking VFE layers lets each point's representation depend on the other points in its voxel, which the authors describe as inter-point interaction.
A final fully connected layer maps the last VFE output to a C-dimensional space, and max pooling over the voxel gives the voxel-wise feature.
Sparse storage and batched voxel buffers
Only non-empty voxels are kept, each tied to its spatial coordinates, so their features form a sparse 4D tensor of size C×D′×H′×W′. More than 90% of voxels are typically empty, so storing them sparsely reduces memory use and the cost of backpropagation. For the parallel VFE computation, a K×T×7 input buffer holds up to K non-empty voxels with up to T points each, where 7 is the per-point input encoding.
Points are shuffled and each is looked up in a hash table keyed by voxel coordinate, with constant-time lookup; a new voxel is created when needed, and a point is dropped when its voxel already holds T points. One pass over the point list fills the buffers, so the cost is linear in the number of points, and the stored coordinates let the computed features be scattered back into a dense voxel grid.
After concatenation, features of empty point slots are reset to zero so that they do not affect the voxel features.
Middle layers, anchors and the loss
For cars, three 3D convolutions reduce the 128×10×400×352 tensor to a 64×2×400×352 tensor, and reshaping gives a 128×400×352 input for the region proposal network. The region proposal network has three blocks of fully convolutional layers; the first layer of each block halves the resolution with a stride of 2, followed by stride-1 convolutions with BN and ReLU after each convolution.
Each block's output is upsampled to a fixed size and concatenated, and two 1×1 convolutions produce the score map with 2 channels and the regression map with 14 channels.
A ground-truth box is matched to a positive anchor, and its seven residuals are computed relative to that anchor: \(\Delta x = (x^g_c - x^a_c)/d^a\), \(\Delta y\) in the same way, \(\Delta z = (z^g_c - z^a_c)/h^a\), \(\Delta l = \log(l^g/l^a)\), and \(\Delta\theta = \theta^g - \theta^a\). Here \(d^a = \sqrt{(l^a)^2 + (w^a)^2}\) is the diagonal of the anchor's base, so the centre offsets in x and y are normalized by that diagonal rather than by a per-axis size.
Training minimizes \[L = \alpha \frac{1}{N_{pos}} \sum_i L_{cls}(p^{pos}_i, 1) + \beta \frac{1}{N_{neg}} \sum_j L_{cls}(p^{neg}_j, 0) + \frac{1}{N_{pos}} \sum_i L_{reg}(u_i, u^*_i)\] over the positive and negative anchors. The first two terms are binary cross entropy classification losses on positive anchors with label 1 and negative anchors with label 0, weighted by α and β, and the last term applies SmoothL1 to the seven regression residuals of positive anchors.
For cars α is 1.5 and β is 1.
For pedestrians and cyclists the positive threshold is an IoU above 0.5 and the negative threshold is below 0.35, with the pedestrian anchor sizes la = 0.8, wa = 0.6 and ha = 1.73 and the cyclist size la = 1.76, wa = 0.6 and ha = 1.73.
Car, pedestrian and cyclist configurations
Car detection uses the range [−3, 1] × [−40, 40] × [0, 70.4] meters along Z, Y and X, with voxel size 0.4, 0.2 and 0.2 meters, which gives D′ = 10, H′ = 400 and W′ = 352. T is 35 for cars, and two VFE layers, VFE-1(7, 32) and VFE-2(32, 128), map each voxel to a 128-dimensional feature. Pedestrian and cyclist detection uses the range [−3, 1] × [−20, 20] × [0, 48] meters with the same voxel size, giving D = 10, H = 200 and W = 240, and T is raised to 45 to keep more LiDAR points per voxel.
For these two classes the feature learning network and middle layers are the same as for cars, while the first 2D convolution of block 1 in the region proposal network changes its stride from 2 to 1 for finer anchor matching.
Training recipe and augmentation
With fewer than 4000 training point clouds, the authors expect training from scratch to overfit, so three augmentations are applied on the fly rather than stored on disk. VoxelNet is trained from scratch on the LiDAR data in KITTI, whereas Mono3D, 3DOP and MV use pre-trained models.
The first augmentation perturbs each ground-truth box together with the points inside it: a rotation about the Z axis by Δθ drawn uniformly from [−π/10, +π/10], then a translation whose components are drawn from a Gaussian with zero mean and standard deviation 1.0. Global scaling multiplies all ground-truth boxes, their dimensions and all points by a factor drawn uniformly from [0.95, 1.05].
Global rotation about the Z axis uses an offset drawn uniformly from [−π/4, +π/4] and is meant to mimic the vehicle turning.
The reported schedule is SGD with learning rate 0.01 for the first 150 epochs, lowered to 0.001 for the last 10 epochs, with 16 point clouds per batch. The KITTI 3D benchmark provides 7,481 training and 7,518 test point clouds, and the validation experiments split the training data into 3,712 training and 3,769 validation samples so that sequences do not appear in both.
Validation results against the hand-crafted baseline
The HC-baseline keeps the VoxelNet structure but replaces the learned feature encoder with bird's eye view features computed at 0.1 m resolution with 16 height channels, and it uses 2D convolutions in place of the 3D middle layers. Both models use the same training procedure and augmentation, and AP uses an IoU threshold of 0.7 for cars and 0.5 for pedestrians and cyclists, the same for bird's eye view and 3D.
Because the baseline also changes the middle layers, the gap measures the learned pipeline against the hand-crafted one rather than the VFE layers alone.
In bird's eye view, VoxelNet reaches car AP of 89.60, 84.81 and 78.57 at easy, moderate and hard levels, against 88.26, 78.42 and 77.66 for the HC-baseline. The larger differences are for pedestrians and cyclists: 65.95, 61.05 and 56.98 against 58.96, 53.79 and 51.47 for pedestrians, and 74.41, 52.18 and 50.49 against 63.63, 42.75 and 41.06 for cyclists.
The authors read these gaps as showing that end-to-end learning matters for point-cloud detection.
In full 3D, VoxelNet's car AP is 81.97, 65.46 and 62.85, against 71.73, 59.75 and 55.69 for the HC-baseline and 71.29, 62.68 and 56.56 for MV with BV+FV+RGB. Against MV with BV+FV+RGB, the gains are stated as 10.68%, 2.78% and 6.29% at easy, moderate and hard levels, and the HC-baseline is described as close to MV in accuracy. The 3D pedestrian AP is 57.86, 53.42 and 48.87 against 43.95, 40.18 and 37.48, and the 3D cyclist AP is 67.17, 47.65 and 45.11 against 55.35, 36.07 and 34.15.
The improvement for pedestrians and cyclists is stated as about 8% in bird's eye view and about 12% in 3D, which the authors take as evidence of better 3D shape capture.
The result for [21] is reported as 88.9%, 77.3% and 72.7% at the three levels, but it comes from a different split of 6,000 training and about 1,500 validation frames. Because the protocol differs, those numbers are left out of the comparison tables.
Test server scores and inference cost
Test results come from submitting detections to the official KITTI server, and the authors state that VoxelNet with LiDAR alone outperforms the previous state of the art [5] in all tasks and difficulties. Many of the other leading entries on the benchmark use RGB images together with LiDAR. The test table lists VoxelNet only: car 3D detection scores are 77.47, 65.11 and 57.73, and car bird's eye view scores are 89.35, 79.26 and 77.39.
Pedestrian scores are 39.48, 33.69 and 31.51 in 3D and 46.13, 40.74 and 38.11 in bird's eye view, and cyclist scores are 61.22, 48.36 and 44.37 in 3D and 66.70, 54.76 and 50.55 in bird's eye view. These server scores come from a separate evaluation and are not merged with the validation numbers.
The reported inference time is 225ms on a TitanX GPU with a 1.7Ghz CPU. The breakdown is 5ms for voxel input feature computation, 20ms for the feature learning network, 170ms for the convolutional middle layers and 30ms for the region proposal network. Most of this time is spent in the convolutional middle layers.
Limits of the reported evidence
All reported experiments use the KITTI benchmark, with validation on one split of its training data and test results only through the official server. The pedestrian and cyclist setup covers Y in [−20, 20] and X in [0, 48] meters, and the authors state that LiDAR returns become very sparse beyond this range, so detection results there are unreliable.
The car configuration uses one anchor size, and the pedestrian and cyclist configuration changes the stride of the first convolution, so the anchor design is tuned per class.
The HC-baseline differs from VoxelNet in both the feature encoder and the middle layers, so the reported gap cannot be assigned to the VFE layers alone. The text reports no experiment that isolates the number of VFE layers or the sampling limit T, which is set to 35 for cars and 45 for pedestrians and cyclists. The test table gives VoxelNet's scores only, so the comparison with MV on the server is stated in the text but not tabulated.
The authors list joint LiDAR and image end-to-end detection as future work.
Paper info
- Authors
- Yin Zhou, Oncel Tuzel
- Venue
- arXiv · Preprint
- First published
- 2017-11-17
- Added
- 2026-11-12
- Updated
- 2017-11-17
- Version
- v1
- arXiv
- 1711.06396
- 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
Yin Zhou, Oncel Tuzel (2017). VoxelNet: End-to-End Learning for Point Cloud Based 3D Object Detection. arXiv:1711.06396v1. https://arxiv.org/abs/1711.06396v1
BibTeX
@misc{zhou2017voxelnet,
title = {{VoxelNet: End-to-End Learning for Point Cloud Based 3D Object Detection}},
author = {Yin Zhou and Oncel Tuzel},
year = {2017},
eprint = {1711.06396},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1711.06396v1}
}