Abstract
Few-shot learning (FSL) aims to recognize novel classes with minimal labeled examples. While common approaches rely on fine-tuning pre-trained feature extractors, this paper identifies a critical limitation: in the pre-trained feature space, base classes form compact clusters while novel classes exhibit high variance. This variance makes simple mean-based prototypes unreliable. We propose a novel prototype completion framework that leverages attribute-level primitive knowledge and unlabeled samples to estimate more representative class centers. By "completing" noisy prototypes with visual priors, our method achieves state-of-the-art performance on standard benchmarks like miniImageNet and CUB-200-2011.
The Problem: High Variance in Novel Classes
Traditional FSL methods often follow a two-step process: pre-training a feature extractor on a large base dataset and then fine-tuning it for novel tasks. However, empirical evidence suggests that fine-tuning yields marginal gains.
As shown in the visualization above, base classes are already well-clustered in the pre-trained space. In contrast, novel classes are dispersed. When only 1 or 5 samples are available, the simple average (the "prototype") is often a poor representation of the true class center because it lacks critical features (e.g., a photo of a meerkat where its legs are hidden). The core challenge is not the features themselves, but the inaccuracy of the prototype estimate.
Proposed Methodology
To address this, we introduce a multi-stage framework designed to "fill in the blanks" of noisy prototypes using external knowledge.
1. Primitive Knowledge and Attribute Transfer
We first extract "primitive knowledge"—class-level attribute annotations from sources like WordNet and GloVe. A Part/Attribute Transfer Network (PATNet) is then used to map these semantic descriptions to visual feature distributions. Crucially, PATNet can infer what unseen attributes should look like visually based on seen ones, acting as a form of "visual imagination."
2. Prototype Completion Network (ProtoComNet)
The ProtoComNet uses an encoder-aggregator-decoder architecture to take an "incomplete" prototype (the mean of available samples) and use the attribute priors to "complete" it. This process effectively hallucinates missing representative features to shift the prototype toward the true class center.
3. Gaussian-based Prototype Fusion (GaussFusion)
To mitigate potential completion errors, we develop a Bayesian fusion strategy. We treat the completed prototype as a prior and the observed samples as likelihood. In transductive settings, we employ an Expectation-Maximization (EM) algorithm that uses unlabeled query samples to iteratively refine these class centers, ensuring the final prototype is robust to noise.
Key Results and Insights
Our framework was evaluated on three major benchmarks: miniImageNet, tieredImageNet, and CUB-200-2011.
- State-of-the-Art Accuracy: On miniImageNet (1-shot), our method reached 79.01% accuracy in the transductive setting, a significant jump over previous benchmarks.
- Fine-Grained Excellence: The impact was most pronounced on the CUB bird dataset, hitting 93.78% (1-shot). This confirms that attribute-based completion is highly effective when classes share many identifiable sub-components.
- The Shift in Focus: The primary insight is that the "low-hanging fruit" in FSL is often better statistical estimation of class centers rather than more complex feature engineering. By treating prototype estimation as a completion task, we can leverage semantic knowledge to overcome the data scarcity of the few-shot regime.
Conclusion
Prototype completion offers a powerful alternative to standard fine-tuning in few-shot learning. By integrating attribute-level priors and unlabeled data, we can reconstruct representative class centers even from a single noisy image. Future work will explore automatically discovering primitive knowledge to remove the dependency on manual attribute annotations.
Summary updated