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 によって提供されています