Learning Contrastive Self-Distillation for Ultra-Fine-Grained Visual Categorization Targeting Limited Samples
Ziye Fang, Xin Jiang, Hao Tang, Zechao Li
TL;DR
Ultra-fine-grained visual categorization suffers from extreme data scarcity per class and high inter/intra-class similarity. The authors propose CSDNet, a triad of modules—SSDP for instance-level adaptive augmentation, DDL with a dynamic memory queue for feature-level contrastive learning, and SSDT for logit-level self-distillation—to jointly improve discriminative representations under limited samples. The training objective combines $\mathcal{L} = \mathcal{L}_{cls} + \alpha \mathcal{L}_{qc} + \beta \mathcal{L}_{ssdt}$, leveraging $\iota$-length memory queues, a margin $\xi$ in contrastive loss, and adaptive masks derived from a content-aware kernel, while inference relies on raw predictions to maintain efficiency. Empirical results on nine datasets show state-of-the-art performance on Ultra-FGVC and strong generalization on fine-grained tasks, validating the practical impact of contrastive self-distillation for learning robust representations with limited data.
Abstract
In the field of intelligent multimedia analysis, ultra-fine-grained visual categorization (Ultra-FGVC) plays a vital role in distinguishing intricate subcategories within broader categories. However, this task is inherently challenging due to the complex granularity of category subdivisions and the limited availability of data for each category. To address these challenges, this work proposes CSDNet, a pioneering framework that effectively explores contrastive learning and self-distillation to learn discriminative representations specifically designed for Ultra-FGVC tasks. CSDNet comprises three main modules: Subcategory-Specific Discrepancy Parsing (SSDP), Dynamic Discrepancy Learning (DDL), and Subcategory-Specific Discrepancy Transfer (SSDT), which collectively enhance the generalization of deep models across instance, feature, and logit prediction levels. To increase the diversity of training samples, the SSDP module introduces adaptive augmented samples to spotlight subcategory-specific discrepancies. Simultaneously, the proposed DDL module stores historical intermediate features by a dynamic memory queue, which optimizes the feature learning space through iterative contrastive learning. Furthermore, the SSDT module effectively distills subcategory-specific discrepancies knowledge from the inherent structure of limited training data using a self-distillation paradigm at the logit prediction level. Experimental results demonstrate that CSDNet outperforms current state-of-the-art Ultra-FGVC methods, emphasizing its powerful efficacy and adaptability in addressing Ultra-FGVC tasks.
