超越语法:安全专家是否信任大语言模型进行NIDS规则工程? Beyond the Syntax: Do Security Experts Trust LLMs for NIDS Rule Engineering? 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-07-07
👁️ 预览文献
💡 AI 中文简介
本研究探讨安全专家是否信任大语言模型(LLM)自动生成网络入侵检测系统(NIDS)规则。作者构建了一个基于LLM的规则生成框架,并邀请10位领域专家进行用户研究。结果发现一个“语法-语义悖论”:LLM生成的规则语法正确,但特异性低,12%存在逻辑幻觉,专家认为只能部分部署。系统可用性SUS得分为67,专家更倾向于将LLM视为辅助起草和验证的工具,而非独立生成器。统计还表明,参数量≥70B的大模型能稳定生成语法有效的规则,而≤4B的小模型基本无效。
领域网络安全与人工智能交叉,具体为LLM在NIDS规则生成中的应用
适合谁读需要一定网络安全和LLM背景的读者,领域专家可深入理解
核心贡献1. 首次通过用户研究揭示LLM生成NIDS规则时的语法-语义悖论;2. 提出并验证了以人为中心的LLM规则生成框架,明确了专家对LLM自主能力的信任边界。
关键数据SUS得分67;12%的规则存在逻辑幻觉;大模型(≥70B)能稳定生成语法有效规则,小模型(≤4B)基本无效;10位专家参与评估。
推荐理由如果你关心AI在网络安全中到底能做什么、不能做什么,这篇来自一线专家的人因研究给出了清醒的答案。
关键词["大语言模型", "网络入侵检测", "规则工程", "人机交互", "用户研究", "语法-语义悖论"]

原文摘要

查看英文原文摘要

As network threats evolve, manual NIDS rule engineering has become a critical operational bottleneck. While Large Language Models (LLMs) show promise for automating this process, their ability to produce production-ready rules remains unvalidated. This paper presents a human-centered investigation into LLM-based NIDS rule engineering, formalizing a grounded generation framework and evaluating it through a user study with 10 domain experts. Our evaluation reveals a syntax-semantics paradox: although LLMs generate syntactically correct rules, experts find them only partially deployable due to low specificity and logic hallucinations in 12% of cases. While the system received a favorable SUS score of 67, practitioners remain skeptical of its autonomous capabilities, viewing LLMs as support tools for drafting and verification rather than independent generators. Finally, our statistical analysis indicates that while large-scale models ($\geq 70B$) consistently produce syntactically valid rules, small models ($\leq 4B$) are largely ineffective for IDS rule generation.