Causal Visual-semantic Correlation for Zero-shot Learning

Shuhuang Chen, Dingjie Fu, Shiming Chen, Shuo Ye, Wenjin Hou, Xinge You

TL;DR

This paper introduces Causal Visual-semantic Correlation (CVsC), a novel approach to Zero-Shot Learning (ZSL) that tackles the issue of "spurious visual-semantic correlation." By employing causal inference and a new Conditional Correlation Loss, CVsC learns more robust connections between visual features and semantic attributes, leading to significantly improved performance in recognizing unseen object categories.

What Problem Does This Paper Address?

Zero-Shot Learning (ZSL) aims to enable models to recognize objects from classes they haven't seen during training. The core idea is to transfer knowledge from "seen" classes (with labeled examples) to "unseen" classes using shared semantic information, typically attribute annotations. Existing ZSL methods try to achieve this by aligning visual features from images with semantic features from attributes. However, a major challenge arises because individual images within a class might not perfectly exhibit all the attributes defined at the class level. This mismatch can lead to "spurious visual-semantic correlation," where the model learns superficial connections that don't generalize well, hindering effective knowledge transfer to unseen classes. This paper directly addresses this problem by proposing a method to learn a more "substantive" and reliable visual-semantic correlation.

Methods

The proposed method, Causal Visual-semantic Correlation (CVsC), introduces several key components:

  • Visual Semantic Attention Module: This module facilitates interaction between visual features (extracted using a Vision Transformer, ViT) and semantic attribute vectors (from GloVe embeddings). It helps identify attribute-related visual features.
  • Semantic Embedding Module: This module maps the attribute-related visual features into a semantic space, allowing for similarity comparisons with class semantic vectors to predict class probabilities.
  • Conditional Correlation Loss: This novel loss function is designed to better utilize attribute annotations. It penalizes the model more heavily for predicting attributes not present in the annotations and less for missing attributes that are annotated but not visually apparent. This encourages a more accurate alignment with the provided semantic information.
  • Causal Inference (Semantic and Target Causal Intervention): This is the core innovation. The authors leverage causal inference principles to strengthen the visual-semantic correlation. They introduce "counterfactual interventions" on the learned attribute-related visual features. By artificially altering these features and observing their impact on semantic and final class predictions, the model is guided to learn features that have a more direct and causal influence on recognition, thereby enhancing the "substantiveness" of the correlation.

Datasets

The authors evaluated their CVsC method on three widely used ZSL benchmark datasets:

  • CUB (Caltech-UCSD Birds 200): Contains images of birds with detailed attribute annotations.
  • SUN (Scene Attribute Database): Focuses on scene recognition with attribute annotations.
  • AWA2 (Animals with Attributes 2): A dataset of animal images with attribute annotations.

The paper does not introduce new datasets.

Key Insights and Ideas

  • The "Spurious Correlation" Problem is Real and Detrimental: The paper clearly articulates how the inherent mismatch between instance-level image variations and class-level attribute definitions leads to unreliable correlations, significantly limiting ZSL performance.
  • Causality as a Solution for Robustness: Applying causal inference principles, specifically counterfactual interventions, is a powerful way to move beyond superficial correlations and learn features that have a genuine causal impact on recognition.
  • Conditional Loss for Better Attribute Utilization: The proposed Conditional Correlation Loss offers a more nuanced way to leverage attribute information, penalizing over-prediction more than under-prediction, which aligns better with the nature of visual data.
  • Attention Mechanisms Need Causal Guidance: While attention mechanisms are good at feature extraction, the paper suggests they can still suffer from "attention collapse" and benefit from causal interventions to ensure accurate attribute localization and robust semantic correlation.

Key Results

  • State-of-the-Art Performance: CVsC achieved state-of-the-art results on the CUB, SUN, and AWA2 datasets for both conventional ZSL (CZSL) and generalized ZSL (GZSL) settings.
  • On CUB, CVsC achieved an accuracy of 79.1% in CZSL and a harmonic mean of 75.3% in GZSL.
  • On SUN, it achieved 71.5% in CZSL and 53.8% in GZSL.
  • On AWA2, it achieved 73.1% in CZSL and 76.4% in GZSL.
  • Reduced Semantic Errors: Qualitative analysis showed that CVsC significantly reduced semantic errors compared to the baseline, both for seen and unseen classes.
  • Improved Attribute Localization: Visualization of attribute attention maps revealed that CVsC leads to more accurate localization of attributes compared to the baseline, which suffered from attribute localization errors.
  • Effectiveness of Components: Ablation studies confirmed that all proposed components (Conditional Correlation Loss, Semantic Causal Intervention, and Target Causal Intervention) contribute significantly to the overall performance improvement.

Limitations and Future Work

  • Hyperparameter Sensitivity: While the paper provides hyperparameter analysis, the performance is shown to be sensitive to the weights of the loss components (Acc, Asci, Atci). The authors suggest optimal weights {0.5, 2.0, 2.0} based on their experiments.
  • Computational Cost: The introduction of causal interventions and attention mechanisms likely increases the computational complexity compared to simpler ZSL methods.
  • Future Work: The paper implicitly suggests that further exploration of causal inference techniques in ZSL could lead to even more robust and interpretable models. The success of CVsC also opens avenues for applying similar causal reasoning to other vision-language tasks.

Summary updated

BibTeX
@inproceedings{chen2024causal,
  author = {Shuhuang Chen and Dingjie Fu and Shiming Chen and Shuo Ye and Wenjin Hou and Xinge You},
  title = {{Causal Visual-semantic Correlation for Zero-shot Learning}},
  booktitle = {ACM Multimedia},
  year = {2024},
  doi = {10.1145/3664647.3680694},
}

Loading related content...

Figure