TrafficGPT:突破令牌限制,实现高效的长流量分析与生成
TrafficGPT: Breaking the Token Barrier for Efficient Long Traffic Analysis and Generation
AI总结:
TrafficGPT利用线性注意力机制的生成式预训练,将令牌容量从512扩展到12,032,实现了长流分类的最先进性能和逼真的流量生成。
摘要:
多年来,网络流量分析与生成技术取得了显著进展。从传统的统计方法,该领域已发展到复杂的深度学习技术。这一进步提高了检测复杂模式和安全威胁的能力,以及测试和优化网络性能的能力。然而,障碍依然存在,例如分析对标注数据的依赖,以及生成符合现实模式的流量样本的困难。预训练的深度神经网络已成为解决这些问题的强大工具,通过从大型无标注数据集中学习鲁棒的数据表示,提供了改进的性能。尽管有这些优势,现有的预训练模型仍面临诸如令牌长度限制等挑战,这限制了它们在全面流量分析和现实流量生成中的实用性。为了解决这些挑战,我们引入了TrafficGPT,一种深度学习模型,能够应对与长流分类和生成任务相关的复杂挑战。该模型采用带有线性注意力机制的生成式预训练,使其容量从之前的仅512个令牌大幅增加到最多12,032个令牌。TrafficGPT在分类任务中表现出卓越的性能,达到了最先进的水平。在生成任务中,它生成的流量与真实流量流高度相似,判别生成数据的JS散度低,F1分数接近0.5(代表随机猜测)。这些进展为未来在流量分类和生成任务中的应用带来了希望。
英文摘要:
Over the years, network traffic analysis and generation have advanced significantly. From traditional statistical methods, the field has progressed to sophisticated deep learning techniques. This progress has improved the ability to detect complex patterns and security threats, as well as to test and optimize network performance. However, obstacles persist, such as the dependence on labeled data for analysis and the difficulty of generating traffic samples that follow realistic patterns. Pre-trained deep neural networks have emerged as powerful tools to resolve these issues, offering improved performance by learning robust data representations from large unlabeled datasets. Despite their benefits, existing pre-trained models face challenges like token length limitation, which restricts their usefulness in comprehensive traffic analysis and realistic traffic generation. To address these challenges, we introduce TrafficGPT, a deep learning model that can tackle complex challenges related to long flow classification and generation tasks. This model uses generative pre-training with the linear attention mechanism, which allows for a substantially increased capacity of up to 12,032 tokens from the previous limit of only 512 tokens. TrafficGPT demonstrates superior performance in classification tasks, reaching state-of-the-art levels. In generation tasks, it closely resembles real traffic flows, with low JS divergence and an F1 score close to 0.5 (representing a random guess) in discriminating generated data. These advancements hold promise for future applications in both traffic flow classification and generation tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。