arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2111.14839cs.LG
收藏

用于IoT设备中网络安全和处理数据的新型PCA类别编码器

New PCA-based Category Encoder for Cybersecurity and Processing Data in IoT Devices

PDMFC;FCT – Universidade Nova de Lisboa(新里斯本大学科学与技术学院)

Hamed Farkhari, Joseanne Viana, Luis Miguel Campos, Pedro Sebastiao, Luis Bernardo

摘要:

增加分类变量的基数可能会降低机器学习(ML)算法的整体性能。本文提出了一种新的计算预处理方法,将分类变量ML算法转换为数值变量ML算法。它使用一个有监督的二元分类器从分类值中提取额外的上下文相关特征。每个分类变量最多创建两个数值变量,具体取决于主成分分析(PCA)实现的压缩。该方法需要两个超参数:与变量中类别分布相关的阈值和PCA代表性。本文将所提出的方法应用于著名的网络安全NSLKDD数据集,选择三个分类特征并将其转换为数值特征。在选择阈值参数后,我们使用条件概率将三个分类变量转换为六个新的数值变量。之后,我们将这些数值变量馈送到PCA算法,并选择主成分(PC)的全部或部分数量。最后,通过应用二进制分类与十个不同的分类器,我们衡量新的编码器的性能,并将其与其他17个知名的类别编码器。新技术在高基数分类变量上实现了与准确性和曲线下面积(AUC)相关的最高性能。此外,我们定义了谐波平均度量,以找到最佳的权衡之间的训练和测试性能,并防止欠拟合和过拟合。最终,新创建的数值变量的数量是最小的。这种数据减少改善了未来电信网络中物联网(IoT)设备的计算处理时间。

英文摘要:

Increasing the cardinality of categorical variables might decrease the overall performance of machine learning (ML) algorithms. This paper presents a novel computational preprocessing method to convert categorical to numerical variables ML algorithms. It uses a supervised binary classifier to extract additional context-related features from the categorical values. Up to two numerical variables per categorical variable are created, depending on the compression achieved by the Principal Component Analysis (PCA). The method requires two hyperparameters: a threshold related to the distribution of categories in the variables and the PCA representativeness. This paper applies the proposed approach to the well-known cybersecurity NSLKDD dataset to select and convert three categorical features to numerical features. After choosing the threshold parameter, we use conditional probabilities to convert the three categorical variables into six new numerical variables. After that, we feed these numerical variables to the PCA algorithm and select the whole or partial numbers of the Principal Components (PCs). Finally, by applying binary classification with ten different classifiers, we measure the performance of the new encoder and compare it with the other 17 well-known category encoders. The new technique achieves the highest performance related to accuracy and Area Under the Curve (AUC) on high cardinality categorical variables. Also, we define the harmonic average metrics to find the best trade-off between train and test performances and prevent underfitting and overfitting. Ultimately, the number of newly created numerical variables is minimal. This data reduction improves computational processing time in Internet of things (IoT) devices in future telecommunication networks.

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

↑