pForest: In-Network Inference with Random Forests

09/12/2019
by   Coralie Busse-Grawitz, et al.
0

The concept of "self-driving networks" has recently emerged as a possible solution to manage the ever-growing complexity of modern network infrastructures. In a self-driving network, network devices adapt their decisions in real-time by observing network traffic and by performing in-line inference according to machine learning models. The recent advent of programmable data planes gives us a unique opportunity to implement this vision. One open question though is whether these devices are powerful enough to run such complex tasks? We answer positively by presenting pForest, a system for performing in-network inference according to supervised machine learning models on top of programmable data planes. The key challenge is to design classification models that fit the constraints of programmable data planes (e.g., no floating points, no loops, and limited memory) while providing high accuracy. pForest addresses this challenge in three phases: (i) it optimizes the features selection according to the capabilities of programmable network devices; (ii) it trains random forest models tailored for different phases of a flow; and (iii) it applies these models in real time, on a per-packet basis. We fully implemented pForest in Python (training), and in P4_16 (inference). Our evaluation shows that pForest can classify traffic at line rate for hundreds of thousands of flows, with an accuracy that is on-par with software-based solutions. We further show the practicality of pForest by deploying it on existing hardware devices (Barefoot Tofino).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/18/2022

Automating In-Network Machine Learning

Using programmable network devices to aid in-network machine learning ha...
research
09/04/2020

Running Neural Networks on the NIC

In this paper we show that the data plane of commodity programmable (Net...
research
02/12/2020

Taurus: An Intelligent Data Plane

Emerging applications – cloud computing, the internet of things, and aug...
research
04/13/2021

In-Network Volumetric DDoS Victim Identification Using Programmable Commodity Switches

Volumetric distributed Denial-of-Service (DDoS) attacks have become one ...
research
11/29/2020

Short-Term Flow-Based Bandwidth Forecasting using Machine Learning

This paper proposes a novel framework to predict traffic flows' bandwidt...
research
05/29/2020

Programmable In-Network Obfuscation of Traffic

Recent advances in programmable switch hardware offer a fresh opportunit...
research
08/15/2018

Temporal Phase Shifts in SCADA Networks

In Industrial Control Systems (ICS/SCADA), machine to machine data traff...

Please sign up or login with your details

Forgot password? Click here to reset