NeurIPS 2026 paper Agent MechSuits: intervening in only 10 dimensions, putting safety armor on command-line agents, risk detection accuracy exceeds 97%
NeurIPS'26 | 只干预10个维度,给智能体穿上安全机甲,准确率超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%.