paper-with-me

Papers

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

2023-07-19 · ICCV 2023 1 · Shunxin Wang, Raymond Veldhuis, Christoph Brune, Nicola Strisciuglio

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.

📄 PDF Abstract BibTeX arXiv:2307.09829

Code (1)

nis-research/nn-frequency-shortcuts 공식 구현 pytorch

Tasks

Data Augmentationimage-classificationImage ClassificationRepresentation Learning

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

Do ImageNet-trained models learn shortcuts? The impact of frequency shortcuts on generalization

2025-03-05 · CVPR 2025 1 · Shunxin Wang, Raymond Veldhuis, Nicola Strisciuglio

Frequency shortcuts refer to specific frequency patterns that models heavily rely on for correct classification. Previous studies have shown that models trained on small image datasets often exploit such shortcuts, poten…

Exposing Image Classifier Shortcuts with Counterfactual Frequency (CoF) Tables

2024-05-24 · James Hinns, David Martens

The rise of deep learning in image classification has brought unprecedented accuracy but also highlighted a key issue: the use of 'shortcuts' by models. Such shortcuts are easy-to-learn patterns from the training data th…

counterfactualimage-classificationImage Classification

Low-Frequency Shortcuts in Texture-Driven Visual Learning

2026-06-02 · Utku Şirin, Cathy Hou, David Alvarez-Melis, Stratos Idreos arxiv

Neural networks suffer from shortcut learning, where learned features generalize well to the training set but not to in-distribution (ID) or out-of-distribution (OOD) test sets. Existing studies are all based on a few st…

DFM-X: Augmentation by Leveraging Prior Knowledge of Shortcut Learning

2023-08-12 · Shunxin Wang, Christoph Brune, Raymond Veldhuis, Nicola Strisciuglio

Neural networks are prone to learn easy solutions from superficial statistics in the data, namely shortcut learning, which impairs generalization and robustness of models. We propose a data augmentation strategy, named D…

Data Augmentationimage-classificationImage Classification

Towards Combating Frequency Simplicity-biased Learning for Domain Generalization

2024-10-21 · Xilin He, Jingyu Hu, Qinliang Lin, Cheng Luo 외

Domain generalization methods aim to learn transferable knowledge from source domains that can generalize well to unseen target domains. Recent studies show that neural networks frequently suffer from a simplicity-biased…

Data AugmentationDomain Generalization