[Paper Review] Machine learning with limited data
This paper addresses few-shot image classification under data scarcity by proposing two methods: style mixing to augment image features and spatial attention to model patch-level relationships. It further introduces a novel cross-domain few-shot learning setting with unlabeled target data, proposing style transfer and contrastive learning methods that significantly outperform baselines, especially when unlabeled data is expanded.
Thanks to the availability of powerful computing resources, big data and deep learning algorithms, we have made great progress on computer vision in the last few years. Computer vision systems begin to surpass humans in some tasks, such as object recognition, object detection, face recognition and pose estimation. Lots of computer vision algorithms have been deployed to real world applications and started to improve our life quality. However, big data and labels are not always available. Sometimes we only have very limited labeled data, such as medical images which requires experts to label them. In this paper, we study few shot image classification, in which we only have very few labeled data. Machine learning with little data is a big challenge. To tackle this challenge, we propose two methods and test their effectiveness thoroughly. One method is to augment image features by mixing the style of these images. The second method is applying spatial attention to explore the relations between patches of images. We also find that domain shift is a critical issue in few shot learning when the training domain and testing domain are different. So we propose a more realistic cross-domain few-shot learning with unlabeled data setting, in which some unlabeled data is available in the target domain. We propose two methods in this setting. Our first method transfers the style information of the unlabeled target dataset to the samples in the source dataset and trains a model with stylized images and original images. Our second method proposes a unified framework to fully utilize all the data. Both of our methods surpass the baseline method by a large margin.
Motivation & Objective
- Address the challenge of few-shot image classification with limited labeled data, especially in real-world scenarios like medical imaging.
- Tackle domain shift in few-shot learning where training and test domains differ.
- Propose a realistic cross-domain few-shot learning setting with access to unlabeled target domain data.
- Develop methods that effectively leverage both labeled source data and unlabeled target data to improve generalization.
- Advance few-shot learning toward real-world deployment by reducing reliance on large labeled datasets and improving robustness to domain shift.
Proposed method
- Apply style mixing by transferring style features from one image to another during training to augment input representations and improve generalization.
- Introduce spatial attention mechanisms to model relationships between image patches, enhancing feature learning in low-data regimes.
- Propose a domain-agnostic style transfer method that applies target domain style to source domain images, enabling domain-invariant feature learning.
- Design a unified framework combining labeled source data, pseudo-labeled clustered target data, and unclustered unlabeled data for joint training.
- Implement contrastive learning with a memory bank to align features across source and target domains, using both labeled and unlabeled data.
- Use iterative clustering and model retraining to refine pseudo-labels and improve feature quality over time.
Experimental results
Research questions
- RQ1How can image feature augmentation via style mixing improve few-shot classification performance?
- RQ2To what extent does spatial attention improve feature representation in few-shot learning with limited data?
- RQ3Can unlabeled target domain data significantly improve few-shot generalization in cross-domain settings?
- RQ4How effective is style transfer from unlabeled target data to source data for domain adaptation in few-shot learning?
- RQ5Does contrastive learning with pseudo-labeled and unlabeled data lead to better domain generalization in few-shot settings?
Key findings
- The proposed style mixing method achieves state-of-the-art performance on few-shot image classification benchmarks, with significant accuracy gains over baseline methods.
- Spatial attention mechanisms improve feature discrimination, particularly in capturing local and global context from few examples.
- In the cross-domain few-shot learning setting with unlabeled data, the contrastive learning method achieved 63.16% average accuracy on DomainNet, surpassing the baseline by over 4 percentage points.
- Expanding the unlabeled target dataset from 2–3k to a larger size led to a substantial performance boost, with accuracy increasing to 69.78% on clipart, 60.94% on painting, and 58.76% on sketch.
- The combination of unlabeled data and contrastive learning significantly improved robustness to domain shift, demonstrating the effectiveness of self-supervised signal in low-data regimes.
- The method outperforms existing baselines such as ADDA and stylization-based approaches, confirming the value of joint use of labeled and unlabeled data in domain adaptation.
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.