arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.08543cs.NI
收藏

NetDiffusion:通过协议约束流量生成实现网络数据增强

NetDiffusion: Network Data Augmentation Through Protocol-Constrained Traffic Generation

Xi Jiang, Shinan Liu, Aaron Gember-Jacobson, Arjun Nitin Bhagoji, Paul Schmitt, Francesco Bronzino, Nick Feamster

AI总结:

NetDiffusion利用扩散模型生成高保真、协议约束的合成网络流量,以增强数据集,提升统计相似性和ML性能,并兼容多种网络分析任务。

摘要:

带有标签的网络轨迹数据集对于网络中的众多机器学习(ML)任务至关重要,然而其可用性受到隐私和维护问题(如数据过时)的阻碍。为克服这一限制,合成网络轨迹通常可以增强现有数据集。遗憾的是,当前的合成轨迹生成方法通常仅生成聚合的流量统计信息或少数选定的数据包属性,并不总是足够,尤其是当模型训练依赖于仅能从数据包轨迹中获取的特征时。这一不足体现在与真实轨迹的统计相似性不足,以及在用于数据增强时ML任务性能欠佳。在本文中,我们应用扩散模型生成高分辨率的合成网络流量轨迹。我们提出了NetDiffusion,一种使用经过精细调优的、受控的Stable Diffusion模型变体来生成高保真且符合协议规范的合成网络流量的工具。我们的评估表明,由NetDiffusion生成的数据包捕获在统计相似性上能比当前最先进的方法(如基于GAN的方法)更接近真实数据,并提高ML模型性能。此外,我们的合成轨迹与常见的网络分析工具兼容,并支持多种网络任务,表明NetDiffusion可以服务于更广泛的网络分析和测试任务,超越以ML为中心的应用。

英文摘要:

Datasets of labeled network traces are essential for a multitude of machine learning (ML) tasks in networking, yet their availability is hindered by privacy and maintenance concerns, such as data staleness. To overcome this limitation, synthetic network traces can often augment existing datasets. Unfortunately, current synthetic trace generation methods, which typically produce only aggregated flow statistics or a few selected packet attributes, do not always suffice, especially when model training relies on having features that are only available from packet traces. This shortfall manifests in both insufficient statistical resemblance to real traces and suboptimal performance on ML tasks when employed for data augmentation. In this paper, we apply diffusion models to generate high-resolution synthetic network traffic traces. We present NetDiffusion, a tool that uses a finely-tuned, controlled variant of a Stable Diffusion model to generate synthetic network traffic that is high fidelity and conforms to protocol specifications. Our evaluation demonstrates that packet captures generated from NetDiffusion can achieve higher statistical similarity to real data and improved ML model performance than current state-of-the-art approaches (e.g., GAN-based approaches). Furthermore, our synthetic traces are compatible with common network analysis tools and support a myriad of network tasks, suggesting that NetDiffusion can serve a broader spectrum of network analysis and testing tasks, extending beyond ML-centric applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