Towards Computational Awareness in Autonomous Robots: An Empirical Study of Computational Kernels

Ashrarul H. Sifat, Burhanuddin Bharmal, Haibo Zeng, Jia-Bin Huang, Changhee Jung, Ryan K. Williams

Introduction

For autonomous robots to achieve true resilience in dynamic environments, they must be "computationally aware." This means possessing a real-time understanding of how their internal algorithms consume hardware resources. Traditional robotics research often treats navigation or perception algorithms as "black boxes" with static performance characteristics. However, real-world operation happens under strict power and compute constraints where a single "Worst-Case Execution Time" (WCET) is often too pessimistic and inefficient.

This paper addresses the gap between high-level robotic tasks and low-level hardware requirements (CPU, GPU, and memory). By profiling a "base set" of robotic kernels across various embedded platforms, the authors demonstrate that computational performance is deeply tied to the robot's physical environment, necessitating dynamic rather than static resource management.

Methodology and Framework

The researchers conducted a data-driven study profiling essential autonomy kernels:

  • SLAM: Gmapping (2D) and LOAM (3D LIDAR-based).
  • Path Planning: 2D Rapidly-exploring Random Trees (RRT).
  • Task Allocation: Combinatorial optimization via a greedy algorithm.
  • Computer Vision (CV): PWC-Net (optical flow) and MiDaS (monocular depth estimation).
The proposed framework for computationally aware autonomy integrates high-level task objectives with learned computational maps.

The evaluation spanned three hardware platforms: the NVIDIA Jetson AGX Xavier, the NVIDIA Jetson Xavier NX, and a Zotac Mini PC. Monitoring was performed using standard Linux tools and specialized NVIDIA utilities to track thread-level execution, power consumption, and GPU utilization.

Data was collected using a Jackal Unmanned Ground Vehicle (UGV) equipped with a Velodyne VLP-16 LIDAR and a Go-Pro Fusion 360 camera in both indoor (tunnels) and outdoor campus environments. Synthetic test cases were also used for RRT and Task Allocation to systematically vary parameters like obstacle density and environment size.

Key Insights and Empirical Results

The study revealed several critical correlations between the physical environment and computational load:

  1. Environmental Correlation: SLAM performance is spatially dependent. For instance, LOAM experienced a 30% reduction in execution time when moving from open outdoor areas to confined indoor spaces like tunnels.
  2. Memory Dynamics: RAM utilization for SLAM grows monotonically as the robot explores. In a 30-minute traversal, RAM usage doubled as map complexity increased.
  3. CPU Bottlenecks: Even GPU-intensive tasks like MiDaS depth estimation exhibited significant CPU spikes due to sequential preprocessing steps, creating potential bottlenecks on embedded SoCs.
  4. Loop Closure Rewards: Revisiting familiar areas reduces SLAM execution time through feature reconciliation, providing a "computational reward."
Hardware specifications of the three platforms used to evaluate kernel performance.

The results highlight that while the Zotac PC offered the lowest execution times, the Jetson AGX Xavier provided the best balance of power efficiency and performance. Notably, switching the AGX to a low-power mode (15W) resulted in a 3x increase in execution time for CV kernels.

Conclusion and Future Directions

While this study provides comprehensive profiling data, it acknowledges a 2-7% error margin due to profiling overhead. The ultimate goal is to integrate these "computational maps" into a real-time dynamic scheduler. Such a system would allow a robot to adjust task priorities or activation periods on the fly, ensuring that critical safety tasks remain prioritized regardless of environmental complexity. This shift toward computational awareness is a vital step in building truly autonomous and reliable robotic systems.

Summary updated

BibTeX
@inproceedings{sifat2023towards,
  author = {Ashrarul H. Sifat and Burhanuddin Bharmal and Haibo Zeng and Jia-Bin Huang and Changhee Jung and Ryan K. Williams},
  title = {{Towards Computational Awareness in Autonomous Robots: An Empirical Study of Computational Kernels}},
  booktitle = {Complex},
  year = {2023},
  doi = {10.1007/s40747-023-01059-7},
}
Figure