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

基于大语言模型的人格动态生成

Dynamic Generation of Personalities with Large Language Models

Beijing University of Posts and Telecommunications(北京邮电大学);HKUST(香港科技大学)

Jianzhi Liu, Hexiang Gu, Tianyu Zheng, Liuyu Xiang, Huijia Wu, Jie Fu, Zhaofeng He

AI总结:

本文提出基于 Hypernetworks 的 DPG 方法,通过 GPT-4 与大五人格理论构建自动人格评估和数据集,并证明其微调后人格生成能力优于传统方法及提示式 GPT-4。

摘要:

在模拟人类审慎思考这一领域,大语言模型(LLM)展现出富有前景的性能,从而提升了这一研究领域的重要性。审慎思考同时受到逻辑与人格的影响。然而,以往研究主要关注 LLM 的逻辑,忽视了对人格方面的探索。在本工作中,我们提出 Dynamic Personality Generation(DPG),这是一种基于 Hypernetworks 的动态人格生成方法。首先,我们将大五人格理论嵌入 GPT-4,构建一台人格评估机器,使其能够从对话中自动评估角色的人格特质。基于该评估方法,我们提出了一项用于评估人格生成能力的新指标。随后,我们使用这台人格评估机器评估剧本数据中的对话,得到一个人格—对话数据集。最后,我们在该人格—对话数据集上微调 DPG。实验证明,在该数据集上微调后,DPG 的人格生成能力强于传统微调方法,并超过了基于提示的 GPT-4。

英文摘要:

In the realm of mimicking human deliberation, large language models (LLMs) show promising performance, thereby amplifying the importance of this research area. Deliberation is influenced by both logic and personality. However, previous studies predominantly focused on the logic of LLMs, neglecting the exploration of personality aspects. In this work, we introduce Dynamic Personality Generation (DPG), a dynamic personality generation method based on Hypernetworks. Initially, we embed the Big Five personality theory into GPT-4 to form a personality assessment machine, enabling it to evaluate characters' personality traits from dialogues automatically. We propose a new metric to assess personality generation capability based on this evaluation method. Then, we use this personality assessment machine to evaluate dialogues in script data, resulting in a personality-dialogue dataset. Finally, we fine-tune DPG on the personality-dialogue dataset. Experiments prove that DPG's personality generation capability is stronger after fine-tuning on this dataset than traditional fine-tuning methods, surpassing prompt-based GPT-4.

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

↑