TraceCodec: A Compiler-Backed Neural Codec for Stateful Multi-Flow Network Traffic Traces
Not on the map. Why?
Abstract (arXiv)
Critical networking workflows require high-fidelity packet captures (PCAPs) for testing, security analysis, and protocol validation, not just statistical flow-level summaries. Recent packet generators have demonstrated protocol-constrained PCAP synthesis, but they universally decode directly to raw packet fields. That interface entangles learned behavioral choices with deterministic protocol consequences, which forces packet realization to depend on post-hoc heuristic repair. We identify this decode interface as the fundamental bottleneck and present TraceCodec, a state-aware neural codec for stateful multi-flow traces. TraceCodec lifts each packet into a timed packet action with explicit flow slots and transport cues, then learns a continuous per-packet latent. A deterministic compiler lowers decoded actions back to PCAPs, owning endpoint assignment, TCP state, legality constraints, and packet rendering. The latent layer exposes a generator-facing sequence space, so downstream traffic models can operate on packet-action latents rather than raw header fields. On CICIDS2017 Monday, TraceCodec matches packet count, protocol composition, and flow population to within 0.03%. Raw-field baselines under the same non-repair policy distort flow counts and TCP state by orders of magnitude. Structural diagnostics show that TraceCodec preserves TCP state transitions and multi-flow interleaving that raw-field decoders fragment. This work establishes a new foundation for high-fidelity packet-trace generation.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 37 references that are in the map. First posted on arXiv 28 May 2026.
Builds on
15 of 37 references.
References · 15
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2017Neural Discrete Representation Learningcited by 4,650
- 2021SoundStream: An End-to-End Neural Audio Codeccited by 756
- 2019Modeling Tabular data using Conditional GANcited by 695
- 2023Mixed-Type Tabular Data Synthesis with Score-based Diffusion in Latent Spacecited by 183
- 2017Deep Packet: A Novel Approach For Encrypted Traffic Classification Using Deep Learningcited by 69
- 2022ET-BERT: A Contextualized Datagram Representation with Pre-training Transformers for Encrypted Traffic Classificationcited by 66
- 2023NetDiffusion: Network Data Augmentation Through Protocol-Constrained Traffic Generationcited by 27
- 2020New Directions in Automated Traffic Analysiscited by 26
- 2024NetMamba: Efficient Network Traffic Classification via Pre-training Unidirectional Mambacited by 24
- 2025TrafficLLM: Enhancing Large Language Models for Network Traffic Analysis with Generic Traffic Representationcited by 15
- 2024Robustifying ML-powered Network Classifiers with PANTScited by 6
3 more
Built on by
Not cited yet.