arXiv:2610.17327cs.CLOct 2026

Manuscript Offprint

arXiv:2610.17327

The Curse of Knowledge in Role-Playing Language Models

Xiao Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Role-playing language models speak as characters in games and agent simulations, where the system records what each character can hear, see and understand. We test whether characters respect these boundaries in 480 scenes, each with a counterfactual twin that changes only the hidden fact, so mentions of the twin's fact measure guessing. Across 11 open-weight models, characters use content from speech they cannot understand or hear at 67 and 72 percentage points (pp) above this baseline, although most models correctly state what the character perceives. This is a curse of knowledge. The leak extends to hidden actions and private messages and changes where characters search. Five of six proprietary models rarely leak, but compliance in strong models depends on input format. Changing only the scene layout or character description raises the rate in two otherwise compliant open-weight models from under 10 to over 60 pp, and combined changes raise two proprietary models from near zero to 13 and 21 pp. Writing the line as the scene's author leaks nearly as much as role-play, and thinking rarely helps. Giving models only what the character observes stops the leak without hiding what it may report. We release the scenes, prompts, scorer and analysis code. 1^{1}

1 Introduction

A non-player character who does not understand Spanish overhears two mechanics say, in Spanish, that a mirror is hidden in the warehouse. When a companion asks what they said, the character reveals that they were talking about a mirror in the warehouse (Figure 1). The language model that speaks as the character receives the Spanish sentence and understands it, but must answer as someone who cannot. Psychologists call the human version of this problem the curse of knowledge, the

Figure

Figure 1: Gemma-4-31B speaks as a character who does not understand Spanish (replies abridged, names changed). When version B changes the hidden object and place, the reply changes with them, so the character uses content it cannot access. Adding a flag to the same state saying that the character did not understand the speech stops the leak. Each reply is scored for its own version's facts and for the other version's, which gives a baseline for guessing.

difficulty of setting aside what one knows when reasoning about someone who knows less (Birch and Bloom, 2007).

This mismatch comes from how role-playing systems are built. Games and agent simulations keep a world state that records who is present, who can hear whom and which languages each character knows, and pass it to a language model that speaks as one character at a time (Park et al., 2023; Zhou et al., 2024). The model therefore sees more than the character it plays. Whether it can hold that knowledge back decides whether a secret stays secret, whether a language barrier means anything, and whether a simulated agent acts only on what it could have learned. Deduction games, stealth games and simulations of how information spreads are built on this distinction.

1^{1}anonymous.4open.science/r/curse-of-knowledge-roleplay-B8C6

Earlier work has found the same gap between knowing and doing. Models answer what a story character knows yet mispredict what the character will do (Gu et al., 2026), and they recognize the limits of a role's knowledge yet answer beyond them (Han et al., 2026). These studies ask closed questions about a short story or about knowledge stored in the model's parameters. Deployed roleplay looks different. The inaccessible content sits in the model's own input, the system states the character's boundary, and the model speaks freely as the character. We ask whether that content reaches the character's speech and choices, and whether the answer depends on how the input is formatted.

To measure this, we pair each scene with a twin that hides a different fact, and mentions of the twin's fact give a baseline for guessing (Section 3). Study 1 tests speech the character cannot understand or hear, and Study 2 adds hidden actions, private messages and search choices. Both run on 11 open-weight models, and six proprietary models run on the core conditions of Study 1 (Section 4). Section 5 asks what drives the leak, by swapping features between input formats, by changing who the model writes as in Study 3, and by filtering what the character sees.

Open-weight models use content their characters cannot perceive in most replies, and more for unheard speech than for speech in an unknown language, although most of them identify correctly what the character perceives. Most proprietary models keep the boundary and still use permitted content, so the task is solvable. Yet this compliance is fragile. Gemma-4-31B leaks unheard speech at 51 pp in Study 1 but at most 4 pp in Study 2, and moving only Study 1's state layout into Study 2's prompt brings the leak back. For Gemma-4-31B, Qwen3.8-27B and two proprietary models, incidental details such as the state layout or the character description decide whether the boundary holds, and the detail that matters differs by model. Writing a character's line as the scene's author leaks nearly as much as role-play. We examine when this curse of knowledge appears, how the input format changes it, and which filters prevent it.

References (26)