arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.03201cs.LGcs.AI
收藏

一种量化VAE-MLP僵尸网络检测模型:对量化感知训练与训练后量化策略的系统性评估

A Quantized VAE-MLP Botnet Detection Model: A Systematic Evaluation of Quantization-Aware Training and Post-Training Quantization Strategies

University of New South Wales(新南威尔士大学)

Hassan Wasswa, Hussein Abbass, Timothy Lynar

AI总结:

本文提出VAE-MLP僵尸网络检测框架,并系统评估QAT与PTQ两种量化策略,证明PTQ在保持准确率的同时实现6倍加速和21倍压缩,适用于资源受限IoT设备。

摘要:

为了应对日益增多的基于物联网(IoT)僵尸网络的攻击,最先进的深度学习方法已被提出,并取得了令人瞩目的检测准确率。然而,其计算密集性限制了它们在资源受限的IoT设备上的部署,因此迫切需要轻量级检测模型。应对这一挑战的常见解决方案是通过量化进行模型压缩。本研究提出了一种VAE-MLP模型框架,其中基于MLP的分类器在8维潜在向量上进行训练,这些潜在向量是利用预训练变分自编码器(VAE)的编码器组件从高维训练数据中导出的。随后,使用两个基准IoT僵尸网络数据集——N-BaIoT和CICIoT2022,系统评估了两种广泛使用的量化策略——量化感知训练(QAT)和训练后量化(PTQ)——在检测性能、存储效率和推理延迟方面的影响。结果表明,在检测准确率方面,QAT策略经历了更明显的下降,而PTQ与原始未量化模型相比仅产生边际性降低。此外,PTQ实现了6倍加速和21倍尺寸缩减,而QAT实现了3倍加速和24倍压缩,证明了量化在设备级IoT僵尸网络检测中的实用性。

英文摘要:

In an effort to counter the increasing IoT botnet-based attacks, state-of-the-art deep learning methods have been proposed and have achieved impressive detection accuracy. However, their computational intensity restricts deployment on resource-constrained IoT devices, creating a critical need for lightweight detection models. A common solution to this challenge is model compression via quantization. This study proposes a VAE-MLP model framework where an MLP-based classifier is trained on 8-dimensional latent vectors derived from the high-dimensional train data using the encoder component of a pretrained variational autoencoder (VAE). Two widely used quantization strategies--Quantization-Aware Training (QAT) and Post-Training Quantization (PTQ)--are then systematically evaluated in terms of their impact on detection performance, storage efficiency, and inference latency using two benchmark IoT botnet datasets--N-BaIoT and CICIoT2022. The results revealed that, with respect to detection accuracy, the QAT strategy experienced a more noticeable decline,whereas PTQ incurred only a marginal reduction compared to the original unquantized model. Furthermore, PTQ yielded a 6x speedup and 21x reduction in size, while QAT achieved a 3x speedup and 24x compression, demonstrating the practicality of quantization for device-level IoT botnet detection.

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

↑