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

XMutant:基于XAI的深度学习系统模糊测试

XMutant: XAI-based Fuzzing for Deep Learning Systems

Technical University of Munich(慕尼黑工业大学);fortiss GmbH(fortiss有限公司);North Carolina State University(北卡罗来纳州立大学)

Xingcheng Chen, Matteo Biagiola, Vincenzo Riccio, Marcelo d'Amorim, Andrea Stocco

AI总结:

XMutant利用XAI技术提升深度学习系统测试效率,生成更多有效失败输入并加速测试过程。

摘要:

基于语义的测试生成器被广泛用于生成导致失败的输入以测试深度学习(DL)系统。它们通常通过随机扰动输入语义概念直到发现失败或超时来生成具有挑战性的测试输入。然而,这种随机性可能会阻碍它们有效地实现其目标。本文提出了XMutant,一种利用可解释人工智能(XAI)技术生成具有挑战性的测试输入的技术。XMutant使用输入的局部解释来指导模糊测试过程,并有效引导其向被测深度学习系统的失败方向。我们评估了不同配置的XMutant在触发不同DL系统失败方面的性能,包括模型层面(情感分析、数字识别)和系统层面测试(高级驾驶辅助)。我们的研究表明,XMutant通过专注于输入最具影响的部分,实现了更有效和高效的测试生成。XMutant生成的导致失败的输入比现有基线多高达125%,速度快7倍。我们还评估了这些输入的有效性,根据自动化和人工验证者,保持验证率超过89%。

英文摘要:

Semantic-based test generators are widely used to produce failure-inducing inputs for Deep Learning (DL) systems. They typically generate challenging test inputs by applying random perturbations to input semantic concepts until a failure is found or a timeout is reached. However, such randomness may hinder them from efficiently achieving their goal. This paper proposes XMutant, a technique that leverages explainable artificial intelligence (XAI) techniques to generate challenging test inputs. XMutant uses the local explanation of the input to inform the fuzz testing process and effectively guide it toward failures of the DL system under test. We evaluated different configurations of XMutant in triggering failures for different DL systems both for model-level (sentiment analysis, digit recognition) and system-level testing (advanced driving assistance). Our studies showed that XMutant enables more effective and efficient test generation by focusing on the most impactful parts of the input. XMutant generates up to 125% more failure-inducing inputs compared to an existing baseline, up to 7X faster. We also assessed the validity of these inputs, maintaining a validation rate above 89%, according to automated and human validators.

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

↑