Saved in:
Bibliographic Details
Main Authors: Tang, Wenqiu, Wan, Zhen, Komamizu, Takahiro, Ide, Ichiro
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2602.19157
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911547162361856
author Tang, Wenqiu
Wan, Zhen
Komamizu, Takahiro
Ide, Ichiro
author_facet Tang, Wenqiu
Wan, Zhen
Komamizu, Takahiro
Ide, Ichiro
contents Personality control in Role-Playing Agents (RPAs) is commonly achieved via training-free methods that inject persona descriptions and memory through prompts or retrieval-augmented generation, or via supervised fine-tuning (SFT) on persona-specific corpora. While SFT can be effective, it requires persona-labeled data and retraining for new roles, limiting flexibility. In contrast, prompt- and RAG-based signals are easy to apply but can be diluted in long dialogues, leading to drifting and sometimes inconsistent persona behavior. To address this, we propose a contrastive Sparse AutoEncoder (SAE) framework that learns facet-level personality control vectors aligned with the Big Five 30-facet model. A new 15,000-sample leakage-controlled corpus is constructed to provide balanced supervision for each facet. The learned vectors are integrated into the model's residual space and dynamically selected by a trait-activated routing module, enabling precise and interpretable personality steering. Experiments on Large Language Models (LLMs) show that the proposed method maintains stable character fidelity and output quality across contextualized settings, outperforming Contrastive Activation Addition (CAA) and prompt-only baselines. The combined SAE+Prompt configuration achieves the best overall performance, confirming that contrastively trained latent vectors can enhance persona control while preserving dialogue coherence. Dataset is available at: https://github.com/lunat5078/BigFive-Personality-Facets-Dataset
format Preprint
id arxiv_https___arxiv_org_abs_2602_19157
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Facet-Level Persona Control by Trait-Activated Routing with Contrastive SAE for Role-Playing LLMs
Tang, Wenqiu
Wan, Zhen
Komamizu, Takahiro
Ide, Ichiro
Computation and Language
Personality control in Role-Playing Agents (RPAs) is commonly achieved via training-free methods that inject persona descriptions and memory through prompts or retrieval-augmented generation, or via supervised fine-tuning (SFT) on persona-specific corpora. While SFT can be effective, it requires persona-labeled data and retraining for new roles, limiting flexibility. In contrast, prompt- and RAG-based signals are easy to apply but can be diluted in long dialogues, leading to drifting and sometimes inconsistent persona behavior. To address this, we propose a contrastive Sparse AutoEncoder (SAE) framework that learns facet-level personality control vectors aligned with the Big Five 30-facet model. A new 15,000-sample leakage-controlled corpus is constructed to provide balanced supervision for each facet. The learned vectors are integrated into the model's residual space and dynamically selected by a trait-activated routing module, enabling precise and interpretable personality steering. Experiments on Large Language Models (LLMs) show that the proposed method maintains stable character fidelity and output quality across contextualized settings, outperforming Contrastive Activation Addition (CAA) and prompt-only baselines. The combined SAE+Prompt configuration achieves the best overall performance, confirming that contrastively trained latent vectors can enhance persona control while preserving dialogue coherence. Dataset is available at: https://github.com/lunat5078/BigFive-Personality-Facets-Dataset
title Facet-Level Persona Control by Trait-Activated Routing with Contrastive SAE for Role-Playing LLMs
topic Computation and Language
url https://arxiv.org/abs/2602.19157