How large language models encode theory-of-mind: a study on sparse parameter patterns

This paper investigates the emergence of Theory-of-Mind (ToM) capabilities in large language models (LLMs) from a mechanistic perspective, focusing on the role of extremely sparse parameter patterns. We introduce a novel method to identify ToM-sensitive parameters and reveal that perturbing as little as 0.001% of these parameters significantly degrades ToM performance while also impairing contextual localization and language understanding. To understand this effect, we analyze their interactions with core architectural components of LLMs. Our findings demonstrate that these sensitive parameters are closely linked to the positional encoding module, particularly in models using Rotary Position Embedding (RoPE), where perturbations disrupt dominant frequency activations critical for contextual processing. Furthermore, we show that perturbing ToM-sensitive parameters affects LLMs’ attention mechanism by modulating the angle between queries and keys under positional encoding. These insights provide a deeper understanding of how LLMs acquire social reasoning abilities, bridging AI interpretability with cognitive science.

Authors

Institutions

Publication Details

Journal
npj Artificial Intelligence
Published
2025-08-28
DOI
https://doi.org/10.1038/s44387-025-00031-9
Citations
2
Primary Topic
Language and cultural evolution
Type
article
Field-Weighted Citation Impact
32.98
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

How large language models encode theory-of-mind: a study on sparse parameter patterns

Heng Ji, Denghui Zhang, Zhuoqun Xu, Zirui Liu et al.
2 citations
npj Artificial Intelligence
Language and cultural evolution
32.98
article

How large language models encode theory-of-mind: a study on sparse parameter patterns

Heng Ji, Denghui Zhang, Zhuoqun Xu, Zirui Liu, Wentao Guo, Yuheng Wu
article en
2 citations

Abstract

This paper investigates the emergence of Theory-of-Mind (ToM) capabilities in large language models (LLMs) from a mechanistic perspective, focusing on the role of extremely sparse parameter patterns. We introduce a novel method to identify ToM-sensitive parameters and reveal that perturbing as little as 0.001% of these parameters significantly degrades ToM performance while also impairing contextual localization and language understanding. To understand this effect, we analyze their interactions with core architectural components of LLMs. Our findings demonstrate that these sensitive parameters are closely linked to the positional encoding module, particularly in models using Rotary Position Embedding (RoPE), where perturbations disrupt dominant frequency activations critical for contextual processing. Furthermore, we show that perturbing ToM-sensitive parameters affects LLMs’ attention mechanism by modulating the angle between queries and keys under positional encoding. These insights provide a deeper understanding of how LLMs acquire social reasoning abilities, bridging AI interpretability with cognitive science.

npj Artificial IntelligenceVol. 1(1)
Stevens Institute of Technology (US), University of Minnesota (US), University of Illinois Urbana-Champaign (US), Princeton University (US), Twin Cities Orthopedics (US), Stanford University (US)
Openalex Percentile: Top 0%
Language and cultural evolution
32.98
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

How large language models encode theory-of-mind: a study on sparse parameter patterns — Heng Ji, Denghui Zhang, et al. · npj Artificial Intelligence (2025) | TGRS Research Map | TGRS