skip to main content
10.1145/3559009.3569675acmconferencesArticle/Chapter ViewAbstractPublication PagespactConference Proceedingsconference-collections
research-article

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

Published: 27 January 2023 Publication History

Abstract

Real-time 3D mapping is a critical component in many important applications today including robotics, AR/VR, and 3D visualization. 3D mapping involves continuously fusing depth maps obtained from depth sensors in phones, robots, and autonomous vehicles into a single 3D representative model of the scene. Many important applications, e.g., global path planning and trajectory generation in micro aerial vehicles, require the construction of large maps at high resolutions. In this work, we identify mapping, i.e., construction and updates of 3D maps to be a critical bottleneck in these applications. The memory required and access times of these maps limit the size of the environment and the resolution with which the environment can be feasibly mapped, especially in resource constrained environments such as autonomous robot platforms and portable devices. To address this challenge, we propose VoxelCache: a hardware-software technique to accelerate map data access times in 3D mapping applications. We observe that mapping applications typically access voxels in the map that are spatially co-located to each other. We leverage this temporal locality in voxel accesses to cache indices to blocks of voxels to enable quick lookup and avoid expensive access times. We evaluate VoxelCache on popularly used mapping and reconstruction applications on both GPUs and CPUs. We demonstrate an average speedup of 1.47X (up to 1.66X) and 1.79X (up to 1.91X) on CPUs and GPUs respectively.

References

