Free-Grained Hierarchical Recognition

Seulki Park, Zilin Wang, Stella X. Yu · DOI

Introduction

Most hierarchical image recognition models operate under the assumption of "complete supervision," where every training image is accompanied by a full set of labels spanning from broad categories to specific species (e.g., Animal → Bird → Eagle). However, real-world data is rarely this tidy. Annotator expertise varies, and image quality often dictates the level of detail possible. A distant silhouette might only be identifiable as a "Bird," while a high-resolution close-up allows for a "Bald Eagle" label.

Example of free-grained supervision where different images receive labels at varying levels of specificity.

This paper formalizes this challenge as Free-Grained Hierarchical Recognition. In this setting, models must learn to predict specific leaf nodes even when a significant portion of the training data only provides coarse-grained labels.

Methodology

To address the performance gap caused by sparse supervision, the authors propose two complementary strategies:

1. Text-Guided Pseudo Attributes (Text-Attr)

This approach leverages the semantic knowledge of Vision-Language Models (VLMs) like Llama-3.2. Even if an image lacks a fine-grained label, it possesses visual attributes—such as "hooked beak" or "white head"—that are characteristic of specific classes. Text-Attr generates descriptive captions for images, which are then encoded via CLIP to serve as auxiliary supervision. This aligns visual features with semantic attributes that persist across different levels of the taxonomy.

A complete hierarchical label path used for classification.

2. Taxonomy-Guided Semi-Supervised Learning (Taxon-SSL)

Taxon-SSL treats missing hierarchical labels as an unlabeled data problem. By employing a contrastive loss, the method ensures that images likely belonging to the same missing sub-categories are mapped closely in the feature space, enforcing consistency across the taxonomic tree.

Consistency-Based Stopping

During inference, the model employs a "consistency-based stopping" rule. If the model is confident in a coarse label but the subsequent fine-grained prediction is uncertain or contradicts the taxonomy, it stops and returns the most specific reliable label, prioritizing accuracy over potentially incorrect guesses.

Datasets and Benchmarks

The authors introduce ImageNet-F, a large-scale benchmark designed to simulate real-world ambiguity. Unlike the original ImageNet, which contains redundant or abstract nodes, the authors curated ImageNet-3L, a three-level hierarchy (Basic, Subordinate, Fine-grained) grounded in cognitive psychology. ImageNet-F is derived from this by pruning labels based on CLIP's confidence levels.

Results and Discussion

The transition from complete to free-grained supervision causes a significant performance drop for existing state-of-the-art models. For instance, the H-CAST model's full-path accuracy plummeted from 84.9% to 45.1% on the CUB-F dataset.

The proposed methods effectively recover this lost performance. On ImageNet-F, Text-Attr achieved 63.2% full-path accuracy, outperforming standard hierarchical recognition networks (HRN) by over 25%. Text-Attr proves particularly robust when labels are extremely sparse, while Taxon-SSL excels when there is sufficient labeled data to propagate visual clusters.

Conclusion

Free-grained recognition represents a more realistic and scalable approach to hierarchical classification. By bridging the gap between coarse and fine labels through semantic attributes and semi-supervised consistency, the proposed framework allows models to learn effectively from the messy, multi-granular data found in the real world. Future research will focus on addressing label imbalance and improving the robustness of semantic guidance in highly specialized scientific domains.

Summary updated

BibTeX
@misc{park2025free,
  author = {Seulki Park and Zilin Wang and Stella X. Yu},
  title = {{Free-Grained Hierarchical Recognition}},
  year = {2025},
  eprint = {2510.14737},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.14737},
}
Figure