置换AdaIN:减少图像分类中对全局统计量的偏差
Permuted AdaIN: Reducing the Bias Towards Global Statistics in Image Classification
摘要:
最近的研究表明,卷积神经网络分类器过度依赖于纹理,而牺牲了形状线索。一方面,我们对形状和局部图像线索进行了类似但不同的区分,另一方面,我们对全局图像统计进行了区分。我们的方法,称为置换自适应实例归一化(pAdaIN),减少了图像分类器的隐藏层中的全局统计数据的表示。pAdaIN对随机排列$π$进行采样,该随机排列重新排列给定批次中的样本。然后,在每个(非置换的)样本$i$的激活和样本$π(i)$的对应激活之间应用自适应实例归一化(AdaIN),从而在批次的样本之间交换统计数据。由于全局图像统计数据失真,这种交换过程导致网络依赖于线索,如形状或纹理。通过选择概率为$p$的随机置换和概率为其它的单位置换,可以控制效应的强度。通过正确选择$p$,所有实验的先验固定,并且在选择时不考虑测试数据,我们的方法在多个设置中始终优于基线。在图像分类中,我们的方法使用多种架构改进了CIFAR 100和ImageNet。在鲁棒性的设置中,我们的方法改进了ImageNet-C和Cifar-100-C的多种架构。在领域自适应和领域泛化的设置中,我们的方法在从GTAV到Cityscapes的迁移学习任务和PACS基准测试上取得了最先进的结果。
英文摘要:
Recent work has shown that convolutional neural network classifiers overly rely on texture at the expense of shape cues. We make a similar but different distinction between shape and local image cues, on the one hand, and global image statistics, on the other. Our method, called Permuted Adaptive Instance Normalization (pAdaIN), reduces the representation of global statistics in the hidden layers of image classifiers. pAdaIN samples a random permutation $π$ that rearranges the samples in a given batch. Adaptive Instance Normalization (AdaIN) is then applied between the activations of each (non-permuted) sample $i$ and the corresponding activations of the sample $π(i)$, thus swapping statistics between the samples of the batch. Since the global image statistics are distorted, this swapping procedure causes the network to rely on cues, such as shape or texture. By choosing the random permutation with probability $p$ and the identity permutation otherwise, one can control the effect's strength. With the correct choice of $p$, fixed apriori for all experiments and selected without considering test data, our method consistently outperforms baselines in multiple settings. In image classification, our method improves on both CIFAR100 and ImageNet using multiple architectures. In the setting of robustness, our method improves on both ImageNet-C and Cifar-100-C for multiple architectures. In the setting of domain adaptation and domain generalization, our method achieves state of the art results on the transfer learning task from GTAV to Cityscapes and on the PACS benchmark.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。