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

基于学习的自动化对抗红队测试用于大型语言模型的鲁棒性评估

Learning-Based Automated Adversarial Red-Teaming for Robustness Evaluation of Large Language Models

Independent Researcher(独立研究者);Hunan University(湖南大学);Shenzhen Kaihong Digital Industry Development Co., Ltd.(深圳凯鸿数字产业开发有限公司);Central University of Finance and Economics(中央财经大学);Chongqing University(重庆大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Stevens Institute of Technology(斯蒂文斯理工学院);Cornell University(康奈尔大学);Oak Ridge National Laboratory(橡树岭国家实验室);Zhengzhou University of Light Industry(郑州轻工业大学);Xidian University(西安电子科技大学);The University of Texas at Dallas(德克萨斯大学达拉斯分校);AI Safety Research Lab, Institute of Advanced Computing(高级计算研究所人工智能安全研究实验室);University of Malaya(马来亚大学);Emory University(埃默里大学);Department of Nephrology, Affiliated Hospital of Guangdong Medical University(广东医学院附属医院肾内科)
Zhang Wei, Hanxuan Chen, Peilu Hu, Zhenyuan Wei, Chenwei Liang, Jiayi Gu, Wenqian Weng, Jacqueline Pang, Hao Yan, Li Mei, Shengning Lang, Kuan Lu, Xi Xiao, Zhim… 展开作者

Zhang Wei, Hanxuan Chen, Peilu Hu, Zhenyuan Wei, Chenwei Liang, Jiayi Gu, Wenqian Weng, Jacqueline Pang, Hao Yan, Li Mei, Shengning Lang, Kuan Lu, Xi Xiao, Zhimo Han, Yijin Wang, Yichao Zhang, Chen Yang, Zhenyu Yu, Riyang Bao, Xinyuan Song, Junfeng Hao, Mu-Jiang-Shan Wang

AI总结:

本文提出一种学习驱动的自动化红队测试框架,用于高效发现大型语言模型的漏洞,通过元提示引导的对抗性提示生成和分层执行检测流程,在六个威胁类别中实现标准化评估,实验发现47个漏洞,包括21个高严重性失败和12种新攻击模式。

摘要:

随着大型语言模型(LLMs)在安全关键应用中的日益普及,系统性评估其对对抗行为的鲁棒性提出了根本性挑战。现有红队测试实践大多手动且依赖专家,限制了在高维提示空间中的可扩展性、可重复性和覆盖范围。我们将其自动化LLM红队测试建模为结构化的对抗搜索问题,并提出一种学习驱动的框架用于可扩展的漏洞发现。该方法结合元提示引导的对抗性提示生成与分层执行和检测流程,能够在六个代表性的威胁类别中实现标准化评估,包括奖励黑客、欺骗对齐、数据外泄、沙盒测试、不适当工具使用和思维链操纵。在GPT-OSS-20B上的大量实验识别出47个漏洞,包括21个高严重性失败和12种此前未记录的攻击模式。与在匹配查询预算下的手动红队测试相比,我们的方法在发现率上提高了3.9倍,检测准确率达到89%,证明了其在大规模鲁棒性评估中的优越性。

英文摘要:

Red-teaming is becoming a central part of large language model (LLM) safety evaluation, yet current practice still relies heavily on expert-written prompts or fixed benchmark suites. This creates a gap between what is easy to test and what deployed models can actually do: failures may be rare, context-sensitive, and distributed across many threat categories. We study automated red-teaming as a constrained adversarial search problem and introduce a learning-driven framework that couples category-aware attack generation with hierarchical vulnerability detection. The method starts from curated safety seeds, expands them through meta-prompt-guided and evolutionary search, and scores the resulting prompt--response pairs with lexical, semantic, and behavioral detectors. Across six threat categories on GPT-OSS-20B, the framework discovers 47 validated vulnerabilities, including 21 high-severity cases and 12 novel attack patterns. Under matched query budgets, it achieves a 3.9$\times$ higher discovery rate than manual expert red-teaming while maintaining 89\% detection accuracy and full category coverage. Ablations show that the gains do not come from more prompts alone: diversity constraints prevent template collapse, coverage constraints prevent category blind spots, and semantic detection recovers failures missed by lexical rules. These results suggest that red-teaming can be made more scalable and reproducible when treated as adaptive search rather than as a static checklist.

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

↑