Benchmarking knowledge-driven zero-shot learning

Yuxia Geng, Jiaoyan Chen, Xiang Zhuang, Zhuo Chen, Jeff Z. Pan, Juan Li, Zonggang Yuan, Huajun Chen

Introduction

Zero-Shot Learning (ZSL) represents a significant frontier in artificial intelligence, aiming to enable models to identify unseen classes by leveraging external knowledge. A classic example is identifying a "Zebra" after seeing only "Horses," provided the model is told a Zebra is essentially a "horse with stripes." While traditional ZSL relies on noisy text descriptions or manual attribute annotations, Knowledge Graphs (KGs) offer a more structured and expressive alternative. However, the field has long been hindered by a lack of standardized benchmarks, with researchers often using ad-hoc KGs that make fair algorithmic comparison impossible.

This paper introduces KZSL, a comprehensive suite of six benchmark resources designed to unify KG-driven ZSL across three domains: image classification, relation extraction, and KG completion. By integrating diverse semantics—from simple hierarchies to complex logical rules—KZSL provides a framework for building more robust and interpretable AI models.

A Knowledge Graph fragment illustrating hierarchical and relational attributes for equine species.

The KZSL Framework

The authors constructed systemic resources for three distinct ZSL tasks, moving beyond simple class names to rich, structured knowledge:

  1. Zero-shot Image Classification (ZS-IMGC): KGs were created for the Animals with Attributes (AwA) dataset and two new fine-grained subsets of ImageNet (ImNet-A and ImNet-O). These KGs integrate WordNet hierarchies, common-sense facts from ConceptNet, and logical "disjointness" axioms (e.g., a Zebra cannot simultaneously be a Tiger).
  2. Zero-shot Relation Extraction (ZS-RE): The authors developed ZeroRel, a dataset for predicting unseen relationships between entities in text. This was augmented with KG embeddings and mined logical rules (e.g., born_in_country(x, y) ⇒ nationality(x, y)) to help models infer new relations.
  3. Zero-shot KG Completion (ZS-KGC): This task involves predicting missing links where the relations themselves are new. The authors built ontological schemas using RDFS and OWL to define domain/range constraints and complex properties like inversion and symmetry.
Comparison of external knowledge types supported by KZSL versus previous benchmarks.

Key Insights and Methodology

The benchmarking study utilized three representative ZSL paradigms: mapping-based (DeViSE), generation-based (OntoZSL), and propagation-based (GCNZ). Several critical insights emerged from this evaluation:

  • Logic as a Force Multiplier: Moving beyond simple "is-a" hierarchies to include logical rules (like relation composition or disjointness) significantly boosts performance. For example, knowing that one relation is the inverse of another allows a model to solve zero-shot tasks through symbolic reasoning.
  • Addressing the "Hubness" Problem: Mapping-based methods often suffer from "hubness," where a few points in the embedding space become the "nearest neighbors" for almost everything. Generation-based methods like OntoZSL mitigate this by synthesizing features for unseen classes, creating a more balanced search space.
  • Interpretability via Structure: Because KGs are structured, they provide human-readable explanations. Models can justify predictions by pointing to specific shared attributes or hierarchical paths within the graph.

Experimental Results

The benchmarking results demonstrate that KG-based settings consistently outperform non-KG baselines:

  • ZS-IMGC: On the AwA dataset, using a "Basic KG" (hierarchy + attributes) achieved 62.65% accuracy with OntoZSL, compared to 58.47% using attributes alone.
  • ZS-RE: Adding logic rules led to the most dramatic gains. The H-score (balancing seen and unseen class accuracy) reached 19.58%, a massive improvement over the 0.40% achieved by standard word embeddings.
  • ZS-KGC: Logical inference proved particularly powerful here. On the Wiki-ZS dataset, incorporating inverse relation semantics improved the hit@1 metric from 28.6% to 55.3%.

Conclusion and Future Work

While KGs provide a substantial performance boost, current neural models still struggle to fully ingest complex logical expressions like OWL property chains in a unified way. Most current methods "flatten" the KG into simple triples, losing deeper semantic nuances. Future research will focus on developing more adaptive knowledge retrieval systems and expanding benchmarks to multi-modal tasks like Zero-shot Visual Question Answering.

Summary updated

BibTeX
@article{geng2023benchmarking,
  author = {Yuxia Geng and Jiaoyan Chen and Xiang Zhuang and Zhuo Chen and Jeff Z. Pan and Juan Li and Zonggang Yuan and Huajun Chen},
  title = {{Benchmarking knowledge-driven zero-shot learning}},
  journal = {J. Web Semant.},
  year = {2023},
  doi = {10.1016/j.websem.2022.100757},
}
Figure