PersonaFactory: Stylistic User Prompt Augmentation with Synthetic Persona Bank: what it means for business leaders
PersonaFactory rewrites the user side of existing chat logs in the voice of structured synthetic personas, yielding 743,010 personas and about 1.24 million conversations in 85 languages while keeping each original request fixed.
1. What the method is
PersonaFactory is a pipeline, a persona bank and a dataset from EPFL and ETH Zurich. The bank holds 743,010 synthetic user profiles, each with a background layer (age, country and sub-region, occupation, education, native language, digital fluency, stance toward AI) and a style layer: seven structured keys for capitalization, punctuation, emoji, abbreviations, typos, message structure and sign-offs, plus code-switching habits, two to four linguistic quirks and a sample message. The pipeline takes an existing conversation, real or synthetic, matches it to a compatible persona, rewrites each user turn in that persona's voice while holding the request fixed, and regenerates the assistant's replies to fit. Applied to WildChat, UltraChat and Nemotron seeds, it produced 1,237,976 conversations in 85 languages. The bank, the corpus and the code are released under a permissive license, and everything was generated and judged with open-weight models.
2. Why the method was developed
Most conversational training and evaluation data is now written by language models, and the simulated user in it is one averaged person: monolingual, verbose, well punctuated, standard register. Real users type in lowercase, make non-native errors, switch languages mid-sentence and write tersely, and that variation is known to degrade and bias language systems, yet it is what synthetic data lacks. The authors identify two failures in earlier work. Generating persona conversations from scratch conditions on a two-to-five sentence biography that changes what the user says but not how they type. Rewriting existing conversations keeps the intent but barely changes how the text reads. Existing persona banks such as PersonaHub carry no writing-style field at all. PersonaFactory addresses both by making typing behavior an explicit, structured part of the persona and by constraining the rewrite to an existing request, so that diversity is added without drifting from the task.
3. Who should care
Teams that fine-tune or evaluate conversational models should read this first: the corpus is a ready source of stylistically and linguistically varied training data, and the persona bank can drive test suites that check whether an assistant still understands a terse, misspelled or code-switched request. Product and support leaders serving non-English or mixed-language markets have a way to probe robustness before customers find the gaps. Anyone who uses simulated users for A/B testing or agent evaluation gets a more realistic population than one generic voice, with per-attribute control. Data governance and legal should note two things: the WildChat-seeded portion inherits that dataset's anonymization, so details left in a seed can carry into the rewrite, and the license explicitly disallows profiling, targeting or presenting output as a real person's voice. Procurement can note that the whole pipeline runs on permissively licensed open-weight models.
4. How the method works
Personas are generated by three open models (Gemma-4-31B, Ministral-3-14B, GLM-4.7-Flash) against a fixed JSON schema, grounded in a hand-curated grid of 177 countries, 599 sub-regions and 575 occupations. Occupation is sampled independently of region to suppress stereotypes, and an independent judge keeps about 95% of profiles. For each conversation the pipeline detects language and script, then either selects a persona that natively writes in that language, returning the original turn untouched if none fits, or in cross-lingual mode draws a random persona and translates before restyling. Exact-format prompts such as code or strict JSON are bypassed. Quoted text, code, URLs and numbers are masked and restored. The assistant reply is regenerated with the persona visible only as an unsaved system prompt, and a judge checks that the real next user message still follows, with up to two repair passes. A final judge flags six failure classes.
5. How it was evaluated
Evaluation separates two questions: did the rewrite adopt the persona's style, and did it keep the request. Across the corpus an out-of-family judge, MiniMax-M2.5, scored both, alongside judge-free measures of embedding similarity, edit depth and rule-based entity and style checks, and a strict four-way label on every user turn. A paired, order-randomized test on 553 real user messages compared structured style keys with a free-text style sentence, holding rewriter, persona and length fixed, and was re-scored by three judges outside the pipeline. A second comparison on 800 paired prompts set the format against PersonaHub's and SynthPAI's and a no-persona baseline. A preliminary IRB-approved human study collected 11 expert responses across 9 languages, mostly one rater per language. Finally, the authors fine-tuned Apertus-v1.5-8B on four versions of the same conversations to measure downstream effect.
6. How it performed
Across the corpus the judge found 96.6% intent preservation and 67.1% style adoption, with about three in four turns keeping the exact request under the strict label. Structured style keys were preferred over free text in 60% of pairs against 33%, with intent equal at 92%. Against other formats, style adoption was 69.2% versus 43.5% for SynthPAI's form and 5.5% for PersonaHub's, at a cost of about four points of intent, mostly on cross-lingual prompts. Human raters took rewrites for human-written 59% of the time, though a trained classifier still separates them. Fine-tuned models matched the original data on capability benchmarks except GSM8K and adapted reply style more. The limits are real: the human study is thin, the released corpus overuses emoji and chat markers because it predates the recommended cap, dialect labels are unvalidated, and on real logs rewriting narrows diversity. Our call: pilot the persona bank for robustness testing of our own assistants, and filter on the strict flags before training on the corpus. (Source: arXiv 2611.34785, 2026)
← Back to dossier index