Skip to content
Conference Open access

Improving Network Traffic Classification Using Metadata

Oct 2026 · 2026 22nd International Conference on Wireless and Mobile Computing, Networking and Communications (WiMob) · pp. 1-6 · 0 citations · 20 references

Abstract

Internet traffic classification has attracted increasing attention in the past decade, and deep learning has delivered strong classification performance. The significant effort required to obtain labeled datasets has motivated research to focus on few-shot learning, where only a few labeled samples per class are available. FlowPic, a solution based on visualization of the statistics of packet sizes and arrival times, emerged as a leading solution for both supervised and few-shot learning. However, most existing approaches rely solely on per-flow packet statistics, and therefore miss complementary context from the Internet routing layer. We propose a multimodal traffic-classification framework that augments FlowPic-based representations with the destination ASN, without requiring additional traffic labels. We fuse the BGP2Vec ASN embedding with FlowPic representations within a contrastive-learning pipeline (SimCLR) that leverages domain-specific traffic augmentations, enabling the model to learn a joint representation that captures both flow dynamics and server context. Experiments on the UNB ISCX dataset show that incorporating ASN context consistently improves classification accuracy and yields an average gain of 8-12 percentage points in few-shot regimes compared to prior FlowPic-based baselines, reaching over 90% accuracy with only 10 shots per label. The improvement remains statistically significant across the evaluated shot counts.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.