The Ohio State University
Utilization of Hierarchical Label Relationships in Image Classification
Abstract
dc:descriptionStudies of image classification problems often overlook the hierarchical label relationships in the respective image datasets. However, a natural hierarchy of labels constrained by the semantic `IS-A' relationship (e.g., `Siberian husky' is a `dog') often exists or can be constructed with the help of domain experts or large language models for the target image classification task. Using such additional semantic relationships of the labels could benefit the corresponding method by allowing more flexibility during inference time or producing predictions with less mistake severity. The respective label hierarchy employed in our study is restricted to having a tree form to satisfy the `IS-A' constraint (i.e., each label in the hierarchy has only one parent label, excluding the root). In this dissertation, we present methods focused on incorporating the prior knowledge of such label hierarchy when developing our models and improving the performance of image classification tasks. We first develop hierarchical classification approaches that can produce leaf-level or coarse-level predictions in the associated hierarchy to take advantage of the hierarchical label relationships of a given image classification problem. There are generally two major categories of hierarchical classification approaches, i.e., top-down and bottom-up hierarchical classifications. The top-down approach starts from the root of the label hierarchy and progressively produces finer-level predictions based on the previous coarser-level predictions. The bottom-up hierarchical classification post-processes the leaf-level predictions made by a pretrained one-vs-rest flat classification model. This approach progressively generalizes the prediction from leaf to root until a confident label in the hierarchy is found. Our early studies (HSLAC and HCCGL) focus on the bottom-up hierarchical classification approach, which allows the end user to fine-tune the trade-off between classification accuracy and label specificity. Inspired by the recently discovered neural collapse phenomenon where the network's within-class penultimate feature means and the associated classifier weight vectors of all flat classes collapse to the vertices of a simplex Equiangular Tight Frame (ETF) at the terminal phase of training, we also propose to encode the hierarchical label relationships of the leaf-level classes in pair-wise cosine similarities of the linear classifier weights to form a Hierarchy-Aware Frame (HAFrame). The resulting HAFrame is frozen as the linear classifier weights of a flat classification model at training time to induce the respective penultimate features collapsing onto the frame, achieving hierarchy-aware flat classification. Lastly, we query a large language model (LLM) with hierarchy-aware language prompts (HAPrompts) to generate text descriptions of the leaf-level classes for zero-shot classification using the CLIP vision-language model. The resulting hierarchy-aware text descriptions for each leaf class are employed for CLIP-based zero-shot classification in downstream datasets. Our latest approach extends ``making better mistakes" to CLIP-based zero-shot classification.In summary, the methods presented in this dissertation cover the utilization of the hierarchical label relationships in different application scenarios of image classification tasks. Our studies on bottom-up hierarchical classifications serve as a means to post-process predictions of pretrained flat classification models with injected knowledge of the label hierarchy. They are suitable for safety-critical applications with available pretrained flat classifiers. The HAFrame approach focuses on learning hierarchy-aware features via encoded label relationships in the frozen linear classifier weights during training. This approach can improve the flat classifiers with knowledge of the label hierarchy. Therefore, its predictions distribute more probability mass to leaf classes hierarchically closer to the ground-truth class, making the associated flat predictions ideal for our bottom-up classification approaches. Lastly, we improve the CLIP-based zero-shot classifier by introducing knowledge of label hierarchy in class text descriptions. This approach enhances the CLIP model to make hierarchy-aware flat predictions, thus enabling the flat classifier to ``make better mistakes'' in zero-shot settings.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Level thesis:degree_level
- doctoral
- Discipline thesis:degree_discipline
- Computer Science and Engineering
- Grantor dc:publisher
- The Ohio State University
- Year dc:date
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Liang, Tong
- Advisor dc:contributor.advisor
-
- Davis, Jim
Subjects
dc:subject × 4Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=osu1740055467216061