In this paper we introduce a novel way of estimating prediction uncertainty in deep networks through the use of uncertainty surrogates. These surrogates are features of the penultimate layer of a deep network that are forced to match predefined patterns. The patterns themselves can be, among other possibilities, a known visual symbol. We show how our approach can be used for estimating uncertainty in prediction and out-of-distribution detection. Additionally, the surrogates allow for interpretability of the ability of the deep network to learn and at the same time lend robustness against adversarial attacks. Despite its simplicity, our approach is superior to the state-of-the-art approaches on standard metrics as well as computational efficiency and ease of implementation. A wide range of experiments are performed on standard datasets to prove the efficacy of our approach.
翻译:在本文中,我们引入了一种新颖的方法,通过使用不确定性替代机器人来估计深网络的预测不确定性。这些替代机器人是深网络倒数第二层的特点,而深网络的倒数第二层被迫与预先确定的模式相匹配。这些模式本身可以是一个已知的视觉符号。我们展示了如何利用我们的方法来估计预测和分配之外检测的不确定性。此外,代孕者允许深网络学习能力的解释性,同时对对抗性攻击给予有力防范。尽管我们的方法简单,但优于在标准指标以及计算效率和执行便利方面最先进的方法。在标准数据集上进行了广泛的实验,以证明我们的方法的有效性。