[Paper Review] Texture Bias Of CNNs Limits Few-Shot Classification Performance
This paper demonstrates that the texture bias of Convolutional Neural Networks (CNNs) severely limits few-shot classification performance due to distributional shift between training and test classes. By pre-training on a mix of real and stylized images to reduce texture bias, and applying test-time augmentation, the authors achieve state-of-the-art accuracy of 80.4% on the 5-shot 5-way mini-ImageNet benchmark using a simple non-parametric method.
Accurate image classification given small amounts of labelled data (few-shot classification) remains an open problem in computer vision. In this work we examine how the known texture bias of Convolutional Neural Networks (CNNs) affects few-shot classification performance. Although texture bias can help in standard image classification, in this work we show it significantly harms few-shot classification performance. After correcting this bias we demonstrate state-of-the-art performance on the competitive miniImageNet task using a method far simpler than the current best performing few-shot learning approaches.
Motivation & Objective
- To investigate how the known texture bias of CNNs affects few-shot classification performance under distributional shift.
- To determine whether reducing texture bias improves generalization in few-shot learning scenarios where test classes differ from training classes.
- To develop a simpler, non-parametric approach that outperforms complex state-of-the-art few-shot learning models by mitigating texture bias.
Proposed method
- Pre-train a prototypical network on a mixed dataset of real and stylized images from mini-ImageNet to reduce texture bias.
- Use a data augmentation strategy at test time, applying 32 random augmentations to each support and query image to simulate higher-shot settings.
- Compute class prototypes as the average of embeddings from original and augmented support images, using a weighted average over multiple augmented views.
- Classify query images based on the Euclidean distance to the augmented prototypes, where distances are averaged over multiple augmented query embeddings.
- Train the model using standard prototypical network loss, but with a data distribution that includes stylized images to encourage shape-based feature learning.
- Perform ablation studies to evaluate the impact of stylized pre-training and different levels of test-time augmentation on performance.
Experimental results
Research questions
- RQ1Does the texture bias of CNNs degrade few-shot classification performance when there is a distributional shift between training and test classes?
- RQ2Can reducing texture bias through stylized data pre-training improve few-shot generalization?
- RQ3To what extent does test-time data augmentation mitigate the negative impact of texture bias in few-shot learning?
- RQ4Is a simple non-parametric method competitive with complex parametric few-shot learning models when texture bias is corrected?
- RQ5What is the optimal balance between real and stylized data during pre-training for few-shot performance?
Key findings
- Pre-training on a combination of real and stylized images increases few-shot classification accuracy on mini-ImageNet, despite a slight drop in standard ImageNet accuracy, indicating that texture bias harms generalization under distributional shift.
- The proposed method achieves a test accuracy of 80.4% on the 5-shot 5-way mini-ImageNet benchmark, surpassing the previous state-of-the-art result of 79.52% achieved by CASTLE.
- Test-time augmentation (TTA) on both support and query sets significantly improves performance, with the best result (80.4%) achieved when both support and query TTA are applied.
- An ablation study shows that pre-training on stylized data alone leads to a drop in accuracy (72.9%), but combining it with real data improves performance to 78.8%, demonstrating the importance of balanced data composition.
- The optimal pre-training composition is around 30% stylized data; beyond this, performance declines due to over-reliance on shape-based features.
- The performance curve over stylized data ratio (Figure 2) confirms that reducing texture bias improves few-shot generalization, peaking at 80.4% with full TTA and balanced pre-training.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.