Neural Packet Classification

02/27/2019
by   Eric Liang, et al.
0

Packet classification is a fundamental problem in computer networking. This problem exposes a hard tradeoff between the computation and state complexity, which makes it particularly challenging. To navigate this tradeoff, existing solutions rely on complex hand-tuned heuristics, which are brittle and hard to optimize. In this paper, we propose a deep reinforcement learning (RL) approach to solve the packet classification problem. There are several characteristics that make this problem a good fit for Deep RL. First, many of the existing solutions are iteratively building a decision tree by splitting nodes in the tree. Second, the effects of these actions (e.g., splitting nodes) can only be evaluated once we are done with building the tree. These two characteristics are naturally captured by the ability of RL to take actions that have sparse and delayed rewards. Third, it is computationally efficient to generate data traces and evaluate decision trees, which alleviate the notoriously high sample complexity problem of Deep RL algorithms. Our solution, NeuroCuts, uses succinct representations to encode state and action space, and efficiently explore candidate decision trees to optimize for a global objective. It produces compact decision trees optimized for a specific set of rules and a given performance metric, such as classification time, memory footprint, or a combination of the two. Evaluation on ClassBench shows that NeuroCuts outperforms existing hand-crafted algorithms in classification time by 18 the median, and reduces both time and memory footprint by up to 3x.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/12/2015

Efficient non-greedy optimization of decision trees

Decision trees and randomized forests are widely used in computer vision...
research
06/15/2020

Generalized Optimal Sparse Decision Trees

Decision tree optimization is notoriously difficult from a computational...
research
05/16/2022

Many Field Packet Classification with Decomposition and Reinforcement Learning

Scalable packet classification is a key requirement to support scalable ...
research
12/07/2017

End-to-end Learning of Deterministic Decision Trees

Conventional decision trees have a number of favorable properties, inclu...
research
06/25/2020

The Max-Cut Decision Tree: Improving on the Accuracy and Running Time of Decision Trees

Decision trees are a widely used method for classification, both by them...
research
05/17/2022

Multibit Tries Packet Classification with Deep Reinforcement Learning

High performance packet classification is a key component to support sca...
research
04/23/2022

A Novel Splitting Criterion Inspired by Geometric Mean Metric Learning for Decision Tree

Decision tree (DT) attracts persistent research attention due to its imp...

Please sign up or login with your details

Forgot password? Click here to reset