English

PeersimGym: An Environment for Solving the Task Offloading Problem with Reinforcement Learning

Machine Learning 2024-10-10 v3 Artificial Intelligence

Abstract

Task offloading, crucial for balancing computational loads across devices in networks such as the Internet of Things, poses significant optimization challenges, including minimizing latency and energy usage under strict communication and storage constraints. While traditional optimization falls short in scalability; and heuristic approaches lack in achieving optimal outcomes, Reinforcement Learning (RL) offers a promising avenue by enabling the learning of optimal offloading strategies through iterative interactions. However, the efficacy of RL hinges on access to rich datasets and custom-tailored, realistic training environments. To address this, we introduce PeersimGym, an open-source, customizable simulation environment tailored for developing and optimizing task offloading strategies within computational networks. PeersimGym supports a wide range of network topologies and computational constraints and integrates a \textit{PettingZoo}-based interface for RL agent deployment in both solo and multi-agent setups. Furthermore, we demonstrate the utility of the environment through experiments with Deep Reinforcement Learning agents, showcasing the potential of RL-based approaches to significantly enhance offloading strategies in distributed computing settings. PeersimGym thus bridges the gap between theoretical RL models and their practical applications, paving the way for advancements in efficient task offloading methodologies.

Keywords

Cite

@article{arxiv.2403.17637,
  title  = {PeersimGym: An Environment for Solving the Task Offloading Problem with Reinforcement Learning},
  author = {Frederico Metelo and Stevo Racković and Pedro Ákos Costa and Cláudia Soares},
  journal= {arXiv preprint arXiv:2403.17637},
  year   = {2024}
}

Comments

Published in the proceedings of the conference on Machine Learning and Knowledge Discovery in Databases. Applied Data Science Track. ECML PKDD 2024. Lecture Notes in Computer Science(), vol 14949. Springer, Cham

R2 v1 2026-06-28T15:34:04.843Z