Personality Vector: Modulating Personality of Large Language Models by Model Merging

Seungjong Sun, Seo Yeon Baek, Jang Hyun Kim
9/24/2025
cs.CL

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Driven by the demand for personalized AI systems, there is growing interest in aligning the behavior of large language models (LLMs) with human traits such as personality. Previous attempts to induce personality in LLMs have shown promising results, but they struggle to capture the continuous and multidimensional nature of human traits. In this work, we propose a novel method for personality modulation in LLMs via model merging. Specifically, we construct personality vectors by subtracting the weights of a pre-trained model from those of the fine-tuned model on a given personality trait. By merging personality vectors, we enable LLMs to exhibit desired personality traits without additional training. Extensive experiments show that personality vectors enable continuous control over trait intensity and support the composition of multiple traits. Furthermore, personality vectors transfer across diverse downstream models, suggesting that they encode generalizable representations of personality. Our code is available at here.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sun2025personality,
  title  = {Personality Vector: Modulating Personality of Large Language Models by Model Merging},
  author = {Seungjong Sun and Seo Yeon Baek and Jang Hyun Kim},
  year   = {2025},
  eprint = {2509.19727},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.19727v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.19727.svg)](https://codeofpaper.com/paper/2509.19727)

Discussion