9
0

Language Models Are Capable of Metacognitive Monitoring and Control of Their Internal Activations

Abstract

Large language models (LLMs) can sometimes report the strategies they actually use to solve tasks, but they can also fail to do so. This suggests some degree of metacognition -- the capacity to monitor one's own cognitive processes for subsequent reporting and self-control. Metacognitive abilities enhance AI capabilities but raise safety concerns, as models might obscure their internal processes to evade neural-activation-based oversight mechanisms designed to detect harmful behaviors. Given society's increased reliance on these models, it is critical that we understand the limits of their metacognitive abilities, particularly their ability to monitor their internal activations. To address this, we introduce a neuroscience-inspired neurofeedback paradigm designed to quantify the ability of LLMs to explicitly report and control their activation patterns. By presenting models with sentence-label pairs where labels correspond to sentence-elicited internal activations along specific directions in the neural representation space, we demonstrate that LLMs can learn to report and control these activations. The performance varies with several factors: the number of example pairs provided, the semantic interpretability of the target neural direction, and the variance explained by that direction. These results reveal a "metacognitive space" with dimensionality much lower than the model's neural space, suggesting LLMs can monitor only a subset of their neural mechanisms. Our findings provide empirical evidence quantifying metacognitive capabilities in LLMs, with significant implications for AI safety.

View on arXiv
@article{ji-an2025_2505.13763,
  title={ Language Models Are Capable of Metacognitive Monitoring and Control of Their Internal Activations },
  author={ Li Ji-An and Hua-Dong Xiong and Robert C. Wilson and Marcelo G. Mattar and Marcus K. Benna },
  journal={arXiv preprint arXiv:2505.13763},
  year={ 2025 }
}
Comments on this paper