TL;DR
SLAMBench is the first comprehensive benchmarking framework designed to evaluate Simultaneous Localization and Mapping (SLAM) systems across three critical dimensions: tracking accuracy, processing performance, and energy consumption. By providing a portable, multi-language implementation of the popular KinectFusion algorithm, it allows researchers to quantify the trade-offs involved when moving heavy computer vision workloads from high-end desktops to power-constrained embedded devices.
What Problem Does This Paper Address?
While SLAM is a foundational technology for autonomous robots and augmented reality (AR), there has historically been a "silo" effect in its development. Computer vision researchers focus almost exclusively on accuracy (how well the robot knows its location), while systems and hardware engineers focus on performance and power (how fast and efficiently the code runs).
As SLAM moves into mass-market products like vacuum robots and mobile AR headsets, these two worlds must collide. Dense SLAM algorithms are computationally expensive, making them difficult to deploy on battery-powered embedded platforms. Before SLAMBench, there was no unified tool to help experts from different fields—vision, compilers, and hardware—cooperate to optimize these systems for the real world.
Methods
The authors introduce SLAMBench, a framework that wraps a modular implementation of KinectFusion (a well-known dense RGB-D SLAM algorithm). To ensure the benchmark is useful across a wide range of hardware, they provided implementations in four different programming models:
- C++: Sequential baseline.
- OpenMP: For multi-core CPU parallelism.
- OpenCL & CUDA: For hardware acceleration on GPUs.
The framework breaks the SLAM pipeline into five functional stages: Preprocessing, Tracking, Integration, Raycasting, and Rendering.
Crucially, the authors categorized the underlying computational "kernels" (the small, repetitive math tasks) into parallel patterns like Map, Reduction, Stencil, Gather, and Search. This helps developers understand why a certain part of the algorithm might run slowly on specific hardware.
Datasets
SLAMBench utilizes the ICL-NUIM dataset, which consists of high-quality synthetic RGB-D sequences of a living room. Because the dataset is synthetic, it provides perfect "ground truth" for both the camera's trajectory and the 3D structure of the room. This allows the framework to calculate the Absolute Trajectory Error (ATE)—a precise measure of how much the SLAM system's estimated path deviates from reality.
Key Insights and Ideas
- The Performance-Accuracy-Energy Triangle: The paper highlights that you cannot optimize one factor in isolation. For example, increasing the resolution of a 3D map might improve accuracy but will drastically increase energy consumption and slow down the frame rate.
- Kernel Heterogeneity: Not all parts of SLAM scale equally. "Stencil" patterns (like bilateral filtering) scale beautifully on GPUs because they exploit data locality. In contrast, "Reduction" patterns (used to sum up errors during tracking) scale poorly because they require threads to synchronize.
- Language Overhead: Even when the logic is nearly identical, the authors found a ~10% performance advantage for CUDA over OpenCL on NVIDIA hardware, illustrating the impact of software toolkits on real-world performance.
- The "Race to Sleep" vs. Efficiency: On embedded platforms like the ODROID-XU3, the authors found that using the low-power "LITTLE" CPU cores in conjunction with the GPU was far more energy-efficient than using the high-performance "big" cores, even if the latter were slightly faster.
Key Results
The authors tested SLAMBench across a spectrum of hardware, from a high-end NVIDIA GTX TITAN to the Arndale embedded board.
- Speed: The desktop TITAN achieved a blistering 135 FPS. The embedded Jetson TK1 reached ~22 FPS, nearing the 30 FPS threshold required for "real-time" performance.
- Accuracy: Across all platforms and languages, the Absolute Trajectory Error remained consistent at approximately 2.0cm, proving that the various parallel implementations did not sacrifice precision for speed.
- Energy: On the ODROID platform, the GPU-accelerated OpenCL version used significantly less energy per frame compared to CPU-only versions. Specifically, using the Cortex-A7 (LITTLE) cores with the GPU provided the same frame rate as the Cortex-A15 (big) cores but with a 50% lower energy envelope.
Limitations and Future Work
The current version of SLAMBench is centered on a single algorithm (KinectFusion). While KinectFusion is a gold standard for dense SLAM, the authors acknowledge the need to incorporate other SLAM variants, such as those using point-based fusion or octrees, to represent the full diversity of the field.
Additionally, while the benchmark measures trajectory accuracy, it does not yet provide a standardized way to measure the accuracy of the 3D reconstruction itself. Future work aims to include more complex data structures and potentially introduce Domain-Specific Languages (DSLs) to further automate the optimization of SLAM for new hardware.
Summary updated