Good Papers

Towards In-Network Drift-Aware Traffic Classification

A triplet-network encoder maps traffic to a latent space to classify in-distribution flows and detect drifting samples via distance to class centroids, outperforming confidence-based drift detection.

Kaiyi Zhang, Nancy Samaan, Ahmed Karmouch, Leandros Tassiulas

Published Nov 10, 2025Paper ↗

75%
OverallHighly rated
?
OverallHighly ratedVote to see the score
Readers
–

Only vote on papers you've read. Sign in to vote.

AI panel10/20reviewers recommend it
lenient 5/5
medium 4/10
strict 1/5
AI panel?Vote to see what the 20 AI reviewers said

Abstract

Recent advances in intelligent data-plane designs have enabled efficient inference of machine learning models on programmable switches using P4. However, existing solutions focus primarily on classifying traffic that belongs to previously observed classes, i.e., in-distribution traffic, and often overlook the impact of concept drift, i.e., the emergence of out-of-distribution traffic. In this paper, we propose an approach that not only accurately classifies in-distribution traffic but also detects drifting samples that deviate from known classes. Our approach leverages a triplet network to learn an encoder that maps traffic input features to a latent space where representations of the same class form compact clusters. Drifting samples are identified based on their distance to class centroids in the latent space. Experimental results on two use cases demonstrate that our method achieves superior drifting sample detection performance compared to confidence-based schemes, while maintaining comparable in-distribution classification accuracy.