通过梯度分析探查神经网络的视界
Probing the Purview of Neural Networks via Gradient Analysis
AI总结:
本文提出利用梯度和混淆标签探查神经网络的数据依赖容量与视界,无需调参即可有效检测分布外、对抗及损坏样本,并在AUROC上显著超越现有方法。
摘要:
我们分析了神经网络的数据依赖容量,并从推理过程中网络的角度评估输入中的异常。数据依赖容量的概念允许分析由训练数据中学习到的特征所填充的模型知识库。我们将视界定义为表征与训练数据不同的推理样本所需的额外容量。为了探查网络的视界,我们利用梯度来衡量模型为了更准确地表征给定输入所需的变化量。为了在生成梯度时消除对真实标签的依赖,我们引入了通过组合多个类别标签而构造的混淆标签。我们证明,基于梯度的方法能够有效区分无法用已学习特征准确表示的输入。我们将该方法应用于检测异常输入,包括分布外样本、对抗样本和损坏样本。我们的方法无需超参数调优或额外数据处理,在AUROC分数上分别比最先进方法高出最多2.7%、19.8%和35.6%。
英文摘要:
We analyze the data-dependent capacity of neural networks and assess anomalies in inputs from the perspective of networks during inference. The notion of data-dependent capacity allows for analyzing the knowledge base of a model populated by learned features from training data. We define purview as the additional capacity necessary to characterize inference samples that differ from the training data. To probe the purview of a network, we utilize gradients to measure the amount of change required for the model to characterize the given inputs more accurately. To eliminate the dependency on ground-truth labels in generating gradients, we introduce confounding labels that are formulated by combining multiple categorical labels. We demonstrate that our gradient-based approach can effectively differentiate inputs that cannot be accurately represented with learned features. We utilize our approach in applications of detecting anomalous inputs, including out-of-distribution, adversarial, and corrupted samples. Our approach requires no hyperparameter tuning or additional data processing and outperforms state-of-the-art methods by up to 2.7%, 19.8%, and 35.6% of AUROC scores, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。