论深度网络中捷径的定位测量
On Measuring Localization of Shortcuts in Deep Networks
AI总结:
本文研究深度网络中捷径的逐层定位,通过反事实训练量化各层对准确率下降的贡献,发现捷径学习分布于整个网络,浅层编码虚假特征而深层遗忘核心特征,支持采用针对特定数据集和架构的缓解方法。
摘要:
捷径是指在训练期间表现良好但无法泛化的虚假规则,对深度网络的可靠性构成了重大挑战(Geirhos et al., 2020)。然而,捷径对特征表示的影响仍未得到充分研究,阻碍了有原则的捷径缓解方法的设计。为了克服这一局限性,我们研究了深度模型中捷径的逐层定位。我们新颖的实验设计通过对干净数据集和偏斜数据集进行反事实训练,量化了由诱发捷径的偏斜所导致的准确率下降的逐层贡献。我们在CIFAR-10、Waterbirds和CelebA数据集上,跨VGG、ResNet、DeiT和ConvNeXt架构,应用我们的设计研究了捷径。我们发现捷径学习并不局限于特定层,而是分布在整个网络中。网络的不同部分在此过程中扮演不同角色:浅层主要编码虚假特征,而深层主要遗忘在干净数据上具有预测性的核心特征。我们还分析了定位的差异并描述了其主要变异轴。最后,我们对逐层捷径缓解策略的分析表明,设计通用方法存在困难,从而支持采用针对特定数据集和架构的方法。
英文摘要:
Shortcuts, spurious rules that perform well during training but fail to generalize, present a major challenge to the reliability of deep networks (Geirhos et al., 2020). However, the impact of shortcuts on feature representations remains understudied, obstructing the design of principled shortcut-mitigation methods. To overcome this limitation, we investigate the layer-wise localization of shortcuts in deep models. Our novel experiment design quantifies the layer-wise contribution to accuracy degradation caused by a shortcut-inducing skew by counterfactual training on clean and skewed datasets. We employ our design to study shortcuts on CIFAR-10, Waterbirds, and CelebA datasets across VGG, ResNet, DeiT, and ConvNeXt architectures. We find that shortcut learning is not localized in specific layers but distributed throughout the network. Different network parts play different roles in this process: shallow layers predominantly encode spurious features, while deeper layers predominantly forget core features that are predictive on clean data. We also analyze the differences in localization and describe its principal axes of variation. Finally, our analysis of layer-wise shortcut-mitigation strategies suggests the hardness of designing general methods, supporting dataset- and architecture-specific approaches instead.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。