One email each morning — yesterday's AI, sortedGet it in your inbox

METAL LAB

TESTNAV: Pareto-Guided Search for Compositional Robustness Testing

arXiv:2608.198822026-08-21

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.

What they did

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
TESTNAV: Pareto-Guided Search for Compositional Robustness Testing figure 0
TESTNAV: Pareto-Guided Search for Compositional Robustness Testing figure 1
Table 1: Benchmarks, datasets and models, perturbations, fidelity metrics ϕ, task-performance metrics ψ, and clean-set performance ψ⁡(𝒟).
Dataset 𝒟SizeModelPerturbationsFidelity ϕTask ψClean ψ⁡(𝒟)
Tiny-ImageNet10,000CaiT-S36speckle noise, glass blur, brightness, pixelateKID, SSIMAccuracy86.7%
QQP1,000RoBERTa-basesynonym, typo, contraction, punctuationBERT-F1, chrFAccuracy91.2%
HumanEval164CodeGen-2B-monobutterfingers, char case, whitespace, newlineBERT-F1, chrFRP5@123.2%
MBPP974CodeGen-2B-monobutterfingers, char case, whitespace, newlineBERT-F1, chrFRP5@131.9%
TESTNAV: Pareto-Guided Search for Compositional Robustness Testing figure 2
TESTNAV: Pareto-Guided Search for Compositional Robustness Testing figure 3
Table 2: AUC-Recall@𝒫∗ for TestNav and search baselines across all benchmarks and fidelity metrics. Bold indicates the best score and underline indicates the second-best score per column.
MethodSSIMKIDchrFBERT-F1chrFBERT-F1chrFBERT-F1
TestNav0.7040.6860.6460.6510.7290.7300.6970.690
Greedy Search0.5570.4640.6380.7820.7420.7830.6810.751
Genetic Algorithm0.5400.5520.6930.7070.7530.7670.6400.631
Random Search0.5100.5030.5260.5140.5020.5220.5140.490
Figure 4: Input-level metrics versus TestNav on . Curves show Recall@𝒫∗ over unique configurations (top) and evaluation budget (bottom), using SSIM (left) and KID-derived fidelity (right).
Figure 4: Input-level metrics versus TestNav on . Curves show Recall@𝒫∗ over unique configurations (top) and evaluation budget (bottom), using SSIM (left) and KID-derived fidelity (right).
Figure 7: 4D voxel visualisations of 𝒫∗ for non-vision benchmarks using chrF as the fidelity metric.
Figure 7: 4D voxel visualisations of 𝒫∗ for non-vision benchmarks using chrF as the fidelity metric.
Table 3: Pareto-front composition per metric pair for .
Metric pair𝒫∗Θ1Θ2Θ3Θ4
(δ,ρSSIM)2791242
(δ,ρKID)2747142
TESTNAV: Pareto-Guided Search for Compositional Robustness Testing figure 6
TESTNAV: Pareto-Guided Search for Compositional Robustness Testing figure 7

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.

Figure 8: 4D voxel visualisations of 𝒫∗ for non-vision benchmarks using BERT-F1 as the fidelity metric.
Figure 8: 4D voxel visualisations of 𝒫∗ for non-vision benchmarks using BERT-F1 as the fidelity metric.
TESTNAV: Pareto-Guided Search for Compositional Robustness Testing figure 9

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
TESTNAV: Pareto-Guided Search for Compositional Robustness Testing figure 10

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.

Authors · Arooj Arif, Tobias Hartung, Elena Botoeva, Alexandros Koliousis

Read on arXiv

Latest papers

All papers →

Latest from METAL LAB

Figures: Arooj Arif et al., arXiv:2608.19882, CC BY 4.0