arXivDaily arXiv每日学术速递 周一至周五更新
​通知:联邦节假日调休:哥伦布日 / 原住民日(Columbus Day / Indigenous Peoples' Day),今日(13日)无更新。
arXiv 2407.17075cs.CL

SAFETY-J:基于批评的安全性评估

SAFETY-J: Evaluating Safety with Critique

Shanghai Jiao Tong University(上海交通大学);Generative AI Research Lab (GAIR)(生成式人工智能研究实验室(GAIR));Huawei Technologies Ltd.(华为技术有限公司);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Yixiu Liu, Yuxiang Zheng, Shijie Xia, Jiajun Li, Yi Tu, Chaoling Song, Pengfei Liu

AI总结:

针对大语言模型内容安全评估缺乏详细批评、透明度不足的问题,提出支持中英双语、基于批评判断的生成式安全评估器SAFETY-J,搭配自动化元评估基准和迭代偏好学习,实现更细致准确的安全评估并开源相关资源。

摘要:

大语言模型(LLM)在内容生成中的部署引发了重大的安全担忧,尤其是在内容评估的透明度和可解释性方面。当前方法主要聚焦于二元安全分类,缺乏提供详细批评的机制,限制了其在模型改进和用户信任方面的效用。为解决这些局限,我们提出了SAFETY-J,这是一款支持中英文的双语生成式安全评估器,采用基于批评的判断方式。SAFETY-J使用了包含多样对话和增强型查询-响应对的稳健训练数据集,可全面评估多种场景下的安全性。我们构建了一个自动化元评估基准,能以最少的人工干预客观评估批评质量,助力可扩展的持续改进。此外,SAFETY-J采用迭代偏好学习技术,基于元评估结果和批评动态优化安全评估。我们的评估表明,SAFETY-J能提供更细致、更准确的安全评估,从而在复杂内容场景中提升批评质量和预测可靠性。为推动进一步研究与应用,我们已在https://github.com/GAIR-NLP/Safety-J开源了SAFETY-J的训练方案、数据集和代码。

英文摘要:

The deployment of Large Language Models (LLMs) in content generation raises significant safety concerns, particularly regarding the transparency and interpretability of content evaluations. Current methods, primarily focused on binary safety classifications, lack mechanisms for detailed critique, limiting their utility for model improvement and user trust. To address these limitations, we introduce SAFETY-J, a bilingual generative safety evaluator for English and Chinese with critique-based judgment. SAFETY-J utilizes a robust training dataset that includes diverse dialogues and augmented query-response pairs to assess safety across various scenarios comprehensively. We establish an automated meta-evaluation benchmark that objectively assesses the quality of critiques with minimal human intervention, facilitating scalable and continuous improvement. Additionally, SAFETY-J employs an iterative preference learning technique to dynamically refine safety assessments based on meta-evaluations and critiques. Our evaluations demonstrate that SAFETY-J provides more nuanced and accurate safety evaluations, thereby enhancing both critique quality and predictive reliability in complex content scenarios. To facilitate further research and application, we open-source SAFETY-J's training protocols, datasets, and code at https://github.com/GAIR-NLP/Safety-J.

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

↑