arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.22640cs.SEcs.LG
收藏

为深度学习选择质量驱动的筛选突变

Quality-Driven Selective Mutation for Deep Learning

Institute of Computer Science, University of Göttingen(哥廷根大学计算机科学研究所)

Zaheed Ahmed, Emmanuel Charleson Dapaah, Philip Makedonski, Jens Grabowski

AI总结:

本文提出一种概率框架,通过电阻和现实性两个维度量化突变体质量,用于选择高质突变操作符配置,减少突变体生成和执行成本,同时保持突变体的有效性。

摘要:

突变体在测试和调试中扮演两种角色:(i) 作为测试目标,(ii) 作为真实故障的替代品。难以杀死的突变体为测试改进提供更好的指导,而当突变体用于模拟真实故障时,现实性至关重要。基于这些角色,深度学习中的选择突变旨在通过选择产生抗性和现实性的突变体的操作符配置,减少突变体生成和执行的成本。然而,深度学习文献缺乏一个统一的度量标准,能够同时捕捉这两个方面。本研究提出了一种概率框架,通过两个互补的轴来量化突变体质量:电阻和现实性。电阻通过统计杀灭概率将经典难以杀死的突变体概念适应到深度学习环境中,而现实性则通过突变体和真实故障检测模式之间的广义贾卡尔相似性来衡量。该框架能够在不假设特定使用场景的情况下对低质量的突变操作符配置进行排序和过滤。我们对四个真实深度学习故障数据集进行了实证评估。三个数据集(CleanML、DeepFD 和 DeepLocalize)用于估计和选择高质量的操作符配置,而 held-out defect4ML 数据集用于验证。结果表明,质量驱动的选择可将生成的突变体数量减少高达 55.6%,同时在基线对齐的选择阈值下保持典型的电阻和现实性水平。这些发现证实,双目标选择可以在不牺牲突变体对两种角色有用性的前提下降低成本。

英文摘要:

Mutants support testing and debugging in two roles: (i) as test goals and (ii) as substitutes for real faults. Hard-to-kill mutants provide better guidance for test improvement, while realism is essential when mutants are used to simulate real bugs. Building on these roles, selective mutation for deep learning (DL) aims to reduce the cost of mutant generation and execution by choosing operator configurations that yield resistant and realistic mutants. However, the DL literature lacks a unified measure that captures both aspects. This study presents a probabilistic framework to quantify mutant quality along two complementary axes: resistance and realism. Resistance adapts the classical notion of hard-to-kill mutants to the DL setting using statistical killing probabilities, while realism is measured via the generalized Jaccard similarity between mutant and real-fault detectability patterns. The framework enables ranking and filtering of low-quality mutation-operator configurations without assuming a specific use case. We empirically evaluate the approach on four datasets of real DL faults. Three datasets (CleanML, DeepFD, and DeepLocalize) are used to estimate and select high-quality operator configurations, and the held-out defect4ML dataset is used for validation. Results show that quality-driven selection reduces the number of generated mutants by up to 55.6% while preserving typical levels of resistance and realism under baseline-aligned selection thresholds. These findings confirm that dual-objective selection can lower cost without compromising the usefulness of mutants for either role.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