Improving Zero-Shot Learning Baselines with Commonsense Knowledge

Abhinaba Roy, Deepanway Ghosal, Erik Cambria, Navonil Majumder, Rada Mihalcea, Soujanya Poria

TL;DR

This paper introduces a novel approach to Zero-Shot Learning (ZSL) by leveraging commonsense knowledge from ConceptNet. By encoding this knowledge into "commonsense embeddings" using a graph convolutional autoencoder, they significantly improve ZSL performance when fused with traditional semantic embeddings, demonstrating a more brain-inspired path for ZSL.

What Problem Does This Paper Address?

Zero-Shot Learning (ZSL) aims to recognize objects from classes that were not seen during training. The core challenge is transferring knowledge from seen classes to unseen ones. Traditional methods rely on semantic embeddings like human-defined attributes (HA) or distributed word embeddings (DWE) to bridge this gap. However, these methods can struggle to capture nuanced relationships between classes, especially when classes have limited co-occurrence in training data. This paper addresses this limitation by proposing to inject explicit commonsense knowledge, which humans naturally use for analogy and understanding, into the ZSL process.

Methods

The proposed method involves two main phases:

Phase 1: Commonsense Knowledge Graph Pre-training 1. Class-Aggregated Commonsense Graph Construction: A subgraph of ConceptNet is created, focusing on triplets (relations between concepts) within a radius of 2 from the seen and unseen class labels. This results in a smaller, more relevant graph. 2. Graph Autoencoder Training: A Relational Graph Convolutional Network (R-GCN) encoder and a DistMult decoder are trained on this subgraph. The goal is to learn node embeddings that capture the relational structure of the commonsense graph. This process effectively learns "commonsense embeddings" (CSE) for each class.

Phase 2: Commonsense Embedding Extraction & ZSL Integration 1. CSE Extraction: The trained graph autoencoder is used to extract CSE for each class label. 2. Fusion with Semantic Embeddings: The extracted CSE are fused with existing semantic embeddings (HA and/or DWE). This fusion is done through simple non-linear transformations and concatenation. 3. ZSL Baselines: The fused embeddings are then fed into two established ZSL baselines: Deep Embedding ZSL (DeZSL) and Relation Network (RN).

Datasets

The experiments were conducted on three standard ZSL benchmark datasets:

  • Animals with Attributes 1 (AwA1): Contains animal classes with human-defined attributes.
  • Animals with Attributes 2 (AwA2): Similar to AwA1 but with different images.
  • aPascal & aYahoo (aP&Y): A smaller dataset with image-classes from varied domains (e.g., bird, statue, train).

The paper uses ConceptNet 5.5 for its commonsense knowledge graph.

Key Insights and Ideas

  • Commonsense as a Bridge: The paper posits that explicit commonsense knowledge, readily available in knowledge graphs like ConceptNet, can significantly improve the transfer of knowledge between seen and unseen classes in ZSL.
  • Graph Convolutional Networks for Knowledge Encoding: Using GCNs on a knowledge graph allows for learning rich, relational embeddings that capture inter-class associations beyond simple semantic similarity.
  • Fusion is Key: Simply fusing commonsense embeddings with existing semantic embeddings (HA, DWE) leads to substantial performance gains, highlighting the complementary nature of these knowledge sources.
  • Beyond Lexical Similarity: ConceptNet's rich relational information (e.g., "AtLocation," "RelatedTo") provides a more nuanced understanding of class relationships than purely lexical similarity (e.g., cosine similarity of word embeddings).

Key Results

  • The proposed method, by fusing commonsense embeddings (CSE) with HA, DWE, or HA+DWE, consistently outperformed the baseline ZSL models across all three datasets.
  • For example, on the AwA1 dataset, the HA+DWE+CSE variant achieved significantly higher accuracy compared to HA+DWE alone. Specific numbers show improvements like HA+DWE+CSE reaching 68.52% (DeZSL) and 46.49% (RN) on AwA1, outperforming HA+DWE (66.75%, 43.38% for DeZSL and RN respectively).
  • Replacing ConceptNet with WordNet (which lacks commonsense relations) resulted in a significant drop in performance, underscoring the unique contribution of commonsense knowledge.
  • The approach also outperformed a strong knowledge graph-based ZSL method (Wang et al., 2018) by a significant margin.

Limitations and Future Work

  • Fusion Method Simplicity: The paper acknowledges that the fusion scheme used is relatively simple and suggests that more sophisticated fusion mechanisms could potentially yield further improvements. The focus of this paper was on the efficacy of commonsense knowledge itself, rather than optimizing fusion techniques.
  • Dataset Domain Variance: Performance was lower on the aP&Y dataset compared to the animal-centric datasets. The authors attribute this to the broader domain variance in aP&Y, suggesting that commonsense knowledge might be more effective when class relationships are more cohesive.
  • Future Work: The paper implicitly suggests exploring more advanced fusion strategies and investigating the impact of commonsense knowledge on ZSL tasks with even greater domain diversity. The work also paves the way for more brain-inspired approaches to ZSL.

Summary updated

BibTeX
@article{roy2022improving,
  author = {Abhinaba Roy and Deepanway Ghosal and Erik Cambria and Navonil Majumder and Rada Mihalcea and Soujanya Poria},
  title = {{Improving Zero-Shot Learning Baselines with Commonsense Knowledge}},
  journal = {Cogn. Comput.},
  year = {2022},
  doi = {10.1007/s12559-022-10044-0},
}
Figure