[Paper Review] SBNet: Sparse Blocks Network for Fast Inference
SBNet proposes a tiling-based sparse convolution algorithm that accelerates deep neural network inference by exploiting structured spatial sparsity in computation masks—such as road maps or predicted attention maps—enabling significant wall-clock speed-ups in 3D object detection without sacrificing accuracy. On the KITTI benchmark, SBNet achieves 2.7× speed-up over dense inference with minimal accuracy drop, and 26.6% relative gain when combined with a lightweight mask network.
Conventional deep convolutional neural networks (CNNs) apply convolution operators uniformly in space across all feature maps for hundreds of layers - this incurs a high computational cost for real-time applications. For many problems such as object detection and semantic segmentation, we are able to obtain a low-cost computation mask, either from a priori problem knowledge, or from a low-resolution segmentation network. We show that such computation masks can be used to reduce computation in the high-resolution main network. Variants of sparse activation CNNs have previously been explored on small-scale tasks and showed no degradation in terms of object classification accuracy, but often measured gains in terms of theoretical FLOPs without realizing a practical speed-up when compared to highly optimized dense convolution implementations. In this work, we leverage the sparsity structure of computation masks and propose a novel tiling-based sparse convolution algorithm. We verified the effectiveness of our sparse CNN on LiDAR-based 3D object detection, and we report significant wall-clock speed-ups compared to dense convolution without noticeable loss of accuracy.
Motivation & Objective
- To reduce computational cost in deep CNNs for real-time applications like autonomous driving by exploiting spatial sparsity in feature maps.
- To design a practical sparse convolution algorithm that delivers real speed-ups beyond theoretical FLOP reductions, especially on GPU.
- To integrate sparse inference into residual networks without reducing input resolution or model capacity.
- To evaluate the method on LiDAR-based 3D object detection using both static (road maps) and dynamic (predicted) computation masks.
- To demonstrate that sparse inference can improve both speed and accuracy by focusing computation on relevant regions.
Proposed method
- Proposes a tiling-based sparse convolution algorithm that partitions the computation mask into blocks to optimize GPU memory access and parallelism.
- Uses binary computation masks derived from prior knowledge (e.g., road maps) or from a lightweight network (e.g., PSPNet) to guide sparse computation.
- Integrates sparse blocks into residual units, maintaining residual learning while accelerating inference.
- Implements optimized GPU kernels for sparse convolution fragments that exploit structured sparsity and reduce memory bandwidth pressure.
- Applies sparse batch normalization and normalization layers that are invariant to input sparsity, improving efficiency and accuracy.
- Combines the sparse inference module with a lightweight mask prediction network (e.g., PSPNet) to enable dynamic, flexible sparsity during inference.
Experimental results
Research questions
- RQ1Can structured spatial sparsity in computation masks be exploited to achieve real, measurable speed-ups in deep learning inference on modern GPUs?
- RQ2Does sparse convolution with tiling-based optimization outperform generic sparse convolution implementations in terms of wall-clock speed and efficiency?
- RQ3Can sparse inference improve detection accuracy by focusing computation on relevant regions, even when using low-resolution masks?
- RQ4How does the integration of sparse blocks into residual networks affect both speed and accuracy in 3D object detection?
- RQ5What is the computational overhead of generating dynamic masks, and can the overall system still achieve significant speed-ups?
Key findings
- SBNet achieves 2.66× average speed-up on the KITTI 3D detection benchmark compared to a dense baseline, with only a 0.29% drop in AP.
- Using road map masks, SBNet achieves 1.78× speed-up with a 0.31% improvement in AP, indicating that sparsity can enhance accuracy.
- With model-predicted masks from PSPNet, SBNet achieves 2.66× speed-up, and the combined system (mask network + SBNet) is 26.6% faster than the road map version.
- The mask network (PSPNet) adds only 3.2ms inference time at 100×176 resolution, contributing less than 4% of the total time in the full pipeline.
- On the TOR4D dataset, SBNet with road masks achieves 1.78× speed-up and a 0.31% AP gain, demonstrating that sparsity improves both speed and accuracy.
- The proposed sparse convolution kernel outperforms prior generic sparse convolution (Sub-M [9]) in real-world inference speed, especially at high sparsity levels.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.