arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.18460cs.CLcs.AIcs.HC
收藏

基于大型语言模型的角色扮演零样本提示用于开放域人机对话

Role-Play Zero-Shot Prompting with Large Language Models for Open-Domain Human-Machine Conversation

Avignon Université(阿维尼翁大学)

Ahmed Njifenjou, Virgile Sucal, Bassam Jabaian, Fabrice Lefèvre

AI总结:

本文提出用角色扮演零样本提示替代微调,结合多语言指令遵循LLM(Vicuna)构建开放域对话智能体,在法语两项任务中达到或超越微调模型。

摘要:

近年来,人们提出了多种方法来创建基于大型语言模型(LLMs)的开放域对话智能体。这些模型能够回答用户提问,但采用的是单向问答形式,而非真正的对话。对特定数据集进行微调是改变其风格以提升对话能力的常用方法,但这种方式成本高昂,且通常仅适用于少数语言。在本研究中,我们探索将角色扮演零样本提示作为一种高效且具有成本效益的开放域对话解决方案,使用经过指令遵循训练且具备多语言能力的LLMs(Beeching et al., 2023)。我们设计了一个提示系统,当与指令遵循模型结合时——此处为Vicuna(Chiang et al., 2023)——能够生成对话智能体,在法语的两项不同任务的人工评估中,其表现与微调模型相当甚至更优。

英文摘要:

Recently, various methods have been proposed to create open-domain conversational agents with Large Language Models (LLMs). These models are able to answer user queries, but in a one-way Q&A format rather than a true conversation. Fine-tuning on particular datasets is the usual way to modify their style to increase conversational ability, but this is expensive and usually only available in a few languages. In this study, we explore role-play zero-shot prompting as an efficient and cost-effective solution for open-domain conversation, using capable multilingual LLMs (Beeching et al., 2023) trained to obey instructions. We design a prompting system that, when combined with an instruction-following model - here Vicuna (Chiang et al., 2023) - produces conversational agents that match and even surpass fine-tuned models in human evaluation in French in two different tasks.

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

↑