arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.08592cs.SEcs.AIcs.CL
收藏

AART:面向新型LLM驱动应用的多样化数据生成AI辅助红队测试

AART: AI-Assisted Red-Teaming with Diverse Data Generation for New LLM-powered Applications

Google Research(谷歌研究院)

Bhaktipriya Radharapu, Kevin Robinson, Lora Aroyo, Preethi Lahoti

AI总结:

本文提出AART,一种AI辅助红队测试方法,通过可定制配方自动生成多样化对抗性评估数据集,以更低人力成本在开发早期测试LLM应用安全性,并在概念覆盖率和数据质量上表现优异。

摘要:

对大型语言模型(LLMs)进行对抗性测试对于其安全且负责任地部署至关重要。我们提出了一种自动化生成对抗性评估数据集的新方法,用于测试LLM在新的下游应用上的生成安全性。我们将其称为AI辅助红队测试(AART)——一种替代当前人工红队测试工作的自动化方案。AART提供了一套可复用、可定制的数据生成与增强流水线配方,显著减少人力投入,并支持在新产品开发的更早阶段集成对抗性测试。AART生成的评估数据集在内容特征上具有高度多样性,这对有效的对抗性测试至关重要(例如敏感和有害概念,并针对广泛的文化、地理区域和应用场景)。数据生成由AI辅助配方引导,以在应用上下文中定义、界定和优先排序多样性。这输入到一个结构化的LLM生成流程中,从而扩展评估优先级。与一些最先进的工具相比,AART在概念覆盖率和数据质量方面表现出有前景的结果。

英文摘要:

Adversarial testing of large language models (LLMs) is crucial for their safe and responsible deployment. We introduce a novel approach for automated generation of adversarial evaluation datasets to test the safety of LLM generations on new downstream applications. We call it AI-assisted Red-Teaming (AART) - an automated alternative to current manual red-teaming efforts. AART offers a data generation and augmentation pipeline of reusable and customizable recipes that reduce human effort significantly and enable integration of adversarial testing earlier in new product development. AART generates evaluation datasets with high diversity of content characteristics critical for effective adversarial testing (e.g. sensitive and harmful concepts, specific to a wide range of cultural and geographic regions and application scenarios). The data generation is steered by AI-assisted recipes to define, scope and prioritize diversity within the application context. This feeds into a structured LLM-generation process that scales up evaluation priorities. Compared to some state-of-the-art tools, AART shows promising results in terms of concept coverage and data quality.

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

↑