SemAlign: hierarchical semantic alignment for few-shot image recognition
Recognizing novel categories with limited training samples even a single instance per class remains few-shot learning (FSL) a challenging problem. Recent studies have explored leveraging semantic information such as word embeddings of class names to enhance model’s comprehension for obtaining more stable class prototypes. However, these approaches primarily utilize semantic information at high-level representation while neglecting the interaction between underlying knowledge. They remain constrained by pseudo-visual features learned from sparse labeled samples, leading to minimal benefits. In this study, we introduce a novel hierarchical semantic alignment (SemAlign) approach for FSL. Diverging from conventional methods that simply employ semantic knowledge to compensate class prototypes directly, we investigate aligning semantic features with visual features across different hierarchical levels to strengthen the representation of class-specific visual features. Specifically, we design two complementary semantic alignment mechanisms: 1) global-level semantic alignment through generating semantic feature attention to refine the visual feature of the image and 2) patch-level semantic alignment that aligns semantic information with localized visual features of image patches. By integrating these two mechanisms, the visual prototypes are enhanced and more generalizable. Comprehensive experiments conducted on two benchmark datasets highlight the exceptional performance of our approach, achieving average accuracy improvements over most existing methods.
Authors
- Ronggui Wang (ORCID: https://orcid.org/0009-0007-9204-9379)
- Zhiwei Zhang (ORCID: https://orcid.org/0009-0005-9195-3038)
- Juan Yang (ORCID: https://orcid.org/0000-0002-0970-5328)
- Lixia Xue (ORCID: https://orcid.org/0000-0001-8807-9662)
Institutions
- Hefei University of Technology (CN)
Publication Details
- Published
- 2025-09-19
- DOI
- https://doi.org/10.1117/12.3077371
- Primary Topic
- Cell Image Analysis Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00