VoxelCache: Accelerating Online Mapping in Robotics and 3D Reconstruction Tasks

Sankeerth Durvasula, Raymond Kiguru, Samarth Mathur, Jenny Xu, Jimmy Lin, Nandita Vijaykumar · DOI

Introduction

Real-time 3D mapping is a foundational component for modern robotics, augmented reality (AR), and autonomous navigation. These systems typically represent the environment using voxels—3D pixels—organized into efficient data structures such as Voxel Hashing or Octrees. While these structures optimize memory usage, they introduce significant computational overhead during access.

In a typical mapping pipeline, integrating a new depth image requires millions of coordinate lookups to determine where specific 3D points reside in memory. Research indicates that these lookups can consume up to 60% of the total map update time. As the demand for higher-resolution maps grows—driven by the need for agile drone flight and high-fidelity reconstruction—this memory-access bottleneck becomes a critical limiting factor for real-time performance. VoxelCache addresses this by introducing a hardware-software co-design that optimizes voxel block pointer retrieval.

The VoxelCache Architecture

VoxelCache is designed to treat a portion of existing hardware caches (L1 or L2) as a specialized key-value store for voxel pointers. By leveraging the inherent spatial and temporal locality of voxel access patterns, the system bypasses expensive hash table lookups and tree traversals.

Hardware-Software Co-design

The architecture introduces five new Instruction Set Architecture (ISA) instructions, such as voxcache_lookup and voxcache_insert. These allow the mapping software to explicitly manage voxel data within the cache. To prevent general application data from evicting critical mapping data, VoxelCache utilizes "Reserved Cache Ways." This mechanism partitions a standard set-associative cache, dedicating specific "ways" to voxel pointers, ensuring high hit rates for mapping operations without starving the rest of the system.

Pseudoaddressing and Management

To remain compatible with standard cache hardware, VoxelCache employs a technique called "pseudoaddressing." It generates a pseudoaddress from 3D coordinates, which is then used to index into the cache like a standard memory address. This address points to a packed line of key-value pairs containing 3D coordinates and their corresponding block pointers.

Management of this data is handled by a specialized two-level replacement policy. This policy uses Least Recently Used (LRU) logic to manage both the "entire-line" eviction (which cache line to replace) and "within-line" eviction (which specific voxel pointer within a packed line to replace).

Methodology and Evaluation

The researchers evaluated VoxelCache across a variety of industry-standard mapping and Simultaneous Localization and Mapping (SLAM) frameworks, including Voxblox, FIESTA, InfiniTAM (CPU and GPU), OpenChisel, c-blox, and Supereight.

Testing was conducted using diverse datasets to simulate real-world conditions:

  • KITTI (Sequence 0027): Representing outdoor autonomous driving.
  • EuRoC Machine Hall (Sequence 5): Representing indoor industrial environments.
  • ICL-NUIM: Representing synthetic indoor living room trajectories.

Performance was measured using the Sniper simulator for CPU workloads and GPGPU-Sim for GPU workloads.

Key Results and Insights

The evaluation demonstrated that VoxelCache significantly improves performance across both architectures:

  • Processing Speedups: The system achieved an average map update speedup of 1.47x (up to 1.66x) on CPUs and 1.79x (up to 1.91x) on GPUs. For end-to-end applications like InfiniTAM, total frame rates improved by up to 1.31x.
  • Energy Efficiency: By reducing expensive DRAM traffic and eliminating redundant hash-table compute cycles, VoxelCache reduced energy consumption by an average of 22% on CPUs and 9.5% on GPUs.
  • Minimal Overhead: The hardware modifications required are remarkably small, with an area overhead of less than 0.1% for a standard Intel Xeon-class core.

A key insight from the study is that performance gains actually increase as map resolution becomes finer. This makes VoxelCache particularly valuable for high-precision tasks where traditional software-only methods typically struggle.

Limitations and Future Work

While VoxelCache offers substantial benefits, its primary limitation is the requirement for hardware modifications to the CPU/GPU cache controller and ISA. It is not currently deployable on off-the-shelf processors.

Future research directions include the development of "dynamic reservation" systems, where the hardware could automatically adjust the number of reserved cache ways based on real-time workload pressure. Additionally, while the current focus is on Signed Distance Field (SDF) mapping, the authors suggest the architecture could be adapted for other volumetric tasks, such as occupancy mapping or other hash-table-intensive workloads outside of robotics.

Summary updated

BibTeX
@inproceedings{durvasula2022voxelcache,
  author = {Sankeerth Durvasula and Raymond Kiguru and Samarth Mathur and Jenny Xu and Jimmy Lin and Nandita Vijaykumar},
  title = {{VoxelCache: Accelerating Online Mapping in Robotics and 3D Reconstruction Tasks}},
  booktitle = {PACT},
  year = {2022},
  url = {https://openreview.net/forum?id=fqp3wuVDMo},
}
Figure