Do LLMs Understand Network Traces? A Comparative Study of Reasoning over Raw and Filtered Traffic Data
Irene Gos\'alvez-White, Roberto Mag\'an-Carri\'on, Carlota de la Vega-Soriano, Pedro Garc\'ia-Teodoro
Key points
From the paper's conclusion- The results demonstrate that protocol filtering significantly reduces prompt overhead while improving answer accuracy by reducing incorrect responses.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- TrafficLLM: LLMs for improved open-set encrypted traffic analysisComputer Networks · 2025
- Large language models for agentic NetOps and AIOps: Architectures, evaluation, and safetyComputer Science Review · 2026
- Evaluation of local LLMs for network traffic packet analysisJournal of Cyber Security Technology · 2026
- A Comprehensive Survey on LLM‐Based Network Management and OperationsInternational Journal of Network Management · 2025
- NetAgent: Multi-Task Agentic Network Traffic Analysis Made PracticalarXiv · 2026
- Evidence-Aware LLM-Assisted Autonomous Network Security and DefenceComputers · 2026