arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2307.09829cs.LGcs.CV
收藏

神经网络在图像分类中学到了什么?一个频率捷径的视角

What do neural networks learn in image classification? A frequency shortcut perspective

University of Twente(特文特大学)

Shunxin Wang, Raymond Veldhuis, Christoph Brune, Nicola Strisciuglio

AI总结:

本研究从频率捷径视角实证探究神经网络在图像分类中的学习机制,提出度量与识别方法,验证其可迁移性,并建议未来研究关注缓解频率捷径的有效训练方案。

摘要:

频率分析有助于理解神经网络(NNs)中表示学习的机制。该领域的大多数研究关注于神经网络在回归任务中的学习动态,而很少关注分类任务。本研究实证调查了后者,并扩展了对频率捷径的理解。首先,我们在合成数据集上进行实验,这些数据集被设计为在不同频段具有偏差。我们的结果表明,神经网络倾向于为分类寻找简单解决方案,并且它们在训练期间首先学习的内容取决于最具区分性的频率特征,这些特征可以是低频或高频。其次,我们在自然图像上确认了这一现象。我们提出了一种度量类别级频率特征的指标和一种识别频率捷径的方法。结果表明,频率捷径可以基于纹理或基于形状,取决于什么最能简化目标。第三,我们在分布外(OOD)测试集上验证了频率捷径的可迁移性。我们的结果表明,频率捷径可以跨数据集迁移,并且不能通过更大的模型容量和数据增强完全避免。我们建议未来的研究应侧重于减轻频率捷径学习的有效训练方案。

英文摘要:

Frequency analysis is useful for understanding the mechanisms of representation learning in neural networks (NNs). Most research in this area focuses on the learning dynamics of NNs for regression tasks, while little for classification. This study empirically investigates the latter and expands the understanding of frequency shortcuts. First, we perform experiments on synthetic datasets, designed to have a bias in different frequency bands. Our results demonstrate that NNs tend to find simple solutions for classification, and what they learn first during training depends on the most distinctive frequency characteristics, which can be either low- or high-frequencies. Second, we confirm this phenomenon on natural images. We propose a metric to measure class-wise frequency characteristics and a method to identify frequency shortcuts. The results show that frequency shortcuts can be texture-based or shape-based, depending on what best simplifies the objective. Third, we validate the transferability of frequency shortcuts on out-of-distribution (OOD) test sets. Our results suggest that frequency shortcuts can be transferred across datasets and cannot be fully avoided by larger model capacity and data augmentation. We recommend that future research should focus on effective training schemes mitigating frequency shortcut learning.

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

↑