arXiv:2610.17777cs.CLOct 2026

Manuscript Offprint

arXiv:2610.17777

Beyond Belief Nesting: Rethinking Higher-Order Theory of Mind in Large Language Models

Shanshan You, Zhengqi Wang, Hao Liu, Yuqin Liu, Ya He, Xin Hao, Liyuan Wang

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

Abstract

Theory of mind (ToM), the ability to reason about others' mental states, underlies effective communication and coordination. Its higher-order form enables reasoning over nested perspectives in strategic interactions. However, existing evaluations often equate belief-nesting depth with reasoning order, allowing nominally higher-order questions to admit lower-order shortcuts. We formalize effective order through the distinct events supporting successive belief prefixes, revealing widespread order inflation across existing benchmarks. We introduce HOPTOM, with certified full-order questions and controls for lower-order alternatives. Under direct prompting, mean accuracy across four frontier LLMs falls from 73.5% at first order to 20.0% at fourth order, and human participants also struggle. Causal interventions link a recurring class of errors to evidence for shallower belief prefixes. We introduce HOPTRACE, a plug-and-play inference-time method that encodes each interaction once into perspective records and resolves nested queries deterministically. On certified narrative questions, it improves fourth- and fifth-order accuracy by 22.0 and 38.5 percentage points over strong prompting baselines, while using 20–39 times fewer tokens than multi-call methods. These results sharpen how higher-order ToM is evaluated and offer a practical way to improve perspective reasoning in interactive agents.

1 Introduction

Theory of mind (ToM) allows intelligence to reason about others' beliefs, knowledge, and intentions, supporting effective communication and interaction (Premack and Woodruff, 1978; Wimmer and Perner, 1983). Higher-order ToM extends this capacity to recursively nested mental states: what one agent believes another knows or believes (Perner and Wimmer, 1985). Such reasoning becomes crucial when agents coordinate with multiple partners,

Figure

Figure 1: Nested beliefs behind a fourth-order question.

information is shared selectively, and their views of one another diverge. As large language models (LLMs) increasingly participate in multi-party interactions, evaluating their ability to track these nested perspectives has become an important test of how well they can reason about others. However, higher-order ToM is commonly evaluated by counting the belief operators in a question (Kinderman et al., 1998; Wu et al., 2023; Street et al., 2026). Consider asking, Where does Amy think Ben thinks Carol thinks Dan thinks the cake is? (Fig. 1). If all four witness the cake's last move and know that the others witnessed it, the answer follows from a single shared event. The question names four belief layers, but a respondent can answer it without distinguishing evidence for those layers. This creates a critical problem: nested wording alone does not establish the perspective reasoning a question tests. Analyses of human recursive mindreading likewise show that partial-chain strategies can inflate performance estimates (Wilson et al., 2023).

We make this distinction precise by representing a story as belief-changing events indexed by the perspectives to which they are available. For each successive prefix of a nested query, we identify the event that settles its belief and define the query's effective order by the number of distinct settling events. This shifts the assessment of order from the wording of a question to the information structure needed to resolve its nested perspectives. Auditing representative ToM benchmarks reveals

∗^{*}Corresponding author.

Figure

Figure 2: Belief nesting can overstate effective order. Left: The same fourth-order query has r = 1 in A and r = 4 in B. Colors mark the event supporting each prefix. Right: HOPTRACE encodes perspective records and resolves each prefix independently. Sequential backward lookup instead selects t = 2 and incorrectly answers “crate”.

widespread order inflation: many questions labeled as higher-order have substantially lower effective orders. Consequently, their scores alone cannot establish the depth of perspective reasoning achieved by either humans or language models.

To provide a more discriminating evaluation, we introduce HOPTOM (Higher-order perspective Theory of Mind). We design the perspective structure and queries before writing each story, allowing effective order to be verified and lower-order alternatives to be examined through explicit controls. On the resulting certified questions, mean accuracy across four LLMs under direct prompting falls from 73.5% at first order to 20.0% at fourth. Human participants also find the certified questions difficult. Moreover, causal analyses reveal a recurring failure mode: when answering a nested question incorrectly, models often retrieve evidence supporting a shallower belief chain. These findings expose a gap between recognizing the agents mentioned in a question and maintaining the perspective relations needed to answer it.

We address this gap with HOPTRACE, a plug-and-play inference-time method that encodes an interaction once into ordered perspective records and resolves nested queries with a deterministic solver. The records preserve directed awareness, and the solver searches independently for the event supporting each belief prefix. One encoding serves multiple queries and yields an inspectable trace for each answer. On certified narrative questions, HOPTRACE improves fourth- and fifth-order accuracy by 22.0 and 38.5 percentage points over strong prompting baselines. It uses one LLM call per interaction and 20–39 times fewer tokens than multi-call methods. Ablation studies validate the efficacy of ordered perspectives, independent prefix search, and program execution.

Our contributions include: (1) an event-perspective formalization of effective order and an audit of order inflation in existing benchmarks; (2) a certified benchmark that verifies the intended perspective structure and includes controlled lower-order alternatives; (3) a plug-and-play inference-time method that combines reusable perspective encoding with deterministic query resolution; and (4) behavioral and causal analyses that characterize higher-order ToM performance in LLMs and explain a recurring source of model errors.

References (22)