Abstract
Traditional Zero-Shot Learning (ZSL) relies on manually annotated attributes to bridge the gap between seen and unseen object categories. However, these attributes are subjective, labor-intensive, and difficult to scale. This paper proposes a novel framework that replaces human-defined attributes with an automated probabilistic topic model (pLSA) and a Hierarchical Class (HiC) concept. By leveraging hierarchical relationships and latent visual topics, the system can infer the signatures of unseen classes from seen ones. Evaluations on standard benchmarks like PubFig and Animals with Attributes (AwA) show that the proposed method outperforms traditional attribute-based models while maintaining higher stability as the number of unseen categories increases.
Introduction
Object recognition has seen significant progress through deep learning, yet these models typically require vast amounts of labeled data for every target class. Zero-Shot Learning (ZSL) aims to recognize objects from categories not present during training. Historically, this has been achieved using intermediate semantic layers called "attributes" (e.g., "has wings," "is metallic"). While effective, attribute labeling is labor-intensive and lacks scalability. This research introduces a method to perform ZSL without manual attributes, instead using automated topic modeling and hierarchical class structures to establish semantic links.
Methodology
Hierarchical Class (HiC) Concept
The core of the proposed system is the Hierarchical Class (HiC) structure. Unlike traditional flat classification or standard attribute-based models, HiC organizes classes into a two-tier hierarchy: broad Coarse Classes and specific Fine Classes. For example, "Coast" and "Beach" are Fine Classes under the Coarse Class "Water Spot."
Feature Extraction and Codebook Generation
To represent images, the system uses a Bag-of-Words (BoW) model. A key innovation is the CoFi (CoarseFine) splitting strategy for Random Forests (RF) used in codebook generation. Unlike standard RFs that split nodes based on a single label, CoFi considers both Coarse and Fine labels simultaneously. This ensures that the resulting visual words capture features relevant across the hierarchy, facilitating the transfer of knowledge from seen to unseen classes.
Topic Modeling and Inference
The system applies probabilistic Latent Semantic Analysis (pLSA) to the BoW histograms to discover latent "topics"—recurring visual patterns. During training, the model learns the "topic signature" for each seen Fine Class. To recognize an unseen class, the system identifies its Coarse parent and aggregates the topic signatures of seen Fine Classes under that same parent. This mathematical union provides a predicted signature for the unseen category, allowing for zero-shot inference.
Experimental Evaluation
The framework was tested on four diverse datasets:
- PubFig: Facial recognition with high visual similarity.
- AwA (Animals with Attributes): A standard ZSL benchmark where attributes were mapped to hierarchies.
- Cifar-100: Low-resolution (32x32) images.
- Caltech-256: A large-scale dataset where 158 classes were manually organized into hierarchies.
Results and Analysis
The proposed method consistently outperformed or matched state-of-the-art attribute-based baselines. On the PubFig dataset, it achieved an accuracy of 69.52%, far exceeding Direct Attribute Prediction (DAP) at 37.0%. On AwA, it reached 49.65%, surpassing both DAP (41.4%) and Indirect Attribute Prediction (IAP, 42.2%).
Crucially, as shown in the results, the proposed method exhibits significantly higher robustness. While traditional methods like Relative Attributes show a sharp decline in performance as more unseen categories are introduced, the HiC-based approach maintains a much lower variance in accuracy (±7% to ±10% compared to ±17% to ±23% for baselines).
Discussion and Limitations
While the system eliminates the need for manual attributes, it faces challenges when semantic hierarchies do not align with visual similarities. In datasets like Caltech-256, classes within the same Coarse group (e.g., "household electronics") may be visually distinct, leading to "semantic vs. visual mismatch." Additionally, if the number of latent topics is too low, different unseen classes may end up with identical predicted signatures, causing confusion.
Future work aims to refine the hierarchy by introducing "middle-level" groupings to ensure tighter visual consistency within Coarse categories, further improving the accuracy of zero-shot signature deduction.
Summary updated