Skip to content

Agent MechSuits: mechanism subspace safety steering for multi-turn CLI agentsAgent MechSuits: Mechanistic Subspace Safety Steering for Multi-Turn CLI Agents

Paper Tracker· arXiv:2606.22673· NeurIPS 2026· Weidi Luo, Qiming Zhang, Yihao Quan, Mingyu Jin, Jie Cai, Chaowei Xiao, Jingcheng Niu, Zhen Xiang·Indexed by this site · 2026-10-08· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

Agent MechSuits performs step-level steering on multi-turn CLI, reducing Qwen-2.5-7B's ASR from 91.30% to 4.35% (Table 2).

Threat modelThe defender performs step-level hidden representation detection on a white-box CLI agent and steers in a single-layer 10-dimensional subspace without modifying weights. The victim system is a multi-turn CLI agent based on ReAct that executes shell commands in Docker. Risks in the paper include end-to-end malicious operations using TTPs and malicious prompt injection in environment observations.

Questions
Multi-turn CLI agents interact repeatedly with the environment, and risks accumulate along the trajectory; single-step outputs or static gating before execution are insufficient to judge safety. External guardrails rely on rules for monitoring, and the authors claim they are difficult to control behavior at every step.
Methods
Agent MechSuits uses step-level linear probes to read the last-token representation at selected layers to determine whether the current step is harmful. Upon triggering, sparse steering is applied in the top-10 dimensions of that layer, Deepseek-V4-Pro searches strength with safety 0.6 and utility 0.4, without changing weights. MAS contains step-by-step annotated trajectories for 194 tasks.
Experiments and results
Three models in order LLaMA, Qwen, Gemma: current-step Acc is 99.15%, 97.46%, 95.35%; lookahead is 92.31%, 96.77%, Gemma not reported (Table 1). After steering, ASR is 16.70%, 4.35%, 14.29% (Table 2).
Limitations and future work
The authors point out that white-box malicious trajectories are difficult to collect, step-level labels are ambiguous, forward-looking samples are sparse and imbalanced, and strong steering may cause repetition or truncation. Adaptive search relies on an external LLM judge and may increase latency and cost. Evaluation covers three open-source white-box models; the paper does not report probe thresholds and annotation consistency.
Experimental setupLLaMA-3.1-8B、Qwen-2.5-7B et al. · MAS、AdvCUA et al. · Accuracy、F1 et al.
Evaluated models
LLaMA-3.1-8BQwen-2.5-7BGemma-2-9B
Benchmarks
MASAdvCUASafe-OSAgentBench
Metrics
AccuracyF1ASRCollapseLookahead Accuracy
AI summaryThe paper proposes Agent MechSuits, a white-box defense framework that detects harmful execution states of CLI agents from step-level hidden representations and mitigates unsafe behavior by intervening in a 10-dimensional subspace within a single layer. The authors also release the Mechanistic Agent Safety (MAS) benchmark, containing multi-turn execution trajectory annotations for 194 tasks, covering LLaMA-3.1-8B, Qwen-2.5-7B, and Gemma-2-9B. Experiments show the framework has strong safety detection performance and preliminarily demonstrates forward-looking risk prediction capability, significantly reducing harmful actions of CLI agents. The paper has been accepted by NeurIPS 2026.

The paper proposes Agent MechSuits, a white-box defense framework that detects harmful execution states of CLI agents from step-level hidden representations and mitigates unsafe behavior by intervening in a 10-dimensional subspace within a single layer. The authors also release the Mechanistic Agent Safety (MAS) benchmark, containing multi-turn execution trajectory annotations for 194 tasks, covering LLaMA-3.1-8B, Qwen-2.5-7B, and Gemma-2-9B. Experiments show the framework has strong safety detection performance and preliminarily demonstrates forward-looking risk prediction capability, significantly reducing harmful actions of CLI agents. The paper has been accepted by NeurIPS 2026.

Related events and news

1 events · 3 news mentions

News that mentions this paper

