Lune

HPCA2020Top-tier venue

QuickNN: Memory and Performance Optimization of k-d Tree Based Nearest Neighbor Search for 3D Point Clouds

Reid Pinkham, Shuqing Zeng, Zhengya Zhang

Abstract

The use of Light Detection And Ranging (LiDAR) has enabled the continued improvement in accuracy and performance of autonomous navigation. The latest applications require LiDAR's of the highest spatial resolution, which generate a massive amount of 3D point clouds that need to be processed in real time. In this work, we investigate the architecture design for k-Nearest Neighbor (kNN) search, an important processing kernel for 3D point clouds. An approximate kNN search based on a k-dimensional (k-d) tree is employed to improve performance. However, even for today's moderate-sized problems, this approximate kNN search is severely hindered by memory bandwidth due to numerous random accesses and minimal data reuse opportunities. We apply several memory optimization schemes to alleviate the bandwidth bottleneck: 1) the k-d tree data structure is partitioned to two sets: tree nodes and point buckets, based on their distinct characteristics - tree nodes that have high reuse are cached for their lifetime to facilitate search, while point buckets with low reuse are organized in regular contiguous segments in external memory to facilitate efficient burst access; 2) write and read caches are added to gather random accesses to transform them to sequential accesses; and 3) tree construction and tree search are interleaved to cut redundant access streams. With optimized memory bandwidth, the kNN search can be further accelerated by two new processing schemes: 1) parallel tree traversal that utilizes multiple workers with minimal tree duplication overhead, and 2) incremental tree building that minimizes the overhead of tree construction by dynamically updating the tree instead of building it from scratch every time. We demonstrate the performance and memory-optimized QuickNN architecture on FPGA and perform exhaustive benchmarking, showing that up to a 19× and 7.3× speedup over k-d tree searches performed on a modern CPU and GPU, respectively, and a 14.5× speedup over a comparable sized architecture performing an exact search. Finally, we show that QuickNN achieves two orders of magnitude performance per watt increase over CPU and GPU methods.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

13 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • BitNN: A Bit-Serial Accelerator for K-Nearest Neighbor Search in Point Clouds cites K-D Bonsai: ISA-Extensions to Compress K-D Trees for Autonomous Driving Tasks
  • BitNN: A Bit-Serial Accelerator for K-Nearest Neighbor Search in Point Clouds cites Crescent: taming memory irregularities for accelerating deep point cloud analytics
  • K-D Bonsai: ISA-Extensions to Compress K-D Trees for Autonomous Driving Tasks cites RTNN: accelerating neighbor search using hardware ray tracing
  • K-D Bonsai: ISA-Extensions to Compress K-D Trees for Autonomous Driving Tasks cites Crescent: taming memory irregularities for accelerating deep point cloud analytics
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers13

  1. Crescent: taming memory irregularities for accelerating deep point cloud analyticsYu Feng, Gunnar Hammonds, Yiming Gan, Yuhao ZhuISCA 2022 · 44 citations
  2. RTNN: accelerating neighbor search using hardware ray tracingYuhao ZhuPPoPP 2022 · 43 citations
  3. BitNN: A Bit-Serial Accelerator for K-Nearest Neighbor Search in Point CloudsMeng Han, Liang Wang, Limin Xiao, Hao Zhang et al.ISCA 2024 · 14 citations
  4. K-D Bonsai: ISA-Extensions to Compress K-D Trees for Autonomous Driving TasksPedro Henrique Exenberger Becker, José-María Arnau, Antonio GonzálezISCA 2023 · 13 citations
  5. GCiM: A Near-Data Processing Accelerator for Graph ConstructionLei He, Cheng Liu, Ying Wang, Shengwen Liang et al.DAC 2021 · 11 citations

Related papers

  1. ParallelNN: A Parallel Octree-based Nearest Neighbor Search Accelerator for 3D Point CloudsFaquan Chen, Rendong Ying, Jianwei Xue, Fei Wen et al.HPCA 2023 · 37 citations
  2. PICK: An SRAM-based Processing-in-Memory Accelerator for K-Nearest-Neighbor Search in Point CloudsChen Nie, Chao Jiang, Liming Xiao, Weifeng Zhang et al.DAC 2025
  3. Updatable Balanced Index for Fast on-Device Search with Auto-Selection ModelYushuai Ji, Sheng Wang, Zhiyu Chen, Yuan Sun et al.ICDE 2026
  4. Caravan: A Hardware/Software Co-Design for Efficient SIMD Neighbor Search on Point CloudsPedro Henrique Exenberger Becker, Franyell Silfa, José-María Arnau, Antonio GonzálezISCA 2025
  5. CAMPER: Exploring the Potential of Content Addressable Memory for 3D Point Cloud Efficient Range SearchJiapei Zheng, Lizhou Wu, Yutong Su, Jingyi Wang et al.DAC 2024 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines