arXiv:2610.23195cs.AIOct 2026

Manuscript Offprint

arXiv:2610.23195

FuzzInsight: Navigating the Efficiency-Effectiveness Trade-off in Coverage-Guided DNN Fuzzing

Vivek Vekariya, Fathiyeh Faghih, Alexander Pretschner

VIVEK VEKARIYA, Technical University of Munich, Germany

FATHIYEH FAGHIH, Birmingham City University, United Kingdom

ALEXANDER PRETSCHNER, Technical University of Munich & fortiss GmbH, Germany

Collecting and labeling diverse test datasets for testing the reliability of Deep Neural Networks (DNNs) is both time-consuming and expensive. This challenge has driven significant interest in coverage-guided fuzzing techniques for DNNs, which effectively generate defect-revealing corner cases from existing limited test datasets. The efficiency and effectiveness of these campaigns heavily depend on configuration choices, including coverage criteria and seed-selection strategies.

We present a configuration-oriented analysis and decision guidelines for scalable DNN fuzzing that focuses on two key bottlenecks: the underutilization of available input seeds during fuzzing due to seed-selection strategies, and the identification of computationally efficient coverage criteria that effectively guide the discovery of high-value corner cases. Our findings indicate that existing seed selection strategies repeatedly favor a small subset of available seeds, leaving a substantial fraction of collected inputs unexplored. To address this, we propose Equalized Sampling, a constraint-based strategy that achieves a mean seed queue utilization of 77%, improving upon prior approaches by 13 percentage points (p.p.).

We further evaluate the cost-effectiveness of coverage guidance across 84 distinct fuzzing configurations on four well-established computer vision benchmark datasets: MNIST, SVHN, GTSRB, and CIFAR-100. In our evaluated settings, non-structural coverage criteria, LSCD, LSC, and MDSC, achieve coverage outcomes comparable to both structural and other non-structural criteria, while incurring substantially lower computational cost. Moreover, these criteria enable broad behavioral exploration of the DNN under test, reducing the need to explicitly monitor multiple coverage metrics. Among these, LSCD exhibits a consistent but modest runtime advantage, while LSCD, LSC, and MDSC collectively require substantially lower runtime over other criteria.

Finally, we demonstrate that retraining with the generated corner cases yields substantial average accuracy gains in generalization robustness up to 77 p.p. without harming model stability on the original test distribution. Together, these results provide a scalable blueprint for practitioners to optimize DNN testing strategies by balancing computational efficiency with rigorous model hardening.

Additional Key Words and Phrases: Deep Learning Testing, Coverage-Guided Fuzzing, Test Dataset Generation, Model Retraining

ACM Reference Format:

Vivek Vekariya, Fathiyeh Faghih, and Alexander Pretschner. 2026. FuzzInsight: Navigating the Efficiency-Effectiveness Trade-off in Coverage-Guided DNN Fuzzing. 1, 1 (October 2026), 28 pages. https://doi.org/XXXXXXX.XXXXXXX

1 Introduction

To assess the quality of Deep Neural Networks (DNNs), test engineers evaluate their ability to generalize to unseen scenarios using metrics such as accuracy, precision, recall, etc., on a test dataset. Trusting the performance of DNNs solely

Authors' Contact Information: Vivek Vekariya, vivek.vekariya@tum.de, Technical University of Munich, Munich, Bayern, Germany; Fathiyeh Faghih, fathiyeh.faghih@bcu.ac.uk, Birmingham City University, Birmingham, West Midlands, United Kingdom; Alexander Pretschner, alexander.pretschner@tum.de, pretschner@fortiss.org, Technical University of Munich & fortiss GmbH, Munich, Bayern, Germany.

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.

© 2026 Copyright held by the owner/author(s). Publication rights licensed to ACM.

Vekariya et al.

based on these metrics can be misleading, primarily due to concerns about the quality of the test dataset [17, 26, 32, 47]. A high-quality test dataset should closely capture and reflect real-world in-field properties for the trustworthy assessment of DNNs. However, collecting and labeling test data requires significant time and resources [12, 17, 26, 32, 47].

Like traditional software systems, DNNs can exhibit undesired or erroneous behavior due to hidden, unidentified defects that often manifest in corner cases: rare inputs residing in low-probability regions of the input space. In this work, we focus on corner cases discovered via fuzzing. We start with correctly classified inputs from the test set and apply realistic perturbations from the operational domain (e.g., subtle changes in lighting, rotation, or sensor-related noise). A generated input is considered a corner case if it successfully triggers a misclassification, thereby exposing a region of the input space where the DNN lacks robustness. An important factor influencing test dataset quality is the extent to which it includes corner cases, which are essential for exposing such defects and limitations in DNNs' ability to generalize. Including such corner case data can enhance test data quality and give test engineers an opportunity to address and improve DNN robustness.

