arXiv(opens in a new tab)cs.AISep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.00904

In-Context Neurofeedback: Can LLMs Control Their Internal Representations through Privileged Access?

Koshiro Aoki, Ryota Takatsuki, Gouki Minegishi, Yusuke Haruki, Daisuke Kawahara

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

Abstract

Whether large language models (LLMs) can control their own internal representations matters for both machine metacognition and AI safety. A recent study applied neurofeedback to LLMs and claimed that they can control their internal representations. However, the reported control may rely on superficial mechanisms rather than genuine internal access because the control targets in that study are not privileged, meaning that a third party can infer them from the prompt. We redesign the neurofeedback paradigm for LLMs so that the control target satisfies the privileged access requirement, which is closer to neurofeedback experiments in human cognitive neuroscience. Under this stricter setting, the models do not demonstrate reliable control over privileged internal representations, suggesting that previously reported control cannot exclude the possibility that it relies on superficial mechanisms. Our results indicate that rigorous assessments of metacognition in LLMs require evaluation methods that demand privileged access.¹

1 Introduction

Metacognition is the ability to monitor and control one's own cognitive processes. This capacity enables humans to notice when they are uncertain or making mistakes and adjust their reasoning strategies (Hart, 1967; Flavell, 1979; Nelson, 1990; Son and Metcalfe, 2000). Whether large language models (LLMs) possess similar abilities is an open question (Comsa and Shanahan, 2025; Song et al., 2025b,a; Lindsey, 2025). If LLMs can monitor and control their internal processes, they may be able to reliably correct mistakes and calibrate confidence. This question also bears on AI safety because such control could allow LLMs to conceal unsafe intentions from chain-of-thought monitoring (Kor-

bak et al., 2025; Baker et al., 2025) or detection based on internal activations (Goldowsky-Dill et al., 2025; MacDiarmid et al., 2024; McKenzie et al., 2025). If they cannot, monitoring behavior and internal states may continue to be reliable for AI safety.

Motivated by these considerations, recent studies have shown increasing interest in metacognition in LLMs. These studies show that LLMs can describe sampling temperature (Comsa and Shanahan, 2025), confidence (Kadavath et al., 2022; Lin et al., 2022; Kapoor et al., 2024; Yoon et al., 2025), their own behavior in hypothetical scenarios (Binder et al., 2025), behavioral tendencies altered by fine-tuning (Betley et al., 2025), and concepts injected into activations (Lindsey, 2025). Together, these studies indicate that LLMs can report some information about their internal processes. These studies, however, primarily address monitoring: what the model can report about its own states. We address the complementary and more challenging question of control: whether the model can modify its internal states, which is more directly relevant to AI safety.

To answer the question of whether LLMs can control their own internal representations, we adapt the experimental design of neurofeedback (Sitaram et al., 2017), a technique from neuroscience, to LLMs. Neurofeedback uses devices such as electroencephalography (EEG), electrocorticography (ECoG), and functional magnetic resonance imaging (fMRI) to continuously measure subjects' brain activity and provide real-time feedback so that subjects can learn to regulate that activity. This approach has been applied to both humans and other animals. Previous studies have shown that neurofeedback can reduce fear responses (Koizumi et al., 2017), alleviate depressive symptoms (Young et al., 2017), induce specific emotional states (Shibata et al., 2016), and improve interoceptive abilities such as heartbeat perception (Haruki et al., 2025).

¹Our code is available at https://github.com/AokiKoshiro/in-context-neurofeedback.

Figure

Figure 1: Overview of our in-context neurofeedback (ICN) procedure. The model outputs a fixed sentence (Step 1), and its hidden-layer activation is extracted (Step 2) and converted to a scalar score by a pre-trained sentiment probe (Step 3). The score is fed back as part of the conversation (Step 4), and the model attempts to maximize the score in subsequent turns (Step 5). This cycle repeats over multiple turns, after which the model's internal representation and self-reported sentiment are evaluated (Step 6).

This motivates an analogous procedure for LLMs, in which we treat hidden activations as brain activity, apply a probe to decode a control target feature (e.g., sentiment), and provide scalar feedback based on the probe output. This setup gives a direct test of control rather than monitoring. Instead of asking the model to report what is in its hidden state, we ask whether it can change that scalar feedback. If it can do so, then the model can control its own internal representation.

A recent study by Ji-An et al. (2025) also applies this approach and reports that LLMs' internal representations can be implicitly controlled through neurofeedback. Their experiments, however, do not ensure privileged access to the control target. Privileged access is a way of knowing one's own mental states that is unavailable to external observers (Schwitzgebel, 2024). Without it, apparent metacognition may instead reflect inference from surface-level cues (Song et al., 2025b) (Section 2). In their design, an external observer can infer what the model is asked to control from the input and output texts alone, so the observed control may rely on such superficial mechanisms rather than genuine metacognition (Section 3.2).

We propose in-context neurofeedback (ICN), in which the control target cannot be recovered by an external observer and therefore requires privileged access (Section 3.3). Specifically, as shown in Figure 1, we instruct the model to output the same

fixed sentence on every turn while maximizing a feedback score computed from a probe over its hidden activation. Successful control would require access to internal representations because the visible text is held constant and the scoring rule is not revealed. This parallels human decoded neurofeedback, in which subjects view a fixed stimulus, receive only scalar feedback, and must learn to modulate brain activity without being told what the score reflects. Under this stricter experimental design, experiments with four open-weight models and three datasets showed statistically significant control effects in some settings. However, the effects were not consistent across models and datasets, and the effect sizes were small (Section 5). These results suggest that the positive results of prior work do not rule out superficial mechanisms as an alternative to genuine metacognitive control.

References (20)