Skip to content

Secbrain/RIDS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTSS_RIDS

avatar

Introduction

RIDS is a hardware-friendly Recurrent Neural Network (RNN) model that is co-designed with programmable switches. It includes: (i) rLearner focuses on implementing the model inference process which only depends on bitwise operations or integer additions/subtractions; (ii) rEnforcer is the specially designed pipeline enforcing rLearner-generated models inside the switches. This anonymous repository displays the corresponding source code for model implementation.

Requirements

pip install scipy
pip install numpy
pip install pandas
pip install tqdm
pip install pyecharts
pip install joblib
pip install pickle
pip install torch

Hardware:

Software:

  • Ubuntu 20.04.1 LTS
  • Python 3.7
  • DPDK 20.11
  • MoonGen/Pktgen

Packet Generator

Pipeline

avatar

Programmable Switches

The P4 implementation is stored in ./rEnforcer/.

Model Architecture

The codes for the model construction are stored in ./rLearner/ folder. Among them, there are a series of binarization operations, such as activation functions, linear layers, etc.

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published