Skip to content

Termination lag: coding agents solve the problem early but are slow to stopTermination Lag: Coding Agents Solve Early but Stop Late

Hugging Face Daily Papers· arXiv:2611.14960· Musa Cim, Burak Topcu, Mahmut Taylan Kandemir·Indexed by this site · 6 days ago· Originally publishedAlignment
AI summary

A study covering 5 LLMs, 2 agent frameworks and 3 SWE-bench datasets found that coding agents often solve the problem at the first source code modification, yet run many more steps before stopping. By tracing and evaluating intermediate code patches throughout agent execution, the study found that in runs that ultimately produced a correct patch, 38–82% were correct at the first modification; under the core setting, the median share of steps in successful runs that occurred after the correct patch was produced was 35–60%, and most of these redundant steps were used for verification and exploration. In 1–8% of cases the agent even broke an already correct solution and ended with an incorrect patch. The authors state that enabling coding agents to recognize when to stop can significantly reduce unnecessary computation; the code and trajectory datasets are open-sourced at https://github.com/musacim/termination-lag and https://huggingface.co/datasets/musacim/termination-lag-trajectories。

Read originalhuggingface.co