arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.10158cs.CLcs.AI
收藏

Character-LLM:一种可训练的角色扮演智能体

Character-LLM: A Trainable Agent for Role-Playing

Fudan University(复旦大学);Shanghai AI Laboratory(上海人工智能实验室)

Yunfan Shao, Linyang Li, Junqi Dai, Xipeng Qiu

AI总结:

本研究提出可训练的角色扮演智能体Character-LLM,通过编辑特定人物的档案作为训练经历,让LLM成为对应人物的模拟体,实验验证了方法的有效性,为构建人类模拟体提供参考。

摘要:

大语言模型(LLM)凭借理解人类指令并生成高质量文本的强大能力,可作为智能体模拟人类行为。这种能力促使我们探究:LLM能否以高于简单人类行为的形式模拟一个人?因此,我们的目标是训练具备特定人物的个人档案、经历与情绪状态的智能体,而非使用有限提示词来调用ChatGPT API。在本研究中,我们提出Character-LLM,用于教导LLM扮演贝多芬、克利奥帕特拉女王、尤利乌斯·恺撒等特定人物。我们的方法重点在于将人物档案编辑为特定角色的经历,并利用这些经历训练模型成为个人模拟体。为评估方法的有效性,我们构建了一个测试平台,对训练后的智能体进行访谈,评估其是否“记住”了自身的角色与经历。实验结果呈现了有趣的发现,可为未来构建人类模拟体提供助力。

英文摘要:

Large language models (LLMs) can be used to serve as agents to simulate human behaviors, given the powerful ability to understand human instructions and provide high-quality generated texts. Such ability stimulates us to wonder whether LLMs can simulate a person in a higher form than simple human behaviors. Therefore, we aim to train an agent with the profile, experience, and emotional states of a specific person instead of using limited prompts to instruct ChatGPT API. In this work, we introduce Character-LLM that teach LLMs to act as specific people such as Beethoven, Queen Cleopatra, Julius Caesar, etc. Our method focuses on editing profiles as experiences of a certain character and training models to be personal simulacra with these experiences. To assess the effectiveness of our approach, we build a test playground that interviews trained agents and evaluates whether the agents \textit{memorize} their characters and experiences. Experimental results show interesting observations that help build future simulacra of humankind.

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

↑