arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.00408cs.NIcs.ARcs.LG
收藏

Inference-to-complete:面向神经网络驱动的流量分析的高性能可编程数据面协处理器

Inference-to-complete: A High-performance and Programmable Data-plane Co-processor for Neural-network-driven Traffic Analysis

National University of Defense Technology(国防科技大学);Peking University(北京大学)

Dong Wen, Zhongpei Liu, Tong Yang, Tao Li, Tianyun Li, Chenglong Li, Jie Li, Zhigang Sun

AI总结:

针对现有神经网络驱动智能数据面无法兼顾灵活性、低延迟高吞吐与数据面无感知性的问题,本文提出位于数据面旁路的协处理器Kaleidoscope,通过三项关键技术实现设计目标,实验验证其性能与准确率均达先进水平。

摘要:

神经网络驱动的智能数据面(NN-driven IDP)凭借出色的准确率与高性能正成为新兴研究方向。我们认为NN-driven IDP应满足三大设计目标:支持各类神经网络模型的灵活性、低延迟高吞吐的推理性能,以及不损害性能与功能的数据面无感知性。遗憾的是,现有工作要么为适配数据面对神经网络过度修改,要么在数据面中插入内嵌流水线加速器,无法满足灵活性与无感知性目标。\n本文提出Kaleidoscope——一种位于数据面旁路的灵活高性能协处理器。为实现三大设计目标,本文提出三项关键技术:开发可编程的运行至完成加速器以实现灵活推理;为进一步提升性能,设计可扩展推理引擎,可为小鼠流完成低延迟、低开销的推理,同时为大象流执行高精度的复杂神经网络推理;最后引入基于原始字节的神经网络,助力实现无感知性。我们在FPGA与ASIC库上均实现了Kaleidoscope原型。在6种神经网络模型上的评估显示,Kaleidoscope推理延迟达256-352纳秒,吞吐量达100 Gbps,且对数据面的影响可忽略不计。板载测试的神经网络在同类NN-driven IDP中准确率达到最优水平,彰显了灵活性对提升流量分析准确率的显著作用。

英文摘要:

Neural-networks-driven intelligent data-plane (NN-driven IDP) is becoming an emerging topic for excellent accuracy and high performance. Meanwhile we argue that NN-driven IDP should satisfy three design goals: the flexibility to support various NNs models, the low-latency-high-throughput inference performance, and the data-plane-unawareness harming no performance and functionality. Unfortunately, existing work either over-modify NNs for IDP, or insert inline pipelined accelerators into the data-plane, failing to meet the flexibility and unawareness goals. In this paper, we propose Kaleidoscope, a flexible and high-performance co-processor located at the bypass of the data-plane. To address the challenge of meeting three design goals, three key techniques are presented. The programmable run-to-completion accelerators are developed for flexible inference. To further improve performance, we design a scalable inference engine which completes low-latency and low-cost inference for the mouse flows, and perform complex NNs with high-accuracy for the elephant flows. Finally, raw-bytes-based NNs are introduced, which help to achieve unawareness. We prototype Kaleidoscope on both FPGA and ASIC library. In evaluation on six NNs models, Kaleidoscope reaches 256-352 ns inference latency and 100 Gbps throughput with negligible influence on the data-plane. The on-board tested NNs perform state-of-the-art accuracy among other NN-driven IDP, exhibiting the the significant impact of flexibility on enhancing traffic analysis accuracy.

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

↑