Do LLMs Understand Network Traces? A Comparative Study of Reasoning over Raw and Filtered Traffic Data
Irene Gosálvez-White, Roberto Magán-Carrión, Carlota de la Vega-Soriano, Pedro García-Teodoro
Abstract
The effective delivery and monitoring of ICT services rely heavily on network traffic analysis. However, interpreting complex packet captures remains a challenging task that requires substantial technical expertise. Large language models (LLMs) offer promising opportunities to automate network traffic in- vestigation, yet their reliability in packet-level field extraction and flow-level sequence reconstruction remains an open research question. This study proposes a reproducible, question-answering- based evaluation methodology to assess the capabilities of LLMs in network trace analysis. Using real-world benign traffic from the CICIDS2017 dataset, we evaluate multiple models against a human-generated ground truth, comparing their performance on raw textual traffic dumps and protocol-filtered representations. Model responses are assessed through an automated LLM- as-a-judge pipeline, validated against human evaluations. The results demonstrate that protocol filtering significantly reduces prompt overhead while improving answer accuracy by reducing incorrect responses. These findings highlight the importance of protocol-aware traffic filtering as an effective optimization for improving the efficiency and reliability of LLM-assisted network management.
Create a lesson
Related papers
Understanding Self-Supervised Representation Learning for Encrypted Traffic
Shared title terminology · Zongxi Liu, Shuai Mao, Jie Chuai et al.
An LLM-Driven Traffic-Control xApp for Dynamic 5G RAN Intents
Shared title terminology · Valerio Triolo, Luca Valcarenghi, Emilio Paolini
On Traffic Characterization in Time-Sensitive Networking and Deterministic Networking
Shared title terminology · Yuming Jiang
HiGAI-Net: Hierarchical Encrypted Traffic Classification for Generative AI Services
Shared title terminology · Madhan Raj Kanagarathinam, Jaheon Gu, Krishna M. Sivalingam et al.
SliceWise: Traffic-Aware Multi-Agent RL with Temporal Encoding for Joint Slice Admission and Resource Orchestration in O-RAN
Shared title terminology · Xingqi Wu, Yuhui Wang, Junaid Farooq et al.
Agentic Orchestration for SLA-Constrained Network Slicing in Programmable Mobile Data Planes
Shared title terminology · Rodrigo Moreira, Larissa Ferreira Rodrigues Moreira, Joberto S. B. Martins et al.