Persona Generators: Generating Diverse Synthetic Personas for Arbitrary Contexts

Davide Paglieri, Logan Cross, William A Cunningham, Joel Z Leibo, Sasha VezhnevetsNeurIPS 2026

TL;DR

When asked to simulate human populations, standard LLMs suffer from "mode collapse"—clustering around polite, agreeable, stereotypical behaviors and completely missing rare, consequential human edge cases. Instead of manually crafting prompts or static datasets, this paper uses LLM-driven code evolution to automatically discover Persona Generators: lightweight Python functions that take any scenario and spin up synthetic populations spanning the full landscape of human traits. Surprisingly, optimizing for the outer boundaries of diversity also ends up matching real-world human statistical distributions far better than baselines designed to mirror demographic averages.

What Problem Does This Paper Address?

Using LLMs to simulate human populations is an increasingly popular way to model social phenomena and stress-test new products before launch. Historically, the field has focused on density matching (or algorithmic fidelity)—trying to ensure synthetic populations match the average statistical distributions of real-world demographics.

While matching the "average user" is great for polling, it is terrible for stress-testing. Critical system failures are rarely caused by average users; they are driven by outliers in the long tail of human behavior. Unfortunately, eliciting true diversity from LLMs is notoriously hard. Thanks in part to RLHF safety and helpfulness tuning, asking an LLM to "generate diverse personas" still results in clusters of Western, educated, conflict-averse, and agreeable stereotypes. The authors argue we must shift our objective from matching population averages to maximizing support coverage: spanning the entire valid space of human traits, opinions, and preferences without crossing into incoherent nonsense.

Methods

Rather than optimizing a fixed group of synthetic characters, the authors evolve the code that generates them—creating a reusable function for any arbitrary context (e.g., "London food delivery customers").

Figure 1: Overview of the method. First, we generate questionnaires containing specific contexts c, dimensions D (diversity axes) and questions I (items). The Persona Generator Gϕ,θ(c, D, N) uses the context and diversity axes as inputs to create a population of synthetic personas P. These personas are evaluated in Concordia simulations Z = Ψ(P, I) where they answer the questionnaire items. We measure the diversity of their responses M(Z) and use AlphaEvolve to iteratively optimize the Persona Generator code ϕ.

The pipeline brings together several standard tools (Concordia for agent simulation, AlphaEvolve for evolutionary code search) around a novel two-stage Persona Generator architecture:

  1. Autoregressive Stage 1: Decides population-level diversity by sequentially positioning each individual's high-level traits along specific diversity axes (e.g., budget, dietary needs).
  2. Parallel Stage 2: Independently expands each high-level sketch into a rich persona backstory in parallel for compute efficiency.

To optimize this code, generated personas are placed into simulations where they answer Likert-scale questionnaires (with memory wiped between questions to prevent carryover bias). Their numerical answers map each persona to a coordinate in trait space. AlphaEvolve—using Gemini 2.5 Pro as a mutation engine—iteratively rewrites the generator's Python code and prompt templates across 500 iterations to maximize six geometric diversity metrics (such as convex hull volume, coverage, and dispersion).

Datasets

  • Synthetic Questionnaires (New Benchmark): Using 4 classic psychology scales (Big Five Inventory, DASS, Social Value Orientation, and Need for Closure) as few-shot examples, the authors prompted Gemini 2.5 Pro to generate 50 new Likert-scale questionnaires across diverse contexts (split 30 train / 10 validation / 10 test).
  • Open-Source Psychometrics Project (BFI): 1,000 real human responses on the Big Five Inventory, held out completely during training to test real-world human alignment.
  • Nemotron Personas: An existing static dataset of 100,000 U.S. demographic-grounded personas, used as a baseline.
  • Open-Ended Transfer Scenarios: Unconstrained behavioral tests including joke-telling, a stressful car crash conflict, and two product stress-tests (PlateMate, a meal app, and MoveMate, a U.K. relocation assistant).

