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

通过攻击性查询增强角色扮演系统:评估与改进

Enhancing Role-playing Systems through Aggressive Queries: Evaluation and Improvement

Yihong Tang, Jiao Ou, Che Liu, Fuzheng Zhang, Di Zhang, Kun Gai

AI总结:

本文提出MORTISE框架生成角色相关攻击性查询并构建RoleAD对抗数据集,评估发现现有角色扮演LLM角色对齐不足,而对抗训练可有效改进并具一定泛化性。

摘要:

大语言模型(LLM)的出现将对话生成推向了新的领域,尤其是在角色扮演系统(RPS)领域。尽管现有的基于LLM的RPS通过普通的角色相关训练对话得到了增强,但在边界场景中处理复杂且带有陷阱的查询时,它们仍难以与角色保持一致。本文设计了模块化编排式陷阱设置交互系统(Modular ORchestrated Trap-setting Interaction SystEm,MORTISE),以基准测试并改进角色扮演LLM的性能。MORTISE能够通过多个基于LLM的模块协同工作,生成与角色高度相关的攻击性查询,并通过一致性响应生成器构造相应响应,从而创建对抗训练数据集。我们选取190个中英文角色来构造攻击性查询,以对现有角色扮演LLM进行基准测试。通过全面评估,我们发现现有模型在角色对齐能力方面普遍存在不足。我们进一步选取其中180个角色收集对抗训练数据集(命名为RoleAD),并保留其余10个角色用于测试。在经RoleAD改进的模型上进行的实验表明,我们的对抗数据集缓解了这一不足,并且这些改进在普通场景中表现出一定程度的泛化能力。

英文摘要:

The advent of Large Language Models (LLMs) has propelled dialogue generation into new realms, particularly in the field of role-playing systems (RPSs). While enhanced with ordinary role-relevant training dialogues, existing LLM-based RPSs still struggle to align with roles when handling intricate and trapped queries in boundary scenarios. In this paper, we design the Modular ORchestrated Trap-setting Interaction SystEm (MORTISE) to benchmark and improve the role-playing LLMs' performance. MORTISE can produce highly role-relevant aggressive queries through the collaborative effort of multiple LLM-based modules, and formulate corresponding responses to create an adversarial training dataset via a consistent response generator. We select 190 Chinese and English roles to construct aggressive queries to benchmark existing role-playing LLMs. Through comprehensive evaluation, we find that existing models exhibit a general deficiency in role alignment capabilities. We further select 180 of the roles to collect an adversarial training dataset (named RoleAD) and retain the other 10 roles for testing. Experiments on models improved by RoleAD indicate that our adversarial dataset ameliorates this deficiency, with the improvements demonstrating a degree of generalizability in ordinary scenarios.

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

↑