[1]
[n. d.]. Apple Inc, ARkit. âĂİhttps://developer.apple.com/arkit/. Accessed: 2020-09-30.
[2]
[n. d.]. Google Inc, AR Core. https://developers.google.com/ar/discover/. Accessed: 2020-09-30.
[3]
[n. d.]. NVIDIA Inc, GVDB. https://developer.nvidia.com/gvdb. Accessed: 2020-09-30.
[4]
Mihai Bujanca, Xuesong Shi, Matthew Spear, Pengpeng Zhao, Barry Lennox, and Mikel Luján. 2021. Robust SLAM Systems: Are We There Yet?. In 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS).
[5]
Michael Burri, Janosch Nikolic, Pascal Gohl, Thomas Schneider, Jörn Rehder, Sammy Omari, Markus Achtelik, and Roland Y. Siegwart. 2016. The EuRoC micro aerial vehicle datasets. The International Journal of Robotics Research 35 (2016), 1157 -- 1163.
[6]
Trevor E. Carlson, Wim Heirman, and Lieven Eeckhout. 2011. Sniper: Exploring the level of abstraction for scalable and accurate parallel multi-core simulation. 2011 International Conference for High Performance Computing, Networking, Storage and Analysis (SC) (2011), 1--12.
[7]
Jiawen Chen, Dennis Bautembach, and Shahram Izadi. 2013. Scalable real-time volumetric surface reconstruction. ACM Transactions on Graphics (TOG) 32 (2013), 1 -- 16.
[8]
Angela Dai, Matthias Nießner, Michael Zollhöfer, Shahram Izadi, and Christian Theobalt. 2017. BundleFusion: real-time globally consistent 3D reconstruction using on-the-fly surface re-integration. ArXiv abs/1604.01093 (2017).
[9]
Wei Dong, Jieqi Shi, Weijie Tang, Xin Wang, and Hongbin Zha. 2018. An Efficient Volumetric Mesh Representation for Real-Time Scene Reconstruction Using Spatial Hashing. 2018 IEEE International Conference on Robotics and Automation (ICRA) (2018), 6323--6330.
[10]
Wei Dong, Jieqi Shi, Weijie Tang, Xin Wang, and Hongbin Zha. 2018. An Efficient Volumetric Mesh Representation for Real-Time Scene Reconstruction Using Spatial Hashing. 2018 IEEE International Conference on Robotics and Automation (ICRA) (2018), 6323--6330.
[11]
Andreas Geiger, Philip Lenz, and Raquel Urtasun. 2012. Are we ready for autonomous driving? The KITTI vision benchmark suite. 2012 IEEE Conference on Computer Vision and Pattern Recognition (2012), 3354--3361.
[12]
Lei Han and Lu Fang. 2018. FlashFusion: Real-time Globally Consistent Dense 3D Reconstruction using CPU Computing. In Robotics: Science and Systems.
[13]
L. Han, Fei Gao, Boyu Zhou, and S. Shen. 2019. FIESTA: Fast Incremental Euclidean Distance Fields for Online Motion Planning of Aerial Robots. 2019 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (2019), 4423--4430.
[14]
Ankur Handa, Thomas Whelan, John B. McDonald, and Andrew J. Davison. 2014. A benchmark for RGB-D visual odometry, 3D reconstruction and SLAM. 2014 IEEE International Conference on Robotics and Automation (ICRA) (2014), 1524--1531.
[15]
Armin Hornung, Kai M. Wurm, Maren Bennewitz, C. Stachniss, and Wolfram Burgard. 2013. OctoMap: an efficient probabilistic 3D mapping framework based on octrees. Autonomous Robots 34 (2013), 189--206.
[16]
Jia Hu, Zhaowei Ma, Yifeng Niu, Wenli Tian, and Wenchen Yao. 2019. Real-Time Trajectory Replanning for Quadrotor Using OctoMap and Uniform B-Splines. In ICIRA.
[17]
Muhammad Huzaifa, Rishi Desai, Samuel Grayson, Xutao Jiang, Ying Jing, Jae Lee, Fang Lu, Yihan Pang, Joseph Ravichandran, Finn Sinclair, Boyuan Tian, Hengzhi Yuan, Jeffrey Zhang, and Sarita V. Adve. 2021. Exploring Extended Reality with ILLIXR: A new Playground for Architecture Research. arXiv:2004.04643 [cs.DC]
[18]
Shahram Izadi, David Kim, Otmar Hilliges, David Molyneaux, Richard A. New-combe, Pushmeet Kohli, Jamie Shotton, Steve Hodges, Dustin Freeman, Andrew J. Davison, and Andrew W. Fitzgibbon. 2011. KinectFusion: real-time 3D reconstruction and interaction using a moving depth camera. Proceedings of the 24th annual ACM symposium on User interface software and technology (2011).
[19]
Olaf Kähler, Victor Adrian Prisacariu, and David William Murray. 2016. Real-Time Large-Scale Dense 3D Reconstruction with Loop Closure. In ECCV.
[20]
Olaf Kähler, Victor Adrian Prisacariu, Julien P. C. Valentin, and David William Murray. 2016. Hierarchical Voxel Block Hashing for Efficient Integration of Depth Images. IEEE Robotics and Automation Letters 1 (2016), 192--197.
[21]
Mahmoud Khairy, Zhesheng Shen, Tor M. Aamodt, and Timothy G. Rogers. 2020. Accel-Sim: An Extensible Simulation Framework for Validated GPU Modeling. In 2020 ACM/IEEE 47th Annual International Symposium on Computer Architecture (ISCA). 473--486.
[22]
Matthew Klingensmith, Ivan Dryanovski, S. Srinivasa, and J. Xiao. 2015. Chisel: Real Time Large Scale 3D Reconstruction Onboard a Mobile Device using Spatially Hashed Signed Distance Fields. In Robotics: Science and Systems.
[23]
Sheng Li, Ke Chen, Jung Ho Ahn, Jay B. Brockman, and Norman P. Jouppi. 2011. CACTI-P: Architecture-level modeling for SRAM-based structures with advanced leakage reduction techniques. 2011 IEEE/ACM International Conference on Computer-Aided Design (ICCAD) (2011), 694--701.
[24]
Robert Maier, Raphael Schaller, and Daniel Cremers. 2017. Efficient Online Surface Correction for Real-time Large-Scale 3D Reconstruction. ArXiv abs/1709.03763 (2017).
[25]
C. Mateo, J. Corrales, and Y. Mezouar. 2020. Hierarchical, Dense and Dynamic 3D Reconstruction Based on VDB Data Structure for Robotic Manipulation Tasks. Frontiers in Robotics and AI 7 (2020).
[26]
Alexander Millane, Zachary Taylor, Helen Oleynikova, Juan Nieto, Roland Siegwart, and César Cadena. 2018. C-blox: A Scalable and Consistent TSDF-based Dense Mapping Approach. In 2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS).
[27]
Ken Museth. 2013. VDB: High-resolution sparse volumes with dynamic topology. ACM Trans. Graph. 32 (2013), 27:1--27:22.
[28]
Matthias Nießner, Michael Zollhöfer, Shahram Izadi, and Marc Stamminger. 2013. Real-Time 3D Reconstruction at Scale Using Voxel Hashing. ACM Trans. Graph. 32, 6, Article 169 (Nov. 2013), 11 pages.
[29]
Helen Oleynikova, Michael Burri, Zachary Taylor, Juan I. Nieto, Roland Y. Siegwart, and Enric Galceran. 2016. Continuous-time trajectory optimization for online UAV replanning. 2016 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (2016), 5332--5339.
[30]
Helen Oleynikova, Christian Lanegger, Zachary Taylor, Michael Pantic, Alexander Millane, Roland Y. Siegwart, and Juan I. Nieto. 2020. An open-source system for vision-based micro-aerial vehicle mapping, planning, and flight in cluttered environments. J. Field Robotics 37 (2020), 642--666.
[31]
Helen Oleynikova, Alexander Millane, Zachary Taylor, Enric Galceran, Juan I. Nieto, and Roland Y. Siegwart. 2016. Signed Distance Fields: A Natural Representation for Both Mapping and Planning.
[32]
Helen Oleynikova, Zachary Taylor, M. Fehr, R. Siegwart, and J. Nieto. 2017. Voxblox: Incremental 3D Euclidean Signed Distance Fields for on-board MAV planning. 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (2017), 1366--1373.
[33]
E. Palazzolo, J. Behley, Philipp Lottes, P. Giguère, and C. Stachniss. 2019. ReFusion: 3D Reconstruction in Dynamic Environments for RGB-D Cameras Exploiting Residuals. 2019 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (2019), 7855--7862.
[34]
V. Prisacariu, O. Kähler, S. Golodetz, Michael Sapienza, Tommaso Cavallari, Philip H. S. Torr, and D. W. Murray. 2017. InfiniTAM v3: A Framework for Large-Scale 3D Reconstruction with Loop Closure. ArXiv abs/1708.00783 (2017).
[35]
Victor Reijgwart, A. Millane, Helen Oleynikova, R. Siegwart, Cesar Cadena, and J. Nieto. 2020. Voxgraph: Globally Consistent, Volumetric Mapping Using Signed Distance Function Submaps. IEEE Robotics and Automation Letters 5 (2020), 227--234.
[36]
Ignacio Vizzo, Tiziano Guadagnino, Jens Behley, and C. Stachniss. 2022. VDB-Fusion: Flexible and Efficient TSDF Integration of Range Sensor Data. Sensors (Basel, Switzerland) 22 (2022).
[37]
Thomas Whelan, Michael Kaess, Maurice F. Fallon, Hordur Johannsson, John J. Leonard, and John B. McDonald. 2012. Kintinuous: Spatially Extended KinectFusion. In AAAI 2012.
[38]
Ming Zeng, Fukai Zhao, Jiaxiang Zheng, and Xinguo Liu. 2013. Octree-based fusion for realtime 3D reconstruction. Graph. Model. 75 (2013), 126--136.
[39]
Guowei Zhang and Daniel Sánchez. 2018. Leveraging Hardware Caches for Memoization. IEEE Computer Architecture Letters 17 (2018), 59--63.
[40]
Boyu Zhou, Fei Gao, Jie Pan, and Shaojie Shen. 2020. Robust Real-time UAV Replanning Using Guided Gradient-based Optimization and Topological Paths. 2020 IEEE International Conference on Robotics and Automation (ICRA) (2020), 1208--1214.
[41]
Boyu Zhou, Jie Pan, Fei Gao, and Shaojie Shen. 2020. RAPTOR: Robust and Perception-aware Trajectory Replanning for Quadrotor Fast Flight. ArXiv abs/2007.03465 (2020).

