Measuring Capability Frontiers With Adversarially Filtered Task Pools
Measuring Capability Frontiers With Adversarially Filtered Task Pools
Capability frontiers shift faster than most eval sets can track. A benchmark that challenged frontier models six months ago now sits well inside their comfort zone, and the aggregate score tells you almost nothing about where the real ceiling is. Measuring capability frontiers with adversarially filtered task pools is the operational response to this problem: you build a task pool, filter it until only items that resist current models remain, and use that residual set as your measurement instrument. This post explains exactly how to design, filter, and maintain such a pool, and where the method breaks down.
What Is an Adversarially Filtered Task Pool?
An adversarially filtered task pool is a curated evaluation set in which every retained task has been empirically verified to defeat one or more target models at a specified pass rate threshold. Tasks that models solve reliably are removed; tasks that models fail or solve only inconsistently are kept. The result is a pool calibrated to the current frontier, not to a fixed difficulty assumption.
The term "adversarial" here does not mean adversarial examples in the input-perturbation sense. It means the filtering criterion is the model's own failure: a task survives the filter precisely because the model cannot handle it. The pool is adversarial to the model's current capability, not to its robustness to noise.
Why Standard Benchmarks Fail at the Frontier
Standard benchmarks fail at the frontier for three compounding reasons: saturation, contamination, and static difficulty.
Saturation happens when a large fraction of the benchmark items fall below the model's current capability threshold. Once pass@1 on a benchmark exceeds roughly 85-90%, the remaining variance is dominated by measurement noise rather than real capability signal. The benchmark has stopped discriminating.
Contamination happens when benchmark tasks or their close derivatives appear in pre-training or fine-tuning corpora. A model that has seen a task, or a structurally identical task, during training is not demonstrating capability when it solves it. The score reflects memorisation, not generalisation. Web-derived benchmarks are especially vulnerable because the web is also the dominant training source. The relationship between original authored versus scraped tasks and the contamination gap is direct: scraped tasks decay as training data expands.
Static difficulty is the structural version of saturation. A benchmark authored at a fixed point in time captures the difficulty distribution of that moment. As models improve, the distribution shifts left relative to model capability. The benchmark doesn't move; the model does. This is why web-derived eval tasks decay and why benchmark half-life is a real operational concern, not a theoretical one.
Adversarial filtering addresses all three by making the model's current performance the selection criterion. Saturated tasks are removed. Contaminated tasks, if the model has memorised them, will show high pass rates and will also be removed. Difficulty is re-calibrated each time you run the filter.
How to Build an Adversarially Filtered Task Pool: A Five-Step Protocol
The protocol below assumes you have a candidate task pool and access to at least two frontier models for filtering. The steps apply regardless of domain, though the verifier design varies significantly by domain.
Author a candidate pool with verifiable ground truth. Tasks must have answers or outcomes that can be verified without human judgment on every instance, or with a rubric that can be applied consistently. Tasks without reliable verifiers cannot be filtered at scale. The candidate pool should be larger than your target filtered pool by a factor of three to five, since filtering will discard a substantial fraction.
Run pass@k against your target model set. Pass@k estimates the probability that at least one of k sampled completions is correct for a given task. Use k between 5 and 20 for initial filtering; lower k is cheaper but noisier. Sample temperature should be non-zero (typically 0.7-1.0) to get variance across samples. Record pass@k per task per model.
Apply the retention threshold. Retain tasks where pass@k falls below your chosen threshold for all target models. A common threshold is pass@10 below 0.4, meaning even with ten attempts the model succeeds fewer than four times in ten. Tasks above the threshold on any model are candidates for removal unless you are deliberately measuring cross-model capability gaps.
Verify task quality on retained items. Adversarial filtering can retain tasks that are hard for the wrong reasons: ambiguous wording, broken verifiers, or tasks that require information not available in the prompt. Expert review of retained items is not optional. A task that is hard because it is broken is not a capability signal; it is noise.
Schedule re-filtration at fixed intervals. Capability drift is continuous. A task retained today may be solvable by a model released in three months. Build re-filtration into your eval cadence, not as an exception but as a scheduled operation. The interval depends on how fast the models you care about are improving; quarterly re-filtration is a reasonable starting point for frontier-model evals.
Pass@k Thresholds and What They Actually Measure
Pass@k is the right metric for adversarial filtering because it separates consistent capability from lucky single-shot performance. The unbiased estimator for pass@k, derived in the Codex paper (Chen et al., 2021, "Evaluating Large Language Models Trained on Code"), is:
pass@k = 1 - C(n-c, k) / C(n, k)
where n is the total number of samples drawn, c is the number of correct samples, and C() is the binomial coefficient. This estimator is preferable to the naive fraction because it is unbiased and can be computed from a single sample of n completions for any k up to n.
For adversarial filtering, the practical implication is that you should set n high enough that the estimator is stable. With n=20 and a true pass rate of 0.3, the standard error on the pass@10 estimate is approximately 0.08, which is workable. With n=5, the uncertainty is too large to make reliable retention decisions on individual tasks.
The threshold you choose encodes a judgment about what counts as "capability". A threshold of pass@10 below 0.2 retains only tasks the model almost never solves. A threshold of 0.5 retains tasks the model solves about half the time, which may be more useful for measuring progress at the frontier rather than identifying absolute limits. Neither is universally correct; the choice depends on your measurement goal.
Worked Example: Adversarial Filtering on a CNC Toolpath Verification Pool
Illustrative example: numbers are constructed to demonstrate the method, not derived from a specific experiment.
Suppose you have a candidate pool of 400 CNC toolpath verification tasks. Each task presents a G-code program and asks the model to identify whether the program will produce a collision, an out-of-tolerance cut, or a valid toolpath, given a specified workpiece geometry and tool library. Ground truth is verified by a simulator that runs the G-code and checks geometric outcomes against tolerance specifications.
You run pass@20 against two frontier models at temperature 0.8. Results across the 400 tasks:
Pass@20 Range | Task Count | Retention Decision |
|---|---|---|
0.8 - 1.0 (both models) | 140 | Discard: saturated |
0.4 - 0.8 (either model) | 110 | Discard: inconsistent, review for rubric issues |
0.0 - 0.4 (both models) | 150 | Retain: candidate adversarial set |
Of the 150 retained tasks, expert review finds 22 have ambiguous prompt wording or simulator edge cases that produce unreliable ground truth. Those are reworked or discarded, leaving a filtered pool of 128 tasks. This is your current capability frontier measurement instrument for CNC toolpath verification. In three months, you re-run pass@20 against the same and any new frontier models, and re-apply the filter. Some tasks will have graduated out; you draw from the reserve pool to replace them.
Common Failure Modes in Adversarially Filtered Task Pools
Failure Mode 1: Retaining Tasks That Are Hard Because They Are Broken
Detection: Expert reviewers find that retained tasks have ambiguous ground truth, missing context, or verifier bugs that cause false negatives. Fix: Mandatory expert review of all retained tasks before inclusion. A task that a domain expert cannot confidently solve given the prompt is not a valid eval item.
Failure Mode 2: Filtering Against Only One Model
Detection: Your filtered pool is hard for one model family but trivial for another. Cross-model pass@k reveals large variance. Fix: Filter against at least two frontier models from different training lineages. Retain only tasks that resist all target models at threshold.
Failure Mode 3: Ignoring Capability Drift
Detection: Re-running pass@k on a pool six months after initial filtering shows substantially higher pass rates than at time of creation. Fix: Schedule re-filtration. Treat the filtered pool as a perishable asset, not a fixed dataset. Maintain a reserve pool of unfiltered candidates to replenish items that graduate out.
Failure Mode 4: Using Pass@1 for Filtering Decisions
Detection: High variance in retained task difficulty; some tasks that "passed" the filter are solved reliably when re-tested. Fix: Use pass@k with k of at least 10 for filtering decisions. Pass@1 has too much variance at the individual task level to be a reliable retention criterion.
Failure Mode 5: Conflating Adversarial Filtering With Adversarial Prompting
Detection: Tasks in the pool are hard because they use unusual formatting, obfuscated variable names, or prompt structures that confuse the model's context window, not because the underlying problem is genuinely difficult. Fix: Require that every retained task is solvable by a domain expert in normal working conditions. Difficulty must come from the problem, not from prompt engineering artifacts.
Failure Mode 6: No Reserve Pool
Detection: After re-filtration, a large fraction of the pool graduates out and you have no replacement tasks. Fix: Maintain a candidate pool three to five times larger than your target filtered pool. Author new tasks continuously, not in batches timed to re-filtration cycles.
Where This Approach Breaks Down
Adversarial filtering assumes your verifier is reliable. In domains where ground truth is expensive to establish, or where correctness is genuinely contested among experts, the filter will retain tasks for the wrong reasons and discard others incorrectly. The method is only as good as the verification layer beneath it.
Filtering also cannot distinguish between a task that is hard because it tests a genuine capability gap and a task that is hard because it is an outlier in the task distribution that no model was trained to handle. Both survive the filter. Failure-mode analysis, conducted by domain experts reviewing model outputs on retained tasks, is the only way to separate these two cases.
Finally, adversarial filtering is a measurement tool, not a training signal on its own. A filtered pool tells you where the frontier is. It does not, by itself, tell you how to move it. That requires a separate post-training intervention, and the filtered pool's value as a training set depends entirely on whether the tasks have the provenance and verifier quality needed to generate reliable reward signals.
Frequently Asked Questions
What sample size do I need for reliable adversarial filtering?
For individual task retention decisions, draw at least n=20 samples per task. This gives a standard error on the pass@k estimate that is small enough to make reliable threshold decisions for most tasks. For tasks near the threshold boundary, n=40 or higher reduces misclassification. The Chen et al. (2021) unbiased estimator lets you compute any k up to n from a single sample run.
How often should I re-filter an adversarial task pool?
Re-filter whenever a major new model is released in your target family, or on a fixed quarterly schedule, whichever comes first. Capability drift at the frontier is fast enough that a pool filtered against models from six months ago may have lost a significant fraction of its discriminative value. Treat re-filtration as a scheduled maintenance operation.
Can I use an LLM as the judge for adversarial filtering?
Only if the LLM judge has been calibrated against expert ground truth on your specific task type, and only for tasks where the LLM judge's agreement with expert judgment is above roughly 90%. For domains where model outputs require specialist knowledge to evaluate, LLM-as-judge introduces systematic errors that corrupt the filter. Programmatic verifiers or expert rubrics are preferable wherever they are feasible.
Does adversarial filtering produce a training set or an eval set?
Both, in principle, but with different requirements. As an eval set, the filtered pool needs reliable verifiers and expert-reviewed task quality. As a training set, it additionally needs the tasks to be solvable in principle, ideally with expert-authored solution traces, and the verifier needs to be reliable enough to generate reward signals without systematic false positives. Contamination between the training and eval splits of the same pool must be managed explicitly.
How do I handle tasks that one model solves but another doesn't?
Retain them, but tag them with the model-specific pass@k values. Cross-model difficulty variance is itself a signal: it tells you which capability gaps are model-family-specific versus universal. For a general capability frontier measurement, retain only tasks that resist all target models. For model-specific gap analysis, retain tasks that resist at least one target model and analyze the pattern of which models fail on which task classes.
What This Means in Practice
Measuring capability frontiers with adversarially filtered task pools is not a one-time exercise. It's an ongoing measurement practice with a defined protocol, a maintenance cadence, and a quality bar that depends on the verifier layer beneath it. The filter is only as good as the tasks going in and the verification coming out. Saturated benchmarks and contaminated scraped tasks cannot be rescued by filtering; the inputs have to be original, expert-authored, and verifiable from the start.
The pools that hold their discriminative value longest are built on tasks that frontier models have never encountered in training, authored by practitioners who understand what genuine difficulty looks like in their domain, and verified by methods that don't depend on the model being evaluated.
If you're building adversarially filtered evals or RL environments in a specialist domain, talk to Chiron Data Labs about expert-authored tasks for your domain.
Capability frontiers shift faster than most eval sets can track. A benchmark that challenged frontier models six months ago now sits well inside their comfort zone, and the aggregate score tells you almost nothing about where the real ceiling is. Measuring capability frontiers with adversarially filtered task pools is the operational response to this problem: you build a task pool, filter it until only items that resist current models remain, and use that residual set as your measurement instrument. This post explains exactly how to design, filter, and maintain such a pool, and where the method breaks down.
What Is an Adversarially Filtered Task Pool?
An adversarially filtered task pool is a curated evaluation set in which every retained task has been empirically verified to defeat one or more target models at a specified pass rate threshold. Tasks that models solve reliably are removed; tasks that models fail or solve only inconsistently are kept. The result is a pool calibrated to the current frontier, not to a fixed difficulty assumption.
The term "adversarial" here does not mean adversarial examples in the input-perturbation sense. It means the filtering criterion is the model's own failure: a task survives the filter precisely because the model cannot handle it. The pool is adversarial to the model's current capability, not to its robustness to noise.
Why Standard Benchmarks Fail at the Frontier
Standard benchmarks fail at the frontier for three compounding reasons: saturation, contamination, and static difficulty.
Saturation happens when a large fraction of the benchmark items fall below the model's current capability threshold. Once pass@1 on a benchmark exceeds roughly 85-90%, the remaining variance is dominated by measurement noise rather than real capability signal. The benchmark has stopped discriminating.
Contamination happens when benchmark tasks or their close derivatives appear in pre-training or fine-tuning corpora. A model that has seen a task, or a structurally identical task, during training is not demonstrating capability when it solves it. The score reflects memorisation, not generalisation. Web-derived benchmarks are especially vulnerable because the web is also the dominant training source. The relationship between original authored versus scraped tasks and the contamination gap is direct: scraped tasks decay as training data expands.
Static difficulty is the structural version of saturation. A benchmark authored at a fixed point in time captures the difficulty distribution of that moment. As models improve, the distribution shifts left relative to model capability. The benchmark doesn't move; the model does. This is why web-derived eval tasks decay and why benchmark half-life is a real operational concern, not a theoretical one.
Adversarial filtering addresses all three by making the model's current performance the selection criterion. Saturated tasks are removed. Contaminated tasks, if the model has memorised them, will show high pass rates and will also be removed. Difficulty is re-calibrated each time you run the filter.
How to Build an Adversarially Filtered Task Pool: A Five-Step Protocol
The protocol below assumes you have a candidate task pool and access to at least two frontier models for filtering. The steps apply regardless of domain, though the verifier design varies significantly by domain.
Author a candidate pool with verifiable ground truth. Tasks must have answers or outcomes that can be verified without human judgment on every instance, or with a rubric that can be applied consistently. Tasks without reliable verifiers cannot be filtered at scale. The candidate pool should be larger than your target filtered pool by a factor of three to five, since filtering will discard a substantial fraction.
Run pass@k against your target model set. Pass@k estimates the probability that at least one of k sampled completions is correct for a given task. Use k between 5 and 20 for initial filtering; lower k is cheaper but noisier. Sample temperature should be non-zero (typically 0.7-1.0) to get variance across samples. Record pass@k per task per model.
Apply the retention threshold. Retain tasks where pass@k falls below your chosen threshold for all target models. A common threshold is pass@10 below 0.4, meaning even with ten attempts the model succeeds fewer than four times in ten. Tasks above the threshold on any model are candidates for removal unless you are deliberately measuring cross-model capability gaps.
Verify task quality on retained items. Adversarial filtering can retain tasks that are hard for the wrong reasons: ambiguous wording, broken verifiers, or tasks that require information not available in the prompt. Expert review of retained items is not optional. A task that is hard because it is broken is not a capability signal; it is noise.
Schedule re-filtration at fixed intervals. Capability drift is continuous. A task retained today may be solvable by a model released in three months. Build re-filtration into your eval cadence, not as an exception but as a scheduled operation. The interval depends on how fast the models you care about are improving; quarterly re-filtration is a reasonable starting point for frontier-model evals.
Pass@k Thresholds and What They Actually Measure
Pass@k is the right metric for adversarial filtering because it separates consistent capability from lucky single-shot performance. The unbiased estimator for pass@k, derived in the Codex paper (Chen et al., 2021, "Evaluating Large Language Models Trained on Code"), is:
pass@k = 1 - C(n-c, k) / C(n, k)
where n is the total number of samples drawn, c is the number of correct samples, and C() is the binomial coefficient. This estimator is preferable to the naive fraction because it is unbiased and can be computed from a single sample of n completions for any k up to n.
For adversarial filtering, the practical implication is that you should set n high enough that the estimator is stable. With n=20 and a true pass rate of 0.3, the standard error on the pass@10 estimate is approximately 0.08, which is workable. With n=5, the uncertainty is too large to make reliable retention decisions on individual tasks.
The threshold you choose encodes a judgment about what counts as "capability". A threshold of pass@10 below 0.2 retains only tasks the model almost never solves. A threshold of 0.5 retains tasks the model solves about half the time, which may be more useful for measuring progress at the frontier rather than identifying absolute limits. Neither is universally correct; the choice depends on your measurement goal.
Worked Example: Adversarial Filtering on a CNC Toolpath Verification Pool
Illustrative example: numbers are constructed to demonstrate the method, not derived from a specific experiment.
Suppose you have a candidate pool of 400 CNC toolpath verification tasks. Each task presents a G-code program and asks the model to identify whether the program will produce a collision, an out-of-tolerance cut, or a valid toolpath, given a specified workpiece geometry and tool library. Ground truth is verified by a simulator that runs the G-code and checks geometric outcomes against tolerance specifications.
You run pass@20 against two frontier models at temperature 0.8. Results across the 400 tasks:
Pass@20 Range | Task Count | Retention Decision |
|---|---|---|
0.8 - 1.0 (both models) | 140 | Discard: saturated |
0.4 - 0.8 (either model) | 110 | Discard: inconsistent, review for rubric issues |
0.0 - 0.4 (both models) | 150 | Retain: candidate adversarial set |
Of the 150 retained tasks, expert review finds 22 have ambiguous prompt wording or simulator edge cases that produce unreliable ground truth. Those are reworked or discarded, leaving a filtered pool of 128 tasks. This is your current capability frontier measurement instrument for CNC toolpath verification. In three months, you re-run pass@20 against the same and any new frontier models, and re-apply the filter. Some tasks will have graduated out; you draw from the reserve pool to replace them.
Common Failure Modes in Adversarially Filtered Task Pools
Failure Mode 1: Retaining Tasks That Are Hard Because They Are Broken
Detection: Expert reviewers find that retained tasks have ambiguous ground truth, missing context, or verifier bugs that cause false negatives. Fix: Mandatory expert review of all retained tasks before inclusion. A task that a domain expert cannot confidently solve given the prompt is not a valid eval item.
Failure Mode 2: Filtering Against Only One Model
Detection: Your filtered pool is hard for one model family but trivial for another. Cross-model pass@k reveals large variance. Fix: Filter against at least two frontier models from different training lineages. Retain only tasks that resist all target models at threshold.
Failure Mode 3: Ignoring Capability Drift
Detection: Re-running pass@k on a pool six months after initial filtering shows substantially higher pass rates than at time of creation. Fix: Schedule re-filtration. Treat the filtered pool as a perishable asset, not a fixed dataset. Maintain a reserve pool of unfiltered candidates to replenish items that graduate out.
Failure Mode 4: Using Pass@1 for Filtering Decisions
Detection: High variance in retained task difficulty; some tasks that "passed" the filter are solved reliably when re-tested. Fix: Use pass@k with k of at least 10 for filtering decisions. Pass@1 has too much variance at the individual task level to be a reliable retention criterion.
Failure Mode 5: Conflating Adversarial Filtering With Adversarial Prompting
Detection: Tasks in the pool are hard because they use unusual formatting, obfuscated variable names, or prompt structures that confuse the model's context window, not because the underlying problem is genuinely difficult. Fix: Require that every retained task is solvable by a domain expert in normal working conditions. Difficulty must come from the problem, not from prompt engineering artifacts.
Failure Mode 6: No Reserve Pool
Detection: After re-filtration, a large fraction of the pool graduates out and you have no replacement tasks. Fix: Maintain a candidate pool three to five times larger than your target filtered pool. Author new tasks continuously, not in batches timed to re-filtration cycles.
Where This Approach Breaks Down
Adversarial filtering assumes your verifier is reliable. In domains where ground truth is expensive to establish, or where correctness is genuinely contested among experts, the filter will retain tasks for the wrong reasons and discard others incorrectly. The method is only as good as the verification layer beneath it.
Filtering also cannot distinguish between a task that is hard because it tests a genuine capability gap and a task that is hard because it is an outlier in the task distribution that no model was trained to handle. Both survive the filter. Failure-mode analysis, conducted by domain experts reviewing model outputs on retained tasks, is the only way to separate these two cases.
Finally, adversarial filtering is a measurement tool, not a training signal on its own. A filtered pool tells you where the frontier is. It does not, by itself, tell you how to move it. That requires a separate post-training intervention, and the filtered pool's value as a training set depends entirely on whether the tasks have the provenance and verifier quality needed to generate reliable reward signals.
Frequently Asked Questions
What sample size do I need for reliable adversarial filtering?
For individual task retention decisions, draw at least n=20 samples per task. This gives a standard error on the pass@k estimate that is small enough to make reliable threshold decisions for most tasks. For tasks near the threshold boundary, n=40 or higher reduces misclassification. The Chen et al. (2021) unbiased estimator lets you compute any k up to n from a single sample run.
How often should I re-filter an adversarial task pool?
Re-filter whenever a major new model is released in your target family, or on a fixed quarterly schedule, whichever comes first. Capability drift at the frontier is fast enough that a pool filtered against models from six months ago may have lost a significant fraction of its discriminative value. Treat re-filtration as a scheduled maintenance operation.
Can I use an LLM as the judge for adversarial filtering?
Only if the LLM judge has been calibrated against expert ground truth on your specific task type, and only for tasks where the LLM judge's agreement with expert judgment is above roughly 90%. For domains where model outputs require specialist knowledge to evaluate, LLM-as-judge introduces systematic errors that corrupt the filter. Programmatic verifiers or expert rubrics are preferable wherever they are feasible.
Does adversarial filtering produce a training set or an eval set?
Both, in principle, but with different requirements. As an eval set, the filtered pool needs reliable verifiers and expert-reviewed task quality. As a training set, it additionally needs the tasks to be solvable in principle, ideally with expert-authored solution traces, and the verifier needs to be reliable enough to generate reward signals without systematic false positives. Contamination between the training and eval splits of the same pool must be managed explicitly.
How do I handle tasks that one model solves but another doesn't?
Retain them, but tag them with the model-specific pass@k values. Cross-model difficulty variance is itself a signal: it tells you which capability gaps are model-family-specific versus universal. For a general capability frontier measurement, retain only tasks that resist all target models. For model-specific gap analysis, retain tasks that resist at least one target model and analyze the pattern of which models fail on which task classes.
What This Means in Practice
Measuring capability frontiers with adversarially filtered task pools is not a one-time exercise. It's an ongoing measurement practice with a defined protocol, a maintenance cadence, and a quality bar that depends on the verifier layer beneath it. The filter is only as good as the tasks going in and the verification coming out. Saturated benchmarks and contaminated scraped tasks cannot be rescued by filtering; the inputs have to be original, expert-authored, and verifiable from the start.
The pools that hold their discriminative value longest are built on tasks that frontier models have never encountered in training, authored by practitioners who understand what genuine difficulty looks like in their domain, and verified by methods that don't depend on the model being evaluated.
If you're building adversarially filtered evals or RL environments in a specialist domain, talk to Chiron Data Labs about expert-authored tasks for your domain.