Few-Shot Image Classification Algorithm Based on Global–Local Feature Fusion
Lei Zhang, Xinyu Yang, Xiyuan Cheng, Wenbin Cheng, Yiting Lin
University of Electronic Science and Technology of China · Guangdong University of Technology
Key points
From the paper's conclusion- These results indicate that explicitly modeling inter-patch relations and fusing multi-granularity cues produces markedly more discriminative prototypes in few-shot regimes.
Abstract
Few-shot image classification seeks to recognize novel categories from only a handful of labeled examples, but conventional metric-based methods that rely mainly on global image features often produce unstable prototypes under extreme data scarcity, while local-descriptor approaches can lose context and suffer from inter-class local-pattern overlap. To address these limitations, we propose a Global–Local Feature Fusion network that combines a frozen, pretrained global feature branch with a self-attention based multi-local feature fusion branch. Multiple random crops are encoded by a shared backbone (ResNet-12), projected to Query/Key/Value embeddings, and fused via scaled dot-product self-attention to suppress background noise and highlight discriminative local cues. The fused local representation is concatenated with the global feature to form robust class prototypes used in a prototypical-network style classifier. On four benchmarks, our method achieves strong improvements: Mini-ImageNet 70.31% ± 0.20 (1-shot)/85.91% ± 0.13 (5-shot), Tiered-ImageNet 73.37% ± 0.22/87.62% ± 0.14, FC-100 47.01% ± 0.20/64.13% ± 0.19, and CUB-200-2011 82.80% ± 0.18/93.19% ± 0.09, demonstrating consistent gains over competitive baselines. Ablation studies show that (1) naive local averaging improves over global-only baselines, (2) self-attention fusion yields a large additional gain (e.g., +4.50% in 1-shot on Mini-ImageNet), and (3) concatenating global and fused local features gives the best overall performance. These results indicate that explicitly modeling inter-patch relations and fusing multi-granularity cues produces markedly more discriminative prototypes in few-shot regimes.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ALPINE: Adaptive Localization for Parameter- and Sample-Efficient Few-Shot LearningarXiv · 2026
- Hypergraph-Augmented Reconstruction and Adaptive Metric Aggregation Network for Few-Shot Fine-Grained Image ClassificationElectronics · 2026
- Dynamic scale fusion and cascaded prototype refinement for few-shot sports image classification.Frontiers in psychology · 2026
- MSIFN: Multi-source information fusion network with dual-space constraints for few-shot classification.Neural networks : the official journal of the International Neural Network Society · 2026
- A Novel Lightweight Multi-Scale Branching Encoder for Few-Shot Image ClassificationarXiv · 2026
- LAMP: Layerwise Adaptive Mixing of Predictors for Training-Free Few-Shot Vision-Language AdaptationarXiv · 2026