We present a novel approach for integrating Myers-Briggs Type Indicator (MBTI) personality traits into large language models (LLMs), addressing the challenges of personality consistency in personalized AI. Our method, "Machine Mindset," involves a two-phase fine-tuning and Direct Preference Optimization (DPO) to embed MBTI traits into LLMs. This approach ensures that models internalize these traits, offering a stable and consistent personality profile. We demonstrate the effectiveness of our models across various domains, showing alignment between model performance and their respective MBTI traits. The paper highlights significant contributions in the development of personality datasets and a new training methodology for personality integration in LLMs, enhancing the potential for personalized AI applications. We also open-sourced our model and part of the data at \url{https://github.com/PKU-YuanGroup/Machine-Mindset}.
翻译:我们提出了一种将迈尔斯-布里格斯类型指标(MBTI)人格特质融入大型语言模型(LLMs)的新方法,旨在解决个性化人工智能中人格一致性的挑战。我们的方法“机器思维”(Machine Mindset)包含两阶段微调和直接偏好优化(DPO),用于将MBTI特质嵌入LLMs。该方法确保模型内化这些特质,从而提供稳定且一致的人格画像。我们在多个领域验证了模型的有效性,表明模型性能与其各自的MBTI特质之间具有一致性。本文在人格数据集开发以及LLMs人格整合的新训练方法方面做出了重要贡献,增强了个性化人工智能应用的潜力。我们已在\url{https://github.com/PKU-YuanGroup/Machine-Mindset}开源了模型及部分数据。