HyperAIHyperAI

Command Palette

Search for a command to run...

PersonaFactory: 합성 페르소나 뱅크를 활용한 문체적 사용자 프롬프트 증강

Bich Ngoc Doan Hanna Yukhymenko Imanol Schlag

초록

대규모 언어 모델은 대규모 훈련 대화 생성과 정렬 및 평가를 주도하는 데 사용되면서 AI 개발 파이프라인에서 실제 사람을 점차 대체하고 있다. 그러나 기본 설정 상태의 모델은 합성 사용자 프롬프트로서 단일 언어적이고 문체적으로 평이한 텍스트를 생성하므로 실제 사용자-AI 상호작용의 메커니즘을 재현하지 못한다. 본 논문에서는 상세한 사용자 페르소나를 생성하고 이를 활용하여 기존 사용자 프롬프트를 해당 페르소나의 관점에서 증강하는 엔드투엔드 파이프라인인 PersonaFactory를 제시한다. 이를 통해 배경과 의사소통 행동을 상세히 기술한 74만 개 이상의 구조화된 합성 페르소나 뱅크와 85개 언어에 걸친 약 124만 건의 페르소나 문체 합성 대화 코퍼스를 구축하였다. LLM 심사자와 휴리스틱 지표를 사용하여 증강 충실도와 훈련 데이터를 통한 보조 페르소나 제어에 미치는 하위 영향을 평가함으로써 개인 특성이 문체 채택과 의도 보존에 미치는 효과를 평가하였다. 결과는 구조화된 속성 기반 문체 표현이 기존 방법에서 사용되는 자유 텍스트 페르소나 설명과 유사한 문체 충실도에서 축별 제어와 더 나은 의도 보존을 가능하게 함을 보여준다. 인간 전문가 평가에서는 증강된 대화가 그럴듯하며 의도 보존, 문체 자연스러움, 다국어 진정성 측면에서 우수한 평가를 받았다. 마지막으로 PersonaFactory 대화는 능력 벤치마크에서 원본 훈련 데이터와 유사한 성능을 달성하고, 동일한 응답 길이에서 실제 사용자 프롬프트에 대해 선호되며, 명시적 조정 없이도 사용자에게 더 밀접하게 응답 문체를 적응시킨다.

One-sentence Summary

Researchers at EPFL and ETH Zurich present PersonaFactory, an end-to-end pipeline that generates structured synthetic personas and augments existing user prompts to produce over 740,000 personas and 1.24 million persona-styled conversations across 85 languages, with attribute-based style representation enabling per-axis control and improved intent preservation over free-text persona descriptions.

Key Contributions

  • The paper introduces PersonaFactory, an end-to-end pipeline that generates structured synthetic user personas and uses them to restyle existing user prompts while preserving intent, and releases a bank of 743,010 personas and roughly 1.24 million persona-styled conversations across 85 languages.
  • The method represents persona background separately from writing style as structured, attribute-based conditioning variables, which provides per-axis control and better intent preservation relative to free-text persona descriptions while maintaining comparable style fidelity.
  • Evaluations show that the generated conversations are rated plausible with favorable intent preservation, style naturalness, and multilingual authenticity, match original training data on capability benchmarks, are preferred on real user prompts at equal reply length, and adapt reply style more closely to users without explicit steering.

Introduction

The authors address conversational data generation for large language model training, where open-source datasets increasingly rely on synthetic interactions because human data collection is expensive. This scalability often produces a stylistically homogeneous average user, missing non-native phrasing, code-switching, terse or lowercase typing, and dialectal variation. Prior persona-based simulation tends to use short descriptions that influence what users say more than how they actually write. The authors introduce PersonaFactory, a pipeline that keeps existing conversation trajectories and requests while rewriting the user side under a large bank of structured synthetic personas, with separate background and style layers, and release over 740,000 personas and 1.2 million persona-augmented conversations.

Dataset

Dataset Description: PersonaFactory Persona Bank and Conversational Dataset

The authors build two connected assets: a large synthetic persona bank and an augmented conversational dataset created by applying those personas to existing conversational data.

Persona bank composition and schema

  • The persona bank contains 743,010 synthetic personas.
  • Profiles are split into two layers:
    • Background layer: age 18 to 80, gender, country/region of origin, occupation with sector, education, native language with regional dialect, hobbies, AI stance, and digital fluency level.
    • Style layer: sentence length tendency, question framing, native-language error patterns, code-switching frequency and type, cultural reference pool, a seven-key chatting style (capitalization, punctuation, emoji use, abbreviation habits, typo tendency, message structure, sign-offs), 2 to 4 linguistic quirks, and an example message.
  • The style layer is conditioned on the already sampled background, so writing style stays consistent with age, education, digital fluency, and native language.

