RayNet: A Simulation Platform for Developing Reinforcement Learning-Driven Network Protocols

Luca Giacomoni, Basil Benny, George Parisis
2/9/2023
13 citations
cs.NIcs.AIcs.DC
rl

Official code: giacomoni/raynet (12 stars, C++, MIT, last commit 2024-05-23).

Abstract

Reinforcement Learning (RL) has gained significant momentum in the development of network protocols. However, RL-based protocols are still in their infancy, and substantial research is required to build deployable solutions.

Show full abstract

Developing a protocol based on RL is a complex and challenging process that involves several model design decisions and requires significant training and evaluation in real and simulated network topologies. Network simulators offer an efficient training environment for RL-based protocols, because they are deterministic and can run in parallel. In this paper, we introduce \textit{RayNet}, a scalable and adaptable simulation platform for the development of RL-based network protocols. RayNet integrates OMNeT++, a fully programmable network simulator, with Ray/RLlib, a scalable training platform for distributed RL. RayNet facilitates the methodical development of RL-based network protocols so that researchers can focus on the problem at hand and not on implementation details of the learning aspect of their research. We developed a simple RL-based congestion control approach as a proof of concept showcasing that RayNet can be a valuable platform for RL-based research in computer networks, enabling scalable training and evaluation. We compared RayNet with \textit{ns3-gym}, a platform with similar objectives to RayNet, and showed that RayNet performs better in terms of how fast agents can collect experience in RL environments.

View on arXivView PDF

Code Implementations(1)

giacomoni/raynetOfficial100%
MIT
125C++, Python2 years agoMIT

Similar Papers

Cite this paper

@article{giacomoni2023raynet,
  title  = {RayNet: A Simulation Platform for Developing Reinforcement Learning-Driven Network Protocols},
  author = {Luca Giacomoni and Basil Benny and George Parisis},
  year   = {2023},
  eprint = {2302.04519},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.04519v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.04519.svg)](https://codeofpaper.com/paper/2302.04519)

Discussion