mlsanityData to 14 Oct 2026

TACT: Mitigating Overthinking and Overacting in Coding Agents via Activation Steering

arXiv 2605.05980 ↗First posted 7 May 2026cs.AIcited by 6

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 2 more
Abstract (arXiv)

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 ≈ 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.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 48 of its 57 references that are in the map. First posted on arXiv 7 May 2026.

Builds on

48 of 57 references.

Closest ancestors · 3

Same direction, newest first

  1. 2026Why Reasoning Fails to Plan: A Planning-Centric Analysis of Long-Horizon Decision Making in LLM Agents29 Jan
  2. 2025What-If Analysis of Large Language Models: Explore the Game World Using Proactive Thinking5 Sep
  3. 2025Agent-R: Training Language Model Agents to Reflect via Iterative Self-Training20 Jan

Other references · 45

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  4. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  5. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  6. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  7. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  8. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
  9. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
  10. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  11. 2025s1: Simple test-time scalingcited by 1,341
  12. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
33 more
  1. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
  2. 2025Kimi k1.5: Scaling Reinforcement Learning with LLMscited by 1,210
  3. 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,195
  4. 2023GAIA: a benchmark for General AI Assistantscited by 1,128
  5. 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,085
  6. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
  7. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
  8. 2023Steering Language Models With Activation Engineeringcited by 922
  9. 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
  10. 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 712
  11. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
  12. 2024Executable Code Actions Elicit Better LLM Agentscited by 564
  13. 2024Scaling and evaluating sparse autoencoderscited by 553
  14. 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 279
  15. 2024Agent-as-a-Judge: Evaluate Agents with Agentscited by 238
  16. 2024Programming Refusal with Conditional Activation Steeringcited by 206
  17. 2025Survey on Evaluation of LLM-based Agentscited by 204
  18. 2025The Danger of Overthinking: Examining the Reasoning-Action Dilemma in Agentic Taskscited by 152
  19. 2025Where LLM Agents Fail and How They can Learn From Failurescited by 133
  20. 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?cited by 95
  21. 2026The Assistant Axis: Situating and Stabilizing the Default Persona of Language Modelscited by 90
  22. 2025A Survey on Sparse Autoencoders: Interpreting the Internal Mechanisms of Large Language Modelscited by 76
  23. 2026Claw-Eval: Towards Trustworthy Evaluation of Autonomous Agentscited by 64
  24. 2025Does Thinking More always Help? Mirage of Test-Time Scaling in Reasoning Modelscited by 53
  25. 2025Don't Overthink It: A Survey of Efficient R1-style Large Reasoning Modelscited by 37
  26. 2025Meta-Reasoner: Dynamic Guidance for Optimized Inference-time Reasoning in Large Language Modelscited by 33
  27. 2026Agent Drift: Quantifying Behavioral Degradation in Multi-Agent LLM Systems Over Extended Interactionscited by 28
  28. 2025Position: Agent Should Invoke External Tools ONLY When Epistemically Necessarycited by 22
  29. 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
  30. 2025ReCAP: Recursive Context-Aware Reasoning and Planning for Large Language Model Agentscited by 13
  31. 2025Test-Time Scaling in Reasoning Models Is Not Effective for Knowledge-Intensive Tasks Yetcited by 11
  32. 2025Enhancing LLM Steering through Sparse Autoencoder-Based Vector Refinementcited by 10
  33. 2026Conversation for Non-verifiable Learning: Self-Evolving LLMs through Meta-Evaluationcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 6.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Beyond Resolution Rates: Behavioral Drivers of Coding Agent Success and Failure
  2. 2026Coherence Collapse: Diagnosing Why Code Agents Fail After Reaching the Right Code
  3. 2026Strained Coherence: A Pre-Failure Signal in Coding Agent Execution Trajectories
  4. 2026AgentProcessBench: Diagnosing Step-Level Process Quality in Tool-Using Agents
  5. 2026Loud Failures, Quiet Failures: Fault Detection and Recovery in Tool-Using Language Model Agents
  6. 2026Before They Can Solve: Predicting Post-Training Coding-Agent Performance from Base Models
  7. 2026Failure as a Process: An Anatomy of CLI Coding Agent Trajectories
  8. 2026Beyond the 'Diff': Addressing Agentic Entropy in Agentic Software Development