Key Insights and Ideas

  • Fighting mode collapse fixes density matching: You might expect that pushing personas toward the extremes would ruin realistic population statistics. Instead, standard LLM mode collapse is so severe that fighting it is a prerequisite for realism. Optimizing for broad support naturally populates the long tails, matching real human trait distributions better than demographic-grounded baselines. Once full support is covered, you can always re-sample to match any target demographic density.
  • Code evolution acts as a natural coherence guardrail: Optimizing personas directly might create alien or gibberish profiles just to game the diversity scores. Because evolution mutates the generator code while relying on an LLM's autoregressive text generation, the LLM's natural pull toward plausible text acts as an implicit regularizer.
  • Convergent evolution of prompt mechanics: Across independent evolutionary islands, AlphaEvolve repeatedly discovered the same tricks: switching backstories from third-person to first-person narratives, using Quasi-Random Monte Carlo sampling in Stage 1 to stake out trait coordinates, and replacing childhood "formative memories" with explicit everyday decision heuristics.
  • Zero-shot transfer across model families: Generator code evolved using Gemma 3 27B transferred seamlessly to Qwen 3.5 27B and Gemini 3.1 Flash-Lite without retraining, proving the learned logic isn't overfitted to one model's quirks.

Key Results

Evolution of generator diversity scores across training and held-out test sets.

Figure 3: Evolution of Persona Generator performance. Comparison between training and testing phases. The left panel (a) shows the mean Z-score across the diversity metrics on the 40 training/validation questionnaires, while the right panel (b) displays generalization performance of the best discovered Persona Generators on the 10 held-out test questionnaires.
  • Outperforming Baselines: On held-out test questionnaires, the best evolved generator beat all baselines across all metrics, achieving an average Z-score of 2.31 (vs. 1.41 for Nemotron Personas and 0.89 for an agentic Claude Opus 4.6 diversity-prompting rewrite).
  • High Realism & Human Fidelity: Frontier LLM judges rated 93.0% to 99.2% of the evolved personas as realistic. Against real human Big Five data, the evolved generator spanned 62.9% of the human distribution (vs. 51.5% for Nemotron and 28.1% for a name-only baseline) and achieved the lowest KL divergence (0.99 vs. Nemotron's 3.00), with 98.0% of personas staying within real human bounds.
  • Breaking Behavioral Guardrails: In car-crash simulations, baseline personas remained relentlessly polite and collaborative despite a distracted driver wrecking their car. Evolved populations displayed genuine frustration and varied coping styles. In product stress-tests, evolved personas uncovered 76.9%–78.9% of pooled product failure modes—catching realistic edge cases like shared-fridge limits in flatshares or seniors needing landline ordering, while US-centric Nemotron dropped to 53.5% on the U.K. relocation task.

Limitations and Future Work

  • Measuring open-ended diversity is noisy: The authors rely on structured questionnaires as a proxy during optimization because text-embedding metrics in unconstrained environments struggle to separate true behavioral diversity from mere stylistic quirks. Building noise-free open-ended diversity metrics—paired with human evaluations—is a major next step.
  • Scaling one-shot generation: Generators were evolved for batches of $N=25$ (and tested zero-shot up to $N=100$). While users can loop the Python function to get thousands of personas, true extreme-scale one-shot generation ($N \ge 10,000$ in a single pass) remains an open challenge.
  • Mutation priors: Because Gemini 2.5 Pro drives the code mutations, the search space is still subtly bounded by the mutator LLM's own priors; meta-learning dynamic mutation strategies could push discovery further.

Summary updated

Abstract

Simulating human behavior with Large Language Models (LLMs) offers a scalable laboratory for social science and stress-testing AI products. However, limitations remain in matching LLM outputs against the full breadth of human diversity. Current techniques for creating synthetic humans typically optimize for density matching, which often enforces behavioral uniformity and overlooks the rare, consequential outliers. We argue that robust simulation requires shifting the focus toward support coverage: ensuring synthetic populations span the entire landscape of possible human traits, opinions, and preferences. This paper introduces Persona Generators, functions that can produce diverse synthetic populations tailored to arbitrary contexts. We apply an iterative improvement loop based on AlphaEvolve, using LLMs as mutation operators to evolve our Persona Generator code rather than the personas themselves. The optimization process produces lightweight functions that can automatically expand small descriptions into populations of diverse synthetic personas that are maximizing coverage along relevant diversity axes. We demonstrate that evolved generators substantially outperform existing baselines across six diversity metrics on held-out contexts. Furthermore, by successfully mitigating standard LLM mode collapse, our generated populations actually capture real human trait distributions better than baselines specifically designed to match human statistics.
BibTeX
@inproceedings{paglieri2026persona,
  author = {Davide Paglieri and Logan Cross and William A Cunningham and Joel Z Leibo and Sasha Vezhnevets},
  title = {{Persona Generators: Generating Diverse Synthetic Personas for Arbitrary Contexts}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=nBroXpNLog},
}
Figure