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

面向深度学习系统边界测试的定向方法

Targeted Deep Learning System Boundary Testing

Technical University of Munich(慕尼黑技术大学);fortiss;North Carolina State University(北卡罗来纳州立大学);University of Udine(乌迪内大学)

Oliver Weißl, Amr Abdellatif, Xingcheng Chen, Giorgi Merabishvili, Vincenzo Riccio, Severin Kacianka, Andrea Stocco

AI总结:

本文提出Mimicry方法,通过风格GANs解构输入特征,实现对深度学习系统边界的定向探索,生成具有语义意义的边界测试用例,揭示新的功能行为。

摘要:

评估深度学习(DL)系统的行为边界对于理解其在多样且未见输入下的可靠性至关重要。现有解决方案存在不足,因为它们依赖于无针对性的随机、模型或潜在基础扰动,由于难以生成受控的输入变化。在本工作中,我们引入了Mimicry,一种新的黑盒测试生成器,用于对DL系统边界进行细粒度、定向探索。Mimicry通过利用DL输出的概率特性来识别探索的有利方向。它使用基于风格的GANs将输入表示分解为内容和风格组件,使能够受控地混合特征以近似决策边界。我们评估了Mimicry在生成五个广泛使用的DL图像分类系统(逐渐增加的复杂性)的边界输入方面的有效性,并将其与两种基线方法进行比较。我们的结果表明,Mimicry一致地识别出更接近决策边界的输入。它生成具有语义意义的边界测试用例,揭示了新的功能(误)行为,而基线方法主要生成受损或无效的输入。得益于其对潜在空间操控的增强控制,Mimicry在数据集复杂性增加时仍保持有效,维持了竞争性的多样性和更高的有效性率,这已通过人类评估者得到确认。

英文摘要:

Evaluating the behavioral boundaries of deep learning (DL) systems is crucial for understanding their reliability across diverse, unseen inputs. Existing solutions fall short as they rely on untargeted random, model- or latent-based perturbations, due to difficulties in generating controlled input variations. In this work, we introduce Mimicry, a novel black-box test generator for fine-grained, targeted exploration of DL system boundaries. Mimicry performs boundary testing by leveraging the probabilistic nature of DL outputs to identify promising directions for exploration. It uses style-based GANs to disentangle input representations into content and style components, enabling controlled feature mixing to approximate the decision boundary. We evaluated Mimicry's effectiveness in generating boundary inputs for five widely used DL image classification systems of increasing complexity, comparing it to two baseline approaches. Our results show that Mimicry consistently identifies inputs closer to the decision boundary. It generates semantically meaningful boundary test cases that reveal new functional (mis)behaviors, while the baselines produce mainly corrupted or invalid inputs. Thanks to its enhanced control over latent space manipulations, Mimicry remains effective as dataset complexity increases, maintaining competitive diversity and higher validity rates, confirmed by human assessors.

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

↑