Prior surveys and industrial reports suggest growing interest in automated corner case generation for DNNs using Coverage-Guided Fuzzing (CGF) [17, 26, 32, 47]. Inspired by traditional software fuzzing, CGF has effectively alleviated the challenges of test data generation and corner-case identification for DNNs [1, 27, 29, 39, 44]. However, the data-centric nature of DNNs and the broad spectrum of available coverage criteria make it difficult to determine an efficient and effective fuzzing configuration in practice. Most existing DNN fuzzing frameworks, such as DeepHunter [44] or TensorFuzz [29], primarily rely on structural coverage criteria. These white-box approaches calculate coverage based on internal neuron activations, requiring full access to the DNN's architecture. In contrast, emerging non-structural criteria such as Surprise Coverage (SC) [19, 20, 43, 45] and Latent Space Class Dispersion (LSCD) [42] work in a gray-box manner and do not require complete access to the DNN architecture. Specifically, gray-box criteria rely on high-level representations (e.g., logits or latent vectors) to summarize DNN behavior without monitoring individual neuron activations. This can make them more scalable and easier to apply in practice. Despite their demonstrated effectiveness in evaluating dataset quality under various fault conditions [15, 42], these non-structural metrics remain largely unexplored for guiding test data generation in fuzzing.

Practitioners face an under-specified configuration problem when applying coverage-guided fuzzing to DNNs: selecting coverage criteria and seed-selection strategies under practical resource constraints and the permissible level of model access. Existing DNN fuzzing research provides limited empirical insight into how these factors jointly affect fuzzing effectiveness and scalability. Accordingly, this paper contributes a configuration-oriented empirical analysis and a practitioner-oriented decision guideline for scalable DNN fuzzing. We derive this guidance by empirically comparing and incorporating non-structural coverage criteria (such as surprise coverage and latent space class dispersion) alongside established structural metrics. Beyond simple corner-case generation, our empirical study aims to characterize efficiency-effectiveness trade-offs across configurations for DNN testing by investigating three key aspects of fuzzing campaign:

• Seed Queue Utilization: Many prior DNN fuzzing evaluations and default configurations initialize the fuzzing campaigns with a randomly selected subset of the available test data as the initial seeds [7, 27, 29, 39, 44]. While functional, this approach can leave large portions of the available test data unselected for fuzzing, including inputs that might expose distinct failure modes. Also, simply increasing the initial seed count does not resolve this inefficiency. The true bottleneck lies in the fuzzer's internal seed-selection strategy. If it repeatedly prioritizes a small subset of seeds, many others receive little or no mutation budget, resulting in "missed opportunities" to discover corner cases from those seeds.

Prior work rarely reports how many distinct initial seeds actually contribute to corner case discovery after a fuzzing campaign, nor how the seed-selection strategy affects this contribution [29, 44]. This motivates our study of seed queue utilization, a metric defined as the fraction of distinct initial seeds that contribute to corner-case discovery. To fully assess the exploration potential of each strategy, we evaluate utilization using the full available labeled test dataset. A low seed queue utilization indicates that the mutation budget concentrates on a small subset of seeds, leaving many available seeds effectively unexercised during fuzzing. We first conduct a critical evaluation of existing seed selection strategies to quantify this inefficiency [29, 44]. We address the identified gaps by introducing Equalized Sampling, a simple constraint-based seed-selection strategy. From a practitioner's perspective, seed queue utilization is not merely a configuration choice or an end goal itself, but a useful diagnostic of whether the mutation budget is allocated to only a subset of seeds during fuzzing instead of leveraging the potential of all available input seeds.

• Efficiency and Cross-Coverage Synergies: A major barrier to scaling DNN fuzzing is the high computational overhead of monitoring multiple, complex coverage criteria simultaneously. This creates an efficiency-effectiveness trade-off: computationally intensive criteria may provide more informative guidance but slow down fuzzing campaigns, whereas lightweight criteria improve scalability but may yield weaker feedback. Our goal is to identify whether specific coverage metrics can indirectly achieve broader test thoroughness. To this end, we investigate cross-coverage, a phenomenon in which the targeted maximization of one coverage metric during fuzzing tends to increase other coverage criteria. This approach acknowledges the interconnected nature of neural and coverage behaviors: when a fuzzer is guided to explore behaviors captured by one metric, it may also stimulate behaviors reflected by other criteria.

Our analysis reveals that non-structural metrics offer a dual advantage. First, as gray-box measures, they do not require full access to the DNN's internal architecture and offer computational efficiency in generating test cases significantly faster than structural alternatives. Second, they exhibit meaningful cross-coverage synergies by increasing several other coverage criteria without directly optimizing them. Identifying such coverage alignment can help practitioners support broader DNN behavioral exploration without having to monitor multiple complex metrics.

• Model Robustness and Practical Utility: To demonstrate that our fuzzing framework provides actionable value beyond optimizing configuration choices, we evaluate the utility of the generated corner cases for enhancing DNN robustness. We close the testing loop by retraining the model on the generated corner-case data and measuring the resulting impact through two key properties. We evaluate Model Stability, defined as the preservation of accuracy on the original test set, and Generalization Robustness, defined as the accuracy gain on held-out fuzzed data that the model has not previously encountered. This evaluation aims to demonstrate that the fuzzing process yields a measurably more robust model, bridging the gap between automated test generation and tangible model improvement.

