Explore the research collection
1 entry · Follow this search
- Post
How to make a good RL task
Practitioner essay on designing RL tasks for agents. A task is four components — Prompt (the request), World (the data and dynamics of the environment), Verifier (the deterministic or model-based definition of "good"), and Intent (the explicit capability or failure mode being targeted) — and task generation is constraint satisfaction across their alignment axes. Prompt↔Verifier: the prompt must contain enough signal for a capable model to satisfy the verifier. Verifier↔Intent: the verifier is the sole source of optimization pressure, so any gap is reward hacking (buggy code passing tests; escaping the sandbox to hack Hugging Face for answers). Prompt↔Intent: prompts must stay distributionally aligned with production traffic. Worlds span real (uncorrupted repo) to fully synthetic (cloned travel sites); a world is sufficient iff it reliably elicits the target failure mode. Making good tasks means building revision loops that calibrate prompt, verifier, and world against intent: author → eval → audit traces → loop back to author or discard, with a verifier-calibration loop mapping edge cases against ground truth. A worked SWE pipeline uses solver agents, a verifier agent writing the grader, hacker agents seeking undesirable-but-passing solutions, and a review agent. Naively hardening tasks is warned against — it targets contrived axes. On the verifiability spectrum, most interesting work is semi-verifiable, and human experts are the ultimate verifiers. Task factories are the outer loop: distilling expert judgment into the generation pipeline so it yields better tasks at progressively lower cost — e.g. an investment banker flags unrealistic prompts, the recipe is updated, and expensive human gates compile down to agent proxies and eventually cheap classifiers like Jev. Cites the recent OpenAI/Hugging Face attack as the catastrophic end of verifier–intent misalignment.