Test-Time Amendment with a Coarse Classifier for Fine-Grained Classification
Kanishk Jain, Shyamgopal Karthik, Vineet Gandhi
Abstract
We investigate the problem of reducing mistake severity for fine-grained classification. Fine-grained classification can be challenging, mainly due to the requirement of domain expertise for accurate annotation. However, humans are particularly adept at performing coarse classification as it requires relatively low levels of expertise. To this end, we present a novel approach for Post-Hoc Correction called Hierarchical Ensembles (HiE) that utilizes label hierarchy to improve the performance of fine-grained classification at test-time using the coarse-grained predictions. By only requiring the parents of leaf nodes, our method significantly reduces avg. mistake severity while improving top-1 accuracy on the iNaturalist-19 and tieredImageNet-H datasets, achieving a new state-of-the-art on both benchmarks. We also investigate the efficacy of our approach in the semi-supervised setting. Our approach brings notable gains in top-1 accuracy while significantly decreasing the severity of mistakes as training data decreases for the fine-grained classes. The simplicity and post-hoc nature of HiE renders it practical to be used with any off-the-shelf trained model to improve its predictions further. The code is
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Learning Transferable Visual Models From Natural Language Supervision
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Training data-efficient image transformers & distillation through attention
- Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Learning Transferable Visual Models From Natural Language Supervision cites Language Models are Few-Shot Learners
- Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Bidirectional Logits Tree: Pursuing Granularity Reconcilement in Fine-Grained Classification cites TransHP: Image Classification with Hierarchical Prompting
- TransHP: Image Classification with Hierarchical Prompting cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- TransHP: Image Classification with Hierarchical Prompting cites Language Models are Few-Shot Learners
- TransHP: Image Classification with Hierarchical Prompting cites Training data-efficient image transformers & distillation through attention
Cited by top-tier papers8
- TransHP: Image Classification with Hierarchical PromptingWenhao Wang, Yifan Sun, Wei Li, Yi YangNeurIPS 2023 · 25 citations
- To Err Like Human: Affective Bias-Inspired Measures for Visual Emotion Recognition EvaluationChenxi Zhao, Jinglei Shi, Liqiang Nie, Jufeng YangNeurIPS 2024 · 10 citations
- Learning Separable Fine-Grained Representation via Dendrogram Construction from Coarse Labels for Fine-grained Visual RecognitionGuanghui Shi, Xuefeng Liang, Wenjie Li, Xiaoyu LinICCV 2025 · 2 citations
- Bidirectional Logits Tree: Pursuing Granularity Reconcilement in Fine-Grained ClassificationZhiguang Lu, Qianqian Xu, Shilong Bao, Zhiyong Yang et al.AAAI 2025 · 1 citation
- ProHOC: Probabilistic Hierarchical Out-of-Distribution Classification via Multi-Depth NetworksErik Wallin, Fredrik Kahl, Lars HammarstrandCVPR 2025
Builds on18
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
Related papers
- Hier-COS: Making Deep Features Hierarchy-aware via Composition of Orthogonal SubspacesDepanshu Sani, Saket AnandCVPR 2026
- Making Better Mistakes: Leveraging Class Hierarchies With Deep NetworksLuca Bertinetto, Romain Müller, Konstantinos Tertikas, Sina Samangooei et al.CVPR 2020
- Free-Grained Hierarchical Visual RecognitionSeulki Park, Zilin Wang, Stella X. YuCVPR 2026 · 3 citations
- No Cost Likelihood Manipulation at Test Time for Making Better Mistakes in Deep NetworksShyamgopal Karthik, Ameya Prabhu, Puneet K. Dokania, Vineet GandhiICLR 2021 · 26 citations
- Fine-grained Classes and How to Find ThemMatej Grcic, Artyom Gadetsky, Maria BrbicICML 2024 · 5 citations
