Skip to main navigation Skip to search Skip to main content

Ns3-Ai: Fostering Artificial Intelligence Algorithms for Networking Research

  • Hao Yin
  • , Pengyu Liu
  • , Keshu Liu
  • , Liu Cao
  • , Lytianyang Zhang
  • , Yayu Gao
  • , Xiaojun Hei
  • University of Washington
  • Huazhong University of Science and Technology

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Recently, Artificial Intelligence (AI) has achieved its momentum in various areas such as image processing and natural language processing thanks to the advances in processing speed, data acquisition and storage. Many research efforts have been exerted to apply AI to computer networking. Performance evaluation of network systems using AI techniques can be conducted using ns-3, and such studies can be facilitated if ns-3 is able to interact with the existing open-source AI frameworks. In the past year, an ns-3 extension module called ns3-gym connecting ns-3 with the OpenAI Gym toolkit has been developed, which utilizes Zero MQ sockets as an interprocess communications (IPC) mechanism. In this paper, we propose a newly designed module between ns-3 and multiple Python-based AI frameworks, namely ns3-Ai, to provide efficient and high-speed data exchange between the AI engines and ns-3. This module is built based on a shared memory implementation for IPC, which can achieve an IPC transfer speed up to 100 times faster than that of ns3-gym on a benchmark example. We also present our high-level interface design to improve the abstraction between ns-3 and different AI frameworks, and provide an example use case based on a 5G NR scenario. Our evaluation results show that this ns3-Ai framework offers performance advantages over ns3-gym, especially for the use cases where large amounts of data must be transferred between ns-3 and the AI framework. This ns-3 extension module may foster the performance evaluation of AI algorithms in computer networking research with much reduced development workload.

Original languageEnglish
Title of host publicationProceedings of the 2020 Workshop on ns-3, WNS3 2020
PublisherAssociation for Computing Machinery
Pages57-64
Number of pages8
ISBN (Electronic)9781450375375
DOIs
StatePublished - 17 Jun 2020
Externally publishedYes
Event12th Workshop on ns-3, WNS3 2020 - Gaithersburg, United States
Duration: 17 Jun 202018 Jun 2020

Publication series

NameACM International Conference Proceeding Series

Conference

Conference12th Workshop on ns-3, WNS3 2020
Country/TerritoryUnited States
CityGaithersburg
Period17/06/2018/06/20

Keywords

  • AI
  • network simulation
  • ns-3

Fingerprint

Dive into the research topics of 'Ns3-Ai: Fostering Artificial Intelligence Algorithms for Networking Research'. Together they form a unique fingerprint.

Cite this