MECoT: Markov Emotional Chain-of-Thought for Personality-Consistent Role-Playing

Yangbo Wei, Zhen Huang, Fangzhou Zhao, Qi Feng, Wei W. Xing


Abstract
Large Language Models (LLMs) have shown remarkable capabilities in role-playing dialogues, yet they often struggle to maintain emotionally consistent and psychologically plausible character personalities. We present MECoT (Markov Emotional Chain-of-Thought), a framework that enhances LLMs’ ability to generate authentic personality-driven dialogues through stochastic emotional transitions. Inspired by dual-process theory, MECoT combines a Markov-chain-driven emotional processor for intuitive responses with an LLM-based reasoning mechanism for rational regulation, mapped onto a 12-dimensional Emotion Circumplex Model. The framework dynamically adjusts emotional transitions using personality-weighted matrices and historical context, ensuring both emotional coherence and character consistency. We introduce the Role-playing And Personality Dialogue (RAPD) dataset, featuring diverse character interactions with fine-grained emotional annotations, along with novel metrics for evaluating emotional authenticity and personality alignment. Experimental results demonstrate MECoT’s effectiveness, achieving 93.3% emotional accuracy on RAPD and substantially outperforming existing approaches. Our analysis reveals optimal emotional granularity (12-16 categories) and validates our data-driven personality optimization approach. Code and data are available at https://anonymous.4open.science/r/MECoT
Anthology ID:
2025.findings-acl.435
Volume:
Findings of the Association for Computational Linguistics: ACL 2025
Month:
July
Year:
2025
Address:
Vienna, Austria
Editors:
Wanxiang Che, Joyce Nabende, Ekaterina Shutova, Mohammad Taher Pilehvar
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
8297–8314
Language:
URL:
https://preview.aclanthology.org/display_plenaries/2025.findings-acl.435/
DOI:
Bibkey:
Cite (ACL):
Yangbo Wei, Zhen Huang, Fangzhou Zhao, Qi Feng, and Wei W. Xing. 2025. MECoT: Markov Emotional Chain-of-Thought for Personality-Consistent Role-Playing. In Findings of the Association for Computational Linguistics: ACL 2025, pages 8297–8314, Vienna, Austria. Association for Computational Linguistics.
Cite (Informal):
MECoT: Markov Emotional Chain-of-Thought for Personality-Consistent Role-Playing (Wei et al., Findings 2025)
Copy Citation:
PDF:
https://preview.aclanthology.org/display_plenaries/2025.findings-acl.435.pdf