arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.24166cs.NE
收藏

大型语言模型中毒性检测的分布式质量-多样性搜索

Distributed Quality-Diversity Search for Toxicity in Large Language Models

Rochester Institute of Technology(罗切斯特理工学院)

Onkar Shelar, Travis Desell

AI总结:

提出ToxSearch-S方法,通过增量式物种形成和MPI并行化,在有限预算下实现与基线相当的峰值毒性,同时降低累积搜索压力,并利用分布式计算显著加速搜索。

摘要:

大型语言模型仍然容易受到引发有害响应的对抗性提示的攻击,而将红队测试扩展到覆盖广泛的故障模式受到文本生成和评估成本的限制。我们提出了\emph{ToxSearch-S},一种专注于毒性的进化提示搜索的物种化扩展,具有增量式、嵌入驱动的生态位维护,以及一个MPI主从实现,该实现将种群和物种簿记集中在rank~0上,同时将提示进化和评估卸载到$n_w$个并行工作进程。在共同预算下,ToxSearch-S达到了与ToxSearch和RainbowPlus相当的峰值毒性,同时遵循一条可测量上毒性较低的最佳轨迹,表明累积搜索压力较低。多样性是非单维的:RainbowPlus产生更大的嵌入层面分布,而ToxSearch-S将高毒性提示划分为更局部的行为簇,反映在更高的DBSCAN簇计数上。MPI分布带来了显著的挂钟时间收益,两个工作进程时约为$1.8\times$,四个工作进程时约为$3.2\times$,同时使Best@B在统计上与顺序执行无显著差异。四个工作进程的运行还产生了显著更大的最终物种基数和更多携带毒性的物种,但在全局峰值毒性上没有可靠的增益。这些结果将增量式物种形成定位为AI安全的一种实用质量-多样性机制,并将MPI定位为在保持测量搜索结果的同时压缩时间结果的有效手段。

英文摘要:

Large Language Models remain vulnerable to adversarial prompts that elicit harmful responses, and scaling red-teaming to cover a broad range of failure modes is constrained by the cost of text generation and evaluation. We present \emph{ToxSearch-S}, a speciated extension of toxicity-focused evolutionary prompt search with incremental, embedding-driven niche maintenance, together with an MPI master-worker realization that centralizes population and species bookkeeping on rank~0 while offloading prompt evolution and evaluation to $n_w$ parallel workers. Under a common budget, ToxSearch-S attains peak toxicity competitive with both ToxSearch and RainbowPlus while following a measurably less toxic best-so-far trajectory, indicating lower cumulative search pressure. Diversity is non-uni-dimensional: RainbowPlus yields greater embedding-level spread, whereas ToxSearch-S partitions high-toxicity prompts into more localized behavioral pockets, reflected by a higher DBSCAN cluster count. MPI distribution delivers substantial wall-clock gains, approximately $1.8\times$ with two workers and $3.2\times$ with four, while leaving Best@B statistically indistinguishable from sequential execution. Four-worker runs also produce significantly larger final species cardinality and more toxicity-bearing species, without a reliable gain in global peak toxicity. These results position incremental speciation as a practical quality-diversity mechanism for AI Safety and MPI as an effective means of compressing time-to-result while preserving measured search outcomes.

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

↑