arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.12598cs.SEcs.LGcs.NE
收藏

通过神经元与突变体聚类加速深度神经网络变异分析

On Accelerating Deep Neural Network Mutation Analysis by Neuron and Mutant Clustering

Auburn University(奥本大学)

Lauren Lyons, Ali Ghanbari

AI总结:

提出DEEPMAACC工具,通过神经元聚类和突变体聚类加速DNN变异分析,在保持变异得分的同时分别提速69.77%和35.31%,验证了速度与精度间的权衡。

摘要:

深度神经网络(DNN)的变异分析是一种评估测试数据质量和模型鲁棒性的有效方法,但其计算成本可能很高,尤其是对于大型模型。为缓解这一问题,我们提出了DEEPMAACC,一种通过神经元和突变体聚类加速DNN变异分析的技术和工具。DEEPMAACC实现了两种方法:(1)神经元聚类以减少生成的突变体数量;(2)突变体聚类以减少需要测试的突变体数量,通过选择代表性突变体进行测试。两者均使用层次凝聚聚类来对具有相似权重的神经元和突变体进行分组,旨在提高效率的同时保持变异得分。DEEPMAACC已在4个流行的分类数据集和两种DNN架构上的8个DNN模型上进行了评估。与穷举(即原始)变异分析相比,结果提供了经验证据表明,神经元聚类方法平均加速变异分析69.77%,变异得分平均误差为-26.84%。同时,突变体聚类方法平均加速变异分析35.31%,变异得分平均误差为1.96%。我们的结果表明,在变异测试速度和变异得分误差之间可以做出权衡。

英文摘要:

Mutation analysis of deep neural networks (DNNs) is a promising method for effective evaluation of test data quality and model robustness, but it can be computationally expensive, especially for large models. To alleviate this, we present DEEPMAACC, a technique and a tool that speeds up DNN mutation analysis through neuron and mutant clustering. DEEPMAACC implements two methods: (1) neuron clustering to reduce the number of generated mutants and (2) mutant clustering to reduce the number of mutants to be tested by selecting representative mutants for testing. Both use hierarchical agglomerative clustering to group neurons and mutants with similar weights, with the goal of improving efficiency while maintaining mutation score. DEEPMAACC has been evaluated on 8 DNN models across 4 popular classification datasets and two DNN architectures. When compared to exhaustive, or vanilla, mutation analysis, the results provide empirical evidence that neuron clustering approach, on average, accelerates mutation analysis by 69.77%, with an average -26.84% error in mutation score. Meanwhile, mutant clustering approach, on average, accelerates mutation analysis by 35.31%, with an average 1.96% error in mutation score. Our results demonstrate that a trade-off can be made between mutation testing speed and mutation score error.

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

↑