TESTNAV: Pareto-Guided Search for Compositional Robustness Testing
A smarter way to test AI models against combined real-world glitches, without checking every possible combination
When multiple corruptions like brightness shifts and motion blur hit an image or text at the same time, the number of possible combinations explodes and most of them are unrealistically broken and not useful for testing. TESTNAV treats robustness testing as a balancing act between two goals -- how much a corruption combination breaks model performance and how much it still looks like the original input -- and uses the evolutionary algorithm NSGA-II to find the best trade-offs efficiently. Across four benchmarks covering images, text, and code, it matched the results of exhaustive baseline search while checking only 35.8%-89.3% of all possible combinations, and did so up to 2.15x faster.
METAL MEDIA explanatory visual
A smarter way to test AI models against combined real-world glitches, without checking every possible combination
- 01Real-world inputs often suffer from several corruptions at once (brightness change, blur, noise), but testing all combinations explodes combinatorially -- four corruption types at six severity levels already yields 1,296 combinations, and many are so degraded they're not practically useful
- 02TESTNAV reframes robustness testing as a bi-objective optimisation problem: maximise how much a corruption combination hurts model performance, while keeping the corrupted input faithful to the original, measured with modality-specific metrics like SSIM and KID for images, and chrF and BERT-F1 for language and code
- 03It uses NSGA-II, a multi-objective evolutionary search algorithm, to approximate the set of best trade-off combinations (the Pareto front) without evaluating every single configuration
- 04Tested against ground truth built by exhaustively evaluating all 1,296 configurations on four benchmarks (Tiny-ImageNet, QQP, HumanEval, MBPP), TESTNAV recovered the full set of optimal combinations up to 2.15x faster than other search methods, needing only 35.8%-89.3% of the full configuration space
- 05Simpler baselines -- optimising for degradation or fidelity alone, or using existing neural-network coverage metrics -- performed worse, confirming that both goals need to be balanced together
What they did
- Real-world inputs often suffer from several corruptions at once (brightness change, blur, noise), but testing all combinations explodes combinatorially -- four corruption types at six severity levels already yields 1,296 combinations, and many are so degraded they're not practically useful
- TESTNAV reframes robustness testing as a bi-objective optimisation problem: maximise how much a corruption combination hurts model performance, while keeping the corrupted input faithful to the original, measured with modality-specific metrics like SSIM and KID for images, and chrF and BERT-F1 for language and code
- It uses NSGA-II, a multi-objective evolutionary search algorithm, to approximate the set of best trade-off combinations (the Pareto front) without evaluating every single configuration
- Tested against ground truth built by exhaustively evaluating all 1,296 configurations on four benchmarks (Tiny-ImageNet, QQP, HumanEval, MBPP), TESTNAV recovered the full set of optimal combinations up to 2.15x faster than other search methods, needing only 35.8%-89.3% of the full configuration space
- Simpler baselines -- optimising for degradation or fidelity alone, or using existing neural-network coverage metrics -- performed worse, confirming that both goals need to be balanced together

| Dataset 𝒟 | Size | Model | Perturbations | Fidelity ϕ | Task ψ | Clean ψ(𝒟) | |
|---|---|---|---|---|---|---|---|
| Tiny-ImageNet | 10,000 | CaiT-S36 | speckle noise, glass blur, brightness, pixelate | KID, SSIM | Accuracy | 86.7% | |
| QQP | 1,000 | RoBERTa-base | synonym, typo, contraction, punctuation | BERT-F1, chrF | Accuracy | 91.2% | |
| HumanEval | 164 | CodeGen-2B-mono | butterfingers, char case, whitespace, newline | BERT-F1, chrF | RP5@1 | 23.2% | |
| MBPP | 974 | CodeGen-2B-mono | butterfingers, char case, whitespace, newline | BERT-F1, chrF | RP5@1 | 31.9% |


