Revealing and Mitigating the Challenge of Detecting Character Knowledge Errors in LLM Role-Playing

Wenyuan Zhang, Shuaiyi Nie, Jiawei Sheng, Zefeng Zhang, Xinghua Zhang +2 more
9/18/2024
cs.CLcs.HC

No official code found. Best implementation: WYRipple/rp_kw_errors (5 stars, last commit 2025-09-07).

Abstract

Large language model (LLM) role-playing has gained widespread attention. Authentic character knowledge is crucial for constructing realistic LLM role-playing agents. However, existing works usually overlook the exploration of LLMs' ability to detect characters' known knowledge errors (KKE) and unknown knowledge errors (UKE) while playing roles, which would lead to low-quality automatic construction of character trainable corpus. In this paper, we propose RoleKE-Bench to evaluate LLMs' ability to detect errors in KKE and UKE. The results indicate that even the latest LLMs struggle to detect these two types of errors effectively, especially when it comes to familiar knowledge. We experimented with various reasoning strategies and propose an agent-based reasoning method, Self-Recollection and Self-Doubt (S$^2$RD), to explore further the potential for improving error detection capabilities. Experiments show that our method effectively improves the LLMs' ability to detect error character knowledge, but it remains an issue that requires ongoing attention.

View on arXivView PDF

Code Implementations(1)

Revealing and Mitigating the Challenge of Detecting Character Knowledge Errors in LLM Role-Playing (EMNLP 2025 main)

50Aug 21, 20241 years ago

Similar Papers

Cite this paper

@article{zhang2024revealing,
  title  = {Revealing and Mitigating the Challenge of Detecting Character Knowledge Errors in LLM Role-Playing},
  author = {Wenyuan Zhang and Shuaiyi Nie and Jiawei Sheng and Zefeng Zhang and Xinghua Zhang and Yongquan He and Tingwen Liu},
  year   = {2024},
  eprint = {2409.11726},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.11726v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.11726.svg)](https://codeofpaper.com/paper/2409.11726)

Discussion