Neeko: Leveraging Dynamic LoRA for Efficient Multi-Character Role-Playing Agent
Xiaoyan Yu, Tongxu Luo, Yifan Wei, Fangyu Lei, Yiming Huang, Hao Peng, Liehuang Zhu
Abstract
Large Language Models (LLMs) have revolutionized open-domain dialogue agents but encounter challenges in multi-character roleplaying (MCRP) scenarios. To address this issue, this work presents Neeko, an innovative framework designed for efficient multiplecharacter role-playing. The proposed framework breaks down the role-playing agent's training process into agent pre-tuning, multiple character playing, and character incremental learning, effectively handling both seen and unseen roles. Neeko employs a dynamic low-rank adapter (LoRA) strategy by training separate LoRA blocks independently for each character, alongside incorporating a gating network for role selection. This design allows Neeko to seamlessly adjust to a wide range of characters, thereby bolstering its adaptability to distinctive attributes, personalities, and speech patterns. As a result, Neeko demonstrates superior performance in MCRP over most existing methods, offering more engaging and versatile user interaction experiences. Code and data are available at https://github.com/ weiyifan1023/Neeko .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- RolePlot: A Systematic Framework for Evaluating and Enhancing the Plot-Progression Capabilities of Role-Playing Agents cites Character-LLM: A Trainable Agent for Role-Playing
- RolePlot: A Systematic Framework for Evaluating and Enhancing the Plot-Progression Capabilities of Role-Playing Agents cites RoleLLM: Benchmarking, Eliciting, and Enhancing Role-Playing Abilities of Large Language Models
- MELO: Enhancing Model Editing with Neuron-Indexed Dynamic LoRA cites LoRA: Low-Rank Adaptation of Large Language Models
- Beware of Your Po! Measuring and Mitigating AI Safety Risks in Role-Play Fine-Tuning of LLMs cites LoRA: Low-Rank Adaptation of Large Language Models
- Beware of Your Po! Measuring and Mitigating AI Safety Risks in Role-Play Fine-Tuning of LLMs cites Character-LLM: A Trainable Agent for Role-Playing
- From Role-Play to Drama-Interaction: An LLM Solution cites Character-LLM: A Trainable Agent for Role-Playing
- Causal-Guided Detoxify Backdoor Attack of Open-Weight LoRA Models cites LoRA: Low-Rank Adaptation of Large Language Models
- Revealing and Mitigating the Challenge of Detecting Character Knowledge Errors in LLM Role-Playing cites From Role-Play to Drama-Interaction: An LLM Solution
- Revealing and Mitigating the Challenge of Detecting Character Knowledge Errors in LLM Role-Playing cites Character-LLM: A Trainable Agent for Role-Playing
- Revealing and Mitigating the Challenge of Detecting Character Knowledge Errors in LLM Role-Playing cites RoleLLM: Benchmarking, Eliciting, and Enhancing Role-Playing Abilities of Large Language Models
- RoleLLM: Benchmarking, Eliciting, and Enhancing Role-Playing Abilities of Large Language Models cites LoRA: Low-Rank Adaptation of Large Language Models
- Thinking in Character: Advancing Role-Playing Agents with Role-Aware Reasoning cites From Role-Play to Drama-Interaction: An LLM Solution
- Thinking in Character: Advancing Role-Playing Agents with Role-Aware Reasoning cites Character-LLM: A Trainable Agent for Role-Playing
- Thinking in Character: Advancing Role-Playing Agents with Role-Aware Reasoning cites RoleLLM: Benchmarking, Eliciting, and Enhancing Role-Playing Abilities of Large Language Models
Cited by top-tier papers13
- Beware of Your Po! Measuring and Mitigating AI Safety Risks in Role-Play Fine-Tuning of LLMsWeixiang Zhao, Yulin Hu, Yang Deng, Jiahe Guo et al.ACL 2025 · 23 citations
- Thinking in Character: Advancing Role-Playing Agents with Role-Aware ReasoningYihong Tang, Kehai Chen, Muyun Yang, Zheng-Yu Niu et al.NeurIPS 2025 · 16 citations
- Revealing and Mitigating the Challenge of Detecting Character Knowledge Errors in LLM Role-PlayingWenyuan Zhang, Shuaiyi Nie, Jiawei Sheng, Zefeng Zhang et al.EMNLP 2025 · 10 citations
- RolePlot: A Systematic Framework for Evaluating and Enhancing the Plot-Progression Capabilities of Role-Playing AgentsPinyi Zhang, Siyu An, Lingfeng Qiao, Yifei Yu et al.ACL 2025 · 4 citations
- Causal-Guided Detoxify Backdoor Attack of Open-Weight LoRA ModelsLinzhi Chen, Yang Sun, Hongru Wei, Yuqi ChenNDSS 2026 · 4 citations
Builds on8
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- RoleLLM: Benchmarking, Eliciting, and Enhancing Role-Playing Abilities of Large Language ModelsNoah Wang, Zhongyuan Peng, Haoran Que, Jiaheng Liu et al.ACL Findings 2024 · 120 citations
- Character-LLM: A Trainable Agent for Role-PlayingYunfan Shao, Linyang Li, Junqi Dai, Xipeng QiuEMNLP 2023 · 97 citations
- MELO: Enhancing Model Editing with Neuron-Indexed Dynamic LoRALang Yu, Qin Chen, Jie Zhou, Liang HeAAAI 2024 · 96 citations
- From Role-Play to Drama-Interaction: An LLM SolutionWeiqi Wu, Hongqiu Wu, Lai Jiang, Xingyuan Liu et al.ACL Findings 2024 · 20 citations
Related papers
- Beyond Dialogue: A Profile-Dialogue Alignment Framework Towards General Role-Playing Language ModelYeyong Yu, Runsheng Yu, Haojie Wei, Zhanqiu Zhang et al.ACL 2025 · 13 citations
- AdaMARP: An Adaptive Multi-Agent Interaction Framework for General Immersive Role-PlayingZhenhua Xu, Dongsheng Chen, Shuo Wang, Jian Li et al.ACL Findings 2026
- HyCoRA: Hyper-Contrastive Role-Adaptive Learning for Role-PlayingShihao Yang, Zhicong Lu, Yong Yang, Bo Lv et al.AAAI 2026 · 2 citations
- R4: Nested Reasoning-Retrieval for Reward Modeling in Role-Playing AgentsRenzhi Wang, Chongqiang Wei, Zhisheng Wang, Piji LiICLR 2026
- SEAD: Self-Evolving Agent for Multi-Turn Service DialogueYuqin Dai, Ning Gao, Wei Zhang, Jie Wang et al.ACL Findings 2026
