Introduction
Training fine-grained image classifiers usually requires expert-level labels, which are expensive and scarce. This paper demonstrates that "easy-to-get" coarse labels—like biological Phylum or Class—can significantly boost species-level accuracy when integrated into a semi-supervised learning framework, especially when combined with modern techniques like FixMatch.
In fine-grained recognition (e.g., identifying a specific species of mushroom or a variant of aircraft), labeling requires significant domain expertise. While a layperson can easily identify an animal as a "bird" (coarse label), only an expert can identify it as a "Red Fody" (fine-grained label). Current semi-supervised learning (SSL) usually assumes unlabeled data comes from the exact same classes as the labeled data. This paper explores a more realistic middle ground: Can we use large amounts of coarsely labeled data to improve a fine-grained target task?
Methodology
The authors propose a framework to incorporate taxonomic hierarchy into both supervised and semi-supervised pipelines:
- Hierarchical Supervised Loss: Instead of training separate heads for different taxonomic levels, the model predicts the finest level (Species). To utilize a coarse label (e.g., Phylum), the model marginalizes (sums) the probabilities of all species belonging to that Phylum. This allows the model to learn from coarse labels using a standard cross-entropy loss without adding excessive parameters.
- Joint SSL Training: They integrate this hierarchical loss with state-of-the-art SSL methods like FixMatch, which uses consistency regularization between weakly and strongly augmented images, constrained by the taxonomic hierarchy.
- Domain Selection/Filtering: To handle "out-of-domain" images (novel species within a known Phylum), the authors propose a filtering step using the model's prediction confidence to check if the predicted species matches the provided coarse label.
Experimental Setup
The study utilizes the Semi-iNat dataset, derived from iNaturalist, consisting of 810 species across three Kingdoms (Animalia, Plantae, Fungi) and eight Phyla. The data is split into a small set of species-level labels, a larger set of coarsely-labeled in-class images, and an even larger set of coarsely-labeled out-of-class images representing novel species.
Key Insights
- Coarse Labels are Powerful Inductive Biases: Simply adding Phylum-level labels to a supervised baseline improves species-level accuracy by 6%, suggesting that even vague human knowledge provides a strong inductive bias for feature learning.
- Hierarchy and SSL are Complementary: The gains from hierarchical loss and FixMatch are additive. FixMatch helps the model learn local consistency, while the hierarchy provides a global structural constraint.
- Granularity Matters: Performance improves as the level of supervision moves from Kingdom to Species, as visualized in the accuracy trends.
- Confusion Reduction: Qualitative analysis via confusion matrices shows that hierarchical supervision specifically helps the model distinguish between different Phyla within the same Kingdom (e.g., distinguishing Arthropods from Chordates).
Key Results
- Transfer Learning (ImageNet pre-trained):
- Supervised Baseline: 40.4%
- Baseline + Phylum Labels: 46.6%
- FixMatch + Phylum Labels: 47.9%
- Training from Scratch: The impact is even more dramatic. FixMatch alone gets 15.5%, but adding Phylum labels jumps the accuracy to 25.7%.
- Granularity: Using more detailed coarse labels (like "Class" instead of "Phylum") further improved FixMatch performance to 51.8%.
Conclusion and Future Work
While the proposed filtering technique helped mitigate issues with out-of-domain data, performance drops remain significant when novel species are included. Future research could focus on more sophisticated out-of-distribution (OOD) detection or applying these hierarchical constraints to other domains like product hierarchies or functional object taxonomies.
Summary updated