arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.21116cs.NI
收藏

Synecdoche: 通过直接的数据平面包序列模式匹配实现高效准确的网络流量分类

Synecdoche: Efficient and Accurate In-Network Traffic Classification via Direct Packet Sequential Pattern Matching

Beihang University(北京航空航天大学)

Minyuan Xiao, Yunchun Li, Yuchen Zhao, Tong Guan, Mingyuan Xia, Wei Li

AI总结:

Synecdoche通过离线发现和在线匹配的范式,在可编程数据平面实现高效准确的流量分类,提升准确性并减少资源消耗。

摘要:

在可编程数据平面上的流量分类具有巨大的潜力,用于线速处理,方法从单包分析发展到流级分析以提高准确性。然而,准确性和效率之间仍存在权衡。基于统计特征的方法符合硬件约束,但往往准确性有限,而使用包序列特征的在线深度学习方法虽然准确性更高,但需要大量计算资源。本文提出了Synecdoche,这是首个成功在可编程数据平面部署包序列特征的流量分类框架,通过模式匹配实现高准确性和效率。我们的关键见解是,判别信息集中在短子序列中——称为关键片段——这些片段作为紧凑的流量特征,用于高效的 数据平面匹配。Synecdoche采用“离线发现、在线匹配”的范式:深度学习模型在离线阶段自动发现关键片段模式,然后将其编译成优化的表项用于直接的数据平面匹配。广泛的实验表明,Synecdoche在准确性上优于统计方法,将F1分数提高高达26.4%,相比在线深度学习方法提高18.3%,同时将延迟降低13.0%,并实现SRAM使用量的79.2%减少。Synecdoche的源代码已公开,以促进可重复性和进一步研究。

英文摘要:

Traffic classification on programmable data plane holds great promise for line-rate processing, with methods evolving from per-packet to flow-level analysis for higher accuracy. However, a trade-off between accuracy and efficiency persists. Statistical feature-based methods align with hardware constraints but often exhibit limited accuracy, while online deep learning methods using packet sequential features achieve superior accuracy but require substantial computational resources. This paper presents Synecdoche, the first traffic classification framework that successfully deploys packet sequential features on a programmable data plane via pattern matching, achieving both high accuracy and efficiency. Our key insight is that discriminative information concentrates in short sub-sequences--termed Key Segments--that serve as compact traffic features for efficient data plane matching. Synecdoche employs an "offline discovery, online matching" paradigm: deep learning models automatically discover Key Segment patterns offline, which are then compiled into optimized table entries for direct data plane matching. Extensive experiments demonstrate Synecdoche's superior accuracy, improving F1-scores by up to 26.4% against statistical methods and 18.3% against online deep learning methods, while reducing latency by 13.0% and achieving 79.2% reduction in SRAM usage. The source code of Synecdoche is publicly available to facilitate reproducibility and further research.

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

↑