Persona generation and filtering

  • Generator models are Gemma-4-31B, Ministral-3-14B, and GLM-4.7-Flash, balanced across models for regional and multilingual coverage.
  • Generation is grounded in 177 countries, 599 sub-regions, and 575 occupations across 23 sectors.
  • Occupations are sampled independently of origin region to avoid biased profiles.
  • Digital fluency is matched to occupation sector for realism.
  • Profiles are rejected outright before judging if they have a missing style description, fewer than two linguistic quirks, no example message, or empty structured keys.
  • An independent judge model, MiniMax-M2.5, scores every profile on internal coherence, occupation/location plausibility, LLM-user authenticity, stereotype severity, and realism.
  • A two-pass repair fixes implausibly low fluency for technical roles and age-incoherent job titles.
  • About 95 percent of generated profiles are kept, and only 0.2 percent are flagged for non-trivial stereotype severity.

Conversational dataset composition and sources

  • The conversational dataset applies the pipeline at scale to three seed sources: UltraChat, Nemotron Instruction-Following, and WildChat.
  • The final release has 1,237,976 augmented conversations after deduplication, language verification, and judge filtering.
  • Before the final sanity gate, the corpus had 1,606,837 conversations.
  • It covers 85 languages and contains 2,387,392 user turns, averaging 1.93 user turns per conversation.
  • Real WildChat user turns make up more than half of the seeds.
  • The corpus includes English-centered conversations and multilingual/cross-lingual conversations where the persona's native language is enforced in place of English.
  • English makes up 38.2 percent of the full corpus but only 0.8 percent of the cross-lingual set.
  • The largest non-English languages are Chinese, Spanish, Russian, and French.
  • The data also uses 13,714 distinct free-text dialect labels, treated as free-text variety rather than a validated taxonomy.

Conversational filtering and generator mix

  • In the language-matched subset, persona matching is mainly driven by semantic embedding; location matching and language-pool fallback contribute less often.
  • Gemma-augmented conversations pass the sanity gate more often than Ministral-augmented ones because Ministral more often makes radical changes to prompt intent and style.
  • Ministral answers in high-resource cross-lingual conversations were later regenerated with Gemma and released under Gemma.
  • Final sanity pass rates are similar across seed sources, between 77 and 82 percent.
  • Nemotron samples tend to be longer and often contain multi-step instructions or constraints, which lowers user-side style adoption.
  • Both generator models are kept in the pool for diversity.

Assistant-side model personas

  • The authors define 12 assistant-side model personas with different response styles.
  • Each model persona includes a free-text description, eight presentation axes (register, structure, density, warmth, explanation, jargon, certainty, emoji), optional signature touches with probability 0.25 per reply, and content safeguards.
  • Explicit user instructions override the assistant style.
  • A matcher model, MiniMax-M2.5, selects a model persona for each user persona, and assistant turns are regenerated with both.
  • 234,723 conversations carry a model persona.

How the data is used

  • The authors fine-tune Apertus-v1.5-8B base on four versions of the same language-matched conversations:
    • original conversations
    • original user turns with a regenerated assistant
    • restyled user turns with the original assistant
    • the released version with both user and assistant regeneration
  • Models trained on the released data are on par with models trained on original conversations on capability benchmarks except GSM8K.
  • They are preferred on held-out real user prompts at equal reply length and adapt their reply style to the user more.
  • Regenerating the assistant for the restyled user is essential; restyling only the user side lowers instruction following.
  • Cross-lingual conversations provide the largest gain on multilingual instruction following.
  • Processing is text-only; no image cropping strategy is described. The metadata is encoded in the persona JSON schema and per-conversation language and dialect labels.

Method

The authors design a comprehensive system for generating and augmenting conversational data, which is divided into two primary phases: synthetic persona bank generation and prompt augmentation.

To build the persona bank, the authors implement a structured profile representation divided into two distinct layers: background and style. The background layer captures demographic and contextual attributes such as age, gender, country of origin, occupation, education, native language, hobbies, AI stance, and digital fluency. The style layer dictates communication behaviors, including sentence length tendencies, question framing, native language error patterns, code-switching frequency, cultural references, and a structured seven-key chatting style covering capitalization, punctuation, emoji use, and typo tendencies. To generate the bank, the authors pass a predefined JSON schema into multiple generator models, balancing geographical and multilingual strengths. They ground the generation in a curated set of countries, sub-regions, and occupations, sampling occupations independently of the origin region to prevent biased profiles. The style layer is explicitly conditioned on the sampled background. An independent judge model then scores every profile on internal coherence, plausibility, and realism, employing a two-pass repair mechanism to correct implausible fluency levels or age-incoherent job titles before final acceptance.

For prompt augmentation, the authors implement a grounded user simulator designed to preserve real task constraints while expressing sociolinguistic diversity and maintaining the original conversation trajectory. The system operates through a four-stage pipeline.

As shown in the framework diagram:

The first stage is persona matching and selection. The pipeline detects the language and script of the initial user turn and operates under two selection regimes. In the conservative language-matched selection, a persona is eligible only if it communicates natively in the prompt language and script, retrieving the best match via geographic location or semantic embedding similarity. In the cross-lingual diverse selection, the system samples a persona uniformly from the entire bank to reflect authentic multilingual populations interacting in global languages. Exact-format prompts are automatically detected and bypassed by format guards.

