PMCE: Probabilistic Multi-Granularity Semantics with Caption-Guided Enhancement for Few-Shot Learning
Jiaying Wu, Can Gao, Jinglu Hu, Hui Li, Xiaofeng Cao, Jingcai Guo
TL;DR
PMCE addresses the bias in prototypes in 1-shot learning by leveraging a nonparametric knowledge bank of base-class statistics and CLIP-based class-name semantics to form class-specific priors via MAP calibration. It further refines representations through a caption-guided enhancer that uses label-free BLIP captions to update both support prototypes and query features in the same metric space, all while keeping backbones frozen. The approach yields consistent gains across four benchmarks and two backbones, with the largest improvements in 1-shot tasks, demonstrating that semantic priors plus instance-level captions can substantially stabilize and align representations without heavy model fine-tuning. This framework has practical impact for scalable, data-efficient recognition in settings where labeled data are scarce and rapid adaptation is required, and it lays groundwork for integrating caption reliability into few-shot learning pipelines.
Abstract
Few-shot learning aims to identify novel categories from only a handful of labeled samples, where prototypes estimated from scarce data are often biased and generalize poorly. Semantic-based methods alleviate this by introducing coarse class-level information, but they are mostly applied on the support side, leaving query representations unchanged. In this paper, we present PMCE, a Probabilistic few-shot framework that leverages Multi-granularity semantics with Caption-guided Enhancement. PMCE constructs a nonparametric knowledge bank that stores visual statistics for each category as well as CLIP-encoded class name embeddings of the base classes. At meta-test time, the most relevant base classes are retrieved based on the similarities of class name embeddings for each novel category. These statistics are then aggregated into category-specific prior information and fused with the support set prototypes via a simple MAP update. Simultaneously, a frozen BLIP captioner provides label-free instance-level image descriptions, and a lightweight enhancer trained on base classes optimizes both support prototypes and query features under an inductive protocol with a consistency regularization to stabilize noisy captions. Experiments on four benchmarks show that PMCE consistently improves over strong baselines, achieving up to 7.71% absolute gain over the strongest semantic competitor on MiniImageNet in the 1-shot setting. Our code is available at https://anonymous.4open.science/r/PMCE-275D
