Saved in:
Bibliographic Details
Main Authors: Ji, Ke, Lian, Yixin, Li, Linxu, Gao, Jingsheng, Li, Weiyuan, Dai, Bin
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.17662
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916661718679552
author Ji, Ke
Lian, Yixin
Li, Linxu
Gao, Jingsheng
Li, Weiyuan
Dai, Bin
author_facet Ji, Ke
Lian, Yixin
Li, Linxu
Gao, Jingsheng
Li, Weiyuan
Dai, Bin
contents In recent years, large language models (LLMs) have achieved breakthrough progress in many dialogue generation tasks. However, their lack of emotion and fine-grained role awareness limits the model's ability to provide personalized and diverse interactions further. Current methods face high costs in collecting high-quality annotated data for scenarios such as role-playing, and traditional human alignment methods are difficult to deploy due to the inherent diversity of model behavior in role-playing scenarios. Inspired by the alignment of models for safety behaviors through RLHF (Reinforcement Learning from Human Feedback), in this paper, we revisit model role-playing behavior from the perspective of persona alignment and propose a novel annotation-free framework named \textbf{\underline{P}}ersona-Aware \textbf{\underline{C}}ontrastive \textbf{\underline{L}}earning (PCL) to align LLMs' behavior during role-playing, enhancing the model's role consistency. Specifically, we first design a role chain method to encourage the model to self-question based on the role characteristics and dialogue context to adjust personality consistency. Then, we further enhance the model's role-playing strategy through iterative contrastive learning between the use of role characteristics and not. Experiments on both black-box and white-box LLMs show that LLMs equipped with PCL significantly outperform vanilla LLMs under automatic evaluation methods (CharEval \& GPT-4) and human expert evaluation.
format Preprint
id arxiv_https___arxiv_org_abs_2503_17662
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Enhancing Persona Consistency for LLMs' Role-Playing using Persona-Aware Contrastive Learning
Ji, Ke
Lian, Yixin
Li, Linxu
Gao, Jingsheng
Li, Weiyuan
Dai, Bin
Computation and Language
In recent years, large language models (LLMs) have achieved breakthrough progress in many dialogue generation tasks. However, their lack of emotion and fine-grained role awareness limits the model's ability to provide personalized and diverse interactions further. Current methods face high costs in collecting high-quality annotated data for scenarios such as role-playing, and traditional human alignment methods are difficult to deploy due to the inherent diversity of model behavior in role-playing scenarios. Inspired by the alignment of models for safety behaviors through RLHF (Reinforcement Learning from Human Feedback), in this paper, we revisit model role-playing behavior from the perspective of persona alignment and propose a novel annotation-free framework named \textbf{\underline{P}}ersona-Aware \textbf{\underline{C}}ontrastive \textbf{\underline{L}}earning (PCL) to align LLMs' behavior during role-playing, enhancing the model's role consistency. Specifically, we first design a role chain method to encourage the model to self-question based on the role characteristics and dialogue context to adjust personality consistency. Then, we further enhance the model's role-playing strategy through iterative contrastive learning between the use of role characteristics and not. Experiments on both black-box and white-box LLMs show that LLMs equipped with PCL significantly outperform vanilla LLMs under automatic evaluation methods (CharEval \& GPT-4) and human expert evaluation.
title Enhancing Persona Consistency for LLMs' Role-Playing using Persona-Aware Contrastive Learning
topic Computation and Language
url https://arxiv.org/abs/2503.17662