People with late-stage ALS, brainstem stroke or locked-in syndrome often cannot reliably point their eyes. Some brain-computer interfaces (BCIs, systems that turn recorded brain activity into commands) are built for them. These "gaze-independent" interfaces work in one of two ways. In covert attention, the user keeps their eyes still and shifts mental focus to a flashing item. In rapid serial visual presentation (RSVP), options flash one after another at the centre of the screen. The cost is bandwidth. Each selection needs several repetitions of the flashing sequence before the brain response, an event-related potential (ERP), can be told apart from noise. Large language models (LLMs) are an obvious way to stretch that bandwidth. One system already uses an LLM to expand a single decoded selection such as "grab the object" into a multi-step robot plan, and also lets the LLM generate the menu the user selects from (An Innovative Brain-Computer Interface Interaction System Based on the Large Language Model). That system has no safety layer at all.
This creates a specific hazard. Work on multi-turn LLM safety shows that guardrails erode as a conversation grows, because the model treats its own accumulated history as evidence for continuing (State-Dependent Safety Failures in Multi-Turn Language Model Interaction). In an LLM-mediated BCI, most of that history is text the model wrote itself. The user ratified it with one cheap, noisy selection, and correcting it would cost minutes of effortful covert spelling. We propose to measure whether this "model-authored, user-ratified" history speeds up safety drift. We also propose a defense: before any risky action, the agent must hold enough brain-signal evidence of the user's intent, and it buys that evidence by asking for additional flash repetitions only when the action's risk requires it.
Core Claim
Our claim has two parts. The first is a measurable hypothesis. Multi-turn safety degradation in an LLM-mediated gaze-independent BCI is driven partly by provenance, meaning who actually authored each piece of history. Text the LLM proposed and the user accepted counts as strongly as user-authored text in pushing the model toward compliance. Decoder errors, which are more frequent under covert attention than overt attention, add accepted content the user never intended.
The second part is a design proposal. The safety monitor should keep a ledger for each turn of the conversation. The ledger records who authored the content and how confident the brain-signal decoder was in the ratifying selection. Each candidate action is then gated on accumulated intent evidence. Let $s_r$ be the ERP classifier's score on repetition $r$ of the confirming flash sequence. The gate fires only when the summed log-likelihood ratio passes a risk-dependent threshold:
$$\Lambda_R = \sum_{r=1}^{R} \log \frac{p(s_r \mid \text{target})}{p(s_r \mid \text{non-target})} \;\ge\; \tau(\rho),$$
Here $R$ is the number of repetitions collected and $\tau(\rho)$ rises with the action's assessed risk $\rho$. This is the dynamic-stopping rule BCIs already use to save time, applied in reverse to spend time where safety demands it. The new part is that the monitor's risk estimate $\rho$ is computed only over history weighted by provenance and decoder confidence. A long trail of model-proposed, weakly ratified steps therefore cannot accumulate into apparent user consent.
Research Program
The work has three components.
The first is a text-only provenance study. It isolates the hypothesised mechanism without any neural data. We take multi-turn attack and drift trajectories in the style of STAR ( State-Dependent Safety Failures in Multi-Turn Language Model Interaction) and malicious query decomposition (Speak Out of Turn). We rewrite them into a BCI interaction format, holding the semantic content of each turn fixed. In one condition each turn appears as user-authored text. In the other it appears as a model-generated option list followed by a single selection token. If safety failure rates and refusal-direction projections fall faster in the selection condition, provenance matters. If they do not, the mechanism is wrong and the ledger reduces to decoder confidence alone. The refusal-direction projections are the internal signal STAR found decaying across turns in Llama-3.
The second is a replay simulator that grounds the noise model in real EEG data. Per-selection classifier scores are drawn from held-out trials of BNCI2014-009 and CVSA-ERP under overt, covert and split attention. Split attention means gaze is locked on a distractor while the user attends elsewhere. The scores come from both block-Toeplitz LDA and the latency-correcting WCBLE decoder (Correcting for ERP latency jitter improves gaze-independent BCI decoding). Replaying them gives each simulated selection a realistic error rate and a realistic repetition cost for each attention condition. The SPGI patient case studies (Visual ERP-based brain–computer interface use with severe physical, speech and eye movement impairments) constrain the range we simulate. They show covert fixation hurting accuracy and wide differences between patients, with nystagmus and diplopia producing large drops.
The third is the agent environment. It re-implements the architecture of An Innovative Brain-Computer Interface Interaction System Based on the Large Language Model: smart-home actuation, robot sub-task decomposition and model-generated menus. We embed three threat sources in it. The first is third-party injection through tool outputs, in the manner of tool-chaining attacks (STAC) and long-horizon agent attacks (AgentLAB). The second is self-induced drift from the model's own menu proposals. The third is uncorrected decoder misselections. The gated agent, the ledger and the risk model are built inside this environment. The risk model is a trajectory-level classifier trained on HarmBench-style behaviours mapped to physical actions.
Baselines
The naive reference is the ungated pipeline of An Innovative Brain-Computer Interface Interaction System Based on the Large Language Model. A decoded selection goes straight to an aligned LLM with its default system prompt. It is run on the same backbone models and the same replayed EEG scores as every other condition. Its failure rate sets the size of the problem. For calibration, the file reports GPT-4o attack success on SafeMT rising from 15.39% in a single turn to over 50% at eight turns (SafeMT). It also reports a STAR safety failure rate of 94.5% on GPT-4o ( State-Dependent Safety Failures in Multi-Turn Language Model Interaction).
The strongest inference-time competitor is a dynamic safety moderator of the SafeMT kind. A small guard model (Gemma-3-4B-it in that paper) reads the whole trajectory and injects guard prompts or blocks actions mid-conversation. It is the closest existing defense that works on whole trajectories and needs no retraining. We give it the same guard-model size, the same trajectory access and the same threshold-tuning budget as our risk model. The only difference is that it sees no provenance or decoder confidence. The file gives no reported number for this moderator's effect on SafeMT, so no reported result was found on Lacuna for it.
The strongest training-time competitor is Multi-Turn Safety Alignment (MTSA) ( MTSA: Multi-turn Safety Alignment for LLMs through Multi-round Red-teaming). MTSA uses reinforcement learning with future rewards that penalise earlier compliant turns which led to a later jailbreak. Its reported result is Zephyr-7B attack success on AdvBench falling from 74.50% to 23.50%, at the cost of a 5.62% increase in XSTest over-refusal. We fine-tune the same open backbone with MTSA on our BCI-format trajectories, using matched compute. We also report MTSA combined with our gate, since the two are complementary.
The cost-side baseline is uniform confirmation. Every physical action requires a fixed number of extra repetitions, matched to our method's average repetition spend. This tests whether risk-adaptive spending matters, or whether confirmation alone is enough.
Two ablations isolate the key ingredients. The first removes provenance by treating all accepted text as user-authored, while keeping decoder confidence. The second removes decoder confidence by treating selections as binary, while keeping provenance.
We count the proposal as beating these baselines if it meets three conditions together at equal mean repetitions per completed task. Its unsafe-action rate must be lower than both the moderator's and MTSA's. Its false refusal on benign assistive requests, measured with an XSTest-style set adapted to physical-assistance requests, must be no higher than the moderator's. Its advantage must grow as replayed decoder accuracy falls from overt to covert to split attention.
Why not just…?
Why not just put a per-turn input filter like a guard model or blacklist in front of the agent? Decomposition attacks are built so that each sub-step is innocuous. Under malicious query decomposition, Gemini-Pro still produced harmful output in 81–84% of cases ( Speak Out of Turn: Safety Vulnerability of Large Language Models in Multi-turn Dialogue). Turn-level filters also over-refuse. SafeDecoding refused 24% of benign borderline XSTest queries (Root Defense Strategies), and for a paralysed user an over-refusing device is simply unresponsive. We include a per-turn guard model as an extra baseline so that this claim is tested rather than assumed.
Why not just confirm every physical action? For an overt eye-tracker user, confirmation is nearly free. For a covert-attention or RSVP user, each confirmation costs several flash repetitions, and repetition load is exactly what drives fatigue and the low transfer rates of these paradigms ( Visual ERP-based brain–computer interface use with severe physical, speech and eye movement impairments: case studies). Uniform confirmation is a real threat if risk is roughly uniform across actions. The matched-repetition baseline settles the question. If uniform confirmation achieves the same safety at the same spend, the adaptive gate adds nothing and we will say so.
Why not just re-inject the safety system prompt every few turns? Periodic grounding every three turns reduced a drift score by only 0.55 points and did not restore baseline behaviour (A Prompt-Masked Pilot for History-Dependent Safety Degradation). More fundamentally, re-grounding cannot distinguish what the user chose from what the model proposed, which is the mechanism we hypothesise. We run grounding every three turns as a further baseline.
Why not just study this in pure text simulation and skip EEG? This is partly correct. The first experiment is deliberately text-only, and the replay simulator uses offline data rather than live users. What text-only simulation cannot supply is the joint distribution of error rates and repetition costs under covert versus overt attention, and latency jitter shapes that distribution ( Correcting for ERP latency jitter improves gaze-independent BCI decoding). That distribution decides whether an evidence budget is affordable. The live check below exists because replay cannot capture fatigue accumulating within a session.
Proposed Experiments
The first decisive check is the provenance contrast. With turn content held fixed, does the per-turn safety failure rate on STAR- and decomposition-style trajectories rise faster when turns are model-proposed and user-selected? The same contrast is measured on the projection of hidden states onto the refusal direction for open models. A null result here redirects the method toward decoder confidence alone.
The second check is a sweep over decoders. Replaying tLDA and WCBLE scores from BNCI2014-009 and CVSA-ERP under overt, covert and split attention, we test whether the unsafe-action rate of the ungated and moderator baselines tracks decoder error. We also test whether WCBLE's reported single-trial gains of 5.10 and 5.55 percentage points over tLDA translate into fewer unsafe actions downstream. If they do, better decoding is itself a safety intervention, a link nobody has measured.
The third check is the head-to-head comparison in the agent environment. The gated agent is evaluated against all baselines and both ablations. Metrics are unsafe-action rate, over-refusal on adapted benign assistive requests, task completion, MT-Bench-style utility for the conversational component, and repetitions plus wall-clock time per completed task.
A final small online session with healthy participants checks that the replay-predicted repetition costs and error rates hold up under real fatigue. Participants use RSVP and strict covert fixation. The predicted repetition costs come from the replay simulator. SPGI-like heterogeneity is explored in simulation only, using the variability reported in Visual ERP-based brain–computer interface use with severe physical, speech and eye movement impairments: case studies.
References
- An Innovative Brain-Computer Interface Interaction System Based on the Large Language Model
- State-Dependent Safety Failures in Multi-Turn Language Model Interaction
- State-Dependent Safety Failures in Multi-Turn Language Model Interaction
- Speak Out of Turn: Safety Vulnerability of Large Language Models in Multi-turn Dialogue
- Correcting for ERP latency jitter improves gaze-independent BCI decoding
- Visual ERP-based brain–computer interface use with severe physical, speech and eye movement impairments: case studies
- An Innovative Brain-Computer Interface Interaction System Based on the Large Language Model
- STAC: When Innocent Tools Form Dangerous Chains to Jailbreak LLM Agents
- AgentLAB: Benchmarking LLM Agents against Long-Horizon Attacks
- SafeMT: Multi-turn Safety for Multimodal Language Models
- MTSA: Multi-turn Safety Alignment for LLMs through Multi-round Red-teaming
- MTSA: Multi-turn Safety Alignment for LLMs through Multi-round Red-teaming
- Speak Out of Turn: Safety Vulnerability of Large Language Models in Multi-turn Dialogue
- Root Defense Strategies: Ensuring Safety of LLM at the Decoding Level
- A Prompt-Masked Pilot for History-Dependent Safety Degradation in Multi-Turn Conversational Agents