Multi-Personality Generation of LLMs at Decoding-time

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Chen, Rongxin, Li, Yunfan, Yuan, Yige, Xu, Bingbing, Shen, Huawei
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908766201446400
author Chen, Rongxin
Li, Yunfan
Yuan, Yige
Xu, Bingbing
Shen, Huawei
author_facet Chen, Rongxin
Li, Yunfan
Yuan, Yige
Xu, Bingbing
Shen, Huawei
contents Multi-personality generation for LLMs, enabling simultaneous embodiment of multiple personalization attributes, is a fundamental challenge. Existing retraining-based approaches are costly and poorly scalable, while decoding-time methods often rely on external models or heuristics, limiting flexibility and robustness. In this paper, we propose a novel Multi-Personality Generation (MPG) framework under the decoding-time combination paradigm. It flexibly controls multi-personality without relying on scarce multi-dimensional models or extra training, leveraging implicit density ratios in single-dimensional models as a "free lunch" to reformulate the task as sampling from a target strategy aggregating these ratios. To implement MPG efficiently, we design Speculative Chunk-level based Rejection sampling (SCR), which generates responses in chunks and parallelly validates them via estimated thresholds within a sliding window. This significantly reduces computational overhead while maintaining high-quality generation. Experiments on MBTI personality and Role-Playing demonstrate the effectiveness of MPG, showing improvements up to 16%-18%. Code and data are available at https://github.com/Libra117/MPG .
format Preprint
id arxiv_https___arxiv_org_abs_2511_01891
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Multi-Personality Generation of LLMs at Decoding-time
Chen, Rongxin
Li, Yunfan
Yuan, Yige
Xu, Bingbing
Shen, Huawei
Computation and Language
Artificial Intelligence
Multi-personality generation for LLMs, enabling simultaneous embodiment of multiple personalization attributes, is a fundamental challenge. Existing retraining-based approaches are costly and poorly scalable, while decoding-time methods often rely on external models or heuristics, limiting flexibility and robustness. In this paper, we propose a novel Multi-Personality Generation (MPG) framework under the decoding-time combination paradigm. It flexibly controls multi-personality without relying on scarce multi-dimensional models or extra training, leveraging implicit density ratios in single-dimensional models as a "free lunch" to reformulate the task as sampling from a target strategy aggregating these ratios. To implement MPG efficiently, we design Speculative Chunk-level based Rejection sampling (SCR), which generates responses in chunks and parallelly validates them via estimated thresholds within a sliding window. This significantly reduces computational overhead while maintaining high-quality generation. Experiments on MBTI personality and Role-Playing demonstrate the effectiveness of MPG, showing improvements up to 16%-18%. Code and data are available at https://github.com/Libra117/MPG .
title Multi-Personality Generation of LLMs at Decoding-time
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2511.01891