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

黑暗的崛起:角色扮演对话代理中的安全-效用权衡

The Rise of Darkness: Safety-Utility Trade-Offs in Role-Playing Dialogue Agents

Institute of Computing and Intelligence, Harbin Institute of Technology(哈尔滨工业大学计算与智能学院);Baidu Inc.(百度公司);College of Intelligence and Computing, Tianjin University(天津大学智能与计算学院)

Yihong Tang, Kehai Chen, Xuefeng Bai, Zhengyu Niu, Bo Wang, Jie Liu, Min Zhang

AI总结:

针对角色扮演对话代理中安全与效用的权衡问题,提出自适应动态多偏好方法,动态调整偏好并引入耦合边际采样,在保持效用的同时提升安全性。

摘要:

大型语言模型(LLMs)在角色扮演对话代理方面取得了显著进展,展示了其在角色模拟中的效用。然而,这些代理在平衡角色扮演效用与内容安全方面仍然面临挑战,因为这种基本的角色模拟往往伴随着生成不安全内容的风险。为了解决这个问题,我们首先对多个LLM进行了安全-效用权衡的系统性探索。我们的分析揭示,由反派角色和用户查询创造的风险场景(称为风险耦合)导致了这种权衡。在此基础上,我们提出了一种新颖的自适应动态多偏好(ADMP)方法,该方法根据风险耦合的程度动态调整安全-效用偏好,并引导模型生成偏向效用或安全的响应。我们进一步将耦合边际采样(CMS)引入耦合检测中,以增强模型处理高风险场景的能力。实验结果表明,我们的方法在保持效用的同时提高了安全指标。

英文摘要:

Large Language Models (LLMs) have made remarkable advances in role-playing dialogue agents, demonstrating their utility in character simulations. However, it remains challenging for these agents to balance character portrayal utility with content safety because this essential character simulation often comes with the risk of generating unsafe content. To address this issue, we first conduct a systematic exploration of the safety-utility trade-off across multiple LLMs. Our analysis reveals that risk scenarios created by villain characters and user queries (referred to as risk coupling) contribute to this trade-off. Building on this, we propose a novel Adaptive Dynamic Multi-Preference (ADMP) method, which dynamically adjusts safety-utility preferences based on the degree of risk coupling and guides the model to generate responses biased toward utility or safety. We further introduce Coupling Margin Sampling (CMS) into coupling detection to enhance the model's ability to handle high-risk scenarios. Experimental results demonstrate that our approach improves safety metrics while maintaining utility.

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

↑