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

面向网络安全专家的小型语言模型

Toward Cybersecurity-Expert Small Language Models

IBM Research(IBM研究院)

Matan Levi, Daniel Ohayon, Ariel Blobstein, Ravid Sagi, Ian Molloy, Yair Allouche

AI总结:

针对网络安全领域缺乏高质量领域模型和训练数据的问题,提出CyberPal 2.0系列小型语言模型(4B-20B参数),通过SecKnowledge 2.0管道生成增强的思维链指令数据集,在多项网络安全基准测试中超越基线并匹配或超越前沿模型。

摘要:

大型语言模型(LLM)正在改变日常应用,但由于缺乏高质量、领域特定的模型和训练数据集,其在网络安全领域的部署仍然滞后。为解决这一差距,我们提出了CyberPal 2.0,一个参数范围从4B到20B的网络安全专家小型语言模型(SLM)系列。为了训练CyberPal 2.0,我们生成了一个增强的思维链网络安全指令数据集,该数据集通过我们的数据增强和格式化管道SecKnowledge 2.0构建,该管道将专家参与的推理格式引导与LLM驱动的多步基础相结合,为安全任务生成更高保真度、任务基础的推理轨迹。在多样化的网络安全基准测试中,CyberPal 2.0始终优于其基线,并匹配或超越各种开源和闭源前沿模型,同时保持其规模的一小部分。在核心网络威胁情报知识任务中,我们的模型几乎优于所有测试的前沿模型,仅次于Sec-Gemini v1。在核心威胁调查任务(例如将漏洞和错误票据与弱点相关联)中,我们最好的20B参数模型优于GPT-4o、o1、o3-mini和Sec-Gemini v1,排名第一,而我们最小的4B参数模型排名第二。

英文摘要:

Large language models (LLMs) are transforming everyday applications, yet deployment in cybersecurity lags due to a lack of high-quality, domain-specific models and training datasets. To address this gap, we present CyberPal 2.0, a family of cybersecurity-expert small language models (SLMs) ranging from 4B-20B parameters. To train CyberPal 2.0, we generate an enriched chain-of-thought cybersecurity instruction dataset built with our data enrichment and formatting pipeline, SecKnowledge 2.0, which integrates expert-in-the-loop steering of reasoning formats alongside LLM-driven multi-step grounding, yielding higher-fidelity, task-grounded reasoning traces for security tasks. Across diverse cybersecurity benchmarks, CyberPal 2.0 consistently outperforms its baselines and matches or surpasses various open and closed-source frontier models, while remaining a fraction of their size. On core cyber threat intelligence knowledge tasks, our models outperform almost all tested frontier models, ranking second only to Sec-Gemini v1. On core threat-investigation tasks, such as correlating vulnerabilities and bug tickets with weaknesses, our best 20B-parameter model outperforms GPT-4o, o1, o3-mini, and Sec-Gemini v1, ranking first, while our smallest 4B-parameter model ranks second.

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

↑