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

SecureRAG-RTL: 一种基于检索增强的多智能体零样本LLM驱动框架用于硬件漏洞检测

SecureRAG-RTL: A Retrieval-Augmented, Multi-Agent, Zero-Shot LLM-Driven Framework for Hardware Vulnerability Detection

School of Computing, Wichita State University(计算机科学学院,威斯康星州立大学);Department of Electrical and Computer Engineering, Auburn University(电气与计算机工程系,阿伯茨兰大学);IBM

Touseef Hasan, Blessing Airehenbuwa, Nitin Pundir, Souvika Sarkar, Ujjwal Guin

AI总结:

SecureRAG-RTL通过检索增强生成方法提升硬件漏洞检测准确率,实现30%的性能提升并公开基准数据集支持未来研究。

摘要:

大型语言模型(LLM)在自然语言处理任务中表现出显著的能力,但其在硬件安全验证中的应用仍受到公开可用硬件描述语言(HDL)数据集稀缺的限制。这一知识差距限制了LLM在检测HDL设计中的漏洞方面的性能。为了解决这一挑战,我们提出了SecureRAG-RTL,一种新颖的基于检索增强生成(RAG)的方法,显著增强了基于LLM的硬件设计安全验证能力。我们的方法整合了领域特定的检索与生成推理,使模型能够克服固有的硬件安全专业知识限制。我们通过仅使用提示的方法建立了基线漏洞检测率,然后证明SecureRAG-RTL在各种LLM架构上均实现了显著的改进,无论大小。平均而言,我们的方法将检测准确率提高了约30%,突显了其在弥合领域知识差距方面的有效性。为了评估,我们编纂并注释了一个包含14个HDL设计的真实世界安全漏洞的基准数据集,我们将公开发布该数据集以支持未来研究。这些发现突显了RAG驱动的增强在实现可扩展、高效和准确的硬件安全验证工作流程中的潜力。

英文摘要:

Large language models (LLMs) have shown remarkable capabilities in natural language processing tasks, yet their application in hardware security verification remains limited due to scarcity of publicly available hardware description language (HDL) datasets. This knowledge gap constrains LLM performance in detecting vulnerabilities within HDL designs. To address this challenge, we propose SecureRAG-RTL, a novel Retrieval-Augmented Generation (RAG)-based approach that significantly enhances LLM-based security verification of hardware designs. Our approach integrates domain-specific retrieval with generative reasoning, enabling models to overcome inherent limitations in hardware security expertise. We establish baseline vulnerability detection rates using prompt-only methods and then demonstrate that SecureRAG-RTL achieves substantial improvements across diverse LLM architectures, regardless of size. On average, our method increases detection accuracy by about 30%, highlighting its effectiveness in bridging domain knowledge gaps. For evaluation, we curated and annotated a benchmark dataset of 14 HDL designs containing real-world security vulnerabilities, which we will release publicly to support future research. These findings underscore the potential of RAG-driven augmentation to enable scalable, efficient, and accurate hardware security verification workflows.

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

↑