The second stage is user-turn rewriting. For eligible turns, the rewriter preserves the original intent while introducing subtle persona traits. Linguistic quirks and colloquialisms are applied probabilistically at a rate of p=0.25p = 0.25p=0.25 per turn, with an explicit cap of at most two realized chat markers per turn to prevent over-stylization. A length-ratio guard rejects over-compressed rewrites, and sensitive elements like quoted text, code, URLs, and numbers are masked before rewriting and restored afterward. In cross-lingual mode, the pipeline employs a two-step approach by first translating the source turn literally and then restyling the translation to ensure reliable target language adoption.

The third stage is assistant regeneration with continuity supervision. The restyled user turn is appended to the context, and the assistant response is regenerated using the persona background and style as an unsaved system prompt. This ensures downstream models learn style from conversational cues rather than hidden metadata. For non-final turns, a continuity judge verifies whether the regenerated response plausibly leads to the actual next user message. If it fails, a bounded adaptation loop rewrites the assistant response for up to two iterations to preserve the logged dialogue trajectory.

The final stage is a sanity check and judge verification. A final judge screens each conversation for six failure classes, including language mismatch, instruction violation, truncation, fabricated personal experience, incoherence, and failure to address the request. These verdicts are stored as metadata flags, allowing downstream training pipelines to selectively filter for strictly validated dialogues.

Experiment

The evaluation assesses persona-based user augmentation along two fidelity axes, intent preservation and style adoption, using both LLM judges and deterministic metrics across a large multilingual corpus. Ablations show that structured per-axis style keys are preferred over flat text descriptions and other persona representations, with the advantage confirmed across multiple judges and supported by preliminary human evaluation. The resulting dataset spans many languages and includes assistant-side model personas, and downstream fine-tuning indicates that restyled user turns paired with regenerated assistant responses preserve capabilities while improving preference and style adaptation.

Structured persona conditioning is preferred substantially more often than a flat prose description, while both approaches preserve intent and produce nearly identical rewrite lengths. The advantage is visible in head-to-head judging, where structured rewrites win roughly three in five comparisons and flat rewrites win about one in three. This suggests the gain comes from the structure of the style representation rather than from additional effort or length. Structured rewrites were preferred roughly three in five times, nearly twice as often as flat rewrites. Intent preservation was equivalent across conditions, and mean rewrite length was nearly identical. Judge comments credit structured conditioning with retaining signature abbreviations, sign-offs, ellipsis pauses, and code-switched tokens that flat rewrites tend to smooth away.

Richer persona representations consistently improve style adoption, with the detailed PersonaFactory profile reaching about 69 percent versus single digits for minimal profiles. This added fidelity comes at only a small cost to intent preservation, which remains high across all formats. Pairwise judgments show PersonaFactory rewrites are strongly preferred over no-persona and shorter-profile baselines. Style adoption is near zero for no persona and PersonaHub form, rises to 43.5 percent for SynthPAI form, and reaches 69.2 percent for PersonaFactory, while intent preservation dips only a few points. PersonaFactory rewrites are preferred over no persona in 94.4 percent of pairs and over PersonaHub form in 94.9 percent of pairs, with a narrower advantage against the moderate SynthPAI form. Longer profile representations trade a small amount of intent retention for substantially stronger style adoption.

The released corpus is dominated by WildChat seeds, with smaller shares from UltraChat and Nemotron, and all three seed sources achieve similar final sanity pass rates. Language-matched conversations pass the sanity gate more often than cross-lingual conversations, while Gemma-augmented responses pass more often than Ministral-augmented ones. Downstream fine-tuning on these conversations broadly preserves capability and improves style adaptation, especially for multilingual instruction following. WildChat contributes the majority of released conversations, followed by UltraChat and Nemotron. Sanity pass rates are similar across seed sources, but language-matched conversations pass more often than cross-lingual conversations. Gemma-augmented conversations pass the sanity gate far more often than Ministral-augmented ones. The corpus is multilingual, and English is only a small minority of the cross-lingual subset. Models trained on this data remain broadly competitive on capability benchmarks and improve user-style adaptation and multilingual instruction following.

The experiments evaluate persona conditioning formats and corpus quality through pairwise rewrite judgments, style adoption and intent preservation metrics, sanity pass rates, and downstream fine-tuning. Structured persona representations are preferred over flat prose while preserving intent and similar rewrite lengths, and richer profile formats substantially improve style adoption with only a small drop in intent retention. The released corpus shows similar sanity pass rates across seed sources, with language-matched and Gemma-augmented conversations passing more often, and fine-tuning on it broadly preserves capability while improving style adaptation and multilingual instruction following.


AI로 AI 구축

아이디어에서 출시까지 — 무료 AI 코코딩, 즉시 사용 가능한 환경, 최적의 GPU 가격으로 AI 개발을 가속화하세요.

AI 협업 코딩
바로 사용 가능한 GPU
최적의 가격

HyperAI Newsletters

최신 정보 구독하기
한국 시간 매주 월요일 오전 9시 에 이번 주의 최신 업데이트를 메일로 발송합니다
이메일 서비스 제공: MailChimp