Steer, Don’t Solve: Training Small Critic Models for Large Code Agents

Shubham Gandhi, Yiqing Xie, Atharva Naik, Ruichen Zhu, Carolyn Rose


Abstract
Coding tasks are typically complicated and require multiple capabilities, ranging from high-level planning to low-level implementation. While coding agents are optimized for the joint capabilities, individual capabilities may have different optima, and high-level planning remains a major bottleneck. To address this challenge, we train a separate critic model that is specialized in high-level planning to steer the coding agent in inference. We construct SFT and DPO data to train the critic model to identify errors made by the coding agent and provide correct and clear high-level guidance without generating concrete actions. Experiments show that our fine-tuned 4B and 8B critic models significantly improve the performance of 6 larger coding agents (e.g., improving the resolved rates of GLM-4.7-Flash-30B-A3B and GPT-OSS-120B by 16.0% and 14.4% on SWE-Bench Verified). The critic model also reduces the total inference costs for some coding agents by solving tasks in fewer steps (e.g., reducing the per-example inference cost for GPT-OSS-20B from 0.07 to 0.03). We provide the code in https://github.com/shubhamrgandhi/critic-training.
Anthology ID:
2026.emnlp-main.2478
Volume:
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
EMNLP
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
56259–56276
Language:
URL:
https://aclanthology.org/2026.emnlp-main.2478/
DOI:
Bibkey:
Cite (ACL):
Shubham Gandhi, Yiqing Xie, Atharva Naik, Ruichen Zhu, and Carolyn Rose. 2026. Steer, Don’t Solve: Training Small Critic Models for Large Code Agents. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing, pages 56259–56276, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
Steer, Don’t Solve: Training Small Critic Models for Large Code Agents (Gandhi et al., EMNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.emnlp-main.2478.pdf