TMin: Efficiently Post-Training Terminal Agents Enables Studying Reward Hacking with Academic Compute
Terminal agents are commonly post-trained with reinforcement learning (RL), using automated tests to reward task completion. However, agents can learn to pass these verifiers without completing the intended task, a failure mode known as reward hacking that can cause serious problems in real software environments. Studying how reward hacking develops during RL is difficult with academic compute because existing open recipes, such as TMax, require thousands of environments and up to 64 datacenter GPUs (80 GB H100s). We develop TMin, an efficient RL recipe that trains on a small, adaptive pool of learnable tasks and replaces tasks as the model improves. Using four workstation GPUs (48 GB RTX 6000 Ada), our resulting model (TMin-4B) improves upon Qwen3.5-4B to match the released TMax-4B on TerminalBench-Lite and TerminalBench 2.1 at an order of magnitude lower compute cost per run. The same recipe generalizes out of domain to math (AIME) and software engineering (SWE-bench Verified) and scales to 27B models, where TMin-27B matches TMax-27B using one eighth of the GPUs. We show that our recipe can be used to train a low-cost model organism of reward hacking, and we use this model…
- arXiv
- 2612.04874
- Authors
- Zaid Khan, Joykirat Singh, Runchu Tian, Justin Chih-Yao Chen, Akshay Nambi and 3 more
- Categories
- cs.AI · cs.CL