2026-li-trafficinstruct-multi-task-network
TrafficInstruct: A Multi-Task Network Traffic Dataset and Benchmark for Instruction Tuning
canonical link → · arxiv: 2611.03319
2026-li-trafficinstruct-multi-task-network
canonical link → · arxiv: 2611.03319
findings extracted from this paper
TrafficInstruct evaluates majority-class, random-forest, ET-BERT, an unadapted 27B language model (Qwen3.8-27B), and task-specific LoRA adapters (trained 10 epochs, batch 32, lr 2×10⁻⁵, max 512 tokens) on a shared frozen base across ten traffic classification tasks including VPN detection, Tor behavior detection, and website fingerprinting; task-specific adaptation improves Macro-F1 over the unadapted 27B baseline on all tasks.
The malicious DNS-over-HTTPS detection task classifies iodine, dns2tcp, and dnscat2 tunnel traffic across 12 scripted behaviors (heartbeats, polling, staged uploads, bidirectional sessions, large transfers) using 166 statistical features per bidirectional flow extracted by a fixed feature extractor without a configured packet-count threshold (13 packets is a reported observed minimum, not an admission gate).
The Tor behavior detection collection configured all Tor clients to use Snowflake bridges, meaning the dataset's 'Tor' label class captures Snowflake-tunneled Tor traffic. A classifier trained on these flows would associate the Snowflake WebRTC signaling and DTLS/SRTP profile with the Tor-Normal classification boundary.
TrafficInstruct's encrypted VPN and Tor behavior detection tasks use flow-level features (packet lengths, directions, relative times, header fields) while explicitly omitting SNI, domain names, endpoint identifiers, and raw payloads. This demonstrates that VPN and Tor traffic can be classified into 18 and 12 activity categories respectively using statistical features alone, without application-layer identifiers.
The website fingerprinting task identifies 50 monitored HTTPS websites from Chromium visit Traces using inter-packet intervals and direction-encoded IP-packet lengths (up to 512 packet events and 128 bursts per trace), distinguishing monitored sites from visits to 100 unknown domains. Summary statistics over the complete trace supplement the truncated event sequence.