Reproduce “Enhancing Persona Consistency for LLMs' Role-Playing using Persona-Aware Contrastive Learning” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Ke Ji, Yixin Lian, Linxu Li, Jingsheng Gao, Weiyuan Li, Bin Dai
An annotation-free framework called Persona-Aware Contrastive Learning (PCL) was introduced by researchers from Xiaobing.AI and affiliated universities to improve large language models' persona consistency in role-playing through structured self-reflection and contrastive self-play. This approach allowed smaller models to match or outperform larger proprietary LLMs in persona-related metrics while preserving general knowledge.
Key insights
- Role-playing behavior can be effectively framed as a 'persona alignment' problem, drawing inspiration from successful safety alignment techniques like RLHF.
- Structured self-reflection, guided by a Chain of Persona prompt, can serve as an effective internal mechanism for LLMs to constrain their outputs to a given character's persona.
- Self-generated contrastive preference data, obtained by comparing persona-informed and persona-agnostic model outputs, provides a robust and scalable supervisory signal for improving persona consistency via DPO without external annotations.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.