| Method | SSIM | KID | chrF | BERT-F1 | chrF | BERT-F1 | chrF | BERT-F1 |
|---|---|---|---|---|---|---|---|---|
| TestNav | 0.704 | 0.686 | 0.646 | 0.651 | 0.729 | 0.730 | 0.697 | 0.690 |
| Greedy Search | 0.557 | 0.464 | 0.638 | 0.782 | 0.742 | 0.783 | 0.681 | 0.751 |
| Genetic Algorithm | 0.540 | 0.552 | 0.693 | 0.707 | 0.753 | 0.767 | 0.640 | 0.631 |
| Random Search | 0.510 | 0.503 | 0.526 | 0.514 | 0.502 | 0.522 | 0.514 | 0.490 |

| Metric pair | 𝒫∗ | Θ1 | Θ2 | Θ3 | Θ4 |
|---|---|---|---|---|---|
| (δ,ρSSIM) | 27 | 9 | 12 | 4 | 2 |
| (δ,ρKID) | 27 | 4 | 7 | 14 | 2 |
Why it matters
Testing every possible combination of real-world corruptions is computationally infeasible for large models, yet safety-critical systems like autonomous driving or medical imaging need to know how they fail under such combined conditions. TESTNAV offers a practical way to find the most meaningful, realistic failure cases within a limited testing budget, giving practitioners concrete guidance for building more reliable robustness tests.
Terms in this paper
- Pareto front · the set of best possible trade-off points where improving one goal necessarily makes another goal worse
- NSGA-II · an evolutionary search algorithm designed to optimise multiple competing goals at once
- SSIM/KID · metrics that measure how visually similar a corrupted image is to its original
- chrF/BERT-F1 · metrics that measure how similar corrupted text or code is to its original
- Recall@P* · a measure of how much of the true best-combination set a search method has found so far
Original abstract (English)
Deep learning models remain vulnerable to real-world input perturbations, especially when multiple corruptions co-occur in the same input (e.g., brightness shifts and motion blur). Compositional testing reveals these interaction effects but introduces two challenges: combinatorial growth of the perturbation space as dimensions and severity levels increase, and uneven diagnostic value-many combinations yield unrealistically degraded inputs with limited practical relevance. We present TESTNAV, 1 a Pareto-guided robustness testing framework for efficiently exploring discrete, compositional perturbation spaces when only a limited number of perturbation configurations can be evaluated. TESTNAV prioritises severe yet realistic failures by formulating robustness testing as bi-objective optimisation: maximise performance degradation while preserving input fidelity measured by modality-specific metrics (e.g., SSIM and KID for vision; chrF and BERT-F1 for language and code). It uses NSGA-II to approximate the bi-objective Pareto front. Across four benchmarks spanning vision, natural language, and code generation, TESTNAV recovers Pareto fronts up to 2.15x faster than search-based baselines, using 35.8%-89.3% of the discrete perturbation space defined by four perturbation dimensions with six levels each.
Read on arXivLatest papers
- SWE-bench Science: Can Coding Agents Resolve Engineering Tasks in Science?AI coding agents were tested on fixing real scientific software, and even the best one failed more than half the time
- FlashPrefill V2: Block-Sparse Prefill Attention for Long-Context LLM ServingMaking sparse attention fast enough and accurate enough for real LLM serving, not just papers
- PolicyGuide: From Guarding One Action to Guiding the Whole Workflow for Policy-Compliant LLM AgentsMaking customer-service AI agents follow the whole procedure, not just avoid one bad action
- EXIMO: VLM Guided Exploration of VLA PoliciesTeaching a robot new chores without human teleoperation, by letting a chatty AI supervise it
- EnvHarness: Awakening Static Worlds for Agent LearningInstead of building new training worlds from scratch, this work adds a plug-in layer that reshapes existing ones around each agent's actual weaknesses
- Bounded Sovereignty and the Control Tax: Pricing AI Oversight When the Deployer Does Not Own the ModelCompanies that rent AI instead of owning it can only do half of AI safety oversight
- Beyond Imitation: Filtering On-Policy Distillation by Reasoning ProgressA fix for AI models that get penalized by their teacher even when they're reasoning correctly
- PersonalBench: Measuring the Authorship Gap in LLM PersonalizationAI can be prompted to write 'like someone,' but its own voice never fully disappears
Latest from METAL MEDIA
Figures: Arooj Arif et al., arXiv:2608.19882, CC BY 4.0