arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.05993cs.LGcs.CLcs.CY
收藏

AEGIS:基于LLM专家集成的在线自适应AI内容安全审核

AEGIS: Online Adaptive AI Content Safety Moderation with Ensemble of LLM Experts

NVIDIA(英伟达)

Shaona Ghosh, Prasoon Varshney, Erick Galinkin, Christopher Parisien

AI总结:

针对现有内容安全数据集覆盖不全的问题,该研究构建了含2.6万条标注的AEGISSAFETYDATASET,微调出性能优异的安全模型,并提出带理论保障的AEGIS在线自适应集成审核框架。

摘要:

随着大语言模型(LLM)和生成式AI的普及,其使用带来的内容安全风险也随之增加。我们发现,目前严重缺乏能全面覆盖广泛关键安全领域的高质量内容安全数据集与基准。为解决这一问题,我们定义了一套涵盖13类关键风险和9类稀疏风险的广义内容安全风险分类体系。此外,我们构建了AEGISSAFETYDATASET这一新数据集,包含约26000条人类与LLM的交互实例,并配有遵循该分类体系的人工标注。我们计划向社区发布该数据集,以推动相关研究并助力LLM模型的安全性能基准测试。为验证该数据集的有效性,我们对多个基于LLM的安全模型进行了指令微调。结果表明,我们的模型(命名为AEGISSAFETYEXPERTS)不仅性能超越或可媲美当前最先进的基于LLM的安全模型和通用LLM,还在多种越狱攻击类别下表现出鲁棒性。我们还证实,在LLM对齐阶段使用AEGISSAFETYDATASET不会对对齐后模型的MT Bench得分产生负面影响。此外,我们提出了AEGIS,这是一种具有强理论保障的无遗憾在线自适应框架的新应用,可在部署时通过LLM内容安全专家集成体执行内容审核。

英文摘要:

As Large Language Models (LLMs) and generative AI become more widespread, the content safety risks associated with their use also increase. We find a notable deficiency in high-quality content safety datasets and benchmarks that comprehensively cover a wide range of critical safety areas. To address this, we define a broad content safety risk taxonomy, comprising 13 critical risk and 9 sparse risk categories. Additionally, we curate AEGISSAFETYDATASET, a new dataset of approximately 26, 000 human-LLM interaction instances, complete with human annotations adhering to the taxonomy. We plan to release this dataset to the community to further research and to help benchmark LLM models for safety. To demonstrate the effectiveness of the dataset, we instruction-tune multiple LLM-based safety models. We show that our models (named AEGISSAFETYEXPERTS), not only surpass or perform competitively with the state-of-the-art LLM-based safety models and general purpose LLMs, but also exhibit robustness across multiple jail-break attack categories. We also show how using AEGISSAFETYDATASET during the LLM alignment phase does not negatively impact the performance of the aligned models on MT Bench scores. Furthermore, we propose AEGIS, a novel application of a no-regret online adaptation framework with strong theoretical guarantees, to perform content moderation with an ensemble of LLM content safety experts in deployment

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

↑