Skip to content
EventPast event

Agent MechSuits: Using representation intervention to safeguard command-line agents

3 reports3 reporting sourcesLatest report

Start here

AI overview

A research team from institutions including the University of Georgia, Rutgers University and the University of Southern California proposed Agent MechSuits, a safety protection method for command-line agents; the paper has been accepted by NeurIPS 2026. The method first uses a linear probe to read the model's intermediate-layer hidden states to determine whether the current step is related to harmful behavior; after detecting risk, it applies an intervention vector to 10 hidden dimensions of the same layer to guide the model to generate safer actions or refuse harmful requests, with the intervention strength selected by an external language model controller, while the main model weights remain frozen. The team built a MAS benchmark containing 194 tasks; on LLaMA-3.1-8B, Qwen-2.5-7B and Gemma-2-9B, the equal-weighted average accuracy of current-step risk detection was 97.32%, the attack success rate on Qwen-2.5-7B dropped from 91.30% to 4.35%, and the equal-weighted average retention rate of normal task success across the three models was 93.40%; the intervention also has costs, with the generation crash rate in the malicious-step evaluation rising from 2.24% to 18.54%. The paper also notes that the method relies on white-box access to the model's internal states, and that existing probes cannot yet reliably identify prompt injection entering from environmental feedback.

Generated by AI from reports · Updated 18 days ago

Related research

Cited in the reports

Progress timeline

Nov 11
  1. thepaper.cn
    NeurIPS 2026 paper Agent MechSuits: intervening in only 10 dimensions, putting safety armor on command-line agents, risk detection accuracy exceeds 97%

    A research team from the University of Georgia, Rutgers University, the University of Southern California and other institutions proposed a command-line agent safety protection method, Agent MechSuits. The average accuracy of current-step risk detection for the three tested models reached 97.32%, and the paper has been accepted by NeurIPS 2026. The method has two stages: first, a linear probe reads the hidden states of the model's intermediate layers to determine whether the current step is risky; after a risk is detected, an intervention vector is applied to 10 hidden dimensions of the same layer to guide the model to generate safer actions or refuse harmful requests, while the main model weights remain frozen, and an external language model controller adjusts the intervention strength. The team built a MAS benchmark containing 194 tasks (98 malicious and 96 normal scenarios) and validated it on LLaMA-3.1-8B, Qwen-2.5-7B and Gemma-2-9B; for Qwen-2.5-7B, the attack success rate dropped from 91.30% to 4.35%, the average retention rate of successful normal tasks across the three models was 93.40%, but the generation collapse rate rose from 2.24% to 18.54%.

Nov 9
  1. BAAI Community
    NeurIPS 2026: Agent MechSuits intervenes on only 10 dimensions in a single layer, providing safety protection for command-line agents, with risk detection accuracy above 97%

    A research team from institutions including the University of Georgia, Rutgers University and the University of Southern California proposed Agent MechSuits, which uses linear probes in the intermediate layers of a command-line agent to read internal safety signals, then applies representation interventions to 10 hidden dimensions in the same layer, keeping the main model weights frozen; the paper has been accepted to NeurIPS 2026. On LLaMA-3.1-8B, Qwen-2.5-7B and Gemma-2-9B, the equally weighted average of current-step risk detection accuracy on the MAS benchmark is 97.32%; in the risk mitigation evaluation, Qwen-2.5-7B's attack success rate dropped from 91.30% to 4.35%. On normal tasks that the original models could already complete, the task success retention rates of the three models were 95.71%, 91.30% and 93.18%, respectively, but after intervention the generation collapse rate, such as repeated output or truncation, rose from 2.24% to 18.54%. The paper also notes that the method relies on access to the internal states of white-box models, that each intervention requires an average of about 8 rounds of candidate generation and evaluation, and that existing probes cannot yet reliably identify prompt injection entering from environmental feedback.

Nov 8
  1. WeChat · AI Era (Xinzhiyuan)
    NeurIPS 2026: Agent MechSuits intervenes on only 10 dimensions, achieving an average risk detection accuracy of 97.32% for command-line agents

    A research team from the University of Georgia, Rutgers University, the University of Southern California and other institutions proposed Agent MechSuits, which reads the internal hidden states of command-line agents and intervenes on 10 hidden dimensions in a single layer to achieve risk detection and behavior correction during multi-turn execution; the paper has been accepted by NeurIPS 2026. The method first uses a linear probe to determine whether the current execution state is related to harmful behavior, then applies representational intervention after detecting risk, with an external language model controller selecting the intervention strength, while the main model's weights remain frozen. The team built a MAS benchmark containing 194 tasks; on LLaMA-3.1-8B, Qwen-2.5-7B and Gemma-2-9B, the equal-weight average accuracy for current-step risk detection was 97.32%; for Qwen-2.5-7B, the attack success rate dropped from 91.30% to 4.35%, and the equal-weight average retention rate of normal task success across the three models was 93.40%. The intervention also comes at a cost: in the malicious-step evaluation, the average incidence of generation collapse rose from 2.24% to 18.54%; in prompt injection stress tests, the probe could not yet reliably identify malicious goals entering from environmental feedback.

Related discussion

Total 1 items