TrafficInstruct: A Multi-Task Network Traffic Dataset and Benchmark for Instruction Tuning
Not on the map. Why?
Abstract (arXiv)
Instruction tuning for multi-task network traffic analysis requires data with clearly defined sources, supervision targets, and evaluation conditions. We introduce TrafficInstruct, a newly collected dataset comprising raw packet captures and 55,000 structured supervised fine-tuning records across ten tasks: malware traffic detection, botnet detection, malicious DNS-over-HTTPS detection, Web attack detection, advanced persistent threat detection, encrypted VPN detection, Tor behavior detection, encrypted application/service classification, website fingerprinting, and application classification under concept drift. An automated workflow captures traffic from controlled software executions, attack experiments, and application activities. Labels are supported by task-specific collection evidence, including process or socket attribution, activity records, and execution outcomes. Filtering, sanitization, and task-specific transformations produce instructions, traffic observations, and structured answers. We verify sample sources and partition the dataset by complete collection sessions, keeping all samples from the same session within one partition. The benchmark defines allowed inputs, deterministic label mappings, fixed training/validation/test partitions, and task-wise scoring rules. We evaluate majority-class, random-forest, and ET-BERT baselines, an unadapted 27B language model, and independently trained task-specific LoRA adapters on a shared frozen base. Adapters are selected using validation data and evaluated on the corresponding test sets. Task-specific adaptation improves classification performance, supporting instruction tuning across diverse traffic-analysis tasks.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 10 of its 28 references that are in the map. Submitted 2 Nov 2026.
Builds on
10 of 28 references.
References · 10
- 2020Dos and Don'ts of Machine Learning in Computer Securitycited by 119
- 2022ET-BERT: A Contextualized Datagram Representation with Pre-training Transformers for Encrypted Traffic Classificationcited by 69
- 2017Automated Website Fingerprinting through Deep Learningcited by 23
- 2023netFound: Principled Design for Network Foundation Modelscited by 20
- 2025TrafficLLM: Enhancing Large Language Models for Network Traffic Analysis with Generic Traffic Representationcited by 17
- 2024Lens: A Knowledge-Guided Foundation Model for Network Trafficcited by 9
- 2024NetBench: A Large-Scale and Comprehensive Network Traffic Benchmark Dataset for Foundation Modelscited by 7
- 2024CICAPT-IIOT: A provenance-based APT attack dataset for IIoT environmentcited by 5
- 2025Respond to Change with Constancy: Instruction-tuning with LLM for Non-I.I.D. Network Traffic Classificationcited by 5
- 2025STAR: Semantic-Traffic Alignment and Retrieval for Zero-Shot HTTPS Website Fingerprintingcited by 3
Built on by
Not cited yet.