arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.14542cs.CRcs.LGcs.SE
收藏

Transformer模型在StackOverflow讨论中的IoT安全检测有效性

Effectiveness of Transformer Models on IoT Security Detection in StackOverflow Discussions

Ahsanullah University of Science and Technology(阿赫桑努拉科技大学)

Nibir Chandra Mandal, G. M. Shahariar, Md. Tanvir Rouf Shawon

AI总结:

针对Stack Overflow中IoT安全讨论难以识别的问题,本文构建并公开7147条人工标注的IoT Security Dataset,验证transformer跨领域迁移最高损失44%,并训练F1为0.69的领域检测器。

摘要:

物联网(IoT)是一个新兴概念,直接关联数十亿台连接到互联网的物理物品(即“物”),这些物品都在设备和系统之间收集并交换信息。然而,IoT设备在设计时并未考虑安全性,这可能导致多设备系统中出现安全漏洞。传统上,我们通过调查IoT开发者和专家来研究IoT问题。但这种技术不具备可扩展性,因为调查所有IoT开发者并不可行。另一种研究IoT问题的方法是查看主要在线开发论坛(如Stack Overflow,SO)上的IoT开发者讨论。然而,找到与IoT问题相关的讨论具有挑战性,因为这些讨论通常没有使用与IoT相关的术语进行分类。本文提出了“IoT Security Dataset”,这是一个包含7147个样本、专门聚焦IoT安全讨论的特定领域数据集。由于没有自动化工具来标注这些样本,我们对其进行了人工标注。我们进一步采用多个transformer模型来自动检测安全讨论。通过严格调查,我们发现IoT安全讨论与传统安全讨论不同,且更加复杂。我们证明,当从通用数据集“Opiner”迁移知识时,transformer模型在跨领域数据集上会出现显著性能损失(最高达44%),这支持了我们的观点。因此,我们构建了一个特定领域的IoT安全检测器,其F1-Score为0.69。我们已公开该数据集,希望开发者能够更多了解安全讨论,并促使供应商增强其对产品安全的关注。

英文摘要:

The Internet of Things (IoT) is an emerging concept that directly links to the billions of physical items, or "things", that are connected to the Internet and are all gathering and exchanging information between devices and systems. However, IoT devices were not built with security in mind, which might lead to security vulnerabilities in a multi-device system. Traditionally, we investigated IoT issues by polling IoT developers and specialists. This technique, however, is not scalable since surveying all IoT developers is not feasible. Another way to look into IoT issues is to look at IoT developer discussions on major online development forums like Stack Overflow (SO). However, finding discussions that are relevant to IoT issues is challenging since they are frequently not categorized with IoT-related terms. In this paper, we present the "IoT Security Dataset", a domain-specific dataset of 7147 samples focused solely on IoT security discussions. As there are no automated tools to label these samples, we manually labeled them. We further employed multiple transformer models to automatically detect security discussions. Through rigorous investigations, we found that IoT security discussions are different and more complex than traditional security discussions. We demonstrated a considerable performance loss (up to 44%) of transformer models on cross-domain datasets when we transferred knowledge from a general-purpose dataset "Opiner", supporting our claim. Thus, we built a domain-specific IoT security detector with an F1-Score of 0.69. We have made the dataset public in the hope that developers would learn more about the security discussion and vendors would enhance their concerns about product security.

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

↑