Skip to main content
QUICK REVIEW

[Paper Review] TransZero++: Cross Attribute-Guided Transformer for Zero-Shot Learning

Shiming Chen, Ziming Hong|arXiv (Cornell University)|Dec 16, 2021
Domain Adaptation and Few-Shot LearningComputer Science6 citations
TL;DR

TransZero++ proposes a cross-attribute-guided Transformer network for zero-shot learning, using dual sub-networks—attribute-to-visual (AVT) and visual-to-attribute (VAT)—to learn semantic-augmented visual embeddings through semantical collaborative learning. It achieves state-of-the-art performance on three standard ZSL benchmarks and ImageNet by refining attribute localization and enhancing visual-semantic interaction.

ABSTRACT

Zero-shot learning (ZSL) tackles the novel class recognition problem by transferring semantic knowledge from seen classes to unseen ones. Existing attention-based models have struggled to learn inferior region features in a single image by solely using unidirectional attention, which ignore the transferability and discriminative attribute localization of visual features. In this paper, we propose a cross attribute-guided Transformer network, termed TransZero++, to refine visual features and learn accurate attribute localization for semantic-augmented visual embedding representations in ZSL. TransZero++ consists of an attribute$ ightarrow$visual Transformer sub-net (AVT) and a visual$ ightarrow$attribute Transformer sub-net (VAT). Specifically, AVT first takes a feature augmentation encoder to alleviate the cross-dataset problem, and improves the transferability of visual features by reducing the entangled relative geometry relationships among region features. Then, an attribute$ ightarrow$visual decoder is employed to localize the image regions most relevant to each attribute in a given image for attribute-based visual feature representations. Analogously, VAT uses the similar feature augmentation encoder to refine the visual features, which are further applied in visual$ ightarrow$attribute decoder to learn visual-based attribute features. By further introducing semantical collaborative losses, the two attribute-guided transformers teach each other to learn semantic-augmented visual embeddings via semantical collaborative learning. Extensive experiments show that TransZero++ achieves the new state-of-the-art results on three challenging ZSL benchmarks. The codes are available at: \url{https://github.com/shiming-chen/TransZero_pp}.

Motivation & Objective

  • Address the limitation of existing attention-based ZSL models in learning transferable and discriminative region features due to unidirectional attention.
  • Improve visual-semantic interaction by explicitly localizing object attributes as key semantic knowledge for knowledge transfer.
  • Overcome the bias problem in generalized ZSL by learning robust, semantic-augmented visual embeddings through collaborative learning between two Transformers.
  • Enable effective knowledge transfer from seen to unseen classes by fusing attribute-based and visual-based representations with class semantic vectors.

Proposed method

  • Propose a dual-branch Transformer architecture: an attribute-to-visual Transformer (AVT) and a visual-to-attribute Transformer (VAT), each with dedicated encoders and decoders.
  • Introduce a feature-augmentation encoder in AVT and VAT to improve visual feature discriminability and reduce entangled region relationships.
  • Use an attribute-to-visual decoder in AVT and a visual-to-attribute decoder in VAT to learn localized attribute representations and visual features.
  • Apply feature-level and prediction-level semantical collaborative losses to enable mutual knowledge distillation between AVT and VAT for semantic-augmented visual embeddings.
  • Fuse the semantic-augmented embeddings from AVT and VAT using a learnable combination coefficient α to balance complementary information.
  • Integrate the final fused embeddings with class semantic vectors for zero-shot classification under the inductive ZSL setting.

Experimental results

Research questions

  • RQ1Can cross-attention mechanisms between attributes and visual features improve attribute localization and enhance discriminative feature learning in ZSL?
  • RQ2How does semantical collaborative learning between two complementary Transformers (AVT and VAT) improve the robustness and transferability of visual-semantic embeddings?
  • RQ3To what extent does the fusion of attribute-based and visual-based representations improve zero-shot classification accuracy on standard benchmarks?
  • RQ4How sensitive is the model’s performance to hyperparameters such as the combination coefficient α and loss weights, and what optimal settings yield best results?

Key findings

  • TransZero++ achieves new state-of-the-art performance on the CUB, SUN, and AWA2 benchmarks, with significant improvements in zero-shot classification accuracy.
  • The model achieves a 78.6% top-1 accuracy on the CUB dataset and 61.8% on the SUN dataset under the generalized ZSL setting, outperforming prior methods.
  • Extensive ablation studies show that the combination coefficient α = 0.9 on CUB and α = 0.6 on SUN yields optimal performance, indicating AVT’s stronger contribution.
  • The model is relatively insensitive to small values of λf_SCL and λp_SCL, but performance drops sharply when λAR and λSC are set too high, indicating their critical role in optimization.
  • Using a small Transformer architecture (1 layer, 1 head) in both AVT and VAT leads to better generalization, likely due to reduced overfitting on medium-scale ZSL datasets.
  • The semantical collaborative learning mechanism effectively enhances visual-semantic alignment, as evidenced by improved feature disentanglement and attribute localization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.