Synthetic personas and targeted training enable LLMs to master diverse character-based dialogues.
The paper proposes is a new approach to enable LLMs to perform customizable role-playing. It uses large-scale synthetic data derived from personas to train LLMs for character generalization in dialogue.
-----
Paper - https://arxiv.org/abs/2501.15427
Original Problem π:
β Current role-playing dialogue agents in LLMs often struggle with out-of-domain characters.
β Creating agents that can embody arbitrary, user-defined characters is challenging.
β Existing methods rely on limited human-annotated data, hindering generalization to diverse characters.
-----
Solution in this Paper π:
β This paper introduces OpenCharacter, a method using large-scale synthetic personas to train LLMs for character generalization.
β The approach synthesizes character profiles from Persona Hub's personas, adding detailed character information.
β Two data synthesis strategies are explored: response rewriting (\ocrew{}) and response generation (\ocgen{}).
β Response rewriting adapts existing dialogue responses to align with a character.
β Response generation creates new character-aligned responses directly.
β Supervised Fine-tuning (SFT) is performed on LLaMA-3 8B using the synthetic dialogue data.
-----
Key Insights from this Paper π€:
β Large-scale synthetic data with diverse characters enhances LLMs' character generalization abilities.
β Character-driven response generation (\ocgen{}) is more effective than response rewriting (\ocrew{}) for this task.
β LLMs trained with synthetic data can achieve performance comparable to or even better than GPT-4o in role-playing dialogue.
-----
Results π:
β OpenCharacter achieves a PersonaGym-Light score (PScore-L) of 4.66.
β OpenCharacter achieves a PersonaGym score (PScore) of 4.52.
β OpenCharacter, an 8B parameter model, performs comparably to GPT-4o models in role-playing evaluations.










