Provably Lossless Acceleration of DNN Mutation Testing via Memoization
Ali Ghanbari, Ben Greenman, Sasan Tavakkol, Shibbir Ahmed
摘要
Mutation analysis has recently reemerged in the context of deep neural networks (DNNs) as a promising, but notoriously costly, approach for assessing test dataset adequacy. Existing techniques speed up DNN mutation testing through lossy approximations that trade efficiency for mutation score accuracy. This paper introduces Mure, the first provably lossless framework for accelerating DNN mutation testing via memoization. Mure is based on the idea that DNN mutants and the original model share substantial redundant computation, so during mutation testing, it executes only the mutated suffixes of each mutant and reuses the common prefix from the original model, which is computed only once. We give a formal account of memoized mutation testing, and prove that Mure is sound, i.e., it produces results equivalent to exhaustive vanilla mutation testing, and identify basic conditions under which speed-up is guaranteed. We have implemented Mure and evaluated it on 15 DNN models of various architectures, complexities, and sizes ranging from a few thousands to millions of parameters. This provides empirical evidence that Mure reduces the computational cost of mutation testing by 44.54%, on average. We also observed that while state-of-the-art techniques tend to yield higher acceleration (up to 88.97%, on average), they come at the cost of some error in mutation score. We further analyze the effect of mutation generation selection ratio on the effectiveness of Mure and observed predictable reductions in memoization opportunities with increasing the percentage of mutated neurons. We observed that Mure offers more than 20% speed-up even when as high as 5% of the neurons are mutated.
CCS Concepts: • Software and its engineering → Software testing and debugging; • Computing methodologies → Machine learning.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
它引用的顶会 Paper5
- Prioritizing Test Inputs for Deep Neural Networks via Mutation AnalysisZan Wang, Hanmo You, Junjie Chen, Yingyi Zhang 等ICSE 2021 · 被引用 117 次
- Mutation-based Fault Localization of Deep Neural NetworksAli Ghanbari, Deepak-George Thomas, Muhammad Arbab Arshad, Hridesh RajanASE 2023 · 被引用 20 次
- Aries: Efficient Testing of Deep Neural Networks via Labeling-Free Accuracy EstimationQiang Hu, Yuejun Guo, Xiaofei Xie, Maxime Cordy 等ICSE 2023 · 被引用 14 次
- Decomposition of Deep Neural Networks into Modules via Mutation AnalysisAli GhanbariISSTA 2024 · 被引用 4 次
- Using Fourier Analysis and Mutant Clustering to Accelerate DNN Mutation TestingAli Ghanbari, Sasan TavakkolASE 2025 · 被引用 1 次
相关 Paper
- Fuzz testing based data augmentation to improve robustness of deep neural networksXiang Gao, Ripon K. Saha, Mukul R. Prasad, Abhik RoychoudhuryICSE 2020 · 被引用 116 次
- Faster Mutation Analysis with Fewer Processes and Smaller OverheadsBo Wang, Sirui Lu, Yingfei Xiong, Feng LiuASE 2021 · 被引用 10 次
- Unveiling Hidden DNN Defects with Decision-Based Metamorphic TestingYuanyuan Yuan, Qi Pang, Shuai WangASE 2022 · 被引用 16 次
- Prioritizing Mutants to Guide Mutation TestingSamuel J. Kaufman, Ryan Featherman, Justin Alvin, Bob Kurtz 等ICSE 2022 · 被引用 36 次
- Re-evaluating Detection of Equivalent Mutants using LLMs: We Should Properly Measure How Far We AreArjun Tandon, Mehmet Fırat Dündar, Milkiyas Gebremichael Gebru, Darko Marinov 等ISSTA 2026
