Less is More: Simplifying Network Traffic Classification Leveraging RFCs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wickramasinghe, Nimesha, Shaghaghi, Arash, Ferrari, Elena, Jha, Sanjay
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912217616613376
author Wickramasinghe, Nimesha
Shaghaghi, Arash
Ferrari, Elena
Jha, Sanjay
author_facet Wickramasinghe, Nimesha
Shaghaghi, Arash
Ferrari, Elena
Jha, Sanjay
contents The rapid growth of encryption has significantly enhanced privacy and security while posing challenges for network traffic classification. Recent approaches address these challenges by transforming network traffic into text or image formats to leverage deep-learning models originally designed for natural language processing, and computer vision. However, these transformations often contradict network protocol specifications, introduce noisy features, and result in resource-intensive processes. To overcome these limitations, we propose NetMatrix, a minimalistic tabular representation of network traffic that eliminates noisy attributes and focuses on meaningful features leveraging RFCs (Request for Comments) definitions. By combining NetMatrix with a vanilla XGBoost classifier, we implement a lightweight approach, LiM ("Less is More") that achieves classification performance on par with state-of-the-art methods such as ET-BERT and YaTC. Compared to selected baselines, experimental evaluations demonstrate that LiM improves resource consumption by orders of magnitude. Overall, this study underscores the effectiveness of simplicity in traffic representation and machine learning model selection, paving the way towards resource-efficient network traffic classification.
format Preprint
id arxiv_https___arxiv_org_abs_2502_00586
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Less is More: Simplifying Network Traffic Classification Leveraging RFCs
Wickramasinghe, Nimesha
Shaghaghi, Arash
Ferrari, Elena
Jha, Sanjay
Cryptography and Security
Networking and Internet Architecture
The rapid growth of encryption has significantly enhanced privacy and security while posing challenges for network traffic classification. Recent approaches address these challenges by transforming network traffic into text or image formats to leverage deep-learning models originally designed for natural language processing, and computer vision. However, these transformations often contradict network protocol specifications, introduce noisy features, and result in resource-intensive processes. To overcome these limitations, we propose NetMatrix, a minimalistic tabular representation of network traffic that eliminates noisy attributes and focuses on meaningful features leveraging RFCs (Request for Comments) definitions. By combining NetMatrix with a vanilla XGBoost classifier, we implement a lightweight approach, LiM ("Less is More") that achieves classification performance on par with state-of-the-art methods such as ET-BERT and YaTC. Compared to selected baselines, experimental evaluations demonstrate that LiM improves resource consumption by orders of magnitude. Overall, this study underscores the effectiveness of simplicity in traffic representation and machine learning model selection, paving the way towards resource-efficient network traffic classification.
title Less is More: Simplifying Network Traffic Classification Leveraging RFCs
topic Cryptography and Security
Networking and Internet Architecture
url https://arxiv.org/abs/2502.00586