生成和检测真实歧义:DNN监督测试中被遗忘的危险
Generating and Detecting True Ambiguity: A Forgotten Danger in DNN Supervision Testing
AI总结:
本文提出AmbiGuess方法,通过正则化对抗自编码器潜在空间中的梯度引导采样生成真实歧义输入,以测试DNN监督器,并发现现有监督器在检测真实歧义与其他高不确定性输入上的能力互补。
摘要:
深度神经网络(DNNs)正成为现代软件系统的重要组成部分,但它们在不同于训练期间观察到的条件下(分布外输入)或在真正具有歧义的输入上容易失败,即在其标签中具有非零概率的多个类别的输入。最近的工作提出了DNN监督器,在可能因错误分类导致任何危害之前检测高不确定性输入。为了测试和比较DNN监督器的能力,研究人员提出了测试生成技术,以将测试工作集中在应被监督器识别为异常的高不确定性输入上。然而,现有的测试生成器旨在生成分布外输入。没有现有的独立于模型和监督器的技术针对生成真正具有歧义的测试输入,即根据人类专家判断具有多个类别的输入。\n在本文中,我们提出了一种生成歧义输入以测试DNN监督器的新方法,并使用它对几种现有的监督器技术进行了实证比较。特别是,我们提出了AmbiGuess,用于为图像分类问题生成歧义样本。AmbiGuess基于正则化对抗自编码器潜在空间中的梯度引导采样。此外,据我们所知,我们进行了最广泛的DNN监督器比较研究,考虑了它们检测4种不同类型高不确定性输入的能力,包括真正具有歧义的输入。我们发现测试的监督器的能力是互补的:那些最适合检测真实歧义的监督器在无效、分布外和对抗性输入上表现较差,反之亦然。
英文摘要:
Deep Neural Networks (DNNs) are becoming a crucial component of modern software systems, but they are prone to fail under conditions that are different from the ones observed during training (out-of-distribution inputs) or on inputs that are truly ambiguous, i.e., inputs that admit multiple classes with nonzero probability in their labels. Recent work proposed DNN supervisors to detect high-uncertainty inputs before their possible misclassification leads to any harm. To test and compare the capabilities of DNN supervisors, researchers proposed test generation techniques, to focus the testing effort on high-uncertainty inputs that should be recognized as anomalous by supervisors. However, existing test generators aim to produce out-of-distribution inputs. No existing model- and supervisor independent technique targets the generation of truly ambiguous test inputs, i.e., inputs that admit multiple classes according to expert human judgment. In this paper, we propose a novel way to generate ambiguous inputs to test DNN supervisors and used it to empirically compare several existing supervisor techniques. In particular, we propose AmbiGuess to generate ambiguous samples for image classification problems. AmbiGuess is based on gradient-guided sampling in the latent space of a regularized adversarial autoencoder. Moreover, we conducted what is -- to the best of our knowledge -- the most extensive comparative study of DNN supervisors, considering their capabilities to detect 4 distinct types of high-uncertainty inputs, including truly ambiguous ones. We find that the tested supervisors' capabilities are complementary: Those best suited to detect true ambiguity perform worse on invalid, out-of-distribution and adversarial inputs and vice-versa.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。