通过种群化扩大大型语言模型毒性搜索
Diversifying Toxicity Search in Large Language Models Through Speciation
AI总结:
本文提出ToxSearch-S,通过种群化方法在大型语言模型中扩展毒性搜索,提高毒性峰值并扩大语义覆盖范围,同时在嵌入空间中形成行为差异化的niche。
摘要:
进化提示搜索是一种实用的黑盒方法,用于对大型语言模型进行红队攻击,但现有方法往往集中在少数高性能提示上,限制了不同失败模式的覆盖范围。我们提出了一种speciated质量-多样性扩展的ToxSearch,通过维护多个高毒性提示niche并行而非优化单一最佳提示。ToxSearch-S引入了无监督提示种群化方法,通过维持容量受限的种群、示例领导者、新兴niche的储备池以及物种意识的父代选择,平衡niche内利用和跨niche探索。初步结果表明,ToxSearch-S达到更高的峰值毒性(约0.73 vs. 约0.47)且尾部更重(前10名中位数0.66 vs. 0.45)。种群化还显示在主题作为物种分析下具有更广的语义覆盖(更高的有效主题多样性和更大的独特主题覆盖)。最后,形成的物种在嵌入空间中分离良好(平均分离比约1.93),并表现出不同的毒性分布,表明种群化将对抗空间划分为行为差异化的niche,而非表面词法变体。
英文摘要:
Evolutionary prompt search is a practical black-box approach for red teaming large language models, however existing methods often collapse onto a small family of high-performing prompts, limiting coverage of distinct failure modes. We present a speciated quality-diversity extension of \textit{ToxSearch} that maintains multiple high-toxicity prompt niches in parallel rather than optimizing a single best prompt. \textit{ToxSearch-S} introduces unsupervised prompt speciation via a search methodology that maintains capacity-limited species with exemplar leaders, a reserve pool for emerging niches, and species-aware parent selection that trades off within-niche exploitation and cross-niche exploration. Preliminary results show \textit{ToxSearch-S} reaching higher peak toxicity ($\approx 0.73$ vs.\ $\approx 0.47$) with a heavier tail (top-10 median $0.66$ vs.\ $0.45$) than the baseline. Speciation also yields broader semantic coverage under a topics-as-species analysis (higher effective topic diversity and larger unique topic coverage). Finally, species formed are well-separated in embedding space (mean separation ratio $\approx 1.93$) and exhibit distinct toxicity distributions, indicating that speciation partitions the adversarial space into behaviorally differentiated niches rather than superficial lexical variants.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。