Free-Grained Hierarchical Recognition

Seulki Park, Zilin Wang, Stella X. Yu · Submission to ICLR 2026 · Withdrawn

TL;DR

Existing hierarchical image classifiers assume full annotation at all taxonomy levels, but real-world labels are heterogeneous—a distant bird is labeled Bird, while a close-up is labeled Bald eagle. This paper formalizes free-grain learning, curates a clean, cognitively grounded benchmark (ImageNet-Free), and demonstrates that combining semantic guidance (VLM-generated pseudo-attributes) and visual guidance (taxonomy-aligned semi-supervised learning) dramatically recovers performance when fine-grained labels are scarce.

What Problem Does This Paper Address?

Hierarchical classification aims to predict labels along a semantic tree (e.g., Animal $\rightarrow$ Bird $\rightarrow$ Bird of prey $\rightarrow$ Bald eagle), yielding flexible, robust predictions. However, existing methods operate under a major artificial assumption: every training example has complete, ground-truth annotations down to the leaf node.

In practice, real-world data collection yields mixed granularities depending on image resolution, occlusion, or annotator expertise. Furthermore, existing large-scale hierarchies (like ImageNet’s WordNet tree) are topologically messy—ranging from 5 to 19 levels deep, containing single-child redundant nodes (e.g., entity $\rightarrow$ physical entity), and featuring multiple conflicting paths for identical items.

Methods

The authors formalize free-grain learning, where training labels for an image $x$ can stop at any level $l \le L$ along a taxonomy path (coarse labels are known, but finer ones may be missing). To tackle this, they introduce two complementary baselines:

  1. Semantic Guidance via Text-Guided Pseudo-Attributes (Text-Attr):
  2. Uses an off-the-shelf vision-language model (Llama-3.2-11B) to describe visual image details (e.g., "short legs, pointed ears"), independent of class labels.
  3. Embeds descriptions via CLIP's text encoder and aligns image representations using a contrastive loss ($\mathcal{L}_{\text{text}}$).
  4. This injects label-independent visual features (pseudo-attributes) that transfer across hierarchy levels, compensating for absent fine-grained labels.
  5. Visual Guidance via Taxonomy-Guided Semi-Supervised Learning (Taxon-SSL):
  6. Adapts semi-supervised learning by treating absent finer-level labels as unlabeled data.
  7. Constructs level-wise affinity graphs based on pseudo-label agreement and enforces a taxonomy-aligned contrastive loss ($\mathcal{L}_{\text{tacl}}$) across augmented image views.
  8. Consistency-Based Stopping (Free-grain Inference):
  9. At inference, if the model predicts a fine-grained class inconsistent with its coarse ancestor prediction, prediction halts at the deepest consistent parent node.

Datasets

The authors curate several realistic and synthetic benchmarks:

  • ImageNet-Free (New): A 3-level taxonomy (20 basic, 127 subordinate, 505 fine-grained classes; 645,480 train / 25,250 test images) restructured from ImageNet-1k using Eleanor Rosch’s cognitive psychology framework (basic, subordinate, fine-grained). Semantic label pruning is simulated using CLIP zero-shot confidence as an ambiguity proxy (32.6% retain all 3 levels, 28.0% retain 2 levels, 39.4% retain only basic level).
  • iNat21-mini-Free & CUB-Free (New): Natural biology benchmarks pruned via BioCLIP confidence scores.
  • CUB-Rand & Aircraft-Rand (New): Synthetic variants of CUB-200 and FGVC-Aircraft with randomly dropped label granularities (e.g., 100%-20%-10% availability ratios) to stress-test extreme label sparsity.

Key Insights and Ideas

  • Current SOTA collapses under free supervision: Conventional hierarchical methods degrade catastrophically under missing labels (dropping up to $\sim$40 percentage points in full-path accuracy).
  • No single recipe fits every domain:
  • In open-domain datasets with rich visual diversity (like ImageNet-Free), Text-Attr dominates because descriptions provide diverse, fine-grained visual cues.
  • In dense, visually uniform domains with huge class counts (like iNat21-mini-Free with 10,000 species), LLM descriptions struggle to capture tiny biological differences; here, Taxon-SSL performs best via structural pseudo-label propagation.
  • Hierarchical feature staging matters in ViTs: Ablations show that placing hierarchical heads at layers 8, 10, and 12 of a 12-layer ViT outperforms placing them too early (6-9-12) or too late (10-11-12), confirming that coarse-to-fine semantics match progressive transformer depth.

Key Results

  • Performance Drops for Prior Art: On CUB-Free, the prior SOTA H-CAST plummets from 84.9% Full-Path Accuracy (FPA) under full supervision to 45.1%. On iNat21-mini-Free, it falls from 64.9% to 25.6%.
  • ImageNet-Free Benchmark:
  • Baseline HRN: 37.79% FPA.
  • Baseline H-CAST: 57.59% FPA.
  • Text-Attr (H-CAST): 63.20% FPA (+5.61%p gain) with the lowest inconsistency error rate (TICE: 18.58%).
  • iNat21-mini-Free (10,000 species):
  • Taxon-SSL achieves 31.74% FPA, substantially outperforming H-CAST (25.63%) and HRN (17.03%).
  • Extreme Sparsity (CUB-Rand 100-20-10):
  • With only ~3 fine-grained labels per class, Taxon-SSL achieves 59.18% FPA, nearly doubling H-CAST (32.97%) and HRN (33.53%).

Limitations and Future Work

  • Domain Limitations of VLM Descriptions: LLM/VLM-generated pseudo-attributes struggle on highly specialized domains (e.g., distinguishing near-identical bird or plant species) due to limited textual descriptive precision.
  • Text Truncation: Generated captions are capped at 100 tokens and truncated to CLIP's 77-token limit, discarding longer descriptive tails.
  • Implicit Imbalance Handling: While Text-Attr mitigates granularity imbalances by sharing visual-semantic representations, it does not explicitly formulate an imbalance-aware loss. Exploring explicit intra- and inter-level long-tail learning remains an open direction.

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