Submitted:
29 October 2025
Posted:
30 October 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction

- We propose EvoPersona, a novel framework that, for the first time, integrates dynamic contextual awareness and emotional dynamics into population-aligned persona generation, significantly enhancing the realism and adaptability of virtual agents in social simulations.
- We introduce a Contextual Awareness Module that enables personas to dynamically perceive and adapt their behavior and language style based on real-time situational cues, leveraging an instruction-tuned small LLM for context-aware prompt modulation.
- We develop an Emotional Dynamics Module that equips personas with an evolving emotional state, guided by real-time emotional input analysis and refined through a Reinforcement Learning mechanism, leading to more natural, consistent, and context-appropriate emotional expressions.
2. Related Work
2.1. Persona Generation and LLM-Driven Social Simulation
2.2. Psychological Realism and Emotional Dynamics in AI Agents
3. Method

3.1. Foundation: Population-Aligned Persona Generation
- Initial Persona Extraction: We extract an initial collection of diverse narrative persona descriptions from a large-scale text corpus, such as the Blog Authorship Corpus [5]. These raw descriptions are typically free-form texts, blog posts, or short biographical sketches that implicitly capture a wide array of linguistic styles, behavioral patterns, and underlying personality traits. The goal at this stage is to gather a broad and varied pool of potential persona candidates.
- Psychological Trait Assessment: Each extracted narrative persona is then systematically processed to infer its psychological profile. This is achieved by employing a powerful Large Language Model (LLM), specifically Llama-3-70B, to generate a concise summary of the persona’s key characteristics. Subsequently, another LLM, such as Qwen2.5-72B, is prompted to respond to a series of psychological assessment questions, typically drawn from established psychometric inventories like the IPIP Big Five inventory. These prompts are carefully engineered to elicit responses indicative of personality dimensions. The LLM’s textual responses are then quantitatively analyzed and converted into a normalized psychological trait vector , where D is the number of trait dimensions (e.g., 5 for Big Five traits, each represented by a score). This vector encapsulates the persona’s inferred personality profile.
-
Population Alignment: To ensure that the collective distribution of these persona traits accurately reflects real human population statistics, we employ a sophisticated two-stage sampling and refinement technique: Importance Sampling followed by Optimal Transport.
- Importance Sampling: Initially, personas are sampled from the assessed pool with probabilities proportional to how well their current trait vectors align with a preliminary target distribution derived from real-world datasets (e.g., IPIP Big Five normative data). This prioritizes personas that are already closer to the desired statistical properties.
- Optimal Transport: Subsequently, we apply an Optimal Transport algorithm, such as the Earth Mover’s Distance, to further refine the selected set of personas. This involves computing the minimal cost to transform the empirical distribution of the sampled persona trait vectors to match the target population’s distribution. The algorithm either guides the selection of additional personas or subtly adjusts the representation of existing personas (e.g., by re-weighting their influence in the ensemble) to minimize the divergence between the empirical and target distributions.
This ensures that the generated personas, as a collective, accurately reflect the diversity, skewness, and statistical properties of human personality observed in reference populations.
3.2. Contextual Awareness Module
- Key Contextual Feature Extraction: first analyzes the raw context description to identify and extract salient contextual features that are pertinent to shaping behavior and communication. These features might include explicit indicators such as formality levels required by the setting, the emotional valence of the environment, power dynamics between interactants, or the presence of specific social norms. The output is a structured or semi-structured representation of these features, .
-
Context Embedding and Prompt Modulation: The extracted features are subsequently transformed by an Embedder into a compact, low-dimensional numerical vector space, yielding a context embedding . This embedding serves as a dynamic signal used to modulate the prompt sent to the primary, larger LLM responsible for generating the persona’s response. The base prompt, , typically includes the persona’s description and the dialogue history . The modulation process guides the primary LLM to generate context-appropriate outputs. This process can be formally represented as:Here, Embedder is typically a feed-forward neural network that converts the processed context features into a numerical vector, and Modulator integrates this vector into the prompt structure. This integration can be achieved through various techniques, such as soft prompt tuning, prepending the embedding as a token sequence, or dynamically rewriting parts of the prompt based on the embedding’s interpretation.
- Behavior Pattern Selection (Implicit/Explicit): Based on the derived context embedding , the module can implicitly guide the primary LLM towards specific behavioral patterns (e.g., using cues like "be more formal," "express empathy," "adopt a cautious tone"). In more advanced configurations, the module can explicitly select from a repertoire of pre-defined behavioral scripts or dynamically generate situation-specific behavioral guidelines that best fit the current context. These scripts might dictate specific actions, conversational strategies, or linguistic registers.
3.3. Emotional Dynamics Module
3.3.1. Emotional Input Analysis
3.3.2. Emotional State Update
3.3.3. Emotional Guidance for Generation
3.3.4. Emotional Consistency Through Reinforcement Learning
- : This term penalizes abrupt and unrealistic changes in the emotional state vector over time. It is typically formulated as the negative L2 norm of the difference between consecutive emotional states, encouraging gradual transitions: .
- : This component rewards consistency between the updated emotional state and the current context or salient events. It might involve comparing the persona’s emotional state with an independent emotional assessment of the context by , or by human annotators.
- : This term incorporates sparse human feedback on the emotional realism and coherence of the generated dialogues and persona behaviors. Human evaluators provide ratings (e.g., Likert scale scores) on aspects such as emotional appropriateness, consistency, and naturalness, which are then converted into a reward signal. Sparse rewards are handled by techniques like reward shaping or using a value function to estimate future rewards.
4. Experiments
4.1. Experimental Setup
4.1.1. Baseline Persona Generation and Alignment
4.1.2. Contextual Awareness Module Training
4.1.3. Emotional Dynamics Module Training and Reinforcement Learning
- A smoothness penalty () to discourage abrupt and unrealistic emotional state transitions.
- A context-consistency reward () to encourage emotional states that were appropriate for the prevailing social context.
- A human feedback component (), where a small cohort of expert human evaluators provided sparse reward signals based on their assessment of the emotional realism and coherence of simulated dialogues.
4.2. Evaluation Metrics
4.2.1. Population Alignment Performance
- Average Mean Wasserstein distance (AMW): Measures the average Earth Mover’s Distance between the empirical trait distribution of generated personas and the target population distribution across individual psychological traits.
- Fréchet Distance (FD): A metric that quantifies the similarity between two multivariate distributions, here applied to the persona trait vectors and the target population.
- Sliced Wasserstein distance (SW): An approximation of the Wasserstein distance, computationally efficient for high-dimensional data, used to compare trait distributions.
- Maximum Mean Discrepancy (MMD): A non-parametric measure of the distance between two probability distributions.
- Mean Absolute Error of Correlations (MAE_corr): Evaluates the alignment of inter-trait correlations between generated personas and the target population across various psychological inventories (IPIP Big Five, CFCS, FBPS, Duckworth).
4.2.2. Contextual Awareness Capability
- Human Evaluation (Ctx. Coherence Score): Multiple human evaluators performed blind assessments of persona responses in diverse, predefined contexts. They rated the "contextual adaptability" and "behavioral reasonableness" of the generated dialogues on a 1-5 Likert scale, with higher scores indicating better performance.
- LLM Automatic Evaluation: An independent, powerful LLM (GPT-4) not involved in the training process was utilized as an automated judge. It assessed the consistency and appropriateness of persona responses given specific context descriptions, providing an objective automated score.
4.2.3. Emotional Dynamic Performance
- Human Evaluation (Emo. Realism Score): Human evaluators assessed the naturalness, consistency, and appropriateness of emotional changes and expressions in multi-turn dialogues. They rated the "emotional realism" on a 1-5 Likert scale, with higher scores being better.
- Emotional Trajectory Analysis (Dynamic Cons.): This quantitative metric, specifically "Dynamic Consistency," measured the smoothness and contextual relevance of the persona’s internal emotional state vector over time. It was typically calculated as the average L2 distance between consecutive emotional states, penalized for abrupt changes, and normalized. Lower values indicate smoother, more consistent, and realistic emotional trajectories.
4.3. Baselines
- SyncP (Qwen2.5-72B) [3]: The state-of-the-art population-aligned persona generation method from the baseline study, which serves as our primary direct comparison for alignment.
- Tulu-3-Persona: A method focusing on generating personas with distinct narrative styles, often used in conversational AI.
- Bavard: Another prominent persona generation technique, known for its ability to create diverse character profiles.
- Google Synthetic: A method that leverages large-scale data to synthesize persona descriptions.
- Original LLM (No Persona): A baseline where the underlying LLM (Qwen2.5-72B) generates responses without any specific persona description, relying solely on its general knowledge and instruction following. This helps highlight the impact of persona integration.
4.4. Results
Population Alignment Performance
Contextual Awareness Capability
Emotional Dynamic Performance
4.5. Human Evaluation
4.5.1. Evaluation Methodology
4.5.2. Human Evaluation Results
4.6. Ablation Study
- EvoPersona w/o CAM: The Contextual Awareness Module is disabled. Persona responses are generated solely based on the base persona description, dialogue history, and emotional state, without explicit contextual modulation.
- EvoPersona w/o EDM: The Emotional Dynamics Module is disabled. The persona’s emotional state remains static or defaults to a neutral state, and emotional guidance is not incorporated into the prompt.
- EvoPersona w/o CAM & EDM: Both dynamic modules are disabled. This configuration essentially represents the foundational population-aligned persona generation, similar to SyncP, but using EvoPersona’s primary LLM setup for response generation.
Analysis of Ablation Results
- Impact of CAM: When the Contextual Awareness Module is disabled (EvoPersona w/o CAM), the Ctx. Coherence Score drops from 4.20 to 3.45. This substantial decrease underscores the critical role of CAM in enabling personas to generate contextually appropriate behaviors and responses. Without CAM, agents struggle to adapt their style and content to the nuances of different social situations, leading to less realistic interactions. Notably, the alignment and emotional metrics remain relatively strong, indicating that CAM primarily affects contextual adaptation without degrading the other core functionalities.
- Impact of EDM: Disabling the Emotional Dynamics Module (EvoPersona w/o EDM) results in a significant reduction in Emo. Realism Score from 4.15 to 3.30 and an increase in Dynamic Cons. from 0.32 to 0.60. This clearly demonstrates EDM’s efficacy in producing nuanced, consistent, and realistic emotional trajectories. Without EDM, persona emotional expressions become static, less authentic, or prone to abrupt, unrealistic shifts, severely impacting the immersive quality of simulations. The contextual coherence and alignment metrics are largely preserved, confirming EDM’s focused impact on emotional aspects.
- Combined Impact: The baseline EvoPersona w/o CAM & EDM (which performs similarly to SyncP) shows the lowest scores across contextual and emotional metrics. This validates that the improvements seen in the full EvoPersona are indeed due to the synergistic integration of both dynamic modules, building upon a strong population-aligned foundation. The population alignment metrics (Avg. Alignment Error, MAE_corr) remain consistently low across all EvoPersona variants, reaffirming that the dynamic modules are integrated without compromising the foundational psychological realism.
4.7. Efficiency Analysis
Analysis of Efficiency Results
4.8. Qualitative Analysis and Case Studies
Discussion of Qualitative Observations
5. Conclusion
References
- Nicholas, G.; Bhatia, A. Lost in Translation: Large Language Models in Non-English Content Analysis. CoRR 2023. [Google Scholar] [CrossRef]
- Norambuena, B.F.K.; Mitra, T.; North, C. Design guidelines for narrative maps in sensemaking tasks. Inf. Vis. 2022, 220–245. [Google Scholar] [CrossRef]
- Xu, M.; Li, P.; Yang, H.; Ren, P.; Ren, Z.; Chen, Z.; Ma, J. A Neural Topical Expansion Framework for Unstructured Persona-Oriented Dialogue Generation. In Proceedings of the ECAI 2020 - 24th European Conference on Artificial Intelligence, 29 August-8 September 2020, Santiago de Compostela, Spain, August 29 - September 8, 2020 - Including 10th Conference on Prestigious Applications of Artificial Intelligence (PAIS 2020). IOS Press, 2020; pp. 2244–2251. [CrossRef]
- Hu, H.; Zhou, Y.; Si, J.; Wang, Q.; Zhang, H.; Ren, F.; Ma, F.; Cui, L. Beyond Empathy: Integrating Diagnostic and Therapeutic Reasoning with Large Language Models for Mental Health Counseling. arXiv 2025, arXiv:2505.15715. [Google Scholar] [CrossRef]
- Terreau, E.; Gourru, A.; Velcin, J. Capturing Style in Author and Document Representation. CoRR 2024. [Google Scholar] [CrossRef]
- Lee, H.D.; Lee, S.; Kang, U. AUBER: Automated BERT Regularization. CoRR 2020. [Google Scholar] [CrossRef] [PubMed]
- Alvarez-Gonzalez, N.; Kaltenbrunner, A.; Gómez, V. Uncovering the Limits of Text-based Emotion Detection. In Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2021, Virtual Event / Punta Cana, Dominican Republic, 16-20 November, 2021. Association for Computational Linguistics, 2021; pp. 2560–2583. [CrossRef]
- Troiano, E.; Padó, S.; Klinger, R. Crowdsourcing and Validating Event-focused Emotion Corpora for German and English. In Proceedings of the Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers. Association for Computational Linguistics, 2019; pp. 4005–4011. [CrossRef]
- Choi, J.; Park, H.; Lee, H.; Shin, H.; Jin, H.J.; Kim, B. Pay What LLM Wants: Can LLM Simulate Economics Experiment with 522 Real-human Persona? CoRR 2025. [Google Scholar] [CrossRef]
- Hu, Z.; Xiao, Z.; Xiong, M.; Lei, Y.; Wang, T.; Lian, J.; Ding, K.; Xiao, Z.; Yuan, N.J.; Xie, X. Population-Aligned Persona Generation for LLM-based Social Simulation. arXiv 2025, arXiv:2509.10127v1. [Google Scholar]
- Zhou, J.; Pang, L.; Jing, Y.; Gu, J.; Shen, H.; Cheng, X. Knowledge Boundary and Persona Dynamic Shape A Better Social Media Agent. CoRR 2024. [Google Scholar] [CrossRef]
- Teutloff, J.K. Synthetic Founders: AI-Generated Social Simulations for Startup Validation Research in Computational Social Science. arXiv 2025, arXiv:2509.02605v1. [Google Scholar]
- Han, J.; Heo, Y. Not All Personas Are Worth It: Culture-Reflective Persona Data Augmentation. CoRR 2025. [Google Scholar] [CrossRef]
- Li, A.; Chen, H.; Namkoong, H.; Peng, T. LLM Generated Persona is a Promise with a Catch. CoRR 2025. [Google Scholar] [CrossRef]
- Yang, H.; Zhou, Y.; Han, W.; Shen, J. Self-Rewarding Large Vision-Language Models for Optimizing Prompts in Text-to-Image Generation. arXiv 2025, arXiv:2505.16763. [Google Scholar]
- Zhou, Y.; Li, X.; Wang, Q.; Shen, J. Visual In-Context Learning for Large Vision-Language Models. In Proceedings of the Findings of the Association for Computational Linguistics, ACL 2024, Bangkok, Thailand and virtual meeting, August 11-16, 2024. Association for Computational Linguistics, 2024; pp. 15890–15902.
- Zhou, Y.; Song, L.; Shen, J. Improving Medical Large Vision-Language Models with Abnormal-Aware Feedback. arXiv 2025, arXiv:2501.01377. [Google Scholar]
- Reusens, M.; Baesens, B.; Jurgens, D. Are Economists Always More Introverted? Analyzing Consistency in Persona-Assigned LLMs. CoRR 2025. [Google Scholar] [CrossRef]
- Chen, K.; Sun, Z. DeepPsy-Agent: A Stage-Aware and Deep-Thinking Emotional Support Agent System. CoRR 2025. [Google Scholar] [CrossRef]


