Learnability-Frontier Task Sampling
also known as Sampling for Learnability, Success-Variance Curriculum, Self-Evolving Curriculum
Spend the training rollout budget on tasks the agent currently solves sometimes, dropping tasks that every attempt solves and tasks that no attempt solves because both yield a zero-variance group and no gradient.
Context
An agent is being improved by reinforcement learning against a pool of tasks with automatic outcome checking. The trainer samples a task, runs several attempts, and turns the spread of outcomes within that group into an update. In agent settings a single attempt is not a short completion but a multi-minute episode inside a sandbox, with tool calls, a browser or a shell, so the number of attempts a run can afford is small and fixed in advance. The task pool is usually inherited whole from a benchmark or a scrape and sampled uniformly.
Problem
Most of an inherited pool carries no training signal at any given moment. Measurements across two optimisation algorithms and two widely used datasets found that many questions are solved by every attempt, meaning the skill is already learned, or by none, meaning no attempt reaches a reward at all. When every attempt in a group shares the same outcome, a group-relative advantage is zero for every member, so the update contributed by that group is nothing. Uniform sampling therefore spends most of an expensive rollout budget re-confirming what the agent already does and hammering tasks it cannot yet reach, and the fraction of wasted budget grows as training proceeds and more of the pool becomes solved.
Forces
- A fixed pool is cheapest to sample uniformly, but under group-relative advantage a task whose attempts all agree contributes exactly zero to the update, so uniform sampling converts most of the budget into no gradient.
- Success variance is the signal that identifies an informative task, yet estimating it costs the same rollouts the selection is meant to conserve.
- The informative band moves during training: a task at the frontier this round is fully solved a few rounds later, so any curriculum fixed in advance decays into the uniform case it replaced.
- In agent training a rollout is a multi-minute sandboxed episode rather than a token completion, so the price of an uninformative sample is orders of magnitude higher than in ordinary preference training.
- Dropping tasks that nobody solves protects the budget but also removes exactly the tasks whose capability is missing, so an aggressive filter can park a difficulty step the agent then never practises.
Example
A team trains a browsing agent on two thousand scraped web tasks, and each attempt takes several minutes inside a sandboxed browser. After two rounds they check the per-task numbers and find that a third of the pool is solved by every attempt and about half by none, so roughly four in five episodes changed nothing. They restrict the next batches to the tasks that succeed some of the time and start generating replacement tasks from the failures, and the same nightly budget begins to move the score again.
Diagram
Solution
Therefore:
Treat the task pool as a scheduled resource rather than a fixed dataset. Each task carries a running success rate estimated from its recent attempts, and a batch is drawn only from the band where that rate is neither zero nor one — the tasks the agent solves sometimes, whose groups still produce a non-zero advantage. Tasks above the band are retired as learned; tasks below it are parked rather than deleted, and a small share of each round re-probes the parked set so a difficulty step that later becomes reachable is picked up instead of lost. Because the frontier moves as the policy improves, the band is recomputed every round and new tasks are generated from recent unsuccessful attempts, which keeps supply in the band once the inherited pool has been exhausted. A curation step prunes redundant or low-utility items under a cost-aware objective so the pool does not grow without bound. The selector reads only outcomes the same verifier produced for the same served policy, so the band describes the model actually being trained.
What this pattern forbids. A training batch must not be drawn uniformly from the task pool: a task whose recent attempts all succeeded or all failed cannot enter the batch until its measured success rate re-enters the frontier band, and no task may be admitted without a current per-task success estimate produced by the same verifier and the same served policy configuration as the rollouts.
And the patterns that stand alongside it, or against it —
- complementsReST-EM★— Iterate generate → reward-filter → fine-tune to bootstrap reasoning capabilities without human-labelled data.
- alternative-toChecklist Partial-Credit Scoring★— Score each long-horizon task against task-specific graded checkpoints instead of a single pass/fail bit, so progress and regression that leave the binary outcome unchanged still show up in the report.
- complementsMirrored Tool Environment★— Replace the live external tool during agent training and benchmarking with a fine-tuned model that emits responses in that tool's shape, so runs stay cheap, reproducible and controllable in difficulty.
- complementsHarness-Native Rollout Capture★— Capture reinforcement-learning rollouts by intercepting the model-call boundary inside the harness the agent already runs in, recording exact prompt and response token ids rather than reconstructing them from the transcript.
- complementsServed-Policy Anchoring★— Treat the policy the inference engine actually serves, not the one the training engine computes, as the object being optimised and gated, and measure their probability agreement continuously.
- complementsSimulated-User Rollout Evaluation★— Evaluate a conversational agent by pairing it with a second model that plays the user from a persona and a hidden goal, then score the final environment state rather than the transcript.
- complementsBayesian Bandit Experimentation★— Replace fixed-split A/B tests between agent variants with a bandit that dynamically reallocates traffic toward better-performing variants based on observed reward, bounding regret from bad variants.
Neighbourhood
Click any neighbour to follow the language. Scroll to zoom, drag to pan.