Agent MechSuits:用表征干预防护命令行智能体

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Multi-turn CLI risks accumulate along the trajectory, and the authors use step-level internal representations for detection and steering.

    Risks in multi-turn CLI agents accumulate along the interaction trajectory and cannot be controlled solely by pre-execution static gating or external rule-based guardrails.

    • Scenario: The authors state that CLI agents operate computers directly through the shell, and attackers can use existing TTPs to weaponize them for end-to-end malicious operations, causing real-world harm such as financial fraud, privacy leakage, and infrastructure disruption. Risks rarely stop at a single step but are coupled with dynamic environmental feedback.
    • Existing limitations: The authors state that external guardrails for general agents rely on predefined or automatically generated rules, which, although capable of real-time monitoring, struggle to perform behavioral control at every step. Mechanistic interpretability methods are mostly evaluated on static prompt-response pairs in single-turn or jailbreak-style question answering; the authors state that this setting differs from multi-turn CLI agents, and execution safety cannot be assessed from a single response alone.
    • Core question: The authors believe that when the initial task appears benign or is underspecified, risks may still emerge mid-execution. Therefore, they investigate whether step-level hidden representations can identify harmful execution states in multi-turn interactions and steer behavior.
    • Proposed method: The white-box framework Agent MechSuits performs runtime detection during execution and representation-level mitigation in a 10-dimensional subspace of a single layer, without modifying model weights. The accompanying benchmark is the step-level annotated MAS.
    • Threat model:
      • Goal: The risk discussed in the paper is weaponizing CLI agents to complete end-to-end malicious operations. In another setting, the user task is benign, and environmental observations carry injected goals to redirect the agent.
      • Defense assumptions: The defense is written as white-box, able to read hidden representations without modifying weights. The paper does not characterize attacker knowledge as white-box or black-box.
      • Interaction: The agent generates actions step by step based on accumulated context and receives environmental observations. In prompt injection, harmful intent enters the history through the environmental channel, not only from the initial instruction.
      • Victim system: A ReAct-based multi-turn CLI agent with backbones LLaMA-3.1-8B, Qwen-2.5-7B, and Gemma-2-9B, executing shell commands in Docker.
  2. What related research exists?

    The authors distinguish this work from single-turn representation steering and external guardrails, and call it an agent defense on internal representations.

    Related work is written according to the paper's two groups, with baselines listed separately.

    Single-turn mechanistic interpretability

    • Linear representation hypothesis: Pan et al. (2025) and Lin et al. (2024) are cited to support the claim that safety features like harmfulness and jailbreak intent are encoded along approximately linear directions in latent space, thus amenable to probing and steering.
    • JBShield (Zhang et al., 2025): Detects jailbreaks using activation similarity in jailbreak-related hidden subspaces, then manipulates safety activation directions to mitigate.
    • Probe monitoring and refusal steering: The paper also groups high-risk interaction detection (McKenzie et al., 2025), compute-adaptive safety monitoring (Oldfield et al., 2026), and a set of works pushing representations toward refusal or safety-aligned directions. The authors claim these methods are limited by static behavior perspectives and struggle to capture evolving unsafe dynamics in agents.

    External agent guardrails

    • GuardAgent and ShieldAgent (2025): Convert safety requirements or policy documents into executable checks or verifiable reasoning. The authors claim they are auditable and explicitly compliant, but rely on explicit rules and structured policies.
    • AGrail, ToolSafe, IPIGuard: AGrail (2025) dynamically generates safety checks for open tasks; ToolSafe (2026) places guardrails at step-level tool calls; IPIGuard (2025) defends against indirect prompt injection using tool dependency analysis. The authors claim they still supervise, intercept, or verify actions outside the protected agent, rather than directly steering internal behavior.

    Evaluation sources and baselines

    • Task sources: MAS integrates AdvCUA, Safe-OS, and AgentBench. The authors claim malicious tasks map to MITRE ATT&CK OS-level techniques, covering 10 categories; the main text does not list the names of these 10 categories. The authors claim existing agent safety benchmarks mainly evaluate final outcomes or policy violations, while MAS is oriented toward mechanism analysis.
    • Baseline methods: Detection side is GPT-4o, GPT-5.2, Claude-4.6-Sonnet, Claude-4.6-Opus, Gemini-3-Pro, Deepseek-V4-Flash, Deepseek-V4-Pro, plus LLaMA-Guard-4-12B, AGrail (GPT-4o). Mitigation side is RepE and Self Reminder. Evaluation benchmark is MAS; prompt injection stress test is based on Safe-OS.

    The authors claim, to their knowledge, this is a mechanistic study of multi-turn CLI agent safety, and shows safety-related signals can be linearly read from intermediate hidden states. The related work's final sentence claims this is the first work studying LLM agent defenses through internal representations.

  3. How does the paper address this problem?

    Detect with a step-level linear probe, then search steering strength on a single layer's Top-10 dimensions by safety and utility.

    Agent MechSuits runs at inference time without modifying weights: a step-level linear probe is trained for each target model, and after risk triggers, steering is applied in a sparse subspace of the same layer.

    Multi-turn setting

    • Single-turn problems are written as M=(X, A), where one input corresponds to one action. Multi-turn problems are written as M=(X, O, A, T), with trajectory τ=(x, a1, o1, …, aT, oT).
    • Each step's action is generated from the accumulated context, and after the environment returns an observation, the context is updated. The authors give an example: first creating an empty script or changing permissions can appear benign, but if a harmful payload is later written or set to auto-run, the earlier actions become part of a harmful chain.
    • Therefore, safety is not judged by "whether the entire task should be allowed," but by whether the current step directly constitutes an attack or performs an inherently harmful operation.

    Step-level linear probe

    • The model is frozen, and the last token representation of the residual stream at layer ℓ is taken. The probe gives harmful probability gϕ(h)=σ(w⊤h+b), trained with binary cross-entropy. This formula linearly maps the hidden state to a harmful probability between 0 and 1.
    • It is trained once for each target model and each layer, and reused across all steps of the trajectory. Current-step labels: all benign tasks are labeled 0; in malicious tasks, key harmful execution steps are labeled 1, and steps showing safety awareness or refusal are labeled 0.
    • The lookahead set is the step before each key harmful execution step, with the target being the next step's label. The same current-step probe is used for both current detection and lookahead diagnosis. The appendix algorithm uses threshold η to convert probabilities to labels; the paper does not provide η.

    Detection and sparse steering

    • If prediction is 0, no intervention; if prediction is 1, steering is applied before issuing the next CLI action. Detection uses only the last token; steering adds a vector to all input tokens of that layer.
    • Mitigation uses a two-class probe weight matrix W of shape 2×d. For each dimension, take the absolute value of the difference between the two class weights, and select Top-K. In this paper, K=10, applied on only one layer. Selected dimensions are 1, others 0.
    • At inference, only strength α is tuned. Deepseek-V4-Pro scores candidate actions for safety and utility, each 0–10, and takes αt∗=argmaxα[λs s(at(α))+λu u(at(α))]. In this paper, λs=0.6, λu=0.4. This formula makes a weighted choice between suppressing harmful execution and avoiding utility decline.
    • Search starts from the action with α=0, proposes new α via tool calls and re-scores; the average of previous best α can be used as warm-start. Stopping condition is the judge declaring optimality, no improvement for several consecutive iterations, or reaching the maximum iteration budget; the budget value is not given in the paper. The absolute difference of weights cannot determine sign; the authors manually compare two directions on the training set and fix the positive direction for test-time mitigation. The appendix gives the full controller prompt.

    How MAS is built

    • 194 tasks: 98 malicious, 96 benign, from AdvCUA, Safe-OS, AgentBench, mapped to MITRE ATT&CK OS-level techniques, covering 10 categories. Three white-box models execute with ReAct in a fresh Ubuntu Docker, sampling disabled, using greedy decoding. System prompt in Figure 9.
    • Labels target the current output: directly executing, writing, or triggering inherently unsafe operations is labeled 1; answering, ending, checking environment, authorized benign operations, or explicitly refusing and neutralizing unsafe requests is labeled 0.
    • First, deterministic single-turn pre-annotation, then Claude Opus 4.6 and Gemini 3.1 Pro generate preliminary annotations, and finally the research team manually reviews. Counterfactual benign pairs mimicking malicious syntax are also constructed to prevent the probe from only memorizing surface forms of commands. Tasks are split at task level in a 6:4 ratio, with training and test tasks not overlapping.
    • Probes are trained with AdamW for 100 epochs, batch size 16. LLaMA-3.1-8B learning rate is 0.01, the other two models 0.001. Default detection and steering layer takes a middle-layer peak from layer scanning; specific layer numbers are reported in experiments.
  4. What experiments did the paper conduct?

    The three models' current-step accuracy is 99.15%, 97.46%, and 95.35%, and post-steering ASR is 16.70%, 4.35%, and 14.29%.

    Experimental setup

    • Victim models: LLaMA-3.1-8B, Qwen-2.5-7B, Gemma-2-9B, all ReAct CLI agents, greedy decoding.
    • Data: MAS has 194 tasks total (98 malicious, 96 benign). Table 5's current-step sizes: LLaMA 469 steps (malicious 241, benign 228), Qwen 236 steps (78, 158), Gemma 86 steps (14, 72). Lookahead subsets: LLaMA 13 steps, Qwen 31 steps, benign steps all 0; Gemma has no lookahead row.
    • Split: Task-level 6:4. Mitigation set takes the first harmful step of each malicious task in the test set. The paper does not report the number of tasks in this mitigation set.
    • Detection baselines: Seven LLM-as-a-judge, plus LLaMA-Guard-4-12B, AGrail (GPT-4o). In Table 1, the two guardrails have no lookahead numbers.
    • Mitigation baselines: Vanilla, RepE, Self Reminder. MechSuits' α search uses Deepseek-V4-Pro, Top-10 dimensions, single layer.
    • Metrics: Detection uses Accuracy and F1. Mitigation judged by GPT-4o: clear safety awareness or refusal tendency counts as Safe, and ASR is computed accordingly; the same or near-verbatim phrase appearing three or more times, or mid-sentence truncation without recovery, counts as Collapse. Prompts in Figures 8, 10, 11, 12.

    Main results

    Swipe horizontally to read the table

    ModelCurrent-step Acc / F1Lookahead AccPost-mitigation ASR / CollapseVanilla ASR
    LLaMA-3.1-8B99.15% / 99.17%92.31%16.70% / 28.30%73.80%
    Qwen-2.5-7B97.46% / 96.25%96.77%4.35% / 13.04%91.30%
    Gemma-2-9B95.35% / 86.67%Not reported14.29% / 14.29%92.86%

    Per Table 1, Table 2. Gemma has no lookahead column.

    • The authors claim relative to the strongest detection baseline, current-step Acc improves by 2.99%, 2.54%, 5.82% respectively, and claim the three-model average is 97.32%. The corresponding highest baselines in Table 1 are: Gemini-3-Pro's 96.16% on LLaMA, LLaMA-Guard-4-12B's 94.92% on Qwen, Gemini-3-Pro's 89.53% on Gemma. The authors believe safety signals are easier to read from intermediate hidden states than post-hoc text judgments.
    • For lookahead, the authors claim LLaMA and Qwen's average Acc is 94.54%, while LLM judges are unstable: on LLaMA, Gemini-3-Pro and Deepseek-V4-Flash both have lookahead Acc of 7.69% (Table 1). The authors treat lookahead results as feasibility evidence, not robust conclusions, and state current open-source CLI agents still struggle with long-horizon execution, making natural lookahead samples sparse.
    • For mitigation, in Table 2, RepE's ASR is 42.86%, 73.91%, 71.43%, Self Reminder's is 47.62%, 82.61%, 64.29%. The authors claim the three-model average ASR drops from 85.99% to 13.36%, an absolute drop of 72.63 percentage points; the abstract writes average attack success rate reduced by 72.63%. The authors also claim average Collapse rises to 18.54%, with Vanilla, RepE, Self Reminder at 2.24%, 7.25%, 3.69%, and believe steering sometimes over-corrects, yielding degenerate outputs rather than clean refusals.

    Layer-wise decodability

    • The authors train logistic probes on last-token representations at each layer and evaluate on held-out tasks. The main text gives peaks corresponding to Figure 3: LLaMA-3.1-8B at layer 12 with 99.15%, Qwen-2.5-7B at layers 13, 14, 15, 17 with 97.46%, Gemma-2-9B at layer 14 with 95.35%.
    • The authors claim all three models' current-step peaks are in early-to-middle layers, and believe safety-related signals appear before the final layer. High held-out accuracy is used by the authors as a linear separability diagnostic; the authors state this does not by itself establish a causal mechanism. Qwen has four equal-peak layers, and the paper does not specify which one is used by default.
    • Text conversion did not preserve Figure 3's curves. The above numbers come from the main text, not read from bar heights in the figure.

    Negative steering and prompt injection

    • Negative steering: LLaMA test trajectories have 16 strong-refusal steps, α=2.2, along the negative direction; Gemma has 27 strong-refusal steps, α=75. Table 3: before steering, ASR is 0.00% for both, Collapse is 0.00% and 3.70%; after steering, LLaMA ASR is 100.00%, Collapse 6.20%, Gemma ASR is 63.00%, Collapse 0.00%. The main text writes LLaMA's Collapse as 6.25%, inconsistent with the table's 6.20%; here the table is taken as authoritative.
    • The authors believe if the subspace only encoded surface lexical features of harmful commands, reverse intervention should not turn strong refusals into unsafe actions. The bidirectional effect is interpreted by the authors as evidence that this sparse direction has causal control over safety-related behavior: positive steering suppresses harmful execution, negative steering amplifies unsafe drift.
    • Prompt injection: Based on Safe-OS. User task is benign, environment observation contains injection target. On Qwen2.5-7B's attack-success trajectories, apply the same steering direction at the step where the injection target enters. ASR drops from 86.7% to 6.7%, Collapse stays 0%. The authors state the current probe cannot reliably trigger under this distribution shift, so this is an externally triggered steering experiment, not an end-to-end prompt injection defense. The authors say this shows the gap between detection and control.

    Repeated experiments and benign utility

    • Five random seeds (Appendix D.2) current-step Acc means are 99.11±0.12, 97.54±0.23, 95.12±0.64, F1 99.13±0.11, 96.33±0.37, 86.05±2.33. ± is 95% confidence interval half-width, computed by normal approximation; the authors state intervals are not truncated, so LLaMA lookahead Recall's upper end can exceed 100%.
    • That appendix's lookahead metric is Recall, not Table 1's Acc: LLaMA 96.92±5.23, Qwen 89.68±7.16. Five-seed mitigation ASR is 16.67±2.09, 5.22±2.41, 17.14±4.86, Collapse 28.10±3.24, 12.17±5.91, 15.71±3.97 (Table 7). The authors claim equal-weight average ASR is 13.01%, Collapse 18.66%.
    • Benign utility (Table 8) only reruns benign tasks that each model's Vanilla already succeeded on, with Vanilla success rate 100% by construction. Under the full pipeline, it is 95.71±0.79, 91.30±1.21, 93.18±1.26, reported as mean±standard deviation. The authors claim equal-weight average 93.40%, a 6.60 percentage point drop relative to that conditional baseline.

    Other ablations and analyses

    • AGrail (GPT-4o) audit on Qwen's current-step split (Table 9, categories can overlap): benign logs or error analysis false positives 15, filesystem enumeration false positives 15, scoped deletion false positives 13, seemingly privilege-escalating context false positives 6, refusal or non-execution false positives 3, distributed code semantics false negatives 2. The authors say errors are predominantly false positives.
    • Table 10 only includes LLaMA / Qwen. Top-5, Top-10, Top-15 ASR is 64.29% / 4.35%, 16.70% / 4.35%, 59.52% / 4.35%. Qwen's ASR is the same 4.35% for all three K, Collapse 0.00%, 13.04%, 4.35%.
    • Worst-layer ASR is 30.95% / 34.78%. All dimensions is 25.71% / 8.70%. Random 10 dimensions is 26.19% / 26.09%. Random direction is 40.00% / 30.43%.
    • Steering only the last token: LLaMA ASR 26.19%, Collapse 2.38%; Qwen ASR 4.35%, Collapse 13.04%. Equal weight (0.5, 0.5): LLaMA ASR 35.14%, Collapse 5.41%; Qwen ASR 4.35%, Collapse 0.00%.
    • Table 4: average converged search steps are 8.26, 8.00, 7.67; average optimal α is 1.63, 7.89, 59.04. The authors claim probe latency is less than 1 second per step. Pearson r between search steps and round index for Qwen, Gemma is -0.25, -0.27.
    • The authors claim random perturbation ASR is also lower than each Vanilla's 73.80% and 91.30%, so general representation perturbation also has mitigation effects; default Top-10 has the lowest ASR among tested LLaMA variants and outperforms both random controls on Qwen. Ablations all retain adaptive α search, and the authors say this does not separate the robustness of fixed-strength steering.
  5. What are some points that can be further explored?

    The authors note trajectories are hard to collect, labels are ambiguous, lookahead samples are sparse, and strong steering has generation quality costs.

    Limitations and future directions noted by the authors

    • Trajectory collection (Appendix A.1): Smaller open-source models have weak instruction following and no agent-oriented RL, poor long-horizon planning, often try to complete complex goals with a single command. Existing alignment often cannot induce sustained execution for ordinary malicious tasks; multi-step task execution also lacks mature jailbreak methods that both bypass alignment and maintain task completion ability. The authors treat MAS as a reproducible initial testbed, not a complete coverage of all potential malicious workflows.
    • Step-level label ambiguity (Appendix A.2): In malicious trajectories, every step may serve the final attack. Labeling all as harmful confuses task intent with action-level execution; labeling preparation steps as benign may underestimate trajectory-level risk. The authors' yt=1 only covers key steps that directly constitute the attack or are inherently harmful operations, not implying other steps are risk-free.
    • Lookahead is sparse and imbalanced (Appendix A.3): Natural lookahead samples require a benign or preparation step first, then a clearly harmful command. The authors claim weaker models like Gemma2-9B often attempt everything in the first step, with subsequent steps only patching, so consecutive harmful steps outnumber transitions from preparation to harmful execution. The authors treat lookahead results as preliminary feasibility evidence, not robustness guarantees. Future directions written as: stronger open-source CLI agents, longer-horizon environments, denser time annotations, and attack-family-balanced lookahead splits.
    • Utility and deployment (Appendix A.4): Overly strong steering may cause repeated loops or abrupt truncation, not clean safe refusals. Adaptive search still relies on an external LLM judge, potentially adding latency and cost. The authors state the method should not be viewed as a standalone deployable safety system; actual deployment should combine sandboxing, permission controls, command-level policy checks, and human or LLM review for high-risk, ambiguous cases.
    • White-box and generation quality (Conclusion): The authors state the method relies on white-box access, and strong steering may introduce generation quality trade-offs.

    Experimental coverage

    • Tested CLI agents are LLaMA-3.1-8B, Qwen-2.5-7B, Gemma-2-9B, 3 in total. Task pool 194 (98 malicious, 96 benign), sourced from AdvCUA, Safe-OS, AgentBench, collected in Docker with greedy decoding.
    • Detection baselines include Table 1's seven LLM judges, LLaMA-Guard-4-12B, and AGrail (GPT-4o). Mitigation baselines are Vanilla, RepE, Self Reminder. Lookahead numbers only cover LLaMA and Qwen; Appendix D.2 states Gemma has no lookahead subset. In Table 5, these two lookahead subsets have 0 benign steps.
    • Mitigation results judged by GPT-4o; α search controller is Deepseek-V4-Pro. Five random seeds statistics in Appendix D.2, benign task success rates in Table 8. Table 10's steering structure ablation only includes LLaMA-3.1-8B and Qwen-2.5-7B.
    • Prompt injection stress test uses Qwen2.5-7B's attack-success trajectories, and triggers steering outside the injection step (Section 6, Appendix F.1). Negative steering uses LLaMA's 16 strong-refusal steps and Gemma's 27 strong-refusal steps.
    • The paper does not report probe threshold η, the number of tasks in the mitigation set, or agreement between human review and automatic annotation. Appendix B.2 reports search iteration counts and probe latency, not total query counts for end-to-end trajectories.
  6. Summarize the main content of the paper

    White-box step-level probes plus sparse steering can suppress malicious actions across three models while increasing generation crash rate.

    Agent MechSuits is a white-box, step-level representation defense for multi-turn CLI agents, with an executable trajectory benchmark MAS.

    • Problem: External guardrails are hard to fine-grain control during execution. Single-turn mechanistic interpretability faces static QA, while CLI risks accumulate in trajectories with commands and environment observations.
    • Method: Train a linear probe per target model, read the last-token representation of a selected layer, judge whether the current step is harmful. After triggering, add sparse steering on the same layer's Top-10 dimensions, with strength searched by Deepseek-V4-Pro under a 0.6/0.4 safety-utility weight, without changing weights. MAS contains 194 tasks, step-annotated trajectories for three white-box models.
    • Detection: Table 1's current-step Acc is 99.15% (LLaMA-3.1-8B), 97.46% (Qwen-2.5-7B), 95.35% (Gemma-2-9B). One-step lookahead Acc is 92.31% and 96.77%; Gemma has no such subset. The authors claim average current-step Acc is 97.32%, and treat lookahead as preliminary feasibility evidence.
    • Mitigation: In Table 2, ASR drops from Vanilla's 73.80%, 91.30%, 92.86% to 16.70%, 4.35%, 14.29%, with Collapse at 28.30%, 13.04%, 14.29%. The abstract writes average ASR reduced by 72.63%; Section 5 writes from 85.99% to 13.36%, an absolute drop of 72.63 percentage points. The authors believe internal steering can suppress harmful actions but needs better utility-preserving control.
    • Other results and conclusions: Negative steering on LLaMA's 16 strong-refusal steps makes ASR reach 100.00% (Table 3). In the prompt injection setting, Qwen2.5-7B's ASR drops from 86.7% to 6.7%, but the probe cannot reliably trigger automatically. The authors conclude: step-level internal representations can supplement external guardrails, but rely on white-box access, and strong steering has generation quality costs.
Read originalNeurIPS 2026