| Method | Alignment Error (↓) | MAE_corr (↓) | Ctx. Coherence (↑) | Emo. Realism (↑) | Dynamic Cons. (↓) |
|---|---|---|---|---|---|
| Tulu-3-Persona | 0.4738 | 0.6120 | 2.85 | 2.70 | 0.75 |
| Bavard | 0.3825 | 0.4355 | 3.10 | 2.95 | 0.68 |
| Google Synthetic | 0.3837 | 0.4423 | 3.05 | 2.88 | 0.70 |
| SyncP (Qwen2.5-72B) | 0.3791 | 0.4289 | 3.25 | 3.15 | 0.65 |
| Ours (EvoPersona) | 0.3755 | 0.4192 | 4.20 | 4.15 | 0.32 |
| Method | Alignment Error (↓) | MAE_corr (↓) | Ctx. Coherence (↑) | Emo. Realism (↑) | Dynamic Cons. (↓) |
|---|---|---|---|---|---|
| w/o CAM & EDM | 0.3798 | 0.4295 | 3.30 | 3.20 | 0.68 |
| w/o CAM | 0.3762 | 0.4210 | 3.45 | 4.05 | 0.35 |
| w/o EDM | 0.3759 | 0.4198 | 4.10 | 3.30 | 0.60 |
| EvoPersona (Full) | 0.3755 | 0.4192 | 4.20 | 4.15 | 0.32 |
| Scenario | SyncP (Baseline Behavior) | EvoPersona (Our Method Behavior) |
|---|---|---|
| Formal Business Meeting | Persona provides factually correct information but often uses informal language, lacks appropriate deference, or expresses emotions (e.g., excitement) that are out of place for the setting. | Persona maintains a formal tone, uses professional vocabulary, exhibits appropriate body language descriptions (e.g., "nods thoughtfully"), and modulates emotional expression to be reserved and professional, even when internally feeling strong emotions. |
| Casual Social Gathering | Persona’s responses can be overly formal or generic, sometimes struggling to maintain a lighthearted or friendly tone. Emotional expressions might be either muted or exaggerated. | Persona engages with playful banter, uses colloquialisms, expresses genuine warmth or amusement, and adapts to the conversational flow with natural pauses and turns. Emotional expressions are fluid and align with the relaxed atmosphere. |
| Conflict Resolution (Tense) | Persona tends to either aggressively escalate or passively disengage, often failing to de-escalate or express empathy appropriately. Emotional state might jump erratically. | Persona navigates the tension carefully, using diplomatic language, acknowledging other’s feelings, and expressing a gradual shift in emotions (e.g., initial frustration giving way to a desire for resolution). Maintains emotional consistency despite high-stress input. |
| Unexpected Positive Event | Persona expresses happiness, but the intensity or duration might feel generic or disproportionate to their personality. Emotional state might not persist realistically. | Persona’s expression of joy is modulated by their inherent personality (e.g., an introverted persona might show quiet contentment, an extroverted one exuberant delight). The positive emotional state persists and subtly influences subsequent interactions. |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).