Cited By

View all
  • (2023)Agents of Autonomy: A Systematic Study of Robotics on Modern HardwareProceedings of the ACM on Measurement and Analysis of Computing Systems10.1145/36267747:3(1-31)Online publication date: 12-Dec-2023

Index Terms

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

        Recommendations

        Comments

        Information & Contributors

        Information

        Published In

        cover image ACM Conferences
        PACT '22: Proceedings of the International Conference on Parallel Architectures and Compilation Techniques
        October 2022
        569 pages
        ISBN:9781450398688
        DOI:10.1145/3559009
        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Sponsors

        In-Cooperation

        • IFIP WG 10.3: IFIP WG 10.3
        • IEEE CS

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        Published: 27 January 2023

        Permissions

        Request permissions for this article.

        Check for updates

        Author Tags

        1. SLAM
        2. caching
        3. hardware acceleration
        4. mapping
        5. reconstruction

        Qualifiers

        • Research-article

        Conference

        PACT '22
        Sponsor:

        Acceptance Rates

        Overall Acceptance Rate 121 of 471 submissions, 26%

        Contributors

        Other Metrics

        Bibliometrics & Citations

        Bibliometrics

        Article Metrics

        • Downloads (Last 12 months)60
        • Downloads (Last 6 weeks)7
        Reflects downloads up to 07 Mar 2025

        Other Metrics

        Citations

        Cited By

        View all
        • (2023)Agents of Autonomy: A Systematic Study of Robotics on Modern HardwareProceedings of the ACM on Measurement and Analysis of Computing Systems10.1145/36267747:3(1-31)Online publication date: 12-Dec-2023

        View Options

        Login options

        View options

        PDF

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader

        Figures

        Tables

        Media

        Share

        Share

        Share this Publication link

        Share on social media