arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.14726cs.CVcs.AIcs.LG
收藏

深度神经网络中的不变性与人类感知一致吗?

Do Invariances in Deep Neural Networks Align with Human Perception?

University of Maryland(马里兰大学);MPI-SWS(马克斯·普朗克软件系统研究所);The Alan Turing Institute(艾伦·图灵研究所);University College London(伦敦大学学院);University of Cambridge(剑桥大学)

Vedant Nanda, Ayan Majumdar, Camila Kolling, John P. Dickerson, Krishna P. Gummadi, Bradley C. Love, Adrian Weller

摘要:

安全和值得信赖的深度学习的一个评估标准是深度神经网络(DNN)表示所捕获的不变性与人类共享的程度。我们确定在衡量这些不变性的挑战。先前的工作使用基于梯度的方法来生成相同表示的输入(IRI),即具有神经网络的相同表示(在给定层上)的输入,从而捕获给定网络的不变性。网络的不变性与人类感知一致的一个必要标准是其IRI看起来与人类“相似”。然而,之前的工作有混合的外卖;一些人认为DNN的后期层不会学习类似人类的不变性(\cite{jenelle2019metamers}),但其他人似乎表明并非如此(\cite{mahendran2014understanding})。我们认为,用于生成IRI的损失函数可以严重影响网络不变性的外卖,是这些相互矛盾的研究结果的主要原因。我们提出了一个对抗正则化的IRI代损失,发现IRI,使任何模型似乎有很少的共享不变性与人类。基于这一证据,我们认为有改进模型的余地,使其具有类似人类的不变性,并且进一步地,为了在模型之间进行有意义的比较,应该使用使用正则化器无损失生成的IRI。然后,我们深入研究了深度学习管道的不同组件(例如架构,训练损失,数据增强)如何有助于与人类保持良好一致的学习模型。我们发现,使用(自监督)对比损失与$\ell_p$球对抗数据增强训练的具有剩余连接的架构倾向于学习与人类最一致的不变性。代码:\url{github.com/nvedant07/Human-NN-Alignment}。

英文摘要:

An evaluation criterion for safe and trustworthy deep learning is how well the invariances captured by representations of deep neural networks (DNNs) are shared with humans. We identify challenges in measuring these invariances. Prior works used gradient-based methods to generate identically represented inputs (IRIs), ie, inputs which have identical representations (on a given layer) of a neural network, and thus capture invariances of a given network. One necessary criterion for a network's invariances to align with human perception is for its IRIs look 'similar' to humans. Prior works, however, have mixed takeaways; some argue that later layers of DNNs do not learn human-like invariances (\cite{jenelle2019metamers}) yet others seem to indicate otherwise (\cite{mahendran2014understanding}). We argue that the loss function used to generate IRIs can heavily affect takeaways about invariances of the network and is the primary reason for these conflicting findings. We propose an adversarial regularizer on the IRI generation loss that finds IRIs that make any model appear to have very little shared invariance with humans. Based on this evidence, we argue that there is scope for improving models to have human-like invariances, and further, to have meaningful comparisons between models one should use IRIs generated using the regularizer-free loss. We then conduct an in-depth investigation of how different components (eg architectures, training losses, data augmentations) of the deep learning pipeline contribute to learning models that have good alignment with humans. We find that architectures with residual connections trained using a (self-supervised) contrastive loss with $\ell_p$ ball adversarial data augmentation tend to learn invariances that are most aligned with humans. Code: \url{github.com/nvedant07/Human-NN-Alignment}.

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

↑