Network Offloading Policies for Cloud Robotics: a Learning-based Approach

Sandeep Chinchali, Apoorva Sharma, James Harrison, Amine Elhafsi, Daniel Kang, Evgenya Pergament, Eyal Cidon, Sachin Katti, Marco Pavone

TL;DR

This paper introduces a deep reinforcement learning framework to solve the "Robot Offloading Problem," determining exactly when a resource-constrained robot should process sensor data locally versus offloading it to a powerful cloud server. By modeling the decision as a Markov Decision Process that accounts for local model uncertainty, temporal scene coherence, and stochastic network congestion, the proposed policy improves task performance by 1.3x to 2.6x over standard heuristics while strictly respecting bandwidth constraints.

What Problem Does This Paper Address?

Modern robotic systems increasingly rely on computationally heavy deep neural networks (DNNs) for complex tasks like object detection, tracking, and mapping. However, edge devices—such as low-power drones or mobile robots—frequently lack the onboard compute power or battery reserves to run state-of-the-art models in real time.

While cloud robotics offers a tempting escape route by offloading these heavy workloads to remote servers, wireless networks are highly unpredictable, bandwidth-limited, and prone to severe congestion.

Fig. 1: Autonomous mobile robots are faced with a key tradeoff. Should they rely on local compute models, which could be fast, power-efficient, but less accurate? Or, should they offload computation to a more accurate model in the cloud, which increases latency due to congested networks? In this paper, we propose a novel algorithmic framework to address such tradeoffs.

To illustrate this bottleneck, the authors present a case study streaming LIDAR data over a standard Robot Operating System (ROS) WiFi setup. They discover that network and software overheads can cut the effective data rate in half (from 33.3 Mbps at the source to 16.4 Mbps at the receiver), leading to dropped messages and total network failure when multiple robots compete for the same link. The core challenge is designing an intelligent policy that decides when and what to offload to maximize accuracy without overwhelming the network.

Methods

The authors formalize offloading as a sequential decision-making problem under uncertainty using a finite-horizon Markov Decision Process (MDP).

Fig. 4: We formulate a novel Robot Offloading MDP, depicted above, where a robot uses an on-board offloading policy to select if it should use cached predictions, query a local model, or incur the cost, but also accuracy benefits, of querying the cloud.

At each timestep, the offloading policy ($\pi_{\text{offload}}$) selects one of four discrete actions:

  1. Use a cached past robot prediction.
  2. Use a cached past cloud prediction.
  3. Query the local, power-efficient onboard model ($f_{\text{robot}}$).
  4. Query the highly accurate, compute-intensive cloud model ($f_{\text{cloud}}$).

To solve this MDP without needing an explicit, hard-to-characterize model of real-world video dynamics, the authors employ a model-free Deep Reinforcement Learning (RL) approach using the Advantage Actor-Critic (A2C) algorithm. The state space tracks input features (the sum of absolute pixel differences between sequential frames), current local/cloud predictions, the "staleness" (age) of those predictions, the remaining network query budget, and the time left in the horizon. An LSTM layer is integrated into the policy network to capture temporal patterns across frames implicitly.

Datasets

The framework was evaluated using a face-detection scenario across three distinct data setups:

  • MS-COCO: Used to benchmark the baseline accuracy, size, and inference speeds of various vision DNNs (e.g., MobileNet vs. Mask R-CNN) to establish realistic compute/accuracy trade-offs.
  • Synthetic Video Stream: A custom-generated dataset featuring a controlled mixture of known and unknown faces under varying lighting conditions, used to test the policy's ability to exploit temporal coherence.
  • Real-world Video Dataset: A newly collected dataset consisting of 9 video traces spanning 9 volunteers and over 2,600 frames. It captures diverse real-world scenarios ranging from a single person moving slowly to chaotic, dynamic scenes with multiple people moving amidst background action.

Key Insights and Ideas

  • Exploiting Temporal Coherence: Because physical environments change continuously and relatively slowly, a robot does not need to run a fresh inference on every single frame. It can safely reuse past predictions if the scene has low dynamics, saving precious network and compute budgets.
  • Heuristics Fall Short: Traditional offloading strategies rely purely on local model confidence thresholds. However, the optimal policy is highly multi-factorial. The authors found that the RL policy's offloading decisions were only 51.7% correlated with local confidence alone, proving that it simultaneously balances scene dynamics, prediction age, and the remaining network budget over time.
  • Fail-safe Autonomy: By maintaining separate, modular local and cloud models, the robot preserves a baseline level of autonomy and safety. If the network drops out entirely, the policy naturally defaults to the local model.

Key Results

  • Simulation Performance: In synthetic video environments, the deep RL policy achieved 1.3x to 2.6x higher median episode rewards compared to standard baselines (such as random sampling, robot-only execution, or pure confidence-threshold heuristics).
  • Hardware Deployment: When deployed on an NVIDIA Jetson Tx2 embedded platform processing live video streams, the RL offloader achieved 1.6x higher reward than a robot-only policy and 1.35x better reward than an all-cloud policy, reaching 82% of the performance of an unachievable "oracle" upper bound.
  • Lightweight Footprint: The trained RL policy network requires only 900 KB of memory, making it an order of magnitude smaller than even optimized vision DNNs. This allows it to run seamlessly on edge hardware without interfering with primary control loops.

Limitations and Future Work

  • Passive vs. Active Perception: The current framework assumes that the incoming sensor stream is independent of the robot's decisions. In reality, a robot's physical movements dictate its sensory inputs. The authors note that extending this framework to couple offloading policies directly with active path planning and control is a vital next step.
  • Hard Latency Constraints: For safety-critical applications like autonomous driving, optimizing for average cost is insufficient. The system requires hard bounds on latency distributions. The authors suggest that framing future iterations within Constrained MDPs (CMDPs) could guarantee these critical safety margins.

Summary updated

BibTeX
@article{chinchali2019network,
  author = {Sandeep Chinchali and Apoorva Sharma and James Harrison and Amine Elhafsi and Daniel Kang and Evgenya Pergament and Eyal Cidon and Sachin Katti and Marco Pavone},
  title = {{Network Offloading Policies for Cloud Robotics: a Learning-based Approach}},
  journal = {Robotics: Science and Systems},
  year = {2019},
  doi = {10.1007/s10514-021-09987-4},
}
Figure