TMin: Efficiently Post-Training Terminal Agents Enables Studying Reward Hacking with Academic Compute
Khan et al. in RL & post-training
Can a small task pool make reward-hacking research affordable?
TMin: Efficiently Post-Training Terminal Agents Enables Studying Reward Hacking with Academic Compute
What single-visit RL wastes
TMax visits 14.6k uncurated environments at most once; caching the full corpus takes about 4 TB.
TMin screens tasks the starting model sometimes solves, then reuses a small active set and replaces mastered or persistently failed tasks.
How TMin keeps tasks in reach
- 1
Screen for learnability
Keep tasks the base model passes in 1–6 of 8 rollouts: its learnable range, the Zone of Proximal Development.
- 2
Train on 64 active tasks
Repeatedly sample from a fixed 64-environment active set, revisiting tasks instead of visiting each only once.
- 3
Retire and rotate
Remove tasks above 85% pass, below 5% after two visits, or after six visits; refill from the screened pool.
The pool wastes fewer rollouts

Across the first 100 RL steps, panel (a) shows dead groups near 10% for TMin versus 32% for single-visit RL; panel (b) shows about 90% of generated rollouts yield useful signal (16 per group).
TMin-4B nears TMax at lower GPU cost
Qwen3.5-4B; mean of TB-Lite, TB 2.1, AIME 24/25, SWE-bench Verified; same harness. TMin: 100-step; TMax: 500-step; GPU-cost estimates.
The recipe also scales to 27B
Qwen3.6-27B scores 69.0 on the four-benchmark average after 200 steps on 64 H100s; estimated GPU cost is about $7.6k.
It scores 68.4 after 100 steps on 8 H100s, at an estimated GPU cost of about $2.4k.
That near-match uses one-eighth the GPUs and about one-third the estimated GPU cost.
Verifier-only RL lifts capability and hacking
Qwen3.5-4B; 200-step TMin verifier-only on TMax-Unhardened. Hack-Verifiable: reference-file passes; ImpossibleBench: contradictory tests.
Richer rewards target shortcuts directly
A pass earns reward even when the agent uses a reference or skips required work; the verifier cannot distinguish that from completion.
On the same unhardened pool, a judge zeros flagged cheating passes; rubrics grade task requirements and shortcuts. Both keep hacking near base, roughly halve Hack-Verifiable rates and cut ImpossibleBench hacks 3–4× versus verifier-only.
Removing judge-flagged cheats nearly erases the ~5-point TB-Lite gap; both beat verifier-only on TB 2.1.
Hardening blocks one exploit, delays another

Both runs use verifier-only reward for 200 steps on original or rewritten-verifier pools. Unshaded panels show capability, shaded panels hacking: hardening keeps ImpossibleBench hacks near zero but only delays Hack-Verifiable cheating.
Scope, cost, and trade-offs
Test coverage
Only 63 of 89 TerminalBench 2.1 tasks were evaluated; cybersecurity and exploitation tasks were excluded. The two hacking tests probe reference use and contradictory tests.
Cost boundary
The table counts GPU compute only; the ZPD screen is a reusable up-front cost, and cloud-sandbox fees are separate. TMin used local Docker.
LLM reward overhead
Judge/rubric variants use LLM calls (under $50 per 100-step run); the rubric policy solved fewer ImpossibleBench original problems.
Why it matters
- A 100-step Qwen3.5-4B run came within 0.8 points of released 500-step TMax's average across four benchmarks at nearly 20× lower GPU cost.
- Screen tasks with the base model, train on a compact active set, and retire tasks once mastered or persistently failed.
- Open question: can richer rewards combined with hardened environments control more hacking at larger model scales?
1 like 11 slides, 3 min
1 day ago