SLA-Aware Task Offloading in the IoT Edge-Cloud Continuum: Class-Weighted Deep Reinforcement Learning Against an Exact Optimum

Shilpa Golla, Tharun Kumar Korine Palli, Urmila BandaruarXiv 2026

TL;DR

This paper benchmarks Deep Reinforcement Learning (DRL) for IoT task offloading against an absolute mathematical optimum. It reveals that standard reward designs inadvertently "compress" task priorities and shows that while DRL agents perform well in tiny systems, they struggle to close a significant performance gap (41%–76%) in even slightly larger environments.

What Problem Does This Paper Address?

In the IoT "edge-cloud continuum," a controller must decide where to run incoming tasks: on a local edge server (low latency, limited capacity) or a distant cloud (high latency, high capacity). Different tasks have different Service Level Agreements (SLAs); missing a deadline for an industrial control task is far costlier than missing one for a background analytics task.

The authors identify two major gaps in current research:

  1. Reward Misalignment: Many DRL studies use "class-blind" penalties (treating all misses equally) or fail to account for how "success bonuses" shift the effective weights of different task classes.
  2. The Missing Baseline: Most papers compare DRL agents against simple heuristics or other DRL agents. Without an absolute "optimal" baseline, it is impossible to know if an agent is truly performing well or just beating a weak opponent.

Methods

The researchers built four synthetic offloading systems (summarized in Figure 4) small enough to be solved exactly using Dynamic Programming (DP). This provided a "ground truth" optimal policy and a Pareto frontier of miss rates to serve as the ultimate benchmark.

The four benchmark systems used in the study.

They evaluated three standard DRL algorithms—PPO, DQN, and A2C—against three reward structures:

  • Weighted: Penalties match the operator's cost for missing an SLA.
  • Flat (Class-blind): Every miss costs the same.
  • Corrected: A novel reward formula that adjusts penalties to counteract the "bonus shift" (explained below).

The evaluation method (Figure 2) is particularly rigorous: instead of just running simulations, they converted trained neural networks into lookup tables and used the exact mathematical model to calculate their performance, eliminating "test-set noise."

Fig. 2. Evaluation method. Blue boxes use the exact model, orange boxes learn from rewards only. Each trained network is turned into a table of its greedy action in every state, and the exact evaluation scores this table, the rules and the DP policies with the same forward pass. Only the full rebuilt published design is scored by simulation.

Datasets

The paper introduces a benchmark suite of four systems: Nominal, Hetero3, Hetero3-3C, and Large4-3C. These range from 32,400 to nearly 4 million states. Unlike static datasets, these are dynamic environments with varying edge node speeds, background traffic, and cloud reliability. The code and policy tables are openly available.

Key Insights and Ideas

  • The "Bonus Shift" Trap: A common reward design gives a bonus ($\beta$) for meeting a limit and a penalty ($w_c$) for missing it. The authors prove that the agent actually optimizes for $(w_c + \beta)$. If $\beta=1$, an intended 5:1 priority ratio between two classes effectively becomes 11:3 (or 3.7:1). This "compresses" priorities, making the agent less protective of critical tasks than intended.
  • The Scalability Gap: In the smallest "Nominal" system, tuned PPO agents get within ~11% of the optimum. However, in the "Large4-3C" system (only 4 nodes), the gap jumps to 76%.
  • Training vs. Solving: For these benchmark sizes, computing the exact optimal policy via DP is actually faster (0.3s) than training a DRL agent (1.2 min). This suggests that for small-to-medium edge deployments, classical optimization might be superior to "black-box" RL.

Key Results

  • Reward Impact: Using a class-blind (flat) reward results in costs 65% to 118% higher than the optimum. The authors' "Corrected" reward brought the theoretical best-possible learner to within 0.13% of the optimum.
  • Agent Performance: In the Nominal system, PPO with the corrected reward beat a tuned reservation rule in 9 out of 10 random seeds.
  • Diminishing Returns: In larger systems, training the agents for 10 times longer did not close the performance gap. The agents appear to hit a plateau far below the mathematical optimum (see Figure 3 for the trade-off visualization).
Fig. 3. Trade-off between critical and analytics misses in the nominal system. The black curve is the optimal trade-off found by DP for 101 weightings, and no policy can reach the gray area below it, up to the resolution of these weightings. Filled circles are PPO agents and hollow squares DQN agents, one per seed, after 100,000 steps. Colors show the reward. The black star is the optimum, and outlined stars are the DP policies of the rewards. The star of the corrected reward surrounds the black star. Gray markers are the SLA rule and the reservation rule. The inset enlarges the boxed area, where ten agents share one point.

Limitations and Future Work

The study uses synthetic, linear queue models and ignores energy consumption or complex radio transmission physics. The exact DP approach is also limited by the "curse of dimensionality"—it cannot currently scale beyond systems with 5 or 6 edge nodes.

Future work aims to explore Approximate Dynamic Programming to handle larger systems and investigate multi-objective RL to better navigate the Pareto frontier of different task classes.

Summary updated

Abstract

Deep reinforcement learning (RL) is often used to decide where Internet of Things (IoT) tasks with different latency limits run in the edge-cloud continuum, yet some methods give every missed task the same penalty and few compare their agents with an optimal policy. This benchmark study builds four offloading systems small enough to solve exactly by dynamic programming and measures reward and learner against the optimum. A bonus for a met limit makes each miss cost its penalty plus the bonus, which shifts the class weights of published per-class rewards. A class-blind penalty stays 65% to 118% above the optimal cost even with a perfect learner, while a corrected per-class penalty comes within 0.13% of the optimum. With a per-class reward, tuned proximal policy optimization (PPO) agents come within 9% to 11% of the optimum in the smallest system, and the corrected one beats a tuned reservation rule in 9 of 10 seeds. In larger systems the agents stay 41% to 76% above the optimum, and a tuned rule beats their mean. Training ten times longer does not close this gap, and a PPO-Lagrangian agent with reachable targets does no better than the per-class reward.
BibTeX
@misc{golla2026sla,
  author = {Shilpa Golla and Tharun Kumar Korine Palli and Urmila Bandaru},
  title = {{SLA-Aware Task Offloading in the IoT Edge-Cloud Continuum: Class-Weighted Deep Reinforcement Learning Against an Exact Optimum}},
  year = {2026},
  eprint = {2611.10638},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.10638},
}
Figure