arXiv cs.AI· Yuan Sui, Yulin Chen, Yibo Li, Xue Jiang, Yufei He, Yihong Dong, Xiaoxin He, Tianyu Gao, Bryan Hooi·· 10 小时前AI 评分40
TACT:通过激活引导缓解编程智能体的过度思考与过度行动
TACT: Mitigating Overthinking and Overacting in Coding Agents via Activation Steering
AI 导读
TACT(Think-Act Calibration via activation Steering)通过激活引导在残差流中检测并缓解编程智能体的“智能体漂移”,即过度思考与过度行动两种失败模式。
正文 · 原文
Abstract:When language model agents tackle complex software engineering tasks, they often degrade over long trajectories, which we define as *agent drift*. We focus on two recurring failure modes *overthinking* and *overacting*, i.e., where the agent repeatedly reasons over information it already has, and where it issues tool calls without integrating recent observations or acquiring new evidence. In this paper, we introduce TACT (Think-Act Calibration via activation Steering), to detect and mitigate agent drift in the residual stream before it surfaces as a behavioral failure. In specific, we label trajectory steps as overthinking, overacting, or calibrated, and find that their hidden states can separate linearly along two *drift axes*, pointing from calibrated behavior toward each failure mode (AUC $\approx$ 0.9). To mitigate agent drift, we project each step's activation onto these axes at test time and pull drifted ones back toward the calibrated region. Experiments show that TACT outperforms unsteered baselines across SWE-bench Verified, Terminal-Bench 2.0, and CLAW-Eval, lifting average resolve rate by $+5.8$ pp on Qwen3.5-27B and $+4.8$ pp on Gemma-4-26B-A4B-it while cutting steps-to-resolve by up to $26\%$. These gains frame agent drift as a steerable direction in the residual stream, and position TACT as a viable handle for reliable long-horizon agents.
| Comments: | Neurips 2026 |
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2605.05980 [cs.AI] |
| (or arXiv:2605.05980v3 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2605.05980 arXiv-issued DOI via DataCite |
Submission history
From: Yuan Sui [view email]
[v1]
Thu, 7 May 2026 10:24:27 UTC (888 KB)
[v2]
Sun, 8 Nov 2026 18:22:00 UTC (900 KB)
[v3]
Tue, 10 Nov 2026 08:29:57 UTC (892 KB)
来源:arXiv cs.AI · arxiv.org