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

DiverseDialogue:一种设计具有人类相似多样性的聊天机器人的方法

DiverseDialogue: A Methodology for Designing Chatbots with Human-Like Diversity

University of Pennsylvania(宾夕法尼亚大学);National Institutes of Health(美国国立卫生研究院)

Xiaoyu Lin, Xinkai Yu, Ankit Aich, Salvatore Giorgi, Lyle Ungar

AI总结:

本文提出DiverseDialogue方法,通过基于真实人类交互特征自动优化提示,显著提升LLM模拟对话的人类相似性和语言多样性,平均特征误差降低54%。

摘要:

大型语言模型(LLMs)常被用来模拟人类用户,以评估辅导和客户服务等应用中的聊天机器人。有效的评估需要这些模拟具有高度的人类相似多样性。本文中,我们证明由GPT-4o mini生成的对话在作为模拟人类参与者时,在多个语言特征上与真实人类之间的对话存在系统性差异。这些特征包括主题变化、词汇属性,以及所用语言的平均行为和多样性(方差)。为解决这些差异,我们提出一种方法,通过纳入来自真实人类交互的特征(如年龄、性别、情绪基调和讨论主题)自动生成用于用户模拟的提示。我们使用差异语言分析结合深层语言探究来评估该方法。我们的提示优化方法针对特定语言特征进行定制,显示出显著改进。具体而言,它增强了LLM聊天机器人对话的人类相似性,提高了其语言多样性。平均而言,我们观察到人类与LLM生成对话之间的平均特征误差减少了54%。这种构建具有人类相似多样性的聊天机器人集合的方法,在改进面向用户的机器人评估过程方面具有巨大潜力。

英文摘要:

Large Language Models (LLMs), which simulate human users, are frequently employed to evaluate chatbots in applications such as tutoring and customer service. Effective evaluation necessitates a high degree of human-like diversity within these simulations. In this paper, we demonstrate that conversations generated by GPT-4o mini, when used as simulated human participants, systematically differ from those between actual humans across multiple linguistic features. These features include topic variation, lexical attributes, and both the average behavior and diversity (variance) of the language used. To address these discrepancies, we propose an approach that automatically generates prompts for user simulations by incorporating features derived from real human interactions, such as age, gender, emotional tone, and the topics discussed. We assess our approach using differential language analysis combined with deep linguistic inquiry. Our method of prompt optimization, tailored to target specific linguistic features, shows significant improvements. Specifically, it enhances the human-likeness of LLM chatbot conversations, increasing their linguistic diversity. On average, we observe a 54 percent reduction in the error of average features between human and LLM-generated conversations. This method of constructing chatbot sets with human-like diversity holds great potential for enhancing the evaluation process of user-facing bots.

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

↑