Our empirical study spans 7 coverage criteria and 3 seed selection strategies across four widely recognized computer vision benchmark datasets: MNIST [4], SVHN [28], GTSRB [36], and CIFAR-100 [23]. Our evaluation demonstrates that existing seed selection strategies often struggle to capitalize on the diversity of the available seed pool. Our proposed Equalized Sampling strategy improves seed queue utilization by balancing the allocation of the mutation budget across the available seed pool. It achieves the highest seed queue utilization among all evaluated methods. On average, it utilizes 77.58% of the available seeds for corner case discovery across all datasets, compared with 64.61% for the widely

Vekariya et al.

used DeepHunter strategy and just 6.99% for TensorFuzz. This represents gains of 12.97 and 70.59 percentage points (p.p.) over DeepHunter and TensorFuzz, respectively. Higher utilization means a larger fraction of initial seeds actively participate in the fuzzing process, receive mutation budget, and contribute to the discovery of corner cases.

Among the studied criteria, the three gray-box latent-space metrics, Latent Space Class Dispersion, Likelihood-based Surprise Coverage (LSC), and Mahalanobis Distance-based Surprise Coverage (MDSC), consistently exhibit the lowest computational overhead, particularly as model complexity increases. Across all studied datasets, LSCD completes fuzzing in approximately 128 minutes, compared with 148 minutes for LSC and 152 minutes for MDSC. This makes LSCD approximately 1.16 times (i.e., 16%) faster than LSC, 1.19 times (i.e., 19%) faster than MDSC, and 8.71 times faster than Neuron Coverage (NC), the fastest structural alternative. In contrast, k-Multisection Neuron Coverage (k-MNC) is the slowest coverage criterion, requiring an average of 2 days, 4 hours, and 29 minutes to complete fuzzing across all datasets; LSCD is therefore 24.61 times faster than k-MNC. Importantly, these efficiency gains do not come at the expense of coverage effectiveness. We observe large differences in computational cost but comparatively smaller differences in the evaluated coverage outcomes, highlighting the efficiency-effectiveness trade-off. Our cross-coverage analysis shows that lightweight latent-space criteria achieve coverage values comparable to those attained when structural and non-structural criteria are used directly as guidance. This enables practitioners to achieve broad test thoroughness without having to monitor multiple complex metrics.

Our evaluation further reveals that all studied coverage criteria effectively generate corner cases that harden the DNN via retraining. They yield broadly comparable improvements in generalization robustness, with a mean accuracy gain of 77.53 p.p. and specific accuracy gains across benchmarks ranging from 61.51 to 86.78 p.p. Importantly, this enhancement is achieved without harming the original model's stability. The mean accuracy drop on the original test set is only 0.37 p.p., with a maximum drop of 2.35 p.p. relative to the baseline DNNs. This marginal change indicates that the retraining process avoids overfitting to the newly generated corner cases, ensuring that the DNN under test retains its original stability while simultaneously gaining broader generalization robustness. Differences in robustness gains across coverage criteria are modest, indicating that no single metric consistently dominates in effectiveness.

Taken together, these results show that although coverage effectiveness and robustness gains differ only modestly across the evaluated criteria, their computational overheads vary substantially. In our evaluated settings, LSCD, MDSC, and LSC offer a favorable efficiency-effectiveness trade-off, achieving coverage and robustness outcomes comparable to those of other criteria at significantly lower computational costs. Among these three, LSCD exhibits a consistent but moderate runtime advantage. This distinction is practically relevant because the criteria differ not only in the time required to complete a fuzzing campaign but also in the amount and type of additional data they need to maintain during fuzzing: LSCD relies primarily on class centroids, MDSC additionally requires a covariance matrix, and LSC depends on kernel density estimation over latent representations. As a result, these criteria offer practical, resource-aware options for large-scale DNN fuzzing, enabling effective model hardening without the substantial overhead of traditional structural criteria.

These findings motivate a resource-aware configuration guidance for DNN fuzzing that improves the utility of available data while reducing computational cost. In summary, this paper makes the following contributions:

  • We provide practitioner-oriented guidelines for navigating the efficiency-effectiveness trade-offs in DNN fuzzing under model-access and compute constraints. The guidelines are grounded in an empirical study of 21 distinct fuzzing configurations on four established vision benchmarks (MNIST, SVHN, GTSRB, and CIFAR-100), yielding 84 distinct fuzzing setups.

• We investigate non-structural coverage criteria (such as surprise-coverage variants and LSCD) for guidance in fuzzing. Our results show that non-structural metrics achieve comparable cross-coverage gains, while LSCD, MDSC, and LSC consistently incur the lowest computational overhead.

• We evaluate existing seed selection strategies and introduce Equalized Sampling, which improves seed queue utilization by enabling a larger portion of the available seeds to actively contribute to corner-case discovery.

• We demonstrate the practical utility of the generated corner cases by retraining DNNs on fuzzed data, showing substantial gains in generalization robustness on unseen fuzz splits while preserving model stability on the original datasets.

• We provide our framework, "FuzzInsight," alongside all experimental data and generated corner cases in our replication package to promote community research [31].

References (22)