Abstract
ElasticROS is a next-generation robot operating system framework that introduces "algorithm-level" elasticity to cloud robotics. By employing a novel online learning algorithm called ElasAction, it dynamically shifts computational loads between the robot and the cloud in real-time. This allows robots to maintain high performance and low power consumption even under fluctuating network bandwidth and hardware stress, moving beyond static node-level offloading.
Introduction
Modern robotic applications increasingly rely on massive Deep Neural Networks (DNNs) for tasks such as SLAM, grasping, and natural language processing. However, robots are typically constrained by limited onboard compute resources and battery life. While "Cloud Robotics"—offloading tasks to powerful remote servers—offers a solution, existing frameworks like FogROS are primarily "node-level" and static. These systems lack the flexibility to adapt to real-time network fluctuations or onboard CPU spikes, leading to latency issues or system failure. ElasticROS addresses this gap by enabling a system that elastically adjusts algorithm execution based on current environmental conditions.
System Architecture: Press and Release
The core of ElasticROS is a shift from static offloading to dynamic, algorithm-level collaboration. The architecture splits functional nodes into two distinct components:
- Press Nodes: Located on the robot, these handle local, lightweight execution.
- Release Nodes: Located in the cloud (e.g., AWS VPC), these handle heavy-duty computation.
- Elastic Node: A controller on the robot that makes real-time decisions on whether to "press" (execute locally) or "release" (offload to the cloud).
The ElasAction Algorithm
The decision-making heart of ElasticROS is the ElasAction algorithm. This online learning approach is based on linear regression and the Upper Confidence Bound (UCB) strategy. It is context-aware, utilizing "context vectors" such as image entropy to predict the benefits of offloading. For instance, high-entropy images representing "key frames" are prioritized for cloud processing. To prevent the system from becoming stuck in local-only execution, ElasAction employs forced sampling, occasionally triggering cloud actions to refresh data on network latency. Mathematically, the authors demonstrate that the algorithm achieves "sublinear regret," ensuring convergence to an optimal strategy over time.
Experimental Evaluation
The system was evaluated using real-world robotic tasks, including SLAM (pySLAM), grasp detection, and human-robot dialogue. The experimental setup utilized a Jetson Nano as the robot edge device and a server with an RTX 3090 as the cloud component.
Key results include:
- Latency Improvement: In SLAM tasks with constrained 512K bandwidth, ElasticROS achieved 1.99s latency, significantly outperforming FogROS's 10.18s.
- Power Efficiency: ElasticROS consumed 3607mw per frame in SLAM scenarios, compared to 4617mw for pure local computing.
- Adaptive Grasping: When bandwidth dropped from 10M to 1M, ElasticROS maintained a 1.9s latency for grasping, while FogROS's latency spiked to 5.28s.
- Resource Resilience: During dialogue tasks with a throttled local CPU, ElasticROS maintained a 1.71s response time by offloading, whereas local performance degraded to nearly 4 seconds.
Discussion and Conclusion
ElasticROS demonstrates that offloading should be treated as a continuous optimization problem rather than a binary switch. By using information entropy as a trigger and designing for real-world "glitches" in bandwidth and CPU availability, the system provides a robust framework for modern robotics. Future work will explore multi-robot scenarios where agents compete for shared cloud resources and the potential of 6G connectivity to enable even more granular algorithm-level splitting.
Summary updated