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

缓解虚构角色角色扮演中的幻觉问题

Mitigating Hallucination in Fictional Character Role-Play

UC San Diego(加州大学圣迭戈分校);Intuit(英图伊特公司)

Nafis Sadeq, Zhouhang Xie, Byungkyu Kang, Prarit Lamba, Xiang Gao, Julian McAuley

AI总结:

本研究针对虚构角色角色扮演中LLM因参数化知识导致的人设偏离与幻觉问题,构建了含对抗性问题的大规模角色访谈数据集,提出RoleFact方法通过置信度阈值调节参数知识影响,显著提升了事实准确率并减少时间类幻觉。

摘要:

角色扮演在客户支持、具身智能体和计算社会科学领域有着广泛应用。大语言模型(LLM)的参数化世界知识带来的影响,常会导致角色扮演角色出现人设偏离,并对自身知识范围外的内容产生幻觉。本研究聚焦于虚构角色角色扮演中幻觉的评估与缓解。我们构建了一个包含2000余个角色、72000段访谈的数据集,其中含18000个对抗性问题。我们提出RoleFact角色扮演方法,该方法通过预校准的置信度阈值调节参数化知识的影响,以此缓解幻觉。实验表明,该方法将对抗性问题下生成回复的事实准确率提升了18%,在时间敏感型访谈中,时间类幻觉减少了44%。代码与数据集可在https://github.com/NafisSadeq/rolefact.git获取。

英文摘要:

Role-playing has wide-ranging applications in customer support, embodied agents, and computational social science. The influence of parametric world knowledge of large language models (LLMs) often causes role-playing characters to act out of character and to hallucinate about things outside the scope of their knowledge. In this work, we focus on the evaluation and mitigation of hallucination in fictional character role-play. We introduce a dataset with over 2,000 characters and 72,000 interviews, including 18,000 adversarial questions. We propose RoleFact, a role-playing method that mitigates hallucination by modulating the influence of parametric knowledge using a pre-calibrated confidence threshold. Experiments show that the proposed method improves the factual precision of generated responses by 18% for adversarial questions with a 44% reduction in temporal hallucination for time-sensitive interviews. The code and the dataset are available at https://github.com/NafisSadeq/rolefact.git.

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

↑