SPADE: Sparse Pillar-based 3D Object Detection Accelerator for Autonomous Driving

Minjae Lee, Seongmin Park, Hyungmin Kim, Minyong Yoon, Janghwan Lee, Jun Won Choi, Nam Sung Kim, Mingu Kang

TL;DR

SPADE is a specialized hardware-algorithm co-design that accelerates 3D object detection for autonomous vehicles by exploiting "vector sparsity"—where entire columns of data in a point cloud are empty. By combining a new dynamic pruning algorithm with a custom streaming coordinate mapper, SPADE achieves up to 10.9× speedup and 12.6× energy savings over ideal dense accelerators, reaching a record-breaking 500 FPS on edge-scale hardware.

What Problem Does This Paper Address?

Autonomous vehicles rely on LiDAR point clouds to "see" the world in 3D. A popular way to process this data is PointPillars, which organizes 3D points into a 2D grid of vertical "pillars." While this makes the data easier to handle, it creates a massive efficiency gap: about 95% of these pillars are typically empty (all zeros across all channels).

Existing hardware struggles with this:

  1. Dense Accelerators: Waste energy and time performing "zero-multiplied-by-something" calculations for empty pillars.
  2. Traditional Sparse Accelerators: Are designed for element-wise sparsity (random zeros). When faced with vector sparsity (entire columns of zeros), they suffer from hardware underutilization and "bank conflicts," where multiple processing units try to access the same memory location simultaneously.
  3. The Mapping Bottleneck: Figuring out which input pillars contribute to which output pillars during convolution is computationally expensive, often taking more time than the actual math.

Methods

The authors propose SPADE (Sparse Pillar-based 3D object Detection accelerator), a three-pronged solution:

1. SpConv-P: The "Goldilocks" Convolution

Standard sparse convolution (SpConv) allows active areas to "dilate" or grow, which improves accuracy but kills sparsity. Submanifold sparse convolution (SpConv-S) prevents dilation entirely, saving computation but hurting accuracy. The authors introduce SpConv-P (Pruned Sparse Convolution), which allows dilation but uses a dynamic pruning algorithm to cut away unimportant background pillars, maintaining high sparsity without sacrificing the model's "vision."

Comparison of receptive fields for various sparse convolution operations

2. Rule Generation Unit (RGU)

To solve the mapping bottleneck, the RGU uses a streaming hardware architecture. Instead of using slow hash tables or sorting algorithms to find pillar neighbors, it uses a three-step process—alignment, row merge, and column-wise dilation—to generate mapping "rules" in constant time.

3. Sparsity-Aware Dataflow

SPADE uses a weight-stationary dataflow. By fetching the complete channel elements of an active pillar together, it ensures that the processing elements (PEs) stay busy. They also introduced "Weight Grouping" and "Ganged Scatter" techniques to maximize data reuse even when the sparsity patterns are irregular.

Overall architecture of SPADE

Datasets

The researchers evaluated SPADE using three state-of-the-art 3D detection models (PointPillars, CenterPoint, and PillarNet) across two industry-standard benchmarks:

  • KITTI: A classic dataset for autonomous driving tasks.
  • nuScenes: A large-scale public dataset for autonomous driving with 3D object annotations.

Key Insights and Ideas

  • Vector Sparsity is Different: The "aha moment" is realizing that pillar-based detection creates a specific structural sparsity that traditional sparse accelerators (like SCNN) aren't built for. By treating pillars as vectors rather than individual elements, SPADE avoids the overhead of managing random zeros.
  • Linear Complexity Mapping: The RGU is a major breakthrough. By exploiting the fact that pillar coordinates are naturally ordered in a grid, the authors replaced complex $O(P \log P)$ sorting with a streaming $O(P)$ process.
  • Hardware-Algorithm Co-design: The performance doesn't just come from a faster chip; it comes from training the neural network to be "hardware-friendly" through vector sparsity regularization during the training phase.

Key Results

SPADE was taped out using a 32nm commercial process. The results are significant:

  • Computation Reduction: Saves 36.3–89.2% of total operations.
  • Speed & Energy: Compared to an ideal dense accelerator, it provides 1.3–10.9× speedup and 1.5–12.6× energy savings.
  • Real-world Comparison: Compared to a server-grade GPU (RTX 2080Ti), SPADE is up to 28.8× faster and 372.3× more energy-efficient.
  • Edge Performance: It achieved a record-breaking 500 FPS on edge-level configurations with negligible accuracy loss (-0.4% mAP).
Comparison of rule generation methods: RGU is significantly faster than hash tables or sorting

Limitations and Future Work

While SPADE excels at pillar-based models, the authors note that for models that are already highly optimized for sparsity (like PillarNet), the relative gains are lower because the baseline is already efficient. Future work could involve extending this vector-sparse approach to other 3D perception tasks like semantic segmentation or exploring even more advanced backbone architectures that might emerge in the rapidly evolving field of autonomous driving.

Summary updated

BibTeX
@inproceedings{lee2024spade,
  author = {Minjae Lee and Seongmin Park and Hyungmin Kim and Minyong Yoon and Janghwan Lee and Jun Won Choi and Nam Sung Kim and Mingu Kang and Jungwook Choi},
  title = {{SPADE: Sparse Pillar-based 3D Object Detection Accelerator for Autonomous Driving}},
  booktitle = {HPCA},
  year = {2024},
  doi = {10.1109/hpca57654.2024.00041},
}
Figure