Rui Xu
Author directoryOther people with similar names: Rui Xu, Rui Xu
Unverified author pages with similar names: Rui Xu
2026
HER: Human-like Reasoning and Reinforcement Learning for LLM Role-playing
Chengyu Du | Xintao Wang | Aili Chen | Weiyuan Li | Rui Xu | Junteng Liu | Zishan Huang | Rong Tian | Zijun Sun | Yuhao Li | Liheng Feng | Deming Ding | Pengyu Zhao | Yanghua Xiao
Findings of the Association for Computational Linguistics: ACL 2026
Chengyu Du | Xintao Wang | Aili Chen | Weiyuan Li | Rui Xu | Junteng Liu | Zishan Huang | Rong Tian | Zijun Sun | Yuhao Li | Liheng Feng | Deming Ding | Pengyu Zhao | Yanghua Xiao
Findings of the Association for Computational Linguistics: ACL 2026
LLM role-playing, i.e., using large language models (LLMs) to simulate specific personas, has emerged as a key capability in various applications, such as companionship, content creation, and digital games. While current models effectively capture character tones and knowledge, simulating the inner thoughts behind their behaviors remains a non-trivial challenge. Towards cognitive simulation in LLM role-play, previous efforts have mainly suffered from two critical deficiencies: the lack of high-quality datasets with explicit reasoning traces and the absence of reliable reward signals aligned with human preferences. In this paper, we propose HER (Human Emulation Reasoning), a unified framework for cognitive-level persona simulation. HER introduces a dual-layer thinking mechanism that strictly distinguishes characters’ first-person thinking processes from LLMs’ third-person reasoning. To bridge the aforementioned gaps, we curate a reasoning-augmented role-playing dataset via a reverse engineering strategy for supervised learning, and construct human-aligned evaluation principles and preference-based reward models for role-play reinforcement learning. Leveraging these resources, we train HER models based on the Qwen3-32B backbone via a hybrid paradigm of supervised learning (SL) and reinforcement learning from human feedback (RLHF). Extensive experiments validate the effectiveness of our approach. Notably, our models significantly outperform the Qwen3-32B baseline, achieving a 30.26% on the CoSER benchmark and a 14.97% on the MiniMax Benchmark. Our datasets, evaluation principles, and trained models will be released to facilitate future research in cognitive-level LLM role-playing.
PR-LoRA: Direction-Regularized Low-Rank Adaptation for Behavioral Alignment in Large Language Models
Yikai Zhang | Rui Xu | Aili Chen | Haoyu Zhang | Libo Wu | Xu Yinghui | Yanghua Xiao
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Yikai Zhang | Rui Xu | Aili Chen | Haoyu Zhang | Libo Wu | Xu Yinghui | Yanghua Xiao
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Behavioral problems in deployed LLMs are often discovered when only limited supervision is available and repeating full alignment training is impractical. Existing post-hoc methods have complementary limitations: activation steering lacks input adaptivity, while standard LoRA learns without an explicit behavioral direction prior and can be unstable in low-data settings. We introduce PR-LoRA, a direction-regularized LoRA variant that initializes LoRA B matrices with per-layer contrastive behavioral directions and anchors them with an L2 penalty, while leaving A freely trainable. We evaluate PR-LoRA on seven CAA behaviors across Qwen3 and LLaMA models against activation steering and parameter-efficient adaptation baselines. On Qwen3-8B, PR-LoRA lowers the seven-behavior macro-average undesirable-behavior score from .405 to .374 relative to standard LoRA, a 7.8% relative reduction, and outperforms DPO-LoRA and LoReFT under the tested low-update budget.
OSPD: On-Policy Self-Distillation for Persona-Consistent Dialogue
Rui Xu | Yikai Zhang | Aili Chen | Zicheng Zhao | Xu Yinghui | Libo Wu
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Rui Xu | Yikai Zhang | Aili Chen | Zicheng Zhao | Xu Yinghui | Libo Wu
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Maintaining persona consistency across multi-turn dialogues remains a core challenge for role-playing language models. Off-policy distillation from external teachers incurs distribution mismatch that compounds across dialogue turns, while reinforcement learning struggles with reward ambiguity inherent in subjective persona fidelity. We propose OSPD, an on-policy self-distillation framework where the same model serves as both teacher and student under asymmetric information: the teacher receives a complete character profile while the student sees only a brief summary, and the student generates trajectories from its own policy. We find that teacher confidence in role-playing dialogue exhibits a bimodal structure—sharply peaked at character-critical tokens yet diffuse at generic utterances—and introduce role-aware divergence switching to match this structure. A progressive trait masking curriculum further forces staged internalization of character knowledge along semantic dimensions. Experiments on CharacterBench, CharacterEval, and SocialBench show that OSPD substantially improves persona consistency over supervised fine-tuning and multi-turn RL baselines, without requiring any external teacher or reward model.
MoralSteer: Safety-Preserving Fidelity Gains in Morally Complex Role-Playing via Theory-Guided On-Policy Self-Distillation
Shaojie Shi | Teqi Hao | Bohao Lv | Rui Xu | Zhengyu Shi | Xu Yinghui
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Shaojie Shi | Teqi Hao | Bohao Lv | Rui Xu | Zhengyu Shi | Xu Yinghui
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Aligned LLMs systematically fail at morally complex role-playing: villains collapse into prosocial defaults due to a structural safety and fidelity tension. We present MoralSteer, a theory-guided on-policy self-distillation framework that improves morally complex role-play fidelity while preserving the safety behavior of aligned base models. MoralSteer treats Moral Foundations Theory (MFT) reasoning chains as privileged information for a frozen teacher, introduces a moral-complexity-adaptive KL interpolation 𝛼(c)=𝜎(M(c)-𝜏) to prevent prosocial collapse, and couples this with M(c)-adaptive trajectory mixing to mitigate rollout degeneration. Across four base models, MoralSteer improves Moral RolePlay L3+L4 scores by +5.8∼+9.9%; across five safety benchmarks, the observed rate differences remain within ±1pp of the aligned bases. We find that villain failure concentrates in Care/Fairness foundations (67% of the L4 gap) and that aligned models perform trait substitution rather than deletion. Our code is available at https://github.com/Sii-yuning/MoralSteer.
2025
Guess What I am Thinking: A Benchmark for Inner Thought Reasoning of Role-Playing Language Agents
Rui Xu | Mingyu Wang | Xintao Wang | Dakuan Lu | Xiaoyu Tan | Wei Chu | Xu Yinghui
Findings of the Association for Computational Linguistics: EMNLP 2025
Rui Xu | Mingyu Wang | Xintao Wang | Dakuan Lu | Xiaoyu Tan | Wei Chu | Xu Yinghui
Findings of the Association for Computational Linguistics: EMNLP 2025
Recent advances in Large Language Model (LLM)-based Role-Playing Language Agents (RPLAs) have attracted broad attention in various applications. While chain-of-thought reasoning has shown importance in many tasks for LLMs, the internal thinking processes of RPLAs remain unexplored. Understanding characters’ inner thoughts is crucial for developing advanced RPLAs. In this paper, we introduce ROLETHINK, a novel benchmark constructed from literature for evaluating character thought generation. We propose the task of inner thought reasoning, constructing 6,058 data entries from 76 books, which includes two sets: the gold set that compares generated thoughts with original character monologues, and the silver set that uses expert-synthesized character analyses as references. To address this challenge, we propose MIRROR, a chain-of-thought approach that generates character thoughts by retrieving memories, predicting character reactions, and synthesizing motivations. Through extensive experiments, we demonstrate the importance of inner thought reasoning for RPLAs, and MIRROR consistently outperforms existing methods.
Character is Destiny: Can Persona-assigned Language Models Make Personal Choices?
Rui Xu | Xintao Wang | Jiangjie Chen | Siyu Yuan | Xinfeng Yuan | Jiaqing Liang | Zulong Chen | Xiaoqingdong | Yanghua Xiao
Findings of the Association for Computational Linguistics: EMNLP 2025
Rui Xu | Xintao Wang | Jiangjie Chen | Siyu Yuan | Xinfeng Yuan | Jiaqing Liang | Zulong Chen | Xiaoqingdong | Yanghua Xiao
Findings of the Association for Computational Linguistics: EMNLP 2025
Can Large Language Models (LLMs) simulate humans in making important decisions? Recent research has unveiled the potential of using LLMs to develop role-playing language agents (RPLAs), mimicking mainly the knowledge and tones of various characters. However, imitative decision-making necessitates a more nuanced understanding of personas. In this paper, we benchmark the ability of LLMs in persona-driven decision-making. Specifically, we investigate whether LLMs can predict characters’ decisions provided by the preceding stories in high-quality novels. Leveraging character analyses written by literary experts, we construct a dataset LIFECHOICE comprising 2,512 characters’ decision points from 470 books. Then, we conduct comprehensive experiments on LIFECHOICE with various LLMs and RPLA methodologies. The results demonstrate that state-of-the-art LLMs exhibit promising capabilities in this task, yet substantial room for improvement remains. Hence, we further propose the CHARMAP method, which adopts persona-based memory retrieval and significantly advances RPLAs on this task.
Curse of Knowledge: Your Guidance and Provided Knowledge are biasing LLM Judges in Complex Evaluation
Weiyuan Li | Xintao Wang | Siyu Yuan | Rui Xu | Jiangjie Chen | Qingqing Dong | Yanghua Xiao | Deqing Yang
Findings of the Association for Computational Linguistics: EMNLP 2025
Weiyuan Li | Xintao Wang | Siyu Yuan | Rui Xu | Jiangjie Chen | Qingqing Dong | Yanghua Xiao | Deqing Yang
Findings of the Association for Computational Linguistics: EMNLP 2025
As large language models (LLMs) grow more capable, they face increasingly diverse and complex tasks, making reliable evaluation challenging. The paradigm of LLMs as judges has emerged as a scalable solution, yet prior work primarily focuses on simple settings. Their reliability in complex tasks—where multi-faceted rubrics, unstructured reference answers, and nuanced criteria are critical—remains understudied. In this paper, we constructed ComplexEval Bench, a challenge benchmark designed to systematically expose and quantify Auxiliary Information Induced Biases. We systematically investigated and validated 6 previously unexplored biases across 12 basic and 3 advanced scenarios. Key findings reveal: (1) all evaluated models exhibit significant susceptibility to these biases, with bias magnitude scaling with task complexity; (2) notably, Large Reasoning Models (LRMs) show paradoxical vulnerability. Our in-depth analysis offers crucial insights for improving the accuracy and verifiability of evaluation signals, paving the way for more general and robust evaluation models.
2024
Capturing Minds, Not Just Words: Enhancing Role-Playing Language Models with Personality-Indicative Data
Yiting Ran | Xintao Wang | Rui Xu | Xinfeng Yuan | Jiaqing Liang | Yanghua Xiao | Deqing Yang
Findings of the Association for Computational Linguistics: EMNLP 2024
Yiting Ran | Xintao Wang | Rui Xu | Xinfeng Yuan | Jiaqing Liang | Yanghua Xiao | Deqing Yang
Findings of the Association for Computational Linguistics: EMNLP 2024
Role-playing agents (RPA) have been a popular application area for large language models (LLMs), attracting significant interest from both industry and academia. While existing RPAs well portray the characters’ knowledge and tones, they face challenges in capturing their minds, especially for small role-playing language models (RPLMs). In this paper, we propose to enhance RPLMs via personality-indicative data. Specifically, we leverage questions from psychological scales and distill advanced RPAs to generate dialogues that grasp the minds of characters. Experimental results validate that RPLMs trained with our dataset exhibit advanced role-playing capabilities for both general and personality-related evaluations.
Evaluating Character Understanding of Large Language Models via Character Profiling from Fictional Works
Xinfeng Yuan | Siyu Yuan | Yuhan Cui | Tianhe Lin | Xintao Wang | Rui Xu | Jiangjie Chen | Deqing Yang
Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing
Xinfeng Yuan | Siyu Yuan | Yuhan Cui | Tianhe Lin | Xintao Wang | Rui Xu | Jiangjie Chen | Deqing Yang
Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing
Large language models (LLMs) have demonstrated impressive performance and spurred numerous AI applications, in which role-playing agents (RPAs) are particularly popular, especially for fictional characters. The prerequisite for these RPAs lies in the capability of LLMs to understand characters from fictional works. Previous efforts have evaluated this capability via basic classification tasks or characteristic imitation, failing to capture the nuanced character understanding with LLMs. In this paper, we propose evaluating LLMs’ character understanding capability via the character profiling task, i.e., summarizing character profiles from corresponding materials, a widely adopted yet understudied practice for RPA development. Specifically, we construct the CROSS dataset from literature experts and assess the generated profiles by comparing them with ground truth references and evaluating their applicability in downstream tasks. Our experiments, which cover various summarization methods and LLMs, have yielded promising results. These results strongly validate the character understanding capability of LLMs. Resources are available at https://github.com/Joanna0123/character_profiling.
2022
Neighbors Are Not Strangers: Improving Non-Autoregressive Translation under Low-Frequency Lexical Constraints
Chun Zeng | Jiangjie Chen | Tianyi Zhuang | Rui Xu | Hao Yang | Qin Ying | Shimin Tao | Yanghua Xiao
Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies
Chun Zeng | Jiangjie Chen | Tianyi Zhuang | Rui Xu | Hao Yang | Qin Ying | Shimin Tao | Yanghua Xiao
Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies
Lexically constrained neural machine translation (NMT) draws much industrial attention for its practical usage in specific domains. However, current autoregressive approaches suffer from high latency. In this paper, we focus on non-autoregressive translation (NAT) for this problem for its efficiency advantage. We identify that current constrained NAT models, which are based on iterative editing, do not handle low-frequency constraints well. To this end, we propose a plug-in algorithm for this line of work, i.e., Aligned Constrained Training (ACT), which alleviates this problem by familiarizing the model with the source-side context of the constraints. Experiments on the general and domain datasets show that our model improves over the backbone constrained NAT model in constraint preservation and translation quality, especially for rare constraints.
E-KAR: A Benchmark for Rationalizing Natural Language Analogical Reasoning
Jiangjie Chen | Rui Xu | Ziquan Fu | Wei Shi | Zhongqiao Li | Xinbo Zhang | Changzhi Sun | Lei Li | Yanghua Xiao | Hao Zhou
Findings of the Association for Computational Linguistics: ACL 2022
Jiangjie Chen | Rui Xu | Ziquan Fu | Wei Shi | Zhongqiao Li | Xinbo Zhang | Changzhi Sun | Lei Li | Yanghua Xiao | Hao Zhou
Findings of the Association for Computational Linguistics: ACL 2022
The ability to recognize analogies is fundamental to human cognition. Existing benchmarks to test word analogy do not reveal the underneath process of analogical reasoning of neural models. Holding the belief that models capable of reasoning should be right for the right reasons, we propose a first-of-its-kind Explainable Knowledge-intensive Analogical Reasoning benchmark (E-KAR). Our benchmark consists of 1,655 (in Chinese) and 1,251 (in English) problems sourced from the Civil Service Exams, which require intensive background knowledge to solve. More importantly, we design a free-text explanation scheme to explain whether an analogy should be drawn, and manually annotate them for each and every question and candidate answer. Empirical results suggest that this benchmark is very challenging for some state-of-the-art models for both explanation generation and analogical question answering tasks, which invites further research in this area.
Search
Fix author
Co-authors
- Yanghua Xiao 7
- Xintao Wang 6
- Jiangjie Chen 5
- Xu Yinghui 4
- Aili Chen 3
- Deqing Yang 3
- Siyu Yuan 3
- Xinfeng Yuan 3
- Weiyuan Li 2
- Jiaqing Liang 2
- Libo Wu 2
- Yikai Zhang 2
- Zulong Chen 1
- Wei Chu 1
- Yuhan Cui 1
- Deming Ding 1
- Qingqing Dong 1
- Chengyu Du 1
- Liheng Feng 1
- Ziquan Fu 1
- Teqi Hao 1
- Zishan Huang 1
- Lei Li 1
- Yuhao Li 1
- Zhongqiao Li 1
- Tianhe Lin 1
- Junteng Liu 1
- Dakuan Lu 1
- Bohao Lv 1
- Yiting Ran 1
- Shaojie Shi 1
- Wei Shi 1
- Zhengyu Shi 1
- Changzhi Sun 1
- Zijun Sun 1
- Xiaoyu Tan 1
- Shimin Tao 1
- Rong Tian 1
- Mingyu Wang 1
- Xiaoqingdong 1
- Hao Yang 1
- Qin Ying 1
- Chun Zeng 1
- Haoyu Zhang 1
- Xinbo Zhang 1
- Pengyu Zhao 1
- Zicheng Zhao 1
- Hao Zhou 1
- Tianyi Zhuang 1