arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.15838cs.CLcs.CR
收藏

SecQA:用于评估计算机安全领域大型语言模型的简洁问答数据集

SecQA: A Concise Question-Answering Dataset for Evaluating Large Language Models in Computer Security

Georgia Institute of Technology(佐治亚理工学院)

Zefang Liu

AI总结:

本文提出SecQA数据集,基于GPT-4生成的多项选择题,评估多种大型语言模型在计算机安全领域的理解与应用能力,并确立其为该领域未来研究的基准。

摘要:

本文中,我们介绍了SecQA,这是一个专门用于评估大型语言模型(LLMs)在计算机安全领域性能的新数据集。SecQA利用基于《计算机系统安全:规划成功》教材由GPT-4生成的多项选择题,旨在评估LLMs对安全原理的理解和应用能力。我们详细阐述了SecQA的结构与意图,该数据集包含两个复杂度递增的版本,以在不同难度级别上提供简洁的评估。此外,我们对包括GPT-3.5-Turbo、GPT-4、Llama-2、Vicuna、Mistral和Zephyr在内的主流LLMs进行了广泛评估,采用了0样本和5样本学习设置。我们的结果,封装在SecQA v1和v2数据集中,突显了这些模型在计算机安全语境下的不同能力与局限性。这项研究不仅提供了对LLMs在理解安全相关内容方面现状的见解,还确立了SecQA作为这一关键研究领域未来进展的基准。

英文摘要:

In this paper, we introduce SecQA, a novel dataset tailored for evaluating the performance of Large Language Models (LLMs) in the domain of computer security. Utilizing multiple-choice questions generated by GPT-4 based on the "Computer Systems Security: Planning for Success" textbook, SecQA aims to assess LLMs' understanding and application of security principles. We detail the structure and intent of SecQA, which includes two versions of increasing complexity, to provide a concise evaluation across various difficulty levels. Additionally, we present an extensive evaluation of prominent LLMs, including GPT-3.5-Turbo, GPT-4, Llama-2, Vicuna, Mistral, and Zephyr models, using both 0-shot and 5-shot learning settings. Our results, encapsulated in the SecQA v1 and v2 datasets, highlight the varying capabilities and limitations of these models in the computer security context. This study not only offers insights into the current state of LLMs in understanding security-related content but also establishes SecQA as a benchmark for future advancements in this critical